00001 /*************************************************************************** 00002 estadisticasview.h - description 00003 ------------------- 00004 begin : mar jul 15 2003 00005 copyright : (C) 2003 by Tomeu Borrás Riera 00006 email : tborras@conetxia.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #ifndef ESTADISTICASVIEW_H 00018 #define ESTADISTICASVIEW_H 00019 00020 #include <qwidget.h> 00021 00022 #include "postgresiface2.h" 00023 #include "estadisticasdlg1.h" 00024 00025 00026 #include "postgresiface2.h" 00029 class empresa; 00030 00031 00032 class estadisticasview : public estadisticasdlg { 00033 Q_OBJECT 00034 public: 00035 00036 postgresiface2 *conexionbase; 00037 00038 int inicializa(postgresiface2 *, int); 00039 estadisticasview(QWidget *parent=0, const char *name=0); 00040 ~estadisticasview(); 00041 void presentar(); 00042 void presentarbarras(); 00043 }; 00044 00045 00046 class myplugin : public QObject { 00047 Q_OBJECT 00048 public: 00049 postgresiface2 *conexionbase; 00050 empresa *empresaactual; 00051 public: 00052 myplugin(); 00053 ~myplugin(); 00054 public slots: 00055 virtual void BalanceGrafico(); 00056 virtual void BalanceBarras(); 00057 }; 00058 00059 #endif