00001 /*************************************************************************** 00002 filtrarasientosview.h - description 00003 ------------------- 00004 begin : Sat Jan 4 2003 00005 copyright : (C) 2003 by Tomeu Borrás Riera 00006 email : tborras@conetxia.com 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef FILTRARASIENTOSVIEW_H 00019 #define FILTRARASIENTOSVIEW_H 00020 00021 #include <qwidget.h> 00022 #include <qlineedit.h> 00023 #include <filtrarasientosdlg.h> 00024 #include <qcombobox.h> 00025 00026 #include "postgresiface2.h" 00027 00028 class empresa; 00029 00030 /***@author Tomeu Borrás Riera */ 00031 00032 class filtrarasientosview : public filtrarasientosdlg { 00033 Q_OBJECT 00034 private: 00035 postgresiface2* conexionbase; 00036 int numdigitos; 00037 empresa *empresaactual; 00038 public: 00039 filtrarasientosview(empresa *,QWidget *parent=0, const char *name=0); 00040 ~filtrarasientosview(); 00041 QString ejercicio() {return m_ejercicio->text(m_ejercicio->currentItem());}; 00042 public slots: 00043 virtual void boton_reset(); 00044 virtual void boton_ccostes(); 00045 virtual void boton_canales(); 00046 }; 00047 00048 #endif