ainteligentesview.h

Ir a la documentación de este archivo.
00001 /***************************************************************************
00002                           ainteligentesview.h  -  description
00003                              -------------------
00004     begin                : Thu Feb 6 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 AINTELIGENTESVIEW_H
00018 #define AINTELIGENTESVIEW_H
00019 
00020 #include <qwidget.h>
00021 #include "ainteligentesdlg.h"
00022 #include "postgresiface2.h"
00023 
00024 
00035 class empresa;
00036 
00037 
00038 class ainteligentesview : public ainteligentesdlg  {
00039    Q_OBJECT
00040 private:
00042    cursor2 *m_cAInteligentes;
00044    empresa *empresaactual;
00046    postgresiface2 *conexionbase;
00048    int m_idAsientoInteligente;
00050    int m_cCostes[100];
00052    int m_cCanales[100];
00054    QComboBox *combocoste;
00055    QComboBox *combocanal;
00057    int m_oldRow;
00058   
00059 public: 
00060   ainteligentesview(empresa *, QWidget *parent=0, const char *name=0, bool modal=true);
00061   ~ainteligentesview();
00062 private:
00064   void repinta();
00065   void return_asiento();
00067   void cargacanales();
00069   void cargacostes();
00071   void cargacombo();
00072   
00073 private slots:
00074   virtual void boton_nuevo();
00075   virtual void boton_save();
00076   virtual void boton_borrar();
00077   virtual void boton_inicio();
00078   virtual void boton_fin();
00079   virtual void boton_siguiente();
00080   virtual void boton_anterior();
00081   virtual void boton_exportar();
00082   virtual void boton_importar();
00083   virtual void currentChanged(int, int);
00084   virtual void selectionChanged();
00085   virtual void boton_igualant();
00086   virtual void boton_cuentas();
00087   virtual void accept();
00088   virtual void comboActivated (const QString &);
00089 };
00090 
00091 #endif

Generado el Sat May 21 00:04:43 2005 para BulmaGes por  doxygen 1.4.2