korganizer
KOrganizer Class Reference
This is the main class for KOrganizer. More...
#include <korganizer.h>

Public Slots | |
void | showStatusMessage (const TQString &) |
Public Member Functions | |
KOrganizer (const char *name=0) | |
void | init (bool hasDocument) |
KOrg::CalendarViewBase * | view () const |
ActionManager * | actionManager () |
TDEActionCollection * | getActionCollection () const |
bool | openURL (const KURL &url, bool merge=false) |
bool | saveURL () |
bool | saveAsURL (const KURL &kurl) |
KURL | getCurrentURL () const |
virtual KXMLGUIFactory * | mainGuiFactory () |
virtual KXMLGUIClient * | mainGuiClient () |
virtual TQWidget * | topLevelWidget () |
virtual bool | isCurrentlyActivePart () |
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 (TDEConfig *) |
void | readProperties (TDEConfig *) |
Detailed Description
This is the main class for KOrganizer.
It extends the KDE TDEMainWindow. 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 65 of file korganizer.h.
Constructor & Destructor Documentation
KOrganizer::KOrganizer | ( | const char * | name = 0 |
) |
Constructs a new main window.
- Parameters:
-
name TQt 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 80 of file korganizer.h.
TDEActionCollection* KOrganizer::getActionCollection | ( | ) | const [inline, virtual] |
Return actionCollection of this main window.
Implements KOrg::MainWindow.
Definition at line 81 of file korganizer.h.
KURL KOrganizer::getCurrentURL | ( | ) | const [virtual] |
virtual KXMLGUIClient* KOrganizer::mainGuiClient | ( | ) | [inline, virtual] |
Return XML GUI client of this main window.
Implements KOrg::MainWindow.
Definition at line 96 of file korganizer.h.
virtual KXMLGUIFactory* KOrganizer::mainGuiFactory | ( | ) | [inline, virtual] |
Return XML GUI factory of this main window.
Implements KOrg::MainWindow.
Definition at line 95 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::queryClose | ( | ) | [protected] |
supplied so that close events close calendar properly.
Definition at line 219 of file korganizer.cpp.
void KOrganizer::readSettings | ( | ) | [protected, slot] |
using the TDEConfig associated with the kapp variable, read in the settings from the config file.
Definition at line 178 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.
bool KOrganizer::saveURL | ( | ) | [virtual] |
Save calendar file to URL of current calendar.
Implements KOrg::MainWindow.
Definition at line 254 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.
void KOrganizer::showStatusMessage | ( | const TQString & | message | ) | [virtual, slot] |
virtual TQWidget* KOrganizer::topLevelWidget | ( | ) | [inline, virtual] |
Return widget whcih represents this main window.
Implements KOrg::MainWindow.
Definition at line 97 of file korganizer.h.
void KOrganizer::writeSettings | ( | ) | [protected, slot] |
write current state to config file.
Definition at line 191 of file korganizer.cpp.
The documentation for this class was generated from the following files: