00001 /*************************************************************************** 00002 balancesprintview.h - description 00003 ------------------- 00004 begin : jue oct 9 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 BALANCESPRINTVIEW_H 00018 #define BALANCESPRINTVIEW_H 00019 00020 #include <qwidget.h> 00021 #include <balancesprintdlg.h> 00022 #ifndef WIN32 00023 #include <unistd.h> 00024 #include <sys/wait.h> 00025 #endif 00026 #include <errno.h> 00027 #include <sys/types.h> 00028 #include "postgresiface2.h" 00029 00032 class empresa; 00033 00034 class balancesprintview : public balancesprintdlg { 00035 Q_OBJECT 00036 private: 00037 char *fichero; 00038 QString idbalance; 00039 postgresiface2 *conexionbase; 00040 empresa *empresaactual; 00041 public: 00042 balancesprintview(empresa *emp,QWidget *parent=0, const char *name=0); 00043 ~balancesprintview(); 00044 void setidbalance(QString); // Establece cual será el balance a imprimir 00045 00046 public slots: 00047 virtual void accept(); 00048 virtual void fechaincambiada(); 00049 virtual void fechafincambiada(); 00050 virtual void boton_finicial(); 00051 virtual void boton_ffinal(); 00052 virtual void finicial_textChanged(const QString &); 00053 virtual void ffinal_textChanged(const QString &); 00054 }; 00055 00056 #endif