kexi

executeaction.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_EXECUTEACTION_H
00022 #define KEXIMACRO_EXECUTEACTION_H
00023 
00024 #include "kexiaction.h"
00025 
00026 class KexiMainWindow;
00027 
00028 namespace KoMacro {
00029     class Context;
00030 }
00031 
00032 namespace KexiMacro {
00033 
00039     class ExecuteAction : public KexiAction
00040     {
00041             Q_OBJECT
00042         public:
00043 
00047             ExecuteAction();
00048             
00052             virtual ~ExecuteAction();
00053 
00065             virtual bool notifyUpdated(KSharedPtr<KoMacro::MacroItem> macroitem, const QString& name);
00066 
00067         public slots:
00068 
00073             virtual void activate(KSharedPtr<KoMacro::Context> context);
00074 
00075     };
00076 }
00077 
00078 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys