kexi

kexiaction.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_KEXIACTION_H
22#define KEXIMACRO_KEXIACTION_H
23
24#include "../lib/action.h"
25#include "../lib/variable.h"
26#include "../lib/macroitem.h"
27#include "../lib/context.h"
28
29#include "objectvariable.h"
30#include "objectnamevariable.h"
31
32#include <core/keximainwindow.h>
33
34namespace KexiMacro {
35
44 {
45 public:
46
54 KexiAction(const TQString& name, const TQString& text);
55
59 virtual ~KexiAction();
60
65 KexiMainWindow* mainWin() const;
66
67 private:
68
70 KexiMainWindow* m_mainwin;
71
72 };
73}
74
75#endif
KexiMainWindow * mainWin() const
virtual ~KexiAction()
Destructor.
KexiAction(const TQString &name, const TQString &text)
Constructor.
Kexi's main window interface This interface is implemented by KexiMainWindowImpl class.
The Action class extendes TDEAction to implement some additional functionality TDEAction doesn't prov...
Definition action.h:41
const TQString name() const
The name this Action has.
Definition action.cpp:95
const TQString text() const
Definition action.cpp:105