empresa.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2002 by Tomeu Borras Riera                              *
00003  *   tborras@conetxia.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 EMPRESA_H
00023 #define EMPRESA_H
00024 
00025 #include <QMessageBox>
00026 #include <QString>
00027 #include <QWorkspace>
00028 #include <QWidget>
00029 #include <QSizePolicy>
00030 #include <QDir>
00031 #include <QAssistantClient>
00032 #include <QLibraryInfo>
00033 
00034 #include "postgresiface2.h"
00035 #include "listventanas.h"
00036 #include "qworkspace2.h"
00037 #include "empresabase.h"
00038 #include "splashscreen.h"
00039 
00040 
00041 class SelectCCosteView;
00042 class selectcanalview;
00043 class Asiento1View;
00044 class DiarioView;
00045 class BalanceView;
00046 class AsientosView;
00047 class CuentaView;
00048 class PaisView;
00049 class extractoview1;
00050 class listcuentasview1;
00051 class Bulmacont;
00052 
00054 
00064 class Empresa : public EmpresaBase {
00065 private:
00066     Bulmacont *m_bulmacont;
00067     QString nombre;
00068     int ano;
00069     QString contrasenya;
00070     DiarioView *diario;
00071     extractoview1 *extracto;
00072     BalanceView *balance;
00073     Asiento1View *introapunts2;
00074     AsientosView *m_listasientos;
00075     listcuentasview1 *m_listcuentas;
00076     unsigned int numdigitos; 
00077 
00078 
00079     SelectCCosteView *selccostes;
00080     selectcanalview *selcanales;
00081 
00082 public:
00083     QString nombreDB;
00084 
00085 public:
00086     Empresa(Bulmacont *bcont);
00087     virtual ~Empresa();
00089     postgresiface2 *bdempresa();
00090     BalanceView *balanceempresa();
00091     extractoview1 *extractoempresa();
00092     DiarioView *diarioempresa();
00093     Asiento1View *intapuntsempresa();
00094     Asiento1View *intapuntsempresa2();
00095     int numdigitosempresa();
00096     QString nomuserempresa();
00097     QString nombreempresa();
00098     int muestracuentas();
00099     int nuevacuenta();
00100     int muestraapuntes1();
00101     int muestraasientos();
00102     int propiedadempresa();
00103     int libromayor();
00104     int librodiario();
00105     int librobalance();
00106     int listado347();
00107     int createMainWindows(Splash *);
00108     int boton_siguiente();
00109     int boton_anterior();
00110     int boton_primero();
00111     int boton_ultimo();
00112     int boton_guardar();
00113     int boton_imprimir();
00114     int boton_reload();
00115     int ccostes();
00116     int canales();
00117     int tiposIVA();
00118     int fPago();
00119     void cierraempresa();
00120     void abreempresa();
00121     void regularizaempresa();
00122     void regularizaempresa(QString, QString);
00123     void maximiza();
00124     void Abrirasientos();
00125     void Ordenarasientos();
00126     void Filtro();
00127     int mpatrimoniales();
00128     int compbalance();
00129     int amortizaciones();
00130     void reemplazacuentaenasientos();
00131     int cambioejercicio();
00132     void centrocostedefecto();
00133     void canaldefecto();
00134     void bloqueoFechas();
00135     SelectCCosteView *getselccostes();
00136     selectcanalview *getselcanales();
00137     void recalculasaldos();
00138     virtual void s_asiento1();
00139     CuentaView *newcuentaview();
00140     void guardaConf();
00141     void cargaConf();
00142 };
00143 
00144 #endif
00145 

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