contrato.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 
00021 #ifndef CONTRATO_H
00022 #define CONTRATO_H
00023 
00024 #include <QString>
00025 
00026 #include "fixed.h"
00027 #include "company.h"
00028 #include "dbrecord.h"
00029 #include "fichabf.h"
00030 
00032 
00034 class Contrato : public FichaBf {
00035 Q_OBJECT
00036 
00037 public:
00038     Contrato(Company *, QWidget *parent);
00039     virtual ~Contrato();
00042 
00043     Company *_company();
00044     virtual int cargar(QString);
00045     void pintar();
00046     virtual int guardar();
00047     virtual int  borrar();
00048 
00049     void vaciaContrato();
00050 
00051     virtual void pintaidcliente(QString);
00052     virtual void pintarefcontrato(QString);
00053     virtual void pintafincontrato(QString );
00054     virtual void pintadescontrato(QString);
00055     virtual void pintanomcontrato(QString);
00056     virtual void pintaffincontrato(QString);
00057     virtual void pintaloccontrato(QString);
00058     virtual void pintaperiodicidadcontrato(QString);
00059     virtual void inicialize();
00060     virtual QString calculateValues();
00061 
00062 };
00063 
00064 #endif
00065 

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