API Class Reference
#include <api.h>
Inheritance diagram for API:

Public Member Functions | |
virtual KDevMainWindow * | mainWindow () const |
Returns a reference to the main window. | |
virtual bool | mainWindowValid () const |
Check if the main window is valid. | |
virtual KDevPartController * | partController () const |
Returns a reference to the part controller component, which permits access to the current active parts (or components). | |
virtual KDevCore * | core () const |
Returns a reference to core object which provides basic functionalities for inter-parts communications / cooperation. | |
virtual CodeModel * | codeModel () const |
Returns a reference to encharged class store object. | |
virtual KDevDebugger * | debugger () const |
Returns a reference to the debugger component. | |
~API () | |
Static Public Member Functions | |
API * | getInstance () |
Protected Member Functions | |
API () | |
Private Attributes | |
CodeModel * | m_classStore |
Static Private Attributes | |
API * | s_instance = 0 |
Constructor & Destructor Documentation
|
Definition at line 61 of file api.cpp. References m_classStore. |
|
Definition at line 54 of file api.cpp. References m_classStore. |
Member Function Documentation
|
Returns a reference to encharged class store object.
Implements KDevApi. Definition at line 34 of file api.cpp. References m_classStore. Referenced by ProjectManager::closeProject(). |
|
Returns a reference to core object which provides basic functionalities for inter-parts communications / cooperation.
Implements KDevApi. Definition at line 28 of file api.cpp. References Core::getInstance(). |
|
Returns a reference to the debugger component.
Implements KDevApi. Definition at line 40 of file api.cpp. References Debugger::getInstance(). |
|
|
Returns a reference to the main window.
Implements KDevApi. Definition at line 12 of file api.cpp. References TopLevel::getInstance(). Referenced by ProjectSession::recreateDocs(). |
|
Check if the main window is valid.
Implements KDevApi. Definition at line 17 of file api.cpp. References TopLevel::mainWindowValid(). |
|
Returns a reference to the part controller component, which permits access to the current active parts (or components).
Implements KDevApi. Definition at line 22 of file api.cpp. References PartController::getInstance(). Referenced by MainWindowShare::createActions(), MainWindow::raiseEditor(), and MainWindowShare::slotConfigureEditors(). |
Member Data Documentation
|
Definition at line 37 of file api.h. Referenced by API(), codeModel(), and ~API(). |
|
Definition at line 9 of file api.cpp. Referenced by getInstance(). |
The documentation for this class was generated from the following files: