#include <monitor_p.h>
Definition at line 51 of file monitor_p.h.
◆ ~MonitorPrivate()
| virtual Akonadi::MonitorPrivate::~MonitorPrivate |
( |
| ) |
|
|
inlinevirtual |
◆ emitCollectionNotification()
Sends out a change notification for a collection.
- Returns
true if the notification was actually send to someone, false if no one was listening.
◆ emitItemsNotification()
| bool Akonadi::MonitorPrivate::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.
- Returns
true if the notification was actually send to someone, false if no one was listening.
◆ emitNotification()
| virtual bool Akonadi::MonitorPrivate::emitNotification |
( |
const NotificationMessageV3 & | msg | ) |
|
|
virtual |
Sends out the change notification msg.
- Parameters
-
| msg | the change notification to send |
- Returns
true if the notification was actually send to someone, false if no one was listening.
◆ invalidateCache()
| void Akonadi::MonitorPrivate::invalidateCache |
( |
const Collection & | col | ) |
|
Used by ResourceBase to inform us about collection changes before the notifications are emitted, needed to avoid the missing RID race on change replay.
◆ invalidateCollectionCache()
| void Akonadi::MonitorPrivate::invalidateCollectionCache |
( |
qint64 | collectionId | ) |
|
This method is called by the ChangeMediator to enforce an invalidation of the passed collection.
◆ invalidateItemCache()
| void Akonadi::MonitorPrivate::invalidateItemCache |
( |
qint64 | itemId | ) |
|
This method is called by the ChangeMediator to enforce an invalidation of the passed item.
◆ invalidateTagCache()
| void Akonadi::MonitorPrivate::invalidateTagCache |
( |
qint64 | tagId | ) |
|
This method is called by the ChangeMediator to enforce an invalidation of the passed tag.
◆ isMonitored()
| bool Akonadi::MonitorPrivate::isMonitored |
( |
Collection::Id | colId | ) |
const |
Returns true if the collection is monitored by monitor.
A collection is always monitored if useRefCounting is false. If ref counting is used, the collection is only monitored, if the collection is either in refCountMap or m_buffer. If ref counting is used and the collection is not in refCountMap or m_buffer, no updates for the contained items are emitted, because they are lazily ignored.
◆ notificationsEnqueued()
| virtual void Akonadi::MonitorPrivate::notificationsEnqueued |
( |
int | | ) |
|
|
inlinevirtual |
◆ notificationsErased()
| virtual void Akonadi::MonitorPrivate::notificationsErased |
( |
| ) |
|
|
inlinevirtual |
◆ pipelineSize()
| virtual int Akonadi::MonitorPrivate::pipelineSize |
( |
| ) |
const |
|
virtual |
Virtual so that ChangeRecorder can set it to 0 and handle the pipeline itself.
◆ translateAndCompress()
| int Akonadi::MonitorPrivate::translateAndCompress |
( |
QQueue< NotificationMessageV3 > & | notificationQueue, |
|
|
const NotificationMessageV3 & | msg ) |
Returns whether a message was appended to notificationQueue.
◆ collectionCache
◆ collectionMoveTranslationEnabled
| bool Akonadi::MonitorPrivate::collectionMoveTranslationEnabled |
◆ collections
◆ dependenciesFactory
◆ fetchCollection
| bool Akonadi::MonitorPrivate::fetchCollection |
◆ fetchCollectionStatistics
| bool Akonadi::MonitorPrivate::fetchCollectionStatistics |
◆ itemCache
| ItemListCache* Akonadi::MonitorPrivate::itemCache |
◆ items
| QSet<Item::Id> Akonadi::MonitorPrivate::items |
◆ mCollectionFetchScope
◆ mFetchChangedOnly
| bool Akonadi::MonitorPrivate::mFetchChangedOnly |
◆ mimetypes
| QSet<QString> Akonadi::MonitorPrivate::mimetypes |
◆ mItemFetchScope
◆ monitorAll
| bool Akonadi::MonitorPrivate::monitorAll |
◆ mTagFetchScope
◆ notificationSource
| NotificationSource* Akonadi::MonitorPrivate::notificationSource |
◆ pendingNotifications
| QQueue<NotificationMessageV3> Akonadi::MonitorPrivate::pendingNotifications |
◆ pipeline
| QQueue<NotificationMessageV3> Akonadi::MonitorPrivate::pipeline |
◆ q_ptr
| Monitor* Akonadi::MonitorPrivate::q_ptr |
◆ refCountMap
◆ resources
| QSet<QByteArray> Akonadi::MonitorPrivate::resources |
◆ session
| Session* Akonadi::MonitorPrivate::session |
◆ sessions
| QList<QByteArray> Akonadi::MonitorPrivate::sessions |
◆ tagCache
| TagListCache* Akonadi::MonitorPrivate::tagCache |
◆ tags
| QSet<Tag::Id> Akonadi::MonitorPrivate::tags |
◆ types
◆ useRefCounting
| bool Akonadi::MonitorPrivate::useRefCounting |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jul 24 2025 00:00:00 by
doxygen 1.14.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.