mKCal::ExtendedStorageObserver Class Reference

The ExtendedStorageObserver class. More...

#include <extendedstorageobserver.h>

Public Member Functions

virtual ~ExtendedStorageObserver ()
 Destructor.
 
virtual void storageModified (ExtendedStorage *storage, const QString &info)
 Notify the Observer that a Storage has been modified by an external process.
 
virtual void storageFinished (ExtendedStorage *storage, bool error, const QString &info)
 Notify the Observer that a Storage has finished an action.
 
virtual void storageUpdated (ExtendedStorage *storage, const KCalendarCore::Incidence::List &added, const KCalendarCore::Incidence::List &modified, const KCalendarCore::Incidence::List &deleted)
 Notify the Observer that a Storage has been updated to reflect the content of the associated calendar.
 

Detailed Description

Constructor & Destructor Documentation

◆ ~ExtendedStorageObserver()

virtual mKCal::ExtendedStorageObserver::~ExtendedStorageObserver ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ storageFinished()

void ExtendedStorageObserver::storageFinished ( ExtendedStorage * storage,
bool error,
const QString & info )
virtual

Notify the Observer that a Storage has finished an action.

Parameters
storageis a pointer to the ExtendedStorage object that is being observed.
errortrue if action was unsuccessful; false otherwise
infotextual information

◆ storageModified()

void ExtendedStorageObserver::storageModified ( ExtendedStorage * storage,
const QString & info )
virtual

Notify the Observer that a Storage has been modified by an external process.

There is no information about what has been changed.

See also storageUpdated() for a notification of modifications done in-process.

Parameters
storageis a pointer to the ExtendedStorage object that is being observed.
infouids inserted/updated/deleted, modified file etc.

◆ storageUpdated()

void ExtendedStorageObserver::storageUpdated ( ExtendedStorage * storage,
const KCalendarCore::Incidence::List & added,
const KCalendarCore::Incidence::List & modified,
const KCalendarCore::Incidence::List & deleted )
virtual

Notify the Observer that a Storage has been updated to reflect the content of the associated calendar.

This notification is delivered because of local changes done in-process by a call to ExtendedStorage::save() for instance.

See also storageModified() for a notification for modifications done to the database by an external process.

Parameters
storageis a pointer to the ExtendedStorage object that is being observed.
addedis a list of newly added incidences in the storage
modifiedis a list of updated incidences in the storage
deletedis a list of deleted incidences from the storage

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

Generated on Thu Nov 28 2024 09:02:24 for libextendedkcal by doxygen 1.12.0