pluginq19.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Tomeu Borras Riera                              *
00003  *   tborras@conetxia.com                                                  *
00004  *   Copyright (C) 2006 by Fco. Javier M. C.                               *
00005  *   fcojavmc@todo-redes.com                                               *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  *   This program is distributed in the hope that it will be useful,       *
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00015  *   GNU General Public License for more details.                          *
00016  *                                                                         *
00017  *   You should have received a copy of the GNU General Public License     *
00018  *   along with this program; if not, write to the                         *
00019  *   Free Software Foundation, Inc.,                                       *
00020  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00021  ***************************************************************************/
00022 
00023 #include <QToolButton>
00024 
00025 #include "pluginq19.h"
00026 #include "funcaux.h"
00027 #include "presupuestolist.h"
00028 #include "q19qtoolbutton.h"
00029 #include "bulmafact.h"
00030 
00031 
00033 
00036 int entryPoint(Bulmafact *) {
00037     _depura("Estoy dentro del plugin de Q19", 0);
00038     return 0;
00039 }
00040 
00041 
00043 
00047 int CobrosList_CobrosList(CobrosList *l) {
00048     _depura("CobrosList_CobrosList", 0);
00049 
00050     Q19QToolButton *sel = new Q19QToolButton( l, l->mui_plugbotones);
00051 
00052     QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00053     if (!m_hboxLayout1) {
00054         m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00055         m_hboxLayout1->setSpacing(5);
00056         m_hboxLayout1->setMargin(5);
00057         m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00058     } // end if
00059     m_hboxLayout1->addWidget(sel);
00060 
00061     _depura("END CobrosList_CobrosList", 0);
00062     return 0;
00063 }

Generated on Sat Dec 15 00:01:07 2007 for BulmaGes by  doxygen 1.5.1