00001 /*************************************************************************** 00002 * Copyright (C) 2004 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 00021 #ifndef INCIDENCIACOMERCIALVIEW_H 00022 #define INCIDENCIACOMERCIALVIEW_H 00023 00024 #include <QLineEdit> 00025 #include <QTextEdit> 00026 #include <QLabel> 00027 #include <QCheckBox> 00028 00029 #include "ui_incidenciacomercialbase.h" 00030 #include "postgresiface2.h" 00031 #include "incidenciacomercial.h" 00032 #include "busquedacliente.h" 00033 #include "busquedafecha.h" 00034 #include "dialogchanges.h" 00035 00036 00037 00038 00039 class IncidenciaComercialView : public IncidenciaComercial, private Ui_IncidenciaComercialBase { 00040 Q_OBJECT 00041 00042 public: 00043 IncidenciaComercialView(QWidget *parent = NULL); 00044 ~IncidenciaComercialView(); 00045 IncidenciaComercialView(Company *, QWidget *parent = NULL); 00046 void closeEvent(QCloseEvent *); 00047 virtual void pintar() {} 00048 ; 00049 void setEmpresaBase(Company *comp); 00050 virtual int guardar(); 00051 virtual int cargar(QString id); 00052 }; 00053 00054 #endif 00055
1.5.1