Akonadi
monitor.cpp
62 Q_EMIT collectionMonitored(collection, monitored); // NOLINT(readability-misleading-indentation): false positive
79 Q_EMIT itemMonitored(item, monitored); // NOLINT(readability-misleading-indentation): false positive
96 Q_EMIT resourceMonitored(resource, monitored); // NOLINT(readability-misleading-indentation): false positive
113 Q_EMIT mimeTypeMonitored(mimetype, monitored); // NOLINT(readability-misleading-indentation): false positive
130 Q_EMIT tagMonitored(tag, monitored); // NOLINT(readability-misleading-indentation): false positive
147 Q_EMIT typeMonitored(type, monitored); // NOLINT(readability-misleading-indentation): false positive
Specifies which parts of a collection should be fetched from the Akonadi storage.
Definition collectionfetchscope.h:56
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition itemfetchscope.h:58
QList< Item::Id > itemsMonitoredEx() const
Returns the set of items being monitored.
Definition monitor.cpp:265
QList< QByteArray > resourcesMonitored() const
Returns the set of identifiers for resources being monitored.
Definition monitor.cpp:310
void setTagMonitored(const Tag &tag, bool monitored=true)
Sets whether the specified tag shall be monitored for changes.
Definition monitor.cpp:116
void collectionMonitored(const Akonadi::Collection &collection, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring collection explicitly.
Session * session() const
Returns the Session used by the monitor to communicate with Akonadi.
Definition monitor.cpp:349
void ignoreSession(Session *session)
Ignores all change notifications caused by the given session.
Definition monitor.cpp:179
void setCollectionFetchScope(const CollectionFetchScope &fetchScope)
Sets the collection fetch scope.
Definition monitor.cpp:227
void itemMonitored(const Akonadi::Item &item, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring item explicitly.
void setMimeTypeMonitored(const QString &mimetype, bool monitored=true)
Sets whether items of the specified mime type shall be monitored for changes.
Definition monitor.cpp:99
void fetchChangedOnly(bool enable)
Instructs the monitor to fetch only those parts that were changed and were requested in the fetch sco...
Definition monitor.cpp:221
CollectionFetchScope & collectionFetchScope()
Returns the collection fetch scope.
Definition monitor.cpp:235
Collection::List collectionsMonitored() const
Returns the list of collections being monitored.
Definition monitor.cpp:259
void resourceMonitored(const QByteArray &identifier, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring the resource with the identifier ide...
void setItemMonitored(const Item &item, bool monitored=true)
Sets whether the specified item shall be monitored for changes.
Definition monitor.cpp:65
void setCollectionMoveTranslationEnabled(bool enabled)
Allows to enable/disable collection move translation.
Definition monitor.cpp:355
void setAllMonitored(bool monitored=true)
Sets whether all items shall be monitored.
Definition monitor.cpp:150
QList< Type > typesMonitored() const
Returns the set of types being monitored.
Definition monitor.cpp:289
void setCollectionMonitored(const Collection &collection, bool monitored=true)
Sets whether the specified collection shall be monitored for changes.
Definition monitor.cpp:48
QList< Tag::Id > tagsMonitored() const
Returns the set of tags being monitored.
Definition monitor.cpp:280
void setResourceMonitored(const QByteArray &resource, bool monitored=true)
Sets whether the specified resource shall be monitored for changes.
Definition monitor.cpp:82
void fetchCollection(bool enable)
Enables automatic fetching of changed collections from the Akonadi storage.
Definition monitor.cpp:193
int numResourcesMonitored() const
Returns the number of resources being monitored.
Definition monitor.cpp:316
void mimeTypeMonitored(const QString &mimeType, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring mimeType explicitly.
int numMimeTypesMonitored() const
Returns the number of mimetypes being monitored.
Definition monitor.cpp:304
void setTagFetchScope(const TagFetchScope &fetchScope)
Sets the tag fetch scope.
Definition monitor.cpp:243
void typeMonitored(const Akonadi::Monitor::Type type, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring type explicitly.
void fetchCollectionStatistics(bool enable)
Enables automatic fetching of changed collection statistics information from the Akonadi storage.
Definition monitor.cpp:199
void setItemFetchScope(const ItemFetchScope &fetchScope)
Sets the item fetch scope.
Definition monitor.cpp:205
void tagMonitored(const Akonadi::Tag &tag, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring tag explicitly.
void setTypeMonitored(Type type, bool monitored=true)
Sets whether given type (Collection, Item, Tag should be monitored).
Definition monitor.cpp:133
void setSession(Akonadi::Session *session)
Sets the session used by the Monitor to communicate with the Akonadi server.
Definition monitor.cpp:328
QStringList mimeTypesMonitored() const
Returns the set of mimetypes being monitored.
Definition monitor.cpp:298
static Session * defaultSession()
Returns the default session for this thread.
Definition core/session.cpp:426
Specifies which parts of a tag should be fetched from the Akonadi storage.
Definition tagfetchscope.h:23
Helper integration between Akonadi and Qt.
void reserve(qsizetype size)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
virtual void connectNotify(const QMetaMethod &signal)
void destroyed(QObject *obj)
virtual void disconnectNotify(const QMetaMethod &signal)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.