#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 () |
Public Member Functions inherited from KOrg::MainWindow | |
virtual void | showStatusMessage (const TQString &message)=0 |
virtual void | setTitle ()=0 |
void | setHasDocument (bool d) |
bool | hasDocument () const |
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::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()
|
inlinevirtual |
Return ActionManager of this main window.
Implements KOrg::MainWindow.
Definition at line 80 of file korganizer.h.
◆ getActionCollection()
|
inlinevirtual |
Return actionCollection of this main window.
Implements KOrg::MainWindow.
Definition at line 81 of file korganizer.h.
◆ getCurrentURL()
|
virtual |
◆ mainGuiClient()
|
inlinevirtual |
Return XML GUI client of this main window.
Implements KOrg::MainWindow.
Definition at line 96 of file korganizer.h.
◆ mainGuiFactory()
|
inlinevirtual |
Return XML GUI factory of this main window.
Implements KOrg::MainWindow.
Definition at line 95 of file korganizer.h.
◆ openURL()
|
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.
◆ queryClose()
|
protected |
supplied so that close events close calendar properly.
Definition at line 219 of file korganizer.cpp.
◆ readSettings
|
protectedslot |
using the TDEConfig associated with the kapp variable, read in the settings from the config file.
Definition at line 178 of file korganizer.cpp.
◆ saveAsURL()
|
virtual |
Save calendar file to URL.
Implements KOrg::MainWindow.
Definition at line 259 of file korganizer.cpp.
◆ saveURL()
|
virtual |
Save calendar file to URL of current calendar.
Implements KOrg::MainWindow.
Definition at line 254 of file korganizer.cpp.
◆ setTitle
|
protectedslot |
Sets title of window according to filename and modification state.
Definition at line 284 of file korganizer.cpp.
◆ showStatusMessage
|
slot |
show status message
Definition at line 244 of file korganizer.cpp.
◆ topLevelWidget()
|
inlinevirtual |
Return widget whcih represents this main window.
Implements KOrg::MainWindow.
Definition at line 97 of file korganizer.h.
◆ writeSettings
|
protectedslot |
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: