KOWindowList Class Reference
This class manages a list of KOrganizer instances, each associated with a window displaying a calendar. manages a list of all KOrganizer instances. More...
#include <kowindowlist.h>
Public Slots | |
void | addWindow (KOrg::MainWindow *) |
void | removeWindow (KOrg::MainWindow *) |
Public Member Functions | |
KOWindowList (const char *name=0) | |
bool | lastInstance () |
KOrg::MainWindow * | findInstance (const KURL &url) |
KOrg::MainWindow * | defaultInstance () |
Detailed Description
This class manages a list of KOrganizer instances, each associated with a window displaying a calendar. manages a list of all KOrganizer instances.It acts as relay for signals between this windows and manages information, which requires interaction of all instances.
- Author:
- Cornelius Schumacher
Definition at line 41 of file kowindowlist.h.
Constructor & Destructor Documentation
|
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 31 of file kowindowlist.cpp. References KOWindowList(). Referenced by KOWindowList(). |
Member Function Documentation
|
Is there only one instance left?
Definition at line 53 of file kowindowlist.cpp. |
|
Is there a instance with this URL?
Definition at line 60 of file kowindowlist.cpp. References findInstance(), and KOrg::MainWindow::getCurrentURL(). Referenced by findInstance(), and ActionManager::findInstance(). |
|
Return default instance. This is the main window for the resource based calendar. Definition at line 69 of file kowindowlist.cpp. Referenced by ActionManager::findInstance(). |
|
Register a main window.
Definition at line 41 of file kowindowlist.cpp. References addWindow(), and KOrg::MainWindow::hasDocument(). Referenced by addWindow(). |
|
Unregister a main window.
Definition at line 47 of file kowindowlist.cpp. References removeWindow(). Referenced by removeWindow(). |
The documentation for this class was generated from the following files: