F:/KPlato/koffice/libs/kross/test/testwindow.h

Aller à la documentation de ce fichier.
00001 /***************************************************************************
00002  * testwindow.h
00003  * This file is part of the KDE project
00004  * copyright (C)2004-2005 by Sebastian Sauer (mail@dipe.org)
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  * You should have received a copy of the GNU Library General Public License
00015  * along with this program; see the file COPYING.  If not, write to
00016  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018  ***************************************************************************/
00019 
00020 #ifndef KROSS_TEST_TESTWINDOW_H
00021 #define KROSS_TEST_TESTWINDOW_H
00022 
00023 #include "../core/action.h"
00024 #include "../core/manager.h"
00025 #include "../core/guiclient.h"
00026 
00027 //#include <QObject>
00028 #include <QString>
00029 
00030 #include <kmainwindow.h>
00031 
00032 class QComboBox;
00033 class KTextEdit;
00034 
00036 class TestWindow : public KMainWindow
00037 {
00038         Q_OBJECT
00039     public:
00040         TestWindow(const QString& interpretername, const QString& scriptcode);
00041         virtual ~TestWindow();
00042     private slots:
00043         void execute();
00044     private:
00045         QString m_interpretername;
00046         QString m_scriptcode;
00047 
00048         Kross::Action* m_action;
00049         Kross::GUIClient* m_scriptextension;
00050 
00051         QComboBox* m_interpretercombo;
00052         KTextEdit* m_codeedit;
00053 };
00054 
00055 #endif

Généré le Wed Nov 22 23:41:12 2006 pour KPlato par  doxygen 1.5.1-p1