TopLevel Class Reference
This class handles the single object of type KDevMainWindow. More...
#include <toplevel.h>
Collaboration diagram for TopLevel:

Public Types | |
enum | Mode { IDEMode, AssistantMode } |
Static Public Member Functions | |
KDevMainWindow * | getInstance () |
Get a pointer to the single KDevTopLevel object. | |
bool | mainWindowValid () |
void | invalidateInstance (KDevMainWindow *instance) |
Signal that the object has been (or is about to be) destroyed. | |
Static Public Attributes | |
Mode | mode = TopLevel::IDEMode |
Static Private Attributes | |
KDevMainWindow * | s_instance = 0 |
Pointer to the single KDevTopLevel object or 0L. |
Detailed Description
This class handles the single object of type KDevMainWindow.It is completely static (all methods and attributes).
Definition at line 13 of file toplevel.h.
Member Enumeration Documentation
|
Definition at line 21 of file toplevel.h. |
Member Function Documentation
|
Get a pointer to the single KDevTopLevel object.
Definition at line 18 of file toplevel.cpp. References NewMainWindow::init(), KConfigBase::readNumEntry(), s_instance, and KConfigBase::setGroup(). Referenced by PartController::activatePart(), PartController::closePart(), ProjectManager::closeProject(), EditorProxy::installPopup(), PluginController::integratePart(), PartController::integratePart(), PluginController::loadLocalParts(), ProjectManager::loadProject(), main(), API::mainWindow(), PluginController::removePart(), PartController::setupActions(), PartController::showPart(), and ProjectManager::slotLoadProject(). |
|
Signal that the object has been (or is about to be) destroyed.
Definition at line 39 of file toplevel.cpp. References s_instance. Referenced by MainWindow::~MainWindow(), and NewMainWindow::~NewMainWindow(). |
|
Definition at line 13 of file toplevel.cpp. References s_instance. Referenced by API::mainWindowValid(). |
Member Data Documentation
|
Definition at line 11 of file toplevel.cpp. |
|
Pointer to the single KDevTopLevel object or 0L.
Definition at line 10 of file toplevel.cpp. Referenced by getInstance(), invalidateInstance(), and mainWindowValid(). |
The documentation for this class was generated from the following files:
- src/toplevel.h
- src/toplevel.cpp