00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Josep Burcion * 00003 * josep@burcion.com * 00004 * http://www.iglues.org Asociación Iglues -- Contabilidad Linux * 00005 * * 00006 * This program is free software; you can redistribute it and/or modify * 00007 * it under the terms of the GNU General Public License as published by * 00008 * the Free Software Foundation; either version 2 of the License, or * 00009 * (at your option) any later version. * 00010 * * 00011 * This program is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU General Public License for more details. * 00015 * * 00016 * You should have received a copy of the GNU General Public License * 00017 * along with this program; if not, write to the * 00018 * Free Software Foundation, Inc., * 00019 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00020 ***************************************************************************/ 00021 00022 #ifndef MOD300_H 00023 #define MOD300_H 00024 00025 #include <QCheckBox> 00026 00027 #include "ui_modelo300base.h" 00028 #include "modelosps.h" 00029 #include "numerocuenta.h" 00030 00031 00033 00037 class Mod300ps: public QDialog, public Ui_Modelo300Base, public Modgenps { 00038 Q_OBJECT 00039 00040 public: 00041 Mod300ps(QWidget *parent); 00042 ~Mod300ps(); 00043 void accept(); 00044 void generaps(); 00045 void escribe_cuenta_bancaria(int, int); 00046 void escribe_postscriptdefs(void); 00047 void rellena_identificacion(); 00048 void rellena_compensacion(); 00049 void rellena_liquidacion(); 00050 void escribe_codigo_postal(QString); 00051 float baser0; 00052 float baser16; 00053 float baser7; 00054 float baser4; 00055 float bases0; 00056 float bases16; 00057 float bases7; 00058 float bases4; 00059 float ivas4; 00060 float ivas7; 00061 float ivas16; 00062 float ivar4; 00063 float ivar7; 00064 float ivar16; 00066 float cas34; 00067 00068 private: 00069 QString *nombresccc; 00070 QString *numerccc; 00072 numerocuenta *ccc; 00073 void personalButtonPressed(); 00075 bool sincuentasbancarias; 00076 00077 protected: 00078 QString ano; 00079 QString empresa; 00080 }; 00081 00082 #endif 00083
1.5.1