akonadi
#include <agentbase.h>
Public Member Functions | |
virtual void | itemsFlagsChanged (const Akonadi::Item::List &items, const QSet< QByteArray > &addedFlags, const QSet< QByteArray > &removedFlags) |
virtual void | itemsLinked (const Akonadi::Item::List &items, const Akonadi::Collection &collection) |
virtual void | itemsMoved (const Akonadi::Item::List &items, const Akonadi::Collection &sourceCollection, const Akonadi::Collection &destinationCollection) |
virtual void | itemsRemoved (const Akonadi::Item::List &items) |
virtual void | itemsUnlinked (const Akonadi::Item::List &items, const Akonadi::Collection &collection) |
Public Member Functions inherited from Akonadi::AgentBase::ObserverV2 | |
virtual void | collectionChanged (const Akonadi::Collection &collection, const QSet< QByteArray > &changedAttributes) |
virtual void | collectionMoved (const Akonadi::Collection &collection, const Akonadi::Collection &collectionSource, const Akonadi::Collection &collectionDestination) |
virtual void | itemLinked (const Akonadi::Item &item, const Akonadi::Collection &collection) |
virtual void | itemMoved (const Akonadi::Item &item, const Akonadi::Collection &collectionSource, const Akonadi::Collection &collectionDestination) |
virtual void | itemUnlinked (const Akonadi::Item &item, const Akonadi::Collection &collection) |
Public Member Functions inherited from Akonadi::AgentBase::Observer | |
Observer () | |
virtual | ~Observer () |
virtual void | collectionAdded (const Akonadi::Collection &collection, const Akonadi::Collection &parent) |
virtual void | collectionChanged (const Akonadi::Collection &collection) |
virtual void | collectionRemoved (const Akonadi::Collection &collection) |
virtual void | itemAdded (const Akonadi::Item &item, const Akonadi::Collection &collection) |
virtual void | itemChanged (const Akonadi::Item &item, const QSet< QByteArray > &partIdentifiers) |
virtual void | itemRemoved (const Akonadi::Item &item) |
Detailed Description
BC extension of ObserverV2 with support for batch operations.
- Warning
- When using ObserverV3, you will never get single-item notifications from AgentBase::Observer, even when you don't reimplement corresponding batch method from ObserverV3. For instance, when you don't reimplement itemsRemoved() here, you will not get any notifications about item removal whatsoever!
- Since
- 4.11
Definition at line 309 of file agentbase.h.
Member Function Documentation
|
virtual |
Reimplement to handle changes in flags of existing items.
- Warning
- When using ObserverV3, you will never get notifications about flag changes via Observer::itemChanged(), even when you don't reimplement itemsFlagsChanged()!
- Parameters
-
item The changed item. addedFlags Flags that have been added to the item removedFlags Flags that have been removed from the item
Definition at line 174 of file agentbase.cpp.
|
virtual |
Reimplement to handle batch notifications about items linking.
- Parameters
-
items Linked items collection Collection to which the items have been linked
Definition at line 214 of file agentbase.cpp.
|
virtual |
Reimplement to handle batch notification about items move.
- Parameters
-
items List of moved items sourceCollection Collection from where the items were moved destinationCollection Collection to which the items were moved
Definition at line 188 of file agentbase.cpp.
|
virtual |
Reimplement to handle batch notification about items deletion.
- Parameters
-
items List of deleted items
Definition at line 202 of file agentbase.cpp.
|
virtual |
Reimplement to handle batch notifications about items unlinking.
- Parameters
-
items Unlinked items collection Collection from which the items have been unlinked
Definition at line 227 of file agentbase.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.