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) | |
virtual | ~ActionManager () |
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 | openEventEditor (const QString &summary, const QString &description, const QString &uri, const QString &file, const QStringList &attendees, const QString &attachmentMimetype) |
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 | openTodoEditor (const QString &summary, const QString &description, const QString &uri, const QString &file, const QStringList &attendees, const QString &attachmentMimetype) |
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 &) |
void | showDate (const QDate &date) |
QString | localFileName () |
bool | queryClose () |
void | loadProfile (const QString &path) |
void | saveToProfile (const QString &path) const |
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 1389 of file actionmanager.cpp. |
|
Add a new resource.
Definition at line 913 of file actionmanager.cpp. |
|
called by the autoSaveTimer to automatically save the calendar
Definition at line 1229 of file actionmanager.cpp. |
|
Close calendar file opened from URL.
Definition at line 970 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 1282 of file actionmanager.cpp. |
|
Create Calendar object based on local file and set it on the view.
Definition at line 167 of file actionmanager.cpp. |
|
Create Calendar object based on the resource framework and set it on the view.
Definition at line 176 of file actionmanager.cpp. |
|
Delete the incidence with the given unique id from current calendar.
Definition at line 1384 of file actionmanager.cpp. |
|
Return widget used as parent for dialogs and message boxes.
Definition at line 1951 of file actionmanager.cpp. |
|
delete or archive old entries in your calendar for speed/space.
Definition at line 803 of file actionmanager.cpp. |
|
close a file, prompt for save if changes made.
Definition at line 841 of file actionmanager.cpp. |
|
import a calendar from another program like ical.
Definition at line 736 of file actionmanager.cpp. |
|
open a calendar and add the contents to the current calendar.
Definition at line 794 of file actionmanager.cpp. |
|
open new window
Definition at line 700 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 715 of file actionmanager.cpp. |
|
open a file, load it into the calendar.
Definition at line 705 of file actionmanager.cpp. |
|
revert to saved
Definition at line 808 of file actionmanager.cpp. |
|
save a file with the current fileName.
Definition at line 822 of file actionmanager.cpp. |
|
save a file under a (possibly) different filename.
Definition at line 813 of file actionmanager.cpp. |
|
Is there a instance with this URL?
Definition at line 1307 of file actionmanager.cpp. |
|
Get current URL as QString.
Definition at line 1374 of file actionmanager.cpp. |
|
Get URL for saving. Opens FileDialog. Definition at line 1179 of file actionmanager.cpp. |
|
Peform initialization that requires this* to be full constructed.
Definition at line 118 of file actionmanager.cpp. |
|
Open calendar file from URL.
Definition at line 1364 of file actionmanager.cpp. |
|
Open calendar file from URL.
Definition at line 1359 of file actionmanager.cpp. |
|
Open calendar file from URL. Merge into current calendar, if merge is true. Definition at line 853 of file actionmanager.cpp. |
|
Using the KConfig associated with the kapp variable, read in the settings from the config file.
Definition at line 652 of file actionmanager.cpp. |
|
Indicates that a new resource was added.
|
|
Save calendar file to URL.
Definition at line 1369 of file actionmanager.cpp. |
|
Save calendar file to URL.
Definition at line 1095 of file actionmanager.cpp. |
|
Save calendar to disk.
Definition at line 1826 of file actionmanager.cpp. |
|
Save calendar if it is modified by the user. Ask user what to do. Definition at line 1141 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 1843 of file actionmanager.cpp. |
|
Save calendar file to URL of current calendar.
Definition at line 977 of file actionmanager.cpp. |
|
Show tip of the day.
Definition at line 1297 of file actionmanager.cpp. |
|
Show tip of the day.
Definition at line 1302 of file actionmanager.cpp. |
|
called by the auto archive timer to automatically delete/archive events
Definition at line 1899 of file actionmanager.cpp. |
|
connected to CalendarView's signal which comes from the ArchiveDialog
Definition at line 1891 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 1246 of file actionmanager.cpp. |
|
Get current URL.
Definition at line 128 of file actionmanager.h. |
|
Write current state to config file.
Definition at line 662 of file actionmanager.cpp. |
The documentation for this class was generated from the following files: