kexi

kexiscripteditor.h
1/* This file is part of the KDE project
2 Copyright (C) 2003 Lucijan Busch <lucijan@gmx.at>
3 Copyright (C) 2004-2005 Jaroslaw Staniek <js@iidea.pl>
4 Copyright (C) 2005 Cedric Pasteur <cedric.pasteur@free.fr>
5 Copyright (C) 2005 Sebastian Sauer <mail@dipe.org>
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
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this program; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21*/
22
23#ifndef KEXISCRIPTEDITOR_H
24#define KEXISCRIPTEDITOR_H
25
26#include <kexieditor.h>
27
28namespace Kross { namespace Api {
29 class ScriptAction;
30}}
31
37{
38 TQ_OBJECT
39
40
41 public:
42
46 KexiScriptEditor(KexiMainWindow *mainWin, TQWidget *parent, const char *name = 0);
47
51 virtual ~KexiScriptEditor();
52
57 bool isInitialized() const;
58
65 void initialize(Kross::Api::ScriptAction* scriptaction);
66
67 public slots:
68 void slotTextChanged();
69 void setLineNo(long);
70
71 private:
73 class Private;
75 Private* const d;
76};
77
78#endif
KexiEditor(KexiMainWindow *mainWin, TQWidget *parent, const char *name=0)
Constructor.
Kexi's main window interface This interface is implemented by KexiMainWindowImpl class.
void initialize(Kross::Api::ScriptAction *scriptaction)
Initializes the editor.
KexiScriptEditor(KexiMainWindow *mainWin, TQWidget *parent, const char *name=0)
Constructor.
virtual ~KexiScriptEditor()
Destructor.
bool isInitialized() const
KexiMainWindow * mainWin() const