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;
302 QObject::connect(job, SIGNAL(result(KJob*)), q_ptr, SLOT(slotStatisticsChangedFinished(KJob*)));
This class exists so that we can create a fake notification source in unit tests.
Definition: changenotificationdependenciesfactory_p.h:36
Specifies which parts of a collection should be fetched from the Akonadi storage.
Definition: collectionfetchscope.h:69
Definition: entitycache_p.h:98
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition: itemfetchscope.h:70
Class used to determine when to purge items in a Collection.
Definition: monitor_p.h:191
void purge(Collection::Id id)
Removes id from the Collections being buffered.
Collection::Id buffer(Collection::Id id)
Adds id to the Collections to be buffered.
Definition: monitor_p.h:52
virtual int pipelineSize() const
Virtual so that ChangeRecorder can set it to 0 and handle the pipeline itself.
void invalidateItemCache(qint64 itemId)
This method is called by the ChangeMediator to enforce an invalidation of the passed item.
bool isMonitored(Collection::Id colId) const
Returns true if the collection is monitored by monitor.
void invalidateCache(const Collection &col)
Used by ResourceBase to inform us about collection changes before the notifications are emitted,...
void invalidateCollectionCache(qint64 collectionId)
This method is called by the ChangeMediator to enforce an invalidation of the passed collection.
void invalidateTagCache(qint64 tagId)
This method is called by the ChangeMediator to enforce an invalidation of the passed tag.
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.
int translateAndCompress(QQueue< NotificationMessageV3 > ¬ificationQueue, const NotificationMessageV3 &msg)
Returns whether a message was appended to notificationQueue.
virtual bool emitNotification(const NotificationMessageV3 &msg)
Sends out the change notification msg.
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 tag should be fetched from the Akonadi storage.
Definition: tagfetchscope.h:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.