KDE PIM / Developers / API Docs / korganizer

ActionManager Class Reference

The ActionManager creates all the actions in KOrganizer. More...

#include <actionmanager.h>

Inherits QObject, and KCalendarIface.

List of all members.

Public Slots

Signals

Public Member Functions

Static Public Member Functions

Protected Slots

Protected Member Functions


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

void ActionManager::init  ) 
 

Peform initialization that requires this* to be full constructed.

void ActionManager::createCalendarLocal  ) 
 

Create Calendar object based on local file and set it on the view.

void ActionManager::createCalendarResources  ) 
 

Create Calendar object based on the resource framework and set it on the view.

void ActionManager::saveCalendar  ) 
 

Save calendar to disk.

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.

bool ActionManager::addResource const KURL &  mUrl  )  [slot]
 

Add a new resource.

bool ActionManager::openURL const KURL &  url,
bool  merge = false
[slot]
 

Open calendar file from URL.

Merge into current calendar, if merge is true.

bool ActionManager::saveURL  )  [slot]
 

Save calendar file to URL of current calendar.

bool ActionManager::saveAsURL const KURL &  kurl  )  [slot]
 

Save calendar file to URL.

bool ActionManager::saveModifiedURL  )  [slot]
 

Save calendar if it is modified by the user.

Ask user what to do.

KURL ActionManager::url  )  const [inline]
 

Get current URL.

KOrg::MainWindow * ActionManager::findInstance const KURL &  url  )  [static]
 

Is there a instance with this URL?

bool ActionManager::openURL const QString &  url  ) 
 

Open calendar file from URL.

bool ActionManager::mergeURL const QString &  url  ) 
 

Open calendar file from URL.

bool ActionManager::saveAsURL const QString &  url  ) 
 

Save calendar file to URL.

void ActionManager::closeURL  ) 
 

Close calendar file opened from URL.

QString ActionManager::getCurrentURLasString  )  const
 

Get current URL as QString.

bool ActionManager::deleteIncidence const QString &  uid  )  [virtual]
 

Delete event with the given unique id from current calendar.

void ActionManager::actionNew const KURL &  url = KURL()  )  [signal]
 

Emitted when the "New" action is activated.

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.

void ActionManager::closingDown  )  [signal]
 

Emitted when the topwidget is closing down, so that any attached child windows can also close.

void ActionManager::resourceAdded ResourceCalendar *   )  [signal]
 

Indicates that a new resource was added.

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.

void ActionManager::readSettings  )  [slot]
 

Using the KConfig associated with the kapp variable, read in the settings from the config file.

void ActionManager::writeSettings  )  [slot]
 

Write current state to config file.

void ActionManager::file_new  )  [protected, slot]
 

open new window

void ActionManager::file_open  )  [protected, slot]
 

open a file, load it into the calendar.

void ActionManager::file_open const KURL &  url  )  [protected, slot]
 

open a file from the list of recent files.

Also called from file_open() after the URL is obtained from the user.

void ActionManager::file_import  )  [protected, slot]
 

import a calendar from another program like ical.

void ActionManager::file_merge  )  [protected, slot]
 

open a calendar and add the contents to the current calendar.

void ActionManager::file_revert  )  [protected, slot]
 

revert to saved

void ActionManager::file_archive  )  [protected, slot]
 

delete or archive old entries in your calendar for speed/space.

void ActionManager::file_save  )  [protected, slot]
 

save a file with the current fileName.

void ActionManager::file_saveas  )  [protected, slot]
 

save a file under a (possibly) different filename.

void ActionManager::file_close  )  [protected, slot]
 

close a file, prompt for save if changes made.

void ActionManager::configureDateTime  )  [protected, slot]
 

Open kcontrol module for configuring date and time formats.

void ActionManager::showTip  )  [protected, slot]
 

Show tip of the day.

void ActionManager::showTipOnStart  )  [protected, slot]
 

Show tip of the day.

void ActionManager::checkAutoSave  )  [protected, slot]
 

called by the autoSaveTimer to automatically save the calendar

void ActionManager::slotAutoArchivingSettingsModified  )  [protected, slot]
 

connected to CalendarView's signal which comes from the ArchiveDialog

void ActionManager::slotAutoArchive  )  [protected, slot]
 

called by the auto archive timer to automatically delete/archive events

KURL ActionManager::getSaveURL  )  [protected]
 

Get URL for saving.

Opens FileDialog.

QWidget * ActionManager::dialogParent  )  [protected]
 

Return widget used as parent for dialogs and message boxes.


The documentation for this class was generated from the following files: