00001 /*************************************************************************** 00002 asientosview.h - description 00003 ------------------- 00004 begin : Sat Dec 21 2002 00005 copyright : (C) 2002 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 ASIENTOSVIEW_H 00019 #define ASIENTOSVIEW_H 00020 00021 #include <qwidget.h> 00022 #include <asientosdlg.h> 00023 #include <qtable.h> 00024 #include "postgresiface2.h" 00025 /* 00026 #include "intapuntsview2.h" 00027 */ 00028 #include "intapunts3view.h" 00029 #include "filtrarasientosview.h" 00030 #include "empresa.h" 00033 class asientosview : public asientosdlg { 00034 Q_OBJECT 00035 public: 00036 postgresiface2 *conexionbase; 00037 intapunts3view *introapunts; 00038 filtrarasientosview *filt ; // Este objeto contiene todas las opciones de filtraje necesarias para funcionar. 00039 empresa *empresaactual; 00040 public: 00041 asientosview(empresa *emp, QWidget *parent=0, const char *name=0, bool=true); 00042 ~asientosview(); 00043 void inicializa(postgresiface2 *, intapunts3view *); 00044 public slots: 00045 virtual void pulsado(int, int, int,const QPoint &); 00046 virtual void boton_filtrar(); 00047 }; 00048 #endif