korganizer
#include <korganizer.h>
Public Slots | |
void | showStatusMessage (const QString &) |
Public Member Functions | |
KOrganizer () | |
virtual | ~KOrganizer () |
ActionManager * | actionManager () |
KActionCollection * | getActionCollection () const |
KUrl | getCurrentURL () const |
void | init (bool hasDocument) |
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 |
Public Member Functions inherited from KOrg::MainWindow | |
MainWindow () | |
virtual | ~MainWindow () |
bool | hasDocument () const |
void | setHasDocument (bool d) |
virtual void | setTitle ()=0 |
virtual void | showStatusMessage (const QString &message)=0 |
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 () |
void | readProperties (const KConfigGroup &) |
void | saveProperties (KConfigGroup &) |
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 52 of file korganizer.h.
Constructor & Destructor Documentation
KOrganizer::KOrganizer | ( | ) |
Definition at line 50 of file korganizer.cpp.
|
virtual |
Definition at line 68 of file korganizer.cpp.
Member Function Documentation
|
inlinevirtual |
Return ActionManager of this main window.
Implements KOrg::MainWindow.
Definition at line 62 of file korganizer.h.
|
inlinevirtual |
Return actionCollection of this main window.
Implements KOrg::MainWindow.
Definition at line 63 of file korganizer.h.
|
virtual |
|
virtual |
Reimplemented from KOrg::MainWindow.
Definition at line 75 of file korganizer.cpp.
|
protected |
Definition at line 148 of file korganizer.cpp.
|
inlinevirtual |
Return XML GUI client of this main window.
Implements KOrg::MainWindow.
Definition at line 86 of file korganizer.h.
|
inlinevirtual |
Return XML GUI factory of this main window.
Implements KOrg::MainWindow.
Definition at line 85 of file korganizer.h.
|
protectedslot |
Definition at line 110 of file korganizer.cpp.
|
virtual |
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
Implements KOrg::MainWindow.
Definition at line 194 of file korganizer.cpp.
|
protected |
supplied so that close events close calendar properly.
Definition at line 169 of file korganizer.cpp.
|
protected |
Definition at line 219 of file korganizer.cpp.
|
protectedslot |
using the KConfig associated with the kapp variable, read in the settings from the config file.
Definition at line 126 of file korganizer.cpp.
|
virtual |
Save calendar file to URL.
Implements KOrg::MainWindow.
Definition at line 204 of file korganizer.cpp.
|
protected |
Definition at line 214 of file korganizer.cpp.
|
virtual |
Save calendar file to URL of current calendar.
Implements KOrg::MainWindow.
Definition at line 199 of file korganizer.cpp.
|
protectedslot |
Sets title of window according to filename and modification state.
Definition at line 229 of file korganizer.cpp.
|
slot |
show status message
Definition at line 189 of file korganizer.cpp.
|
protectedslot |
Definition at line 163 of file korganizer.cpp.
|
protectedslot |
Definition at line 184 of file korganizer.cpp.
|
inlinevirtual |
Return widget whcih represents this main window.
Implements KOrg::MainWindow.
Definition at line 87 of file korganizer.h.
|
virtual |
Implements KOrg::MainWindow.
Definition at line 224 of file korganizer.cpp.
|
protectedslot |
write current state to config file.
Definition at line 138 of file korganizer.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.