00001 /*************************************************************************** 00002 * Copyright (C) 2007 by Fco. Javier M. C. * 00003 * fcojavmc@todo-redes.com * 00004 * * 00005 * Copyright (C) 2005 by Tomeu Borras Riera * 00006 * tborras@conetxia.com * 00007 * * 00008 * This program is free software; you can redistribute it and/or modify * 00009 * it under the terms of the GNU General Public License as published by * 00010 * the Free Software Foundation; either version 2 of the License, or * 00011 * (at your option) any later version. * 00012 * * 00013 * This program is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU General Public License * 00019 * along with this program; if not, write to the * 00020 * Free Software Foundation, Inc., * 00021 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00022 ***************************************************************************/ 00023 00024 #ifdef Q_WS_WIN 00025 # define MY_EXPORT __declspec(dllexport) 00026 #else 00027 # define MY_EXPORT 00028 #endif 00029 00030 #include <QMenu> 00031 #include <QApplication> 00032 00033 #include "postgresiface2.h" 00034 #include "blwidget.h" 00035 #include "subform3.h" 00036 00037 00038 extern "C" MY_EXPORT int entryPoint(QApplication *); 00039 extern "C" MY_EXPORT int SubForm3_SubForm3_Post(SubForm3 *); 00040 00041 class myplugsubformods : public QObject { 00042 Q_OBJECT 00043 00044 public: 00045 myplugsubformods(SubForm3 *); 00046 ~myplugsubformods(); 00047 void sacaods(); 00048 00049 public slots: 00050 virtual void s_pintaMenu(QMenu *); 00051 virtual void s_trataMenu(QAction *); 00052 }; 00053
1.5.1