00001 /*************************************************************************** 00002 libromayorprint.h - description 00003 ------------------- 00004 begin : Tue Jan 7 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 LIBROMAYORPRINT_H 00018 #define LIBROMAYORPRINT_H 00019 00020 #include <qwidget.h> 00021 #ifndef WIN32 00022 #include <unistd.h> 00023 #include <sys/wait.h> 00024 #endif 00025 #include <errno.h> 00026 #include <sys/types.h> 00027 #include <string> 00028 using std::string; 00029 00030 #include "postgresiface2.h" 00031 00032 /***@author Tomeu Borrás Riera */ 00033 00034 class libromayorprint { 00035 public: 00036 QString codinicial; 00037 QString codfinal; 00038 QString finicial; 00039 QString ffinal; 00040 char *fichero; 00041 postgresiface2 *conexionbase; 00042 public: 00043 libromayorprint(); 00044 ~libromayorprint(); 00045 int inicializa(postgresiface2 *); 00046 void inicializa1(QString , QString , QString , QString ); 00047 void inicializa2(char * ); 00048 void accept(); 00049 }; 00050 00051 #endif