korganizer
#include <kowindowlist.h>
Public Slots | |
void | addWindow (KOrg::MainWindow *) |
void | removeWindow (KOrg::MainWindow *) |
Public Member Functions | |
KOWindowList () | |
virtual | ~KOWindowList () |
KOrg::MainWindow * | defaultInstance () |
KOrg::MainWindow * | findInstance (const KUrl &url) |
bool | lastInstance () |
Detailed Description
This class manages a list of KOrganizer instances, each associated with a window displaying a calendar.
It acts as relay for signals between this windows and manages information, which requires interaction of all instances.
manages a list of all KOrganizer instances
Definition at line 44 of file kowindowlist.h.
Constructor & Destructor Documentation
KOWindowList::KOWindowList | ( | ) |
Constructs a new list of KOrganizer windows.
There should only be one instance of this class. The ActionManager class takes care of this.
Definition at line 30 of file kowindowlist.cpp.
|
virtual |
Definition at line 35 of file kowindowlist.cpp.
Member Function Documentation
|
slot |
Register a main window.
Definition at line 39 of file kowindowlist.cpp.
KOrg::MainWindow * KOWindowList::defaultInstance | ( | ) |
Return default instance.
This is the main window for the resource based calendar.
Definition at line 80 of file kowindowlist.cpp.
KOrg::MainWindow * KOWindowList::findInstance | ( | const KUrl & | url | ) |
Is there a instance with this URL?
Definition at line 70 of file kowindowlist.cpp.
bool KOWindowList::lastInstance | ( | ) |
Is there only one instance left?
Definition at line 57 of file kowindowlist.cpp.
|
slot |
Unregister a main window.
Definition at line 48 of file kowindowlist.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.