00001 /*************************************************************************** 00002 * Copyright (C) 2005 by Tomeu Borras Riera * 00003 * tborras@conetxia.com * 00004 * Copyright (C) 2006 by Fco. Javier M. C. * 00005 * fcojavmc@todo-redes.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 #include <QToolButton> 00023 00024 #include "pluginalmacen.h" 00025 #include "company.h" 00026 #include "almaceneslistview.h" 00027 00028 00030 00033 int entryPoint(Bulmafact *) { 00034 _depura("Estoy dentro del plugin de tipos de almacenes", 0); 00035 return 0; 00036 } 00037 00038 00040 00044 int Company_s_almacenes(Company *bges) { 00045 _depura("Company_s_almacenes", 0); 00046 AlmacenesListView *lser = new AlmacenesListView(bges, 0); 00047 bges->pWorkspace()->addWindow(lser); 00048 lser->show(); 00049 _depura("END Company_s_almacenes", 0); 00051 return 1; 00052 } 00053
1.5.1