00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Josep Burcion * 00003 * josep@burcion.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 //Clase con los datos necesarios para el modelo 300 de IVA trimestral 00022 00023 #ifndef MOD300_H 00024 #define MOD300_H 00025 #include "mod300dlg.h" 00026 #include "modelosps.h" 00027 #include "numerocuenta.h" 00028 #include <qcheckbox.h> 00036 class Mod300ps: public Modgenps, public mod300dlg 00037 { 00038 00039 public: 00040 Mod300ps(QWidget *parent); 00041 ~Mod300ps() 00042 {//cout << "Modelo 300 destruido\n"; 00043 } 00044 ; 00045 00046 void accept(); 00047 void generaps(); 00048 void escribe_cuenta_bancaria(int,int); 00049 void escribe_postscriptdefs(void); 00050 void rellena_identificacion(); 00051 void rellena_compensacion(); 00052 void rellena_liquidacion(); 00053 void escribe_codigo_postal(QString); 00054 float baser0; 00055 float baser16; 00056 float baser7; 00057 float baser4; 00058 float bases0; 00059 float bases16; 00060 float bases7; 00061 float bases4; 00062 float ivas4; 00063 float ivas7; 00064 float ivas16; 00065 float ivar4; 00066 float ivar7; 00067 float ivar16; 00068 00069 float cas34; //Contenido de la casilla 34 (Resultado) 00070 private: 00071 QString *nombresccc; 00072 QString *numerccc; 00074 numerocuenta *ccc; 00075 void personalButtonPressed(); 00076 bool sincuentasbancarias; 00077 protected: 00078 QString ano; 00079 QString empresa; 00080 00081 }; 00082 00083 00084 00085 #endif