akonadi
monitor_p.h
142 int translateAndCompress(QQueue<NotificationMessageV3> ¬ificationQueue, const NotificationMessageV3 &msg);
150 bool emitItemsNotification(const NotificationMessageV3 &msg, const Item::List &items = Item::List(),
156 bool emitCollectionNotification(const NotificationMessageV3 &msg, const Collection &col = Collection(),
246 bool isLazilyIgnored(const NotificationMessageV3 &msg, bool allowModifyFlagsConversion = false) const;
253 void checkBatchSupport(const NotificationMessageV3 &msg, bool &needsSplit, bool &batchSupported) const;
Collection::Id buffer(Collection::Id id)
Adds id to the Collections to be buffered.
Specifies which parts of a tag should be fetched from the Akonadi storage.
Definition: tagfetchscope.h:34
Definition: entitycache_p.h:98
virtual bool emitNotification(const NotificationMessageV3 &msg)
Sends out the change notification msg.
int translateAndCompress(QQueue< NotificationMessageV3 > ¬ificationQueue, const NotificationMessageV3 &msg)
Returns whether a message was appended to notificationQueue.
Definition: monitor_p.h:52
void invalidateItemCache(qint64 itemId)
This method is called by the ChangeMediator to enforce an invalidation of the passed item.
bool emitItemsNotification(const NotificationMessageV3 &msg, const Item::List &items=Item::List(), const Collection &collection=Collection(), const Collection &collectionDest=Collection())
Sends out a change notification for an item.
virtual int pipelineSize() const
Virtual so that ChangeRecorder can set it to 0 and handle the pipeline itself.
bool isMonitored(Collection::Id colId) const
Returns true if the collection is monitored by monitor.
Class used to determine when to purge items in a Collection.
Definition: monitor_p.h:191
bool emitCollectionNotification(const NotificationMessageV3 &msg, const Collection &col=Collection(), const Collection &par=Collection(), const Collection &dest=Collection())
Sends out a change notification for a collection.
Specifies which parts of a collection should be fetched from the Akonadi storage.
Definition: collectionfetchscope.h:69
void invalidateCollectionCache(qint64 collectionId)
This method is called by the ChangeMediator to enforce an invalidation of the passed collection.
This class exists so that we can create a fake notification source in unit tests.
Definition: changenotificationdependenciesfactory_p.h:36
void invalidateCache(const Collection &col)
Used by ResourceBase to inform us about collection changes before the notifications are emitted,...
void invalidateTagCache(qint64 tagId)
This method is called by the ChangeMediator to enforce an invalidation of the passed tag.
void purge(Collection::Id id)
Removes id from the Collections being buffered.
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition: itemfetchscope.h:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.