Akonadi::AgentBase::ObserverV4
#include <agentbase.h>

Public Member Functions | |
virtual void | itemsRelationsChanged (const Akonadi::Item::List &items, const Akonadi::Relation::List &addedRelations, const Akonadi::Relation::List &removedRelations) |
virtual void | itemsTagsChanged (const Akonadi::Item::List &items, const QSet< Akonadi::Tag > &addedTags, const QSet< Akonadi::Tag > &removedTags) |
virtual void | relationAdded (const Akonadi::Relation &relation) |
virtual void | relationRemoved (const Akonadi::Relation &relation) |
virtual void | tagAdded (const Akonadi::Tag &tag) |
virtual void | tagChanged (const Akonadi::Tag &tag) |
virtual void | tagRemoved (const Akonadi::Tag &tag) |
![]() | |
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) |
![]() | |
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) |
![]() | |
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
Observer that adds support for item tagging.
- Warning
- ObserverV4 subclasses ObserverV3 which changes behavior of some of the virtual methods from Observer and ObserverV2. Please make sure you read documentation of ObserverV3 and adapt your agent accordingly.
- Since
- 4.13
Definition at line 360 of file agentbase.h.
Member Function Documentation
◆ itemsRelationsChanged()
|
virtual |
Reimplement to handled relations changing on items.
- Parameters
-
items Items that had relations added/removed from them addedRelations the list of relations that were added to all items
removedRelations the list of relations that were removed from all items
Definition at line 292 of file agentbase.cpp.
◆ itemsTagsChanged()
|
virtual |
Reimplement to handle items tagging.
- Parameters
-
items Items that were tagged or untagged addedTags Set of tags that were added to all items
removedTags Set of tags that were removed from all items
Definition at line 257 of file agentbase.cpp.
◆ relationAdded()
|
virtual |
Reimplement to handle relations being added.
Definition at line 270 of file agentbase.cpp.
◆ relationRemoved()
|
virtual |
Reimplement to handle relations being removed.
Definition at line 281 of file agentbase.cpp.
◆ tagAdded()
|
virtual |
Reimplement to handle tags additions.
- Parameters
-
tag Newly added tag
Definition at line 224 of file agentbase.cpp.
◆ tagChanged()
|
virtual |
Reimplement to handle tags changes.
- Parameters
-
tag Tag that has been changed
Definition at line 235 of file agentbase.cpp.
◆ tagRemoved()
|
virtual |
Reimplement to handle tags removal.
- Note
- All items that were tagged by
tag
will get a separate notification about untagging via itemsTagsChanged(). It is guaranteed that the itemsTagsChanged() notification will be delivered before this one.
- Parameters
-
tag Tag that has been removed.
Definition at line 246 of file agentbase.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 04:04:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.