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>
Inheritance diagram for KOWindowList:

Public Slots | |
void | addWindow (KOrganizer *) |
void | removeWindow (KOrganizer *) |
void | deactivateCalendars (KOrganizer *) |
Deactivating all calendars despite the one given in the argument. | |
Public Member Functions | |
KOWindowList (const char *name=0) | |
Constructs a new list of KOrganizer windows. | |
bool | lastInstance () |
Is there only one instance left? | |
KOrganizer * | findInstance (const KURL &url) |
Is there a instance with this URL? |
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 like the active calendar, 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 KOrganizer class takes care of this. Definition at line 29 of file kowindowlist.cpp. |
Member Function Documentation
|
Is there only one instance left?
Definition at line 51 of file kowindowlist.cpp. References QPtrList< KOrganizer >::count(). Referenced by KOrganizer::queryClose(). |
|
Is there a instance with this URL?
Definition at line 57 of file kowindowlist.cpp. References QPtrList< KOrganizer >::first(), KOrganizer::getCurrentURL(), and QPtrList< KOrganizer >::next(). Referenced by KOrganizer::findInstance(). |
|
Deactivating all calendars despite the one given in the argument.
Definition at line 66 of file kowindowlist.cpp. References QPtrList< KOrganizer >::first(), QPtrList< KOrganizer >::next(), and KOrganizer::setActive(). |
The documentation for this class was generated from the following files: