testwindow.h

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 "../main/manager.h"
00024 #include "../main/scriptcontainer.h"
00025 #include "../main/scriptguiclient.h"
00026 #include "../api/object.h"
00027 
00028 //#include <qobject.h>
00029 #include <qstring.h>
00030 
00031 #include <kmainwindow.h>
00032 
00033 class QComboBox;
00034 class KTextEdit;
00035 
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::Api::ScriptContainer::Ptr m_scriptcontainer;
00049         Kross::Api::ScriptGUIClient* m_scriptextension;
00050 
00051         QComboBox* m_interpretercombo;
00052         KTextEdit* m_codeedit;
00053 };
00054 
00055 #endif

Generated on Thu Feb 9 17:59:11 2006 for Kross by  doxygen 1.4.6