openaction.h
1/***************************************************************************
2 * This file is part of the KDE project
3 * copyright (C) 2006 by Sebastian Sauer (mail@dipe.org)
4 * copyright (C) 2006 by Bernd Steindorff (bernd@itii.de)
5 * copyright (C) 2006 by Sascha Kupper (kusato@kfnv.de)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public License
16 * along with this program; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 ***************************************************************************/
20
21#ifndef KEXIMACRO_OPENACTION_H
22#define KEXIMACRO_OPENACTION_H
23
24#include "kexiaction.h"
25
26class KexiMainWindow;
27
28namespace KoMacro {
29 class Context;
30}
31
32namespace KexiMacro {
33
39 class OpenAction : public KexiAction
40 {
41 TQ_OBJECT
42
43
44 public:
45
49 OpenAction();
50
54 virtual ~OpenAction();
55
67 virtual bool notifyUpdated(TDESharedPtr<KoMacro::MacroItem> macroitem, const TQString& name);
68
69 public slots:
70
75 virtual void activate(TDESharedPtr<KoMacro::Context> context);
76
77 };
78}
79
80#endif
Template class to offer common functionality needed by all KoMacro::Action implementations Kexi provi...
Definition kexiaction.h:44
The OpenAction class implements a KoMacro::Action to provide functionality to open any kind of Kexi o...
Definition openaction.h:40
virtual void activate(TDESharedPtr< KoMacro::Context > context)
Called if the Action should be executed within the defined context .
virtual bool notifyUpdated(TDESharedPtr< KoMacro::MacroItem > macroitem, const TQString &name)
This function is called, when the KoMacro::Variable with name name used within the KoMacro::MacroItem...
OpenAction()
Constructor.
virtual ~OpenAction()
Destructor.
Kexi's main window interface This interface is implemented by KexiMainWindowImpl class.
const TQString name() const
The name this Action has.
Definition action.cpp:95