kexi

datatableaction.h
1/***************************************************************************
2 * This file is part of the KDE project
3 * copyright (C) 2006 by Sebastian Sauer (mail@dipe.org)
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 * You should have received a copy of the GNU Library General Public License
14 * along with this program; see the file COPYING. If not, write to
15 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 * Boston, MA 02110-1301, USA.
17 ***************************************************************************/
18
19#ifndef KEXIMACRO_DATATABLEACTION_H
20#define KEXIMACRO_DATATABLEACTION_H
21
22#include "kexiaction.h"
23
24class KexiMainWindow;
25
26namespace KoMacro {
27 class Context;
28}
29
30namespace KexiMacro {
31
38 {
39 TQ_OBJECT
40
41 public:
42
47
51 virtual ~DataTableAction();
52
64 virtual bool notifyUpdated(TDESharedPtr<KoMacro::MacroItem> macroitem, const TQString& name);
65
66 public slots:
67
72 virtual void activate(TDESharedPtr<KoMacro::Context> context);
73
74 };
75}
76
77#endif
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...
virtual void activate(TDESharedPtr< KoMacro::Context > context)
Called if the Action should be executed within the defined context .
virtual ~DataTableAction()
Destructor.
KexiAction(const TQString &name, const TQString &text)
Constructor.
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
The context of an execution.
Definition context.h:44