kexi

kexiscripteditor.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2003 Lucijan Busch <lucijan@gmx.at>
00003    Copyright (C) 2004-2005 Jaroslaw Staniek <js@iidea.pl>
00004    Copyright (C) 2005 Cedric Pasteur <cedric.pasteur@free.fr>
00005    Copyright (C) 2005 Sebastian Sauer <mail@dipe.org>
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 
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015    Library General Public License for more details.
00016 
00017    You should have received a copy of the GNU Library General Public License
00018    along with this program; see the file COPYING.  If not, write to
00019    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020  * Boston, MA 02110-1301, USA.
00021 */
00022 
00023 #ifndef KEXISCRIPTEDITOR_H
00024 #define KEXISCRIPTEDITOR_H
00025 
00026 #include <kexieditor.h>
00027 
00028 namespace Kross { namespace Api {
00029   class ScriptAction;
00030 }}
00031 
00036 class KexiScriptEditor : public KexiEditor
00037 {
00038         Q_OBJECT
00039 
00040     public:
00041 
00045         KexiScriptEditor(KexiMainWindow *mainWin, QWidget *parent, const char *name = 0);
00046 
00050         virtual ~KexiScriptEditor();
00051 
00058         void initialize(Kross::Api::ScriptAction* scriptaction);
00059 
00060     public slots:
00061         void slotTextChanged();
00062         void setLineNo(long);
00063 
00064     private:
00066         class Private;
00068         Private* const d;
00069 };
00070 
00071 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys