00001 /*************************************************************************** 00002 * Copyright (C) 2005 by Tomeu Borras Riera * 00003 * tborras@conetxia.com * 00004 * Copyright (C) 2005 by Alvaro de Miguel * 00005 * alvaro.demiguel@gmail.com * 00006 * * 00007 * This program is free software; you can redistribute it and/or modify * 00008 * it under the terms of the GNU General Public License as published by * 00009 * the Free Software Foundation; either version 2 of the License, or * 00010 * (at your option) any later version. * 00011 * * 00012 * This program is distributed in the hope that it will be useful, * 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00015 * GNU General Public License for more details. * 00016 * * 00017 * You should have received a copy of the GNU General Public License * 00018 * along with this program; if not, write to the * 00019 * Free Software Foundation, Inc., * 00020 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00021 ***************************************************************************/ 00022 00023 #ifndef INVENTARIO_H 00024 #define INVENTARIO_H 00025 00026 #include <QString> 00027 00028 #include "listcontrolstockview.h" 00029 #include "company.h" 00030 #include "funcaux.h" 00031 #include "fichabf.h" 00032 00033 00035 00036 class Inventario : public FichaBf { 00037 protected: 00038 ListControlStockView *listalineas; 00039 Company *companyact; 00040 00041 public: 00042 Inventario(Company *comp, QWidget *parent); 00043 virtual ~Inventario(); 00044 void setListControlStock(ListControlStockView *a); 00045 ListControlStockView *getlistalineas(); 00046 virtual int cargar(QString); 00047 void pintaInventario(); 00048 virtual int guardar(); 00049 virtual int borrar(); 00050 void imprimirInventario(); 00051 virtual void pintaidinventario(QString); 00052 virtual void pintafechainventario(QString); 00053 virtual void pintanominventario(QString); 00054 virtual void pregenerar(); 00055 void setidinventario(QString val); 00056 void setfechainventario(QString val); 00057 void setnominventario(QString val); 00058 void vaciaInventario(); 00059 }; 00060 00061 #endif 00062
1.5.1