KDevelop API Documentation

TopLevel Class Reference

This class handles the single object of type KDevMainWindow. More...

#include <toplevel.h>

Collaboration diagram for TopLevel:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Mode { IDEMode, AssistantMode }

Static Public Member Functions

KDevMainWindowgetInstance ()
 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

KDevMainWindows_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

enum TopLevel::Mode
 

Enumeration values:
IDEMode 
AssistantMode 

Definition at line 21 of file toplevel.h.


Member Function Documentation

KDevMainWindow * TopLevel::getInstance  )  [static]
 

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().

void TopLevel::invalidateInstance KDevMainWindow instance  )  [static]
 

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().

bool TopLevel::mainWindowValid  )  [static]
 

Definition at line 13 of file toplevel.cpp.

References s_instance.

Referenced by API::mainWindowValid().


Member Data Documentation

TopLevel::Mode TopLevel::mode = TopLevel::IDEMode [static]
 

Definition at line 11 of file toplevel.cpp.

KDevMainWindow * TopLevel::s_instance = 0 [static, private]
 

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:
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:49:19 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003