#include <actionmanager.h>
|
| | ActionManager (KXMLGUIClient *client, CalendarView *widget, TQObject *parent, KOrg::MainWindow *mainWindow, bool isPart) |
| |
| void | init () |
| |
| CalendarView * | view () const |
| |
| void | createCalendarLocal () |
| |
| void | createCalendarResources () |
| |
| void | saveCalendar () |
| |
| bool | saveResourceCalendar () |
| |
| void | loadResourceCalendar () |
| |
| KURL | url () const |
| |
| bool | openURL (const TQString &url) |
| |
| bool | mergeURL (const TQString &url) |
| |
| bool | saveAsURL (const TQString &url) |
| |
| void | closeURL () |
| |
| TQString | getCurrentURLasString () const |
| |
| virtual bool | deleteIncidence (const TQString &uid, bool force=false) |
| |
| bool | editIncidence (const TQString &uid) |
| |
| bool | editIncidence (const TQString &uid, const TQDate &date) |
| |
| bool | addIncidence (const TQString &ical) |
| |
| virtual ResourceRequestReply | resourceRequest (const TQValueList< TQPair< TQDateTime, TQDateTime > > &busy, const TQCString &resource, const TQString &vCalIn) |
| |
| void | openEventEditor (const TQString &) |
| |
| void | openEventEditor (const TQString &summary, const TQString &description, const TQString &attachment) |
| |
| void | openEventEditor (const TQString &summary, const TQString &description, const TQString &attachment, const TQStringList &attendees) |
| |
| void | openEventEditor (const TQString &summary, const TQString &description, const TQString &uri, const TQString &file, const TQStringList &attendees, const TQString &attachmentMimetype) |
| |
| void | openTodoEditor (const TQString &) |
| |
| void | openTodoEditor (const TQString &summary, const TQString &description, const TQString &attachment) |
| |
| void | openTodoEditor (const TQString &summary, const TQString &description, const TQString &attachment, const TQStringList &attendees) |
| |
| void | openTodoEditor (const TQString &summary, const TQString &description, const TQString &uri, const TQString &file, const TQStringList &attendees, const TQString &attachmentMimetype, bool isTask) |
| |
| void | openJournalEditor (const TQDate &date) |
| |
| void | openJournalEditor (const TQString &text, const TQDate &date) |
| |
| void | openJournalEditor (const TQString &text) |
| |
| void | showJournalView () |
| |
| void | showTodoView () |
| |
| void | showEventView () |
| |
| void | goDate (const TQDate &) |
| |
| void | goDate (const TQString &) |
| |
| void | showDate (const TQDate &date) |
| |
| TQString | localFileName () |
| |
| bool | queryClose () |
| |
| void | loadProfile (const TQString &path) |
| |
| void | saveToProfile (const TQString &path) const |
| |
| bool | handleCommandLine () |
| |
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 73 of file actionmanager.h.
◆ ActionManager()
| ActionManager::ActionManager |
( |
KXMLGUIClient * |
client, |
|
|
CalendarView * |
widget, |
|
|
TQObject * |
parent, |
|
|
KOrg::MainWindow * |
mainWindow, |
|
|
bool |
isPart |
|
) |
| |
◆ ~ActionManager()
| ActionManager::~ActionManager |
( |
| ) |
|
|
virtual |
◆ actionNew
| void ActionManager::actionNew |
( |
const KURL & |
url = KURL() | ) |
|
|
signal |
Emitted when the "New" action is activated.
◆ addIncidence()
| bool ActionManager::addIncidence |
( |
const TQString & |
ical | ) |
|
Add an incidence to the active calendar.
- Parameters
-
| ical | A calendar in iCalendar format containing the incidence. |
Definition at line 1403 of file actionmanager.cpp.
◆ addResource
| bool ActionManager::addResource |
( |
const KURL & |
mUrl | ) |
|
|
slot |
◆ checkAutoSave
| void ActionManager::checkAutoSave |
( |
| ) |
|
|
protectedslot |
called by the autoSaveTimer to automatically save the calendar
Definition at line 1238 of file actionmanager.cpp.
◆ closeURL()
| void ActionManager::closeURL |
( |
| ) |
|
◆ closingDown
| void ActionManager::closingDown |
( |
| ) |
|
|
signal |
Emitted when the topwidget is closing down, so that any attached child windows can also close.
◆ configChanged
| void ActionManager::configChanged |
( |
| ) |
|
|
signal |
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.
◆ configureDateTime
| void ActionManager::configureDateTime |
( |
| ) |
|
|
protectedslot |
Open kcontrol module for configuring date and time formats.
Definition at line 1291 of file actionmanager.cpp.
◆ configureDateTimeFinished
| void ActionManager::configureDateTimeFinished |
( |
TDEProcess * |
proc | ) |
|
|
protectedslot |
◆ createCalendarLocal()
| void ActionManager::createCalendarLocal |
( |
| ) |
|
Create Calendar object based on local file and set it on the view.
Definition at line 169 of file actionmanager.cpp.
◆ createCalendarResources()
| void ActionManager::createCalendarResources |
( |
| ) |
|
Create Calendar object based on the resource framework and set it on the view.
Definition at line 178 of file actionmanager.cpp.
◆ deleteIncidence()
| bool ActionManager::deleteIncidence |
( |
const TQString & |
uid, |
|
|
bool |
force = false |
|
) |
| |
|
virtual |
Delete the incidence with the given unique id from current calendar.
- Parameters
-
| uid | UID of the incidence to delete. |
| force | If true, all recurrences and sub-todos (if applicable) will be deleted without prompting for confirmation. |
Definition at line 1398 of file actionmanager.cpp.
◆ dialogParent()
| TQWidget * ActionManager::dialogParent |
( |
| ) |
|
|
protected |
Return widget used as parent for dialogs and message boxes.
Definition at line 2131 of file actionmanager.cpp.
◆ downloadNewStuff
| void ActionManager::downloadNewStuff |
( |
| ) |
|
|
protectedslot |
◆ editIncidence() [1/2]
| bool ActionManager::editIncidence |
( |
const TQString & |
uid | ) |
|
◆ editIncidence() [2/2]
| bool ActionManager::editIncidence |
( |
const TQString & |
uid, |
|
|
const TQDate & |
date |
|
) |
| |
◆ exportHTML [1/2]
| void ActionManager::exportHTML |
( |
| ) |
|
|
slot |
◆ exportHTML [2/2]
| void ActionManager::exportHTML |
( |
HTMLExportSettings * |
settings | ) |
|
|
slot |
◆ file_archive
| void ActionManager::file_archive |
( |
| ) |
|
|
protectedslot |
delete or archive old entries in your calendar for speed/space.
Definition at line 807 of file actionmanager.cpp.
◆ file_close
| void ActionManager::file_close |
( |
| ) |
|
|
protectedslot |
◆ file_icalimport
| void ActionManager::file_icalimport |
( |
| ) |
|
|
protectedslot |
◆ file_merge
| void ActionManager::file_merge |
( |
| ) |
|
|
protectedslot |
open a calendar and add the contents to the current calendar.
Definition at line 798 of file actionmanager.cpp.
◆ file_new
| void ActionManager::file_new |
( |
| ) |
|
|
protectedslot |
◆ file_open [1/2]
| void ActionManager::file_open |
( |
| ) |
|
|
protectedslot |
◆ file_open [2/2]
| void ActionManager::file_open |
( |
const KURL & |
url | ) |
|
|
protectedslot |
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 719 of file actionmanager.cpp.
◆ file_revert
| void ActionManager::file_revert |
( |
| ) |
|
|
protectedslot |
◆ file_save
| void ActionManager::file_save |
( |
| ) |
|
|
protectedslot |
◆ file_saveas
| void ActionManager::file_saveas |
( |
| ) |
|
|
protectedslot |
save a file under a (possibly) different filename.
Definition at line 817 of file actionmanager.cpp.
◆ findInstance()
◆ getCurrentURLasString()
| TQString ActionManager::getCurrentURLasString |
( |
| ) |
const |
◆ getSaveURL()
| KURL ActionManager::getSaveURL |
( |
| ) |
|
|
protected |
◆ goDate() [1/2]
| void ActionManager::goDate |
( |
const TQDate & |
date | ) |
|
|
virtual |
◆ goDate() [2/2]
| void ActionManager::goDate |
( |
const TQString & |
date | ) |
|
|
virtual |
◆ handleCommandLine()
| bool ActionManager::handleCommandLine |
( |
| ) |
|
◆ importCalendar
| void ActionManager::importCalendar |
( |
const KURL & |
url | ) |
|
|
slot |
◆ init()
| void ActionManager::init |
( |
| ) |
|
Peform initialization that requires this* to be full constructed.
Definition at line 120 of file actionmanager.cpp.
◆ initCalendar()
| void ActionManager::initCalendar |
( |
Calendar * |
cal | ) |
|
|
protected |
◆ keyBindings
| void ActionManager::keyBindings |
( |
| ) |
|
|
slot |
◆ loadParts
| void ActionManager::loadParts |
( |
| ) |
|
|
slot |
◆ loadProfile()
| void ActionManager::loadProfile |
( |
const TQString & |
path | ) |
|
◆ loadResourceCalendar()
| void ActionManager::loadResourceCalendar |
( |
| ) |
|
◆ localFileName()
| TQString ActionManager::localFileName |
( |
| ) |
|
◆ mergeURL()
| bool ActionManager::mergeURL |
( |
const TQString & |
url | ) |
|
◆ openEventEditor() [1/4]
| void ActionManager::openEventEditor |
( |
const TQString & |
text | ) |
|
|
virtual |
◆ openEventEditor() [2/4]
| void ActionManager::openEventEditor |
( |
const TQString & |
summary, |
|
|
const TQString & |
description, |
|
|
const TQString & |
attachment |
|
) |
| |
|
virtual |
◆ openEventEditor() [3/4]
| void ActionManager::openEventEditor |
( |
const TQString & |
summary, |
|
|
const TQString & |
description, |
|
|
const TQString & |
attachment, |
|
|
const TQStringList & |
attendees |
|
) |
| |
|
virtual |
◆ openEventEditor() [4/4]
| void ActionManager::openEventEditor |
( |
const TQString & |
summary, |
|
|
const TQString & |
description, |
|
|
const TQString & |
uri, |
|
|
const TQString & |
file, |
|
|
const TQStringList & |
attendees, |
|
|
const TQString & |
attachmentMimetype |
|
) |
| |
|
virtual |
◆ openJournalEditor() [1/3]
| void ActionManager::openJournalEditor |
( |
const TQDate & |
date | ) |
|
|
virtual |
◆ openJournalEditor() [2/3]
| void ActionManager::openJournalEditor |
( |
const TQString & |
text | ) |
|
|
virtual |
◆ openJournalEditor() [3/3]
| void ActionManager::openJournalEditor |
( |
const TQString & |
text, |
|
|
const TQDate & |
date |
|
) |
| |
|
virtual |
◆ openTodoEditor() [1/4]
| void ActionManager::openTodoEditor |
( |
const TQString & |
text | ) |
|
|
virtual |
◆ openTodoEditor() [2/4]
| void ActionManager::openTodoEditor |
( |
const TQString & |
summary, |
|
|
const TQString & |
description, |
|
|
const TQString & |
attachment |
|
) |
| |
|
virtual |
◆ openTodoEditor() [3/4]
| void ActionManager::openTodoEditor |
( |
const TQString & |
summary, |
|
|
const TQString & |
description, |
|
|
const TQString & |
attachment, |
|
|
const TQStringList & |
attendees |
|
) |
| |
|
virtual |
◆ openTodoEditor() [4/4]
| void ActionManager::openTodoEditor |
( |
const TQString & |
summary, |
|
|
const TQString & |
description, |
|
|
const TQString & |
uri, |
|
|
const TQString & |
file, |
|
|
const TQStringList & |
attendees, |
|
|
const TQString & |
attachmentMimetype, |
|
|
bool |
isTask |
|
) |
| |
|
virtual |
◆ openURL [1/2]
| bool ActionManager::openURL |
( |
const KURL & |
url, |
|
|
bool |
merge = false |
|
) |
| |
|
slot |
Open calendar file from URL.
Merge into current calendar, if merge is true.
Definition at line 857 of file actionmanager.cpp.
◆ openURL() [2/2]
| bool ActionManager::openURL |
( |
const TQString & |
url | ) |
|
◆ processIncidenceSelection
| void ActionManager::processIncidenceSelection |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ queryClose()
| bool ActionManager::queryClose |
( |
| ) |
|
◆ readProperties
| void ActionManager::readProperties |
( |
TDEConfig * |
config | ) |
|
|
slot |
◆ readSettings
| void ActionManager::readSettings |
( |
| ) |
|
|
slot |
Using the TDEConfig associated with the tdeApp variable, read in the settings from the config file.
Definition at line 656 of file actionmanager.cpp.
◆ resourceAdded
Indicates that a new resource was added.
◆ resourceRequest()
| KCalendarIface::ResourceRequestReply ActionManager::resourceRequest |
( |
const TQValueList< TQPair< TQDateTime, TQDateTime > > & |
busy, |
|
|
const TQCString & |
resource, |
|
|
const TQString & |
vCalIn |
|
) |
| |
|
virtual |
◆ saveAsURL [1/2]
| bool ActionManager::saveAsURL |
( |
const KURL & |
kurl | ) |
|
|
slot |
◆ saveAsURL() [2/2]
| bool ActionManager::saveAsURL |
( |
const TQString & |
url | ) |
|
◆ saveCalendar()
| void ActionManager::saveCalendar |
( |
| ) |
|
◆ saveModifiedURL
| bool ActionManager::saveModifiedURL |
( |
| ) |
|
|
slot |
Save calendar if it is modified by the user.
Ask user what to do.
Definition at line 1150 of file actionmanager.cpp.
◆ saveProperties
| void ActionManager::saveProperties |
( |
TDEConfig * |
config | ) |
|
|
slot |
◆ saveResourceCalendar()
| bool ActionManager::saveResourceCalendar |
( |
| ) |
|
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 1974 of file actionmanager.cpp.
◆ saveToProfile()
| void ActionManager::saveToProfile |
( |
const TQString & |
path | ) |
const |
◆ saveURL
| bool ActionManager::saveURL |
( |
| ) |
|
|
slot |
◆ setDestinationPolicy
| void ActionManager::setDestinationPolicy |
( |
| ) |
|
|
slot |
◆ setTitle
| void ActionManager::setTitle |
( |
| ) |
|
|
protectedslot |
◆ showDate()
| void ActionManager::showDate |
( |
const TQDate & |
date | ) |
|
|
virtual |
◆ showEventView()
| void ActionManager::showEventView |
( |
| ) |
|
|
virtual |
◆ showJournalView()
| void ActionManager::showJournalView |
( |
| ) |
|
|
virtual |
◆ showStatusMessageOpen()
| void ActionManager::showStatusMessageOpen |
( |
const KURL & |
url, |
|
|
bool |
merge |
|
) |
| |
|
protected |
◆ showTip
| void ActionManager::showTip |
( |
| ) |
|
|
protectedslot |
◆ showTipOnStart
| void ActionManager::showTipOnStart |
( |
| ) |
|
|
protectedslot |
◆ showTodoView()
| void ActionManager::showTodoView |
( |
| ) |
|
|
virtual |
◆ slotAutoArchive
| void ActionManager::slotAutoArchive |
( |
| ) |
|
|
protectedslot |
called by the auto archive timer to automatically delete/archive events
Definition at line 2043 of file actionmanager.cpp.
◆ slotAutoArchivingSettingsModified
| void ActionManager::slotAutoArchivingSettingsModified |
( |
| ) |
|
|
protectedslot |
◆ slotPreviewDialogFinished
| void ActionManager::slotPreviewDialogFinished |
( |
PreviewDialog * |
dlg | ) |
|
|
protectedslot |
◆ toggleDateNavigator
| void ActionManager::toggleDateNavigator |
( |
| ) |
|
|
protectedslot |
◆ toggleEventViewer
| void ActionManager::toggleEventViewer |
( |
| ) |
|
|
protectedslot |
◆ toggleResourceButtons
| void ActionManager::toggleResourceButtons |
( |
| ) |
|
|
protectedslot |
◆ toggleResourceView
| void ActionManager::toggleResourceView |
( |
| ) |
|
|
protectedslot |
◆ toggleTodoView
| void ActionManager::toggleTodoView |
( |
| ) |
|
|
protectedslot |
◆ updateConfig
| void ActionManager::updateConfig |
( |
| ) |
|
|
slot |
Options dialog made a changed to the configuration.
we catch this and notify all widgets which need to update their configuration.
Definition at line 1255 of file actionmanager.cpp.
◆ updateRedoAction
| void ActionManager::updateRedoAction |
( |
const TQString & |
text | ) |
|
|
protectedslot |
◆ updateUndoAction
| void ActionManager::updateUndoAction |
( |
const TQString & |
text | ) |
|
|
protectedslot |
◆ uploadNewStuff
| void ActionManager::uploadNewStuff |
( |
| ) |
|
|
protectedslot |
◆ url()
| KURL ActionManager::url |
( |
| ) |
const |
|
inline |
◆ view()
◆ writeSettings
| void ActionManager::writeSettings |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following files:
|