00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Josep Burcion * 00003 * josep@burcion.com * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 #ifndef BSELECTOR_H 00021 #define BSELECTOR_H 00022 00023 #include <qevent.h> 00024 00025 #include "abreempresaview.h" 00026 #include "uiselector.h" 00027 #include "bconfiguracion.h" 00028 00033 class BSelector : public UIselector { 00034 Q_OBJECT 00035 00036 private: 00038 QString m_empresabd; 00040 QString m_tipoempresa; 00041 00042 public: 00043 BSelector(QWidget * parent=0,const char * name=0); 00044 ~BSelector(); 00045 QString empresaDB() {return m_empresabd;}; 00046 void setEmpresaBD(QString emp) {m_empresabd=emp;}; 00047 QString tipoEmpresa() {return m_tipoempresa;}; 00048 void setTipoEmpresa(QString tip) {m_tipoempresa = tip;}; 00049 00050 public slots: 00051 virtual void seleccionaempresa_clicked(); 00052 00053 private slots: 00054 virtual void salir_clicked(); 00055 virtual void configura_clicked(); 00056 virtual void m_iglues_clicked(); 00057 virtual void m_bulmatpv_clicked(); 00058 virtual void contabilidad_clicked(); 00059 virtual void produccion_clicked(); 00060 virtual void m_bcontaweb_clicked(); 00061 virtual void m_bulmafact_clicked(); 00062 }; 00063 00064 #endif
1.4.2