• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

korganizer

KOrganizer Class Reference

#include <korganizer.h>

Inheritance diagram for KOrganizer:

Inheritance graph
[legend]

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 58 of file korganizer.h.


Public Slots

void showStatusMessage (const QString &)

Public Member Functions

ActionManager * actionManager ()
KActionCollection * getActionCollection () const
KUrl getCurrentURL () const
void init (bool hasDocument)
 KOrganizer ()
virtual KXMLGUIClient * mainGuiClient ()
virtual KXMLGUIFactory * mainGuiFactory ()
bool openURL (const KUrl &url, bool merge=false)
bool saveAsURL (const KUrl &kurl)
bool saveURL ()
virtual QWidget * topLevelWidget ()
KOrg::CalendarViewBase * view () const
virtual ~KOrganizer ()

Protected Slots

void newMainWindow (const KUrl &)
void readSettings ()
void setTitle ()
void slotEditKeys ()
void statusBarPressed (int id)
void writeSettings ()

Protected Member Functions

void initActions ()
bool queryClose ()
bool queryExit ()
void readProperties (const KConfigGroup &)
void saveProperties (KConfigGroup &)

Constructor & Destructor Documentation

KOrganizer::KOrganizer (  ) 

Definition at line 86 of file korganizer.cpp.

KOrganizer::~KOrganizer (  )  [virtual]

Definition at line 104 of file korganizer.cpp.


Member Function Documentation

ActionManager* KOrganizer::actionManager (  )  [inline]

Definition at line 68 of file korganizer.h.

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

Definition at line 69 of file korganizer.h.

KUrl KOrganizer::getCurrentURL (  )  const

Get current URL.

Definition at line 266 of file korganizer.cpp.

void KOrganizer::init ( bool  hasDocument  ) 

Definition at line 111 of file korganizer.cpp.

void KOrganizer::initActions (  )  [protected]

Definition at line 197 of file korganizer.cpp.

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

Definition at line 89 of file korganizer.h.

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

Definition at line 88 of file korganizer.h.

void KOrganizer::newMainWindow ( const KUrl &  url  )  [protected, slot]

Definition at line 159 of file korganizer.cpp.

bool KOrganizer::openURL ( const KUrl &  url,
bool  merge = false 
)

Open calendar file from URL.

Merge into current calendar, if merge is true.

Parameters:
url The URL to open
merge true if the incidences in URL should be imported into the current calendar (default resource or calendar file), false if the URL should be added as a new resource.
Returns:
true on success, false if an error occurred

Definition at line 251 of file korganizer.cpp.

bool KOrganizer::queryClose (  )  [protected]

supplied so that close events close calendar properly.

Definition at line 218 of file korganizer.cpp.

bool KOrganizer::queryExit (  )  [protected]

Definition at line 233 of file korganizer.cpp.

void KOrganizer::readProperties ( const KConfigGroup &  config  )  [protected]

Definition at line 276 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 175 of file korganizer.cpp.

bool KOrganizer::saveAsURL ( const KUrl &  kurl  ) 

Save calendar file to URL.

Definition at line 261 of file korganizer.cpp.

void KOrganizer::saveProperties ( KConfigGroup &  config  )  [protected]

Definition at line 271 of file korganizer.cpp.

bool KOrganizer::saveURL (  ) 

Save calendar file to URL of current calendar.

Definition at line 256 of file korganizer.cpp.

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

Sets title of window according to filename and modification state.

Definition at line 286 of file korganizer.cpp.

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

show status message

Definition at line 246 of file korganizer.cpp.

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

Definition at line 212 of file korganizer.cpp.

void KOrganizer::statusBarPressed ( int  id  )  [protected, slot]

Definition at line 241 of file korganizer.cpp.

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

Definition at line 90 of file korganizer.h.

KOrg::CalendarViewBase * KOrganizer::view (  )  const

Definition at line 281 of file korganizer.cpp.

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

write current state to config file.

Definition at line 187 of file korganizer.cpp.


The documentation for this class was generated from the following files:
  • korganizer.h
  • korganizer.cpp

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal