KDevelop API Documentation

ScriptingPart Class Reference

Put a brief description here, the brief description ends at the first dot. More...

#include <scriptingpart.h>

Inheritance diagram for ScriptingPart:

Inheritance graph
[legend]
Collaboration diagram for ScriptingPart:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScriptingPart (QObject *parent, const char *name, const QStringList &)
 ~ScriptingPart ()
PyObject * addMenuItem (PyObject *args)
PyObject * appId (PyObject *args)

Private Slots

void slotScriptAction ()

Private Attributes

QDomDocument guiDocument
QMap< QString, PyObject * > actions

Detailed Description

Put a brief description here, the brief description ends at the first dot.

Put a more detailed description of your part in these lines. It can span over several lines. You can even use some html commands in these lines like: This is code, html links link text, and images.

Author(s):
Bernd Gehrmann

Maintainer(s):
$AUTHOR$

2nd maintainer full name ...

nth maintainer full name

Feature(s):
Describe the first feature

Describe the second feature ...

Describe the last feature

Bug:
Describe a the 1st bug that you know of, but probably hasn't been reported yet. ..

Describe a the nth bug that you know of, but probably hasn't been reported yet.

Requirement(s):
Describe a the 1st requirement of your part.

Describe a the 2nd requirement of your part. ...

Describe a the nth requirement of your part.

Todo:
Describe a the 1st TODO of your part.

Describe a the 2nd TODO of your part. ...

Describe a the nth TODO of your part.

F.A.Q.:
First frequenly asked question about your part ? Answer.

Second frequenly asked question about your part ? Answer. ...

Last frequenly asked question about your part ? Answer.

Note:
First note text.

Second note text. ...

Last note text.

Warning:
First warning text.

Second warning text. ...

Last warning text.

Definition at line 21 of file scriptingpart.h.


Constructor & Destructor Documentation

ScriptingPart::ScriptingPart QObject parent,
const char *  name,
const QStringList
 

Definition at line 37 of file scriptingpart.cpp.

References KGlobal::dirs(), KStandardDirs::findResourceDir(), guiDocument, initkdevelopc(), initpydcopc(), kdDebug(), locate(), scripting_part, KXMLGUIClient::setDOMDocument(), and KXMLGUIClient::setInstance().

ScriptingPart::~ScriptingPart  ) 
 

Definition at line 83 of file scriptingpart.cpp.

References pydcopc_dispatcher.


Member Function Documentation

PyObject * ScriptingPart::addMenuItem PyObject *  args  ) 
 

Definition at line 90 of file scriptingpart.cpp.

References KXMLGUIClient::actionCollection(), actions, KDevPlugin::core(), guiDocument, KDevCore::insertNewAction(), kdDebug(), KXMLGUIClient::setDOMDocument(), and slotScriptAction().

Referenced by kdevelopc_addMenuItem().

PyObject * ScriptingPart::appId PyObject *  args  ) 
 

Definition at line 143 of file scriptingpart.cpp.

References data.

Referenced by kdevelopc_appId().

void ScriptingPart::slotScriptAction  )  [private, slot]
 

Definition at line 152 of file scriptingpart.cpp.

References actions, and kdDebug().

Referenced by addMenuItem().


Member Data Documentation

QMap<QString, PyObject*> ScriptingPart::actions [private]
 

Definition at line 37 of file scriptingpart.h.

Referenced by addMenuItem(), and slotScriptAction().

QDomDocument ScriptingPart::guiDocument [private]
 

Definition at line 36 of file scriptingpart.h.

Referenced by addMenuItem(), and ScriptingPart().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:29:43 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003