|
void | changesAdded () |
|
void | nothingToReplay () |
|
void | allMonitored (bool monitored) |
|
void | collectionAdded (const Akonadi::Collection &collection, const Akonadi::Collection &parent) |
|
void | collectionChanged (const Akonadi::Collection &collection) |
|
void | collectionChanged (const Akonadi::Collection &collection, const QSet< QByteArray > &attributeNames) |
|
void | collectionMonitored (const Akonadi::Collection &collection, bool monitored) |
|
void | collectionMoved (const Akonadi::Collection &collection, const Akonadi::Collection &source, const Akonadi::Collection &destination) |
|
void | collectionRemoved (const Akonadi::Collection &collection) |
|
void | collectionStatisticsChanged (Akonadi::Collection::Id id, const Akonadi::CollectionStatistics &statistics) |
|
void | collectionSubscribed (const Akonadi::Collection &collection, const Akonadi::Collection &parent) |
|
void | collectionUnsubscribed (const Akonadi::Collection &collection) |
|
void | debugNotification (const Akonadi::ChangeNotification ¬ification) |
|
void | itemAdded (const Akonadi::Item &item, const Akonadi::Collection &collection) |
|
void | itemChanged (const Akonadi::Item &item, const QSet< QByteArray > &partIdentifiers) |
|
void | itemLinked (const Akonadi::Item &item, const Akonadi::Collection &collection) |
|
void | itemMonitored (const Akonadi::Item &item, bool monitored) |
|
void | itemMoved (const Akonadi::Item &item, const Akonadi::Collection &collectionSource, const Akonadi::Collection &collectionDestination) |
|
void | itemRemoved (const Akonadi::Item &item) |
|
void | itemsFlagsChanged (const Akonadi::Item::List &items, const QSet< QByteArray > &addedFlags, const QSet< QByteArray > &removedFlags) |
|
void | itemsLinked (const Akonadi::Item::List &items, const Akonadi::Collection &collection) |
|
void | itemsMoved (const Akonadi::Item::List &items, const Akonadi::Collection &collectionSource, const Akonadi::Collection &collectionDestination) |
|
void | itemsRelationsChanged (const Akonadi::Item::List &items, const Akonadi::Relation::List &addedRelations, const Akonadi::Relation::List &removedRelations) |
|
void | itemsRemoved (const Akonadi::Item::List &items) |
|
void | itemsTagsChanged (const Akonadi::Item::List &items, const QSet< Akonadi::Tag > &addedTags, const QSet< Akonadi::Tag > &removedTags) |
|
void | itemsUnlinked (const Akonadi::Item::List &items, const Akonadi::Collection &collection) |
|
void | itemUnlinked (const Akonadi::Item &item, const Akonadi::Collection &collection) |
|
void | mimeTypeMonitored (const QString &mimeType, bool monitored) |
|
void | monitorReady () |
|
void | notificationSubscriberAdded (const Akonadi::NotificationSubscriber &subscriber) |
|
void | notificationSubscriberChanged (const Akonadi::NotificationSubscriber &subscriber) |
|
void | notificationSubscriberRemoved (const Akonadi::NotificationSubscriber &subscriber) |
|
void | relationAdded (const Akonadi::Relation &relation) |
|
void | relationRemoved (const Akonadi::Relation &relation) |
|
void | resourceMonitored (const QByteArray &identifier, bool monitored) |
|
void | tagAdded (const Akonadi::Tag &tag) |
|
void | tagChanged (const Akonadi::Tag &tag) |
|
void | tagMonitored (const Akonadi::Tag &tag, bool monitored) |
|
void | tagRemoved (const Akonadi::Tag &tag) |
|
void | typeMonitored (const Akonadi::Monitor::Type type, bool monitored) |
|
|
| ChangeRecorder (QObject *parent=nullptr) |
|
| ~ChangeRecorder () override |
|
void | changeProcessed () |
|
QString | dumpNotificationListToString () const |
|
bool | isEmpty () const |
|
void | setChangeRecordingEnabled (bool enable) |
|
void | setConfig (QSettings *settings) |
|
| Monitor (QObject *parent=nullptr) |
|
| ~Monitor () override |
|
CollectionFetchScope & | collectionFetchScope () |
|
Collection::List | collectionsMonitored () const |
|
bool | exclusive () const |
|
void | fetchChangedOnly (bool enable) |
|
void | fetchCollection (bool enable) |
|
void | fetchCollectionStatistics (bool enable) |
|
void | ignoreSession (Session *session) |
|
bool | isAllMonitored () const |
|
ItemFetchScope & | itemFetchScope () |
|
QList< Item::Id > | itemsMonitoredEx () const |
|
QStringList | mimeTypesMonitored () const |
|
int | numItemsMonitored () const |
|
int | numMimeTypesMonitored () const |
|
int | numResourcesMonitored () const |
|
QList< QByteArray > | resourcesMonitored () const |
|
Session * | session () const |
|
void | setAllMonitored (bool monitored=true) |
|
void | setCollectionFetchScope (const CollectionFetchScope &fetchScope) |
|
void | setCollectionMonitored (const Collection &collection, bool monitored=true) |
|
void | setCollectionMoveTranslationEnabled (bool enabled) |
|
void | setExclusive (bool exclusive=true) |
|
void | setItemFetchScope (const ItemFetchScope &fetchScope) |
|
void | setItemMonitored (const Item &item, bool monitored=true) |
|
void | setMimeTypeMonitored (const QString &mimetype, bool monitored=true) |
|
void | setResourceMonitored (const QByteArray &resource, bool monitored=true) |
|
void | setSession (Akonadi::Session *session) |
|
void | setTagFetchScope (const TagFetchScope &fetchScope) |
|
void | setTagMonitored (const Tag &tag, bool monitored=true) |
|
void | setTypeMonitored (Type type, bool monitored=true) |
|
TagFetchScope & | tagFetchScope () |
|
QList< Tag::Id > | tagsMonitored () const |
|
QList< Type > | typesMonitored () const |
|
| QObject (QObject *parent) |
|
QBindable< QString > | bindableObjectName () |
|
bool | blockSignals (bool block) |
|
const QObjectList & | children () const const |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
|
bool | disconnect (const QObject *receiver, const char *method) const const |
|
void | dumpObjectInfo () const const |
|
void | dumpObjectTree () const const |
|
QList< QByteArray > | dynamicPropertyNames () const const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (Qt::FindChildOptions options) const const |
|
bool | inherits (const char *className) const const |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isQuickItemType () const const |
|
bool | isWidgetType () const const |
|
bool | isWindowType () const const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const const |
|
void | moveToThread (QThread *targetThread) |
|
QString | objectName () const const |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const const |
|
QVariant | property (const char *name) const const |
|
| Q_CLASSINFO (Name, Value) |
|
| Q_EMIT Q_EMIT |
|
| Q_ENUM (...) |
|
| Q_ENUM_NS (...) |
|
| Q_ENUMS (...) |
|
| Q_FLAG (...) |
|
| Q_FLAG_NS (...) |
|
| Q_FLAGS (...) |
|
| Q_GADGET Q_GADGET |
|
| Q_GADGET_EXPORT (EXPORT_MACRO) |
|
| Q_INTERFACES (...) |
|
| Q_INVOKABLE Q_INVOKABLE |
|
| Q_MOC_INCLUDE Q_MOC_INCLUDE |
|
| Q_NAMESPACE Q_NAMESPACE |
|
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) |
|
| Q_OBJECT Q_OBJECT |
|
| Q_PROPERTY (...) |
|
| Q_REVISION Q_REVISION |
|
| Q_SET_OBJECT_NAME (Object) |
|
| Q_SIGNAL Q_SIGNAL |
|
| Q_SIGNALS Q_SIGNALS |
|
| Q_SLOT Q_SLOT |
|
| Q_SLOTS Q_SLOTS |
|
T | qobject_cast (const QObject *object) |
|
T | qobject_cast (QObject *object) |
|
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT |
|
void | removeEventFilter (QObject *obj) |
|
void | setObjectName (const QString &name) |
|
void | setObjectName (QAnyStringView name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | setProperty (const char *name, QVariant &&value) |
|
bool | signalsBlocked () const const |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
int | startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType) |
|
QThread * | thread () const const |
|
|
enum | Type {
Collections = 1
, Items
, Tags
, Relations
,
Subscribers
, Notifications
} |
|
| objectName |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
|
bool | disconnect (const QMetaObject::Connection &connection) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
typedef | QObjectList |
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | connectNotify (const QMetaMethod &signal) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | disconnectNotify (const QMetaMethod &signal) |
|
bool | isSignalConnected (const QMetaMethod &signal) const const |
|
int | receivers (const char *signal) const const |
|
QObject * | sender () const const |
|
int | senderSignalIndex () const const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
Records and replays change notification.
This class is responsible for recording change notifications while an agent is not online and replaying the notifications when the agent is online again. Therefore the agent doesn't have to care about online/offline mode in its synchronization algorithm.
Unlike Akonadi::Monitor this class only emits one change signal at a time. To receive the next one you need to explicitly call replayNext(). If a signal is emitted that has no receivers, it's automatically skipped, which means you only need to connect to signals you are actually interested in.
- Author
- Volker Krause vkrau.nosp@m.se@k.nosp@m.de.or.nosp@m.g
Definition at line 34 of file changerecorder.h.