The ExtendedStorageObserver class.
More...
#include <extendedstorageobserver.h>
|
| 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.
|
◆ ~ExtendedStorageObserver()
| virtual mKCal::ExtendedStorageObserver::~ExtendedStorageObserver |
( |
| ) |
|
|
inlinevirtual |
◆ storageFinished()
| void ExtendedStorageObserver::storageFinished |
( |
ExtendedStorage * | storage, |
|
|
bool | error, |
|
|
const QString & | info ) |
|
virtual |
Notify the Observer that a Storage has finished an action.
- Parameters
-
| storage | is a pointer to the ExtendedStorage object that is being observed. |
| error | true if action was unsuccessful; false otherwise |
| info | textual 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
-
| storage | is a pointer to the ExtendedStorage object that is being observed. |
| info | uids 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
-
| storage | is a pointer to the ExtendedStorage object that is being observed. |
| added | is a list of newly added incidences in the storage |
| modified | is a list of updated incidences in the storage |
| deleted | is a list of deleted incidences from the storage |
The documentation for this class was generated from the following files: