PythonSupportPart Class Reference
This is a Python support plugin. More...
#include <pythonsupportpart.h>
Inheritance diagram for PythonSupportPart:


Public Member Functions | |
PythonSupportPart (QObject *parent, const char *name, const QStringList &) | |
~PythonSupportPart () | |
Protected Member Functions | |
virtual Features | features () |
Returns the feature set of the language. | |
virtual KMimeType::List | mimeTypes () |
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog. | |
Private Slots | |
void | projectConfigWidget (KDialogBase *dlg) |
void | projectOpened () |
void | projectClosed () |
void | savedFile (const KURL &fileName) |
void | addedFilesToProject (const QStringList &fileList) |
void | removedFilesFromProject (const QStringList &fileList) |
void | slotExecute () |
void | slotExecuteString () |
void | slotStartInterpreter () |
void | initialParse () |
void | slotPydoc () |
Private Member Functions | |
QString | interpreter () |
void | startApplication (const QString &program) |
void | maybeParse (const QString fileName) |
void | parse (const QString &fileName) |
Detailed Description
This is a Python support plugin.
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.
- Feature(s):
- Python support
Consult Programming Languages Support Status for a up to date features/status of this programming language support part.
- 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 pythonsupportpart.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 84 of file pythonsupportpart.cpp. |
Member Function Documentation
|
Definition at line 151 of file pythonsupportpart.cpp. References KDevLanguageSupport::addedSourceInfo(), kdDebug(), maybeParse(), KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by projectOpened(). |
|
Returns the feature set of the language. This is e.g. used by the class view to decide which organizer items to display and which not. Reimplemented from KDevLanguageSupport. Definition at line 199 of file pythonsupportpart.cpp. References KDevLanguageSupport::Features. |
|
Definition at line 131 of file pythonsupportpart.cpp. References KDevProject::allFiles(), kdDebug(), maybeParse(), KDevPlugin::project(), KDevProject::projectDirectory(), and KDevLanguageSupport::updatedSourceInfo(). Referenced by projectOpened(). |
|
Definition at line 292 of file pythonsupportpart.cpp. References KDevPlugin::projectDom(), and DomUtil::readEntry(). Referenced by slotExecute(), and slotStartInterpreter(). |
|
Definition at line 116 of file pythonsupportpart.cpp. References KDevLanguageSupport::aboutToRemoveSourceInfo(), KDevPlugin::codeModel(), CodeModel::hasFile(), parse(), and CodeModel::removeFile(). Referenced by addedFilesToProject(), initialParse(), and savedFile(). |
|
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.
Reimplemented from KDevLanguageSupport. Definition at line 205 of file pythonsupportpart.cpp. References KMimeType::List, KMimeType::mimeType(), and KMimeType::Ptr. |
|
Definition at line 219 of file pythonsupportpart.cpp. References CodeModel::addFile(), ClassDom, KDevPlugin::codeModel(), CodeModel::create(), FileDom, FunctionDom, and kdDebug(). Referenced by maybeParse(). |
|
Definition at line 111 of file pythonsupportpart.cpp. |
|
Definition at line 88 of file pythonsupportpart.cpp. References KDialogBase::addVBoxPage(), and KDevPlugin::projectDom(). |
|
Definition at line 96 of file pythonsupportpart.cpp. References addedFilesToProject(), initialParse(), kdDebug(), KDevPlugin::project(), and removedFilesFromProject(). |
|
Definition at line 168 of file pythonsupportpart.cpp. References KDevLanguageSupport::aboutToRemoveSourceInfo(), KDevPlugin::codeModel(), CodeModel::hasFile(), kdDebug(), KDevPlugin::project(), KDevProject::projectDirectory(), and CodeModel::removeFile(). Referenced by projectOpened(). |
|
Definition at line 188 of file pythonsupportpart.cpp. References KDevLanguageSupport::addedSourceInfo(), KDevProject::allFiles(), kdDebug(), Structure::length(), maybeParse(), KURL::path(), and KDevPlugin::project(). |
|
Definition at line 309 of file pythonsupportpart.cpp. References interpreter(), KDevProject::mainProgram(), KDevPlugin::project(), and startApplication(). |
|
Definition at line 323 of file pythonsupportpart.cpp. References KInputDialog::getText(), and startApplication(). |
|
Definition at line 335 of file pythonsupportpart.cpp. References KInputDialog::getText(), KDevPlugin::partController(), and KDevPartController::showDocument(). |
|
Definition at line 317 of file pythonsupportpart.cpp. References interpreter(), and startApplication(). |
|
Definition at line 302 of file pythonsupportpart.cpp. References KDevPlugin::appFrontend(), KDevPlugin::projectDom(), DomUtil::readBoolEntry(), and KDevAppFrontend::startAppCommand(). Referenced by slotExecute(), slotExecuteString(), and slotStartInterpreter(). |
The documentation for this class was generated from the following files:
- languages/python/pythonsupportpart.h
- languages/python/pythonsupportpart.cpp