KDevelop API Documentation

scriptingpart.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2001 by Bernd Gehrmann                                  *
00003  *   bernd@kdevelop.org                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #ifndef _SCRIPTINGPART_H_
00013 #define _SCRIPTINGPART_H_
00014 
00015 #include <Python.h>
00016 #include <qdom.h>
00017 #include <qguardedptr.h>
00018 #include "kdevplugin.h"
00019 
00020 
00021 class ScriptingPart : public KDevPlugin
00022 {
00023     Q_OBJECT
00024 
00025 public:
00026     ScriptingPart( QObject *parent, const char *name, const QStringList & );
00027     ~ScriptingPart();
00028 
00029     PyObject *addMenuItem(PyObject *args);
00030     PyObject *appId(PyObject *args);
00031 
00032 private slots:
00033     void slotScriptAction();
00034 
00035 private:
00036     QDomDocument guiDocument;
00037     QMap<QString, PyObject*> actions;
00038 };
00039 
00040 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:42 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003