Akonadi::AgentBase::ObserverV3
Akonadi::AgentBase::ObserverV3 Class Reference
#include <agentbase.h>
Inheritance diagram for Akonadi::AgentBase::ObserverV3:
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) |
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 | 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 301 of file agentbase.h.
Member Function Documentation
◆ itemsFlagsChanged()
|
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
-
items The changed items 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.
◆ itemsLinked()
|
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 211 of file agentbase.cpp.
◆ itemsMoved()
|
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 187 of file agentbase.cpp.
◆ itemsRemoved()
|
virtual |
Reimplement to handle batch notification about items deletion.
- Parameters
-
items List of deleted items
Definition at line 200 of file agentbase.cpp.
◆ itemsUnlinked()
|
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 223 of file agentbase.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.