ActionManager Class Reference
The ActionManager creates all the actions in KOrganizer. More...
#include <actionmanager.h>
Inherits QObject, and KCalendarIface.
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 editIncidence (const QString &uid)
- 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_import ()
- 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 ()
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].
Member Function Documentation
|
Peform initialization that requires this* to be full constructed.
|
|
Create Calendar object based on local file and set it on the view.
|
|
Create Calendar object based on the resource framework and set it on the view.
|
|
Save calendar to disk.
|
|
Save the resource based calendar. Return false if an error occured and the user decidec to not ignore the error. Otherwise it returns true. |
|
Add a new resource.
|
|
Open calendar file from URL. Merge into current calendar, if merge is true. |
|
Save calendar file to URL of current calendar.
|
|
Save calendar file to URL.
|
|
Save calendar if it is modified by the user. Ask user what to do. |
|
Get current URL.
|
|
Is there a instance with this URL?
|
|
Open calendar file from URL.
|
|
Open calendar file from URL.
|
|
Save calendar file to URL.
|
|
Close calendar file opened from URL.
|
|
Get current URL as QString.
|
|
Delete event with the given unique id from current calendar.
|
|
Emitted when the "New" action is activated.
|
|
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.
|
|
Emitted when the topwidget is closing down, so that any attached child windows can also close.
|
|
Indicates that a new resource was added.
|
|
Options dialog made a changed to the configuration. we catch this and notify all widgets which need to update their configuration. |
|
Using the KConfig associated with the kapp variable, read in the settings from the config file.
|
|
Write current state to config file.
|
|
open new window
|
|
open a file, load it into the calendar.
|
|
open a file from the list of recent files. Also called from file_open() after the URL is obtained from the user. |
|
import a calendar from another program like ical.
|
|
open a calendar and add the contents to the current calendar.
|
|
revert to saved
|
|
delete or archive old entries in your calendar for speed/space.
|
|
save a file with the current fileName.
|
|
save a file under a (possibly) different filename.
|
|
close a file, prompt for save if changes made.
|
|
Open kcontrol module for configuring date and time formats.
|
|
Show tip of the day.
|
|
Show tip of the day.
|
|
called by the autoSaveTimer to automatically save the calendar
|
|
connected to CalendarView's signal which comes from the ArchiveDialog
|
|
called by the auto archive timer to automatically delete/archive events
|
|
Get URL for saving. Opens FileDialog. |
|
Return widget used as parent for dialogs and message boxes.
|
The documentation for this class was generated from the following files:
- actionmanager.h
- actionmanager.cpp