empresabase.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2006 by Tomeu Borras Riera                              *
00003  *   tborras@conetxia.com                                                  *
00004  *   http://www.iglues.org                                                 *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of the GNU General Public License as published by  *
00008  *   the Free Software Foundation; either version 2 of the License, or     *
00009  *   (at your option) any later version.                                   *
00010  *                                                                         *
00011  *   This program is distributed in the hope that it will be useful,       *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU General Public License for more details.                          *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU General Public License     *
00017  *   along with this program; if not, write to the                         *
00018  *   Free Software Foundation, Inc.,                                       *
00019  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00020  ***************************************************************************/
00021 
00022 #ifndef EMPRESABASE_H
00023 #define EMPRESABASE_H
00024 
00025 #include <QWorkspace>
00026 #include <QProgressBar>
00027 
00028 #include "postgresiface2.h"
00029 #include "listventanas.h"
00030 #include "qworkspace2.h"
00031 
00032 
00033 class EmpresaBase : public postgresiface2 {
00034 protected:
00037     listventanas *m_listventanas;
00038 
00039 public:
00042     QWorkspace2 *m_pWorkspace;
00045     QProgressBar *m_progressbar;
00046 
00047 public:
00048     EmpresaBase();
00049     virtual ~EmpresaBase();
00050     virtual void init(QString bd, QString tipo);
00051     QString searchCompany(QString);
00052     void setListVentanas(listventanas *doc);
00053     QWorkspace2 *pWorkspace();
00054     void setWorkspace(QWorkspace2 *qw);
00055     void setProgressBar(QProgressBar *pb);
00056     int meteWindow(QString nom, QObject *obj, bool compdup = TRUE);
00057     int seleccionaWindow(QString nom, QObject *obj);
00058     int deSeleccionaWindow();
00059     void sacaWindow(QObject *nom);
00060     void s_indexadorCambiaEstado(bool);
00061     void muestraPaises();
00062 };
00063 
00064 #endif
00065 

Generated on Sat Dec 15 00:01:21 2007 for BulmaGes by  doxygen 1.5.1