korganizer
ActionManager Class Reference
#include <actionmanager.h>
Inheritance diagram for ActionManager:

Detailed Description
The ActionManager creates all the actions in KOrganizer.This class is shared between the main application and the part so all common actions are in one location. It also provides DCOP interface[s].
Definition at line 74 of file actionmanager.h.
Public Slots | |
bool | addResource (const KURL &mUrl) |
bool | openURL (const KURL &url, bool merge=false) |
bool | saveURL () |
bool | saveAsURL (const KURL &kurl) |
bool | saveModifiedURL () |
void | exportHTML () |
void | exportHTML (HTMLExportSettings *) |
void | updateConfig () |
void | setDestinationPolicy () |
void | processIncidenceSelection (Incidence *) |
void | keyBindings () |
void | readSettings () |
void | writeSettings () |
void | saveProperties (KConfig *) |
void | readProperties (KConfig *) |
void | loadParts () |
void | importCalendar (const KURL &url) |
Signals | |
void | actionNew (const KURL &url=KURL()) |
void | configChanged () |
void | closingDown () |
void | resourceAdded (ResourceCalendar *) |
Public Member Functions | |
ActionManager (KXMLGUIClient *client, CalendarView *widget, QObject *parent, KOrg::MainWindow *mainWindow, bool isPart) | |
void | init () |
CalendarView * | view () const |
void | createCalendarLocal () |
void | createCalendarResources () |
void | saveCalendar () |
bool | saveResourceCalendar () |
KURL | url () const |
bool | openURL (const QString &url) |
bool | mergeURL (const QString &url) |
bool | saveAsURL (const QString &url) |
void | closeURL () |
QString | getCurrentURLasString () const |
virtual bool | deleteIncidence (const QString &uid, bool force=false) |
bool | editIncidence (const QString &uid) |
bool | addIncidence (const QString &ical) |
virtual ResourceRequestReply | resourceRequest (const QValueList< QPair< QDateTime, QDateTime > > &busy, const QCString &resource, const QString &vCalIn) |
void | openEventEditor (const QString &) |
void | openEventEditor (const QString &summary, const QString &description, const QString &attachment) |
void | openEventEditor (const QString &summary, const QString &description, const QString &attachment, const QStringList &attendees) |
void | openTodoEditor (const QString &) |
void | openTodoEditor (const QString &summary, const QString &description, const QString &attachment) |
void | openTodoEditor (const QString &summary, const QString &description, const QString &attachment, const QStringList &attendees) |
void | openJournalEditor (const QDate &date) |
void | openJournalEditor (const QString &text, const QDate &date) |
void | openJournalEditor (const QString &text) |
void | showJournalView () |
void | showTodoView () |
void | showEventView () |
void | goDate (const QDate &) |
void | goDate (const QString &) |
QString | localFileName () |
bool | queryClose () |
Static Public Member Functions | |
static KOrg::MainWindow * | findInstance (const KURL &url) |
Protected Slots | |
void | file_new () |
void | file_open () |
void | file_open (const KURL &url) |
void | file_icalimport () |
void | file_merge () |
void | file_revert () |
void | file_archive () |
void | file_save () |
void | file_saveas () |
void | file_close () |
void | configureDateTime () |
void | showTip () |
void | showTipOnStart () |
void | downloadNewStuff () |
void | uploadNewStuff () |
void | toggleResourceButtons () |
void | toggleDateNavigator () |
void | toggleTodoView () |
void | toggleEventViewer () |
void | toggleResourceView () |
void | checkAutoSave () |
void | slotAutoArchivingSettingsModified () |
void | slotAutoArchive () |
void | configureDateTimeFinished (KProcess *) |
void | setTitle () |
void | updateUndoAction (const QString &) |
void | updateRedoAction (const QString &) |
void | slotImportDialogFinished (ImportDialog *) |
Protected Member Functions | |
KURL | getSaveURL () |
void | showStatusMessageOpen (const KURL &url, bool merge) |
void | initCalendar (Calendar *cal) |
QWidget * | dialogParent () |
Member Function Documentation
|
Emitted when the "New" action is activated.
|
|
Add an incidence to the active calendar.
Definition at line 1355 of file actionmanager.cpp. |
|
Add a new resource.
Definition at line 886 of file actionmanager.cpp. |
|
called by the autoSaveTimer to automatically save the calendar
Definition at line 1197 of file actionmanager.cpp. |
|
Close calendar file opened from URL.
Definition at line 943 of file actionmanager.cpp. |
|
Emitted when the topwidget is closing down, so that any attached child windows can also close.
|
|
When change is made to options dialog, the topwidget will catch this and emit this signal which notifies all widgets which have registered for notification to update their settings.
|
|
Open kcontrol module for configuring date and time formats.
Definition at line 1248 of file actionmanager.cpp. |
|
Create Calendar object based on local file and set it on the view.
Definition at line 162 of file actionmanager.cpp. |
|
Create Calendar object based on the resource framework and set it on the view.
Definition at line 171 of file actionmanager.cpp. |
|
Delete the incidence with the given unique id from current calendar.
Definition at line 1350 of file actionmanager.cpp. |
|
Return widget used as parent for dialogs and message boxes.
Definition at line 1737 of file actionmanager.cpp. |
|
delete or archive old entries in your calendar for speed/space.
Definition at line 776 of file actionmanager.cpp. |
|
close a file, prompt for save if changes made.
Definition at line 814 of file actionmanager.cpp. |
|
import a calendar from another program like ical.
Definition at line 709 of file actionmanager.cpp. |
|
open a calendar and add the contents to the current calendar.
Definition at line 767 of file actionmanager.cpp. |
|
open new window
Definition at line 673 of file actionmanager.cpp. |
|
open a file from the list of recent files. Also called from file_open() after the URL is obtained from the user. Definition at line 688 of file actionmanager.cpp. |
|
open a file, load it into the calendar.
Definition at line 678 of file actionmanager.cpp. |
|
revert to saved
Definition at line 781 of file actionmanager.cpp. |
|
save a file with the current fileName.
Definition at line 795 of file actionmanager.cpp. |
|
save a file under a (possibly) different filename.
Definition at line 786 of file actionmanager.cpp. |
|
Is there a instance with this URL?
Definition at line 1273 of file actionmanager.cpp. |
|
Get current URL as QString.
Definition at line 1340 of file actionmanager.cpp. |
|
Get URL for saving. Opens FileDialog. Definition at line 1147 of file actionmanager.cpp. |
|
Peform initialization that requires this* to be full constructed.
Definition at line 113 of file actionmanager.cpp. |
|
Open calendar file from URL.
Definition at line 1330 of file actionmanager.cpp. |
|
Open calendar file from URL.
Definition at line 1325 of file actionmanager.cpp. |
|
Open calendar file from URL. Merge into current calendar, if merge is true. Definition at line 826 of file actionmanager.cpp. |
|
Using the KConfig associated with the kapp variable, read in the settings from the config file.
Definition at line 625 of file actionmanager.cpp. |
|
Indicates that a new resource was added.
|
|
Save calendar file to URL.
Definition at line 1335 of file actionmanager.cpp. |
|
Save calendar file to URL.
Definition at line 1063 of file actionmanager.cpp. |
|
Save calendar to disk.
Definition at line 1652 of file actionmanager.cpp. |
|
Save calendar if it is modified by the user. Ask user what to do. Definition at line 1109 of file actionmanager.cpp. |
|
Save the resource based calendar. Return false if an error occured and the user decidec to not ignore the error. Otherwise it returns true. Definition at line 1669 of file actionmanager.cpp. |
|
Save calendar file to URL of current calendar.
Definition at line 950 of file actionmanager.cpp. |
|
Show tip of the day.
Definition at line 1263 of file actionmanager.cpp. |
|
Show tip of the day.
Definition at line 1268 of file actionmanager.cpp. |
|
called by the auto archive timer to automatically delete/archive events
Definition at line 1725 of file actionmanager.cpp. |
|
connected to CalendarView's signal which comes from the ArchiveDialog
Definition at line 1717 of file actionmanager.cpp. |
|
Options dialog made a changed to the configuration. we catch this and notify all widgets which need to update their configuration. Definition at line 1214 of file actionmanager.cpp. |
|
Get current URL.
Definition at line 128 of file actionmanager.h. |
|
Write current state to config file.
Definition at line 635 of file actionmanager.cpp. |
The documentation for this class was generated from the following files: