korganizer

KOWindowList Class Reference

#include <kowindowlist.h>

Inherits TQObject.

Public Slots

void addWindow (KOrg::MainWindow *)
 
void removeWindow (KOrg::MainWindow *)
 

Public Member Functions

 KOWindowList (const char *name=0)
 
bool lastInstance ()
 
KOrg::MainWindowfindInstance (const KURL &url)
 
KOrg::MainWindowdefaultInstance ()
 

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

Author
Cornelius Schumacher

Definition at line 43 of file kowindowlist.h.

Constructor & Destructor Documentation

◆ KOWindowList()

KOWindowList::KOWindowList ( const char *  name = 0)

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.

◆ ~KOWindowList()

KOWindowList::~KOWindowList ( )
virtual

Definition at line 37 of file kowindowlist.cpp.

Member Function Documentation

◆ addWindow

void KOWindowList::addWindow ( KOrg::MainWindow korg)
slot

Register a main window.

Definition at line 41 of file kowindowlist.cpp.

◆ defaultInstance()

KOrg::MainWindow * KOWindowList::defaultInstance ( )

Return default instance.

This is the main window for the resource based calendar.

Definition at line 69 of file kowindowlist.cpp.

◆ findInstance()

KOrg::MainWindow * KOWindowList::findInstance ( const KURL &  url)

Is there a instance with this URL?

Definition at line 60 of file kowindowlist.cpp.

◆ lastInstance()

bool KOWindowList::lastInstance ( )

Is there only one instance left?

Definition at line 53 of file kowindowlist.cpp.

◆ removeWindow

void KOWindowList::removeWindow ( KOrg::MainWindow korg)
slot

Unregister a main window.

Definition at line 47 of file kowindowlist.cpp.


The documentation for this class was generated from the following files: