korganizer
KOrganizer Class Reference
#include <korganizer.h>

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
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 |
| 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 | ) |
| void KOrganizer::saveProperties | ( | KConfigGroup & | config | ) | [protected] |
Definition at line 271 of file korganizer.cpp.
| bool KOrganizer::saveURL | ( | ) |
| 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] |
| 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] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference