00001 /*************************************************************************** 00002 regivaprintview.h - description 00003 ------------------- 00004 begin : dom jul 13 2003 00005 copyright : (C) 2003 by Tomeu Borrás Riera 00006 email : tborras@conetxia.com 00007 modificat per : (C) 2003 Antoni Mirabete i Terés - amirabet@biada.org 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 00019 #ifndef REGIVAPRINTVIEW_H 00020 #define REGIVAPRINTVIEW_H 00021 00022 #include <errno.h> 00023 #include <qwidget.h> 00024 #include <regivaprintdlg.h> 00025 #include <qlineedit.h> 00026 #include <qradiobutton.h> 00027 00028 #include "postgresiface2.h" 00029 00030 class empresa; 00031 00036 class regivaprintview : public regivaprintdlg { 00037 Q_OBJECT 00038 public: 00039 char *fichero; 00040 postgresiface2 *conexionbase; 00041 empresa *empresaactual; 00042 public: 00043 regivaprintview(empresa *, QWidget *parent=0, const char *name=0); 00044 ~regivaprintview(); 00045 void inicializa1(QString, QString); 00046 void presentar(char *tipus); 00047 public slots: 00048 virtual void accept(); 00049 }; 00050 00051 #endif