KDevelop API Documentation

TopLevel Class Reference

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

#include <toplevel.h>

List of all members.

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 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 Function Documentation

KDevMainWindow * TopLevel::getInstance  )  [static]
 

Get a pointer to the single KDevTopLevel object.

Definition at line 20 of file toplevel.cpp.

References MainWindow::init(), and s_instance.

Referenced by PartController::activatePart(), PartController::closePart(), ProjectManager::closeProject(), PartController::contextPopupMenu(), PluginController::integratePart(), PartController::integratePart(), main(), API::mainWindow(), DocumentationPart::popup(), PluginController::removePart(), PartController::saveFile(), PartController::setupActions(), and PartController::showPart().

void TopLevel::invalidateInstance KDevMainWindow instance  )  [static]
 

Signal that the object has been (or is about to be) destroyed.

Definition at line 35 of file toplevel.cpp.

References invalidateInstance(), and s_instance.

Referenced by invalidateInstance().

bool TopLevel::mainWindowValid  )  [static]
 

Definition at line 15 of file toplevel.cpp.

References s_instance.

Referenced by API::mainWindowValid().


Member Data Documentation

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

Pointer to the single KDevTopLevel object or 0L.

Definition at line 12 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.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:07 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003