korganizer

KOrganizer Class Reference

#include <korganizer.h>

Inheritance diagram for KOrganizer:

KOrg::MainWindow

List of all members.


Detailed Description

This is the main class for KOrganizer.

It extends the KDE KMainWindow. it provides the main view that the user sees upon startup, as well as menus, buttons, etc. etc.

constructs a new main window for korganizer

Author:
Preston Brown

Definition at line 65 of file korganizer.h.


Public Slots

void showStatusMessage (const QString &)

Public Member Functions

 KOrganizer (const char *name=0)
void init (bool hasDocument)
KOrg::CalendarViewBaseview () const
ActionManageractionManager ()
KActionCollectiongetActionCollection () const
bool openURL (const KURL &url, bool merge=false)
bool saveURL ()
bool saveAsURL (const KURL &kurl)
KURL getCurrentURL () const
virtual KXMLGUIFactorymainGuiFactory ()
virtual KXMLGUIClientmainGuiClient ()
virtual QWidget * topLevelWidget ()

Protected Slots

void readSettings ()
void writeSettings ()
void statusBarPressed (int)
void setTitle ()
void newMainWindow (const KURL &)

Protected Member Functions

void initActions ()
bool queryClose ()
bool queryExit ()
void saveProperties (KConfig *)
void readProperties (KConfig *)

Constructor & Destructor Documentation

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

Constructs a new main window.

Parameters:
name Qt internal widget name

Definition at line 89 of file korganizer.cpp.


Member Function Documentation

ActionManager* KOrganizer::actionManager (  )  [inline, virtual]

Return ActionManager of this main window.

Implements KOrg::MainWindow.

Definition at line 79 of file korganizer.h.

KActionCollection* KOrganizer::getActionCollection (  )  const [inline, virtual]

Return actionCollection of this main window.

Implements KOrg::MainWindow.

Definition at line 80 of file korganizer.h.

bool KOrganizer::openURL ( const KURL &  url,
bool  merge = false 
) [virtual]

Open calendar file from URL.

Merge into current calendar, if merge is true.

Implements KOrg::MainWindow.

Definition at line 249 of file korganizer.cpp.

bool KOrganizer::saveURL (  )  [virtual]

Save calendar file to URL of current calendar.

Implements KOrg::MainWindow.

Definition at line 254 of file korganizer.cpp.

bool KOrganizer::saveAsURL ( const KURL &  kurl  )  [virtual]

Save calendar file to URL.

Implements KOrg::MainWindow.

Definition at line 259 of file korganizer.cpp.

KURL KOrganizer::getCurrentURL (  )  const [virtual]

Get current URL.

Implements KOrg::MainWindow.

Definition at line 264 of file korganizer.cpp.

virtual KXMLGUIFactory* KOrganizer::mainGuiFactory (  )  [inline, virtual]

Return XML GUI factory of this main window.

Implements KOrg::MainWindow.

Definition at line 94 of file korganizer.h.

virtual KXMLGUIClient* KOrganizer::mainGuiClient (  )  [inline, virtual]

Return XML GUI client of this main window.

Implements KOrg::MainWindow.

Definition at line 95 of file korganizer.h.

virtual QWidget* KOrganizer::topLevelWidget (  )  [inline, virtual]

Return widget whcih represents this main window.

Implements KOrg::MainWindow.

Definition at line 96 of file korganizer.h.

void KOrganizer::showStatusMessage ( const QString &  message  )  [virtual, slot]

show status message

Implements KOrg::MainWindow.

Definition at line 244 of file korganizer.cpp.

void KOrganizer::readSettings (  )  [protected, slot]

using the KConfig associated with the kapp variable, read in the settings from the config file.

Definition at line 178 of file korganizer.cpp.

void KOrganizer::writeSettings (  )  [protected, slot]

write current state to config file.

Definition at line 191 of file korganizer.cpp.

void KOrganizer::setTitle (  )  [protected, virtual, slot]

Sets title of window according to filename and modification state.

Implements KOrg::MainWindow.

Definition at line 284 of file korganizer.cpp.

bool KOrganizer::queryClose (  )  [protected]

supplied so that close events close calendar properly.

Definition at line 219 of file korganizer.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys