kexi
kexiaction.h
00001 /*************************************************************************** 00002 * This file is part of the KDE project 00003 * copyright (C) 2006 by Sebastian Sauer (mail@dipe.org) 00004 * copyright (C) 2006 by Bernd Steindorff (bernd@itii.de) 00005 * copyright (C) 2006 by Sascha Kupper (kusato@kfnv.de) 00006 * 00007 * This program is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Library General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2 of the License, or (at your option) any later version. 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Library General Public License for more details. 00015 * You should have received a copy of the GNU Library General Public License 00016 * along with this program; see the file COPYING. If not, write to 00017 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301, USA. 00019 ***************************************************************************/ 00020 00021 #ifndef KEXIMACRO_KEXIACTION_H 00022 #define KEXIMACRO_KEXIACTION_H 00023 00024 #include "../lib/action.h" 00025 #include "../lib/variable.h" 00026 #include "../lib/macroitem.h" 00027 #include "../lib/context.h" 00028 00029 #include "objectvariable.h" 00030 #include "objectnamevariable.h" 00031 00032 #include <core/keximainwindow.h> 00033 00034 namespace KexiMacro { 00035 00043 class KexiAction : public KoMacro::Action 00044 { 00045 public: 00046 00054 KexiAction(const QString& name, const QString& text); 00055 00059 virtual ~KexiAction(); 00060 00065 KexiMainWindow* mainWin() const; 00066 00067 private: 00068 00070 KexiMainWindow* m_mainwin; 00071 00072 }; 00073 } 00074 00075 #endif