ccosteview.h

Ir a la documentación de este archivo.
00001 /***************************************************************************
00002                           ccosteview.h  -  description
00003                              -------------------
00004     begin                : sáb mar 22 2003
00005     copyright            : (C) 2003 by Tomeu Borrás Riera
00006     email                : tborras@conetxia.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef CCOSTEVIEW_H
00019 #define CCOSTEVIEW_H
00020 
00021 #include <qwidget.h>
00022 #include <ccostedlg.h>
00023 #include <qcombobox.h>
00024 #include <qlineedit.h>
00025 #include <qtextedit.h>
00026 #include "postgresiface2.h"
00027 #include "dialogchanges.h"
00028 
00030 class empresa;
00031 
00032 class ccosteview : public ccostedlg, dialogChanges  {
00033   Q_OBJECT
00034 public:
00035   postgresiface2 *conexionbase;
00036   int ccostes[100];
00037   int idc_coste;    // Indica cual es el centro de coste que se esta visualizando
00038                     // Si su valor es 0 entonces es que no se está visualizando ningun centro de coste.
00039   empresa *empresaactual;
00040   
00041   int col_idc_coste, col_desc_coste, col_nom_coste; // Los indices de las columnas de los items.
00042 public:
00043   ccosteview(empresa *, QWidget *parent=0, const char *name=0, bool modal=true);
00044   ~ccosteview();
00045   void pintar();
00046   void mostrarplantilla();
00047   
00048 public slots:
00049 //  virtual void cambiacombo(int);
00050   virtual void boton_guardar();
00051   virtual void boton_nuevo();
00052   virtual void boton_borrar();
00053   virtual void seleccionado(QListViewItem *);
00054   virtual void close();
00055 };
00056 
00057 #endif

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