impqtoolbutton.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2007 by Tomeu Borras Riera                              *
00003  *   tborras@conetxia.com                                                  *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 #ifndef IMPQTOOLBUTTON_H
00021 #define IMPQTOOLBUTTON_H
00022 
00023 #include <QWidget>
00024 #include <QToolButton>
00025 #include <QString>
00026 #include "company.h"
00027 #include "funcaux.h"
00028 #include <QtXml/QDomDocument>
00029 #include <QMap>
00030 #include <QString>
00031 
00032 #include "presupuestolist.h"
00033 #include "facturaslist.h"
00034 
00035 
00036 
00037 class ImpQToolButton : public QToolButton {
00038         Q_OBJECT
00039 
00040 private:
00041         Company *m_companyact;
00042         PresupuestoList *m_presupuestoList;
00043         PedidosClienteList *m_pedidosClienteList;
00044         AlbaranClienteList *m_albaranClienteList;
00045         FacturasList    *m_facturasList;
00046         CobrosList     *m_cobrosList;
00047         
00048 public:
00049         ImpQToolButton( PresupuestoList *pres = NULL, PedidosClienteList *ped = NULL, AlbaranClienteList *alb = NULL,  FacturasList *fac = NULL , CobrosList *cob = NULL, QWidget *parent = NULL);
00050         ~ImpQToolButton();
00051         void setBoton();
00052 public slots:
00053         virtual void click();
00054 
00055 };
00056 
00057 
00058 class SelQToolButton : public QToolButton {
00059         Q_OBJECT
00060 
00061 private:
00062         Company *m_companyact;
00063         PresupuestoList *m_presupuestoList;
00064         PedidosClienteList *m_pedidosClienteList;
00065         AlbaranClienteList *m_albaranClienteList;
00066         FacturasList    *m_facturasList;
00067         CobrosList    *m_cobrosList;    
00068 public:
00069         SelQToolButton(PresupuestoList *pres = NULL, PedidosClienteList *ped = NULL, AlbaranClienteList *alb = NULL,  FacturasList *fac = NULL ,CobrosList *cob = NULL,  QWidget *parent = NULL);
00070         ~SelQToolButton();
00071         void setBoton();
00072 public slots:
00073         virtual void click();
00074 
00075 };
00076 
00077 class EmailQToolButton : public QToolButton {
00078         Q_OBJECT
00079 
00080 private:
00081         Company *m_companyact;
00082         PresupuestoList *m_presupuestoList;
00083         PedidosClienteList *m_pedidosClienteList;
00084         AlbaranClienteList *m_albaranClienteList;
00085         FacturasList    *m_facturasList;
00086         CobrosList *m_cobrosList;       
00087 
00088         
00089 public:
00090         EmailQToolButton(PresupuestoList *pres = NULL, PedidosClienteList *ped = NULL, AlbaranClienteList *alb = NULL,  FacturasList *fac = NULL, CobrosList *cob=NULL , QWidget *parent = NULL);
00091         ~EmailQToolButton();
00092         void setBoton();
00093 public slots:
00094         virtual void click();
00095 
00096 };
00097 
00098 #endif

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