Akonadi
monitor.cpp
63 Q_EMIT collectionMonitored(collection, monitored); // NOLINT(readability-misleading-indentation): false positive
80 Q_EMIT itemMonitored(item, monitored); // NOLINT(readability-misleading-indentation): false positive
97 Q_EMIT resourceMonitored(resource, monitored); // NOLINT(readability-misleading-indentation): false positive
114 Q_EMIT mimeTypeMonitored(mimetype, monitored); // NOLINT(readability-misleading-indentation): false positive
131 Q_EMIT tagMonitored(tag, monitored); // NOLINT(readability-misleading-indentation): false positive
148 Q_EMIT typeMonitored(type, monitored); // NOLINT(readability-misleading-indentation): false positive
Specifies which parts of a tag should be fetched from the Akonadi storage.
Definition: tagfetchscope.h:22
void mimeTypeMonitored(const QString &mimeType, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring mimeType explicitly.
Q_EMITQ_EMIT
void itemMonitored(const Akonadi::Item &item, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring item explicitly.
void collectionMonitored(const Akonadi::Collection &collection, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring collection explicitly.
void setCollectionFetchScope(const CollectionFetchScope &fetchScope)
Sets the collection fetch scope.
Definition: monitor.cpp:228
QVector< Tag::Id > tagsMonitored() const
Returns the set of tags being monitored.
Definition: monitor.cpp:281
void ignoreSession(Session *session)
Ignores all change notifications caused by the given session.
Definition: monitor.cpp:180
void setTagFetchScope(const TagFetchScope &fetchScope)
Sets the tag fetch scope.
Definition: monitor.cpp:244
void setItemMonitored(const Item &item, bool monitored=true)
Sets whether the specified item shall be monitored for changes.
Definition: monitor.cpp:66
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void destroyed(QObject *obj)
int numResourcesMonitored() const
Returns the number of resources being monitored.
Definition: monitor.cpp:317
void setAllMonitored(bool monitored=true)
Sets whether all items shall be monitored.
Definition: monitor.cpp:151
void setCollectionMoveTranslationEnabled(bool enabled)
Allows to enable/disable collection move translation.
Definition: monitor.cpp:356
Specifies which parts of a collection should be fetched from the Akonadi storage.
Definition: collectionfetchscope.h:55
void tagMonitored(const Akonadi::Tag &tag, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring tag explicitly.
void fetchCollection(bool enable)
Enables automatic fetching of changed collections from the Akonadi storage.
Definition: monitor.cpp:194
void setCollectionMonitored(const Collection &collection, bool monitored=true)
Sets whether the specified collection shall be monitored for changes.
Definition: monitor.cpp:49
static Session * defaultSession()
Returns the default session for this thread.
Definition: core/session.cpp:423
Collection::List collectionsMonitored() const
Returns the list of collections being monitored.
Definition: monitor.cpp:260
int numMimeTypesMonitored() const
Returns the number of mimetypes being monitored.
Definition: monitor.cpp:305
void resourceMonitored(const QByteArray &identifier, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring the resource with the identifier ide...
QVector< Type > typesMonitored() const
Returns the set of types being monitored.
Definition: monitor.cpp:290
bool isAllMonitored() const
Returns true if everything is being monitored.
Definition: monitor.cpp:323
void typeMonitored(const Akonadi::Monitor::Type type, bool monitored)
This signal is emitted if the Monitor starts or stops monitoring type explicitly.
void reserve(int size)
void setResourceMonitored(const QByteArray &resource, bool monitored=true)
Sets whether the specified resource shall be monitored for changes.
Definition: monitor.cpp:83
virtual void disconnectNotify(const QMetaMethod &signal)
void setSession(Akonadi::Session *session)
Sets the session used by the Monitor to communicate with the Akonadi server.
Definition: monitor.cpp:329
void setTypeMonitored(Type type, bool monitored=true)
Sets whether given type (Collection, Item, Tag should be monitored).
Definition: monitor.cpp:134
void setItemFetchScope(const ItemFetchScope &fetchScope)
Sets the item fetch scope.
Definition: monitor.cpp:206
QVector< Item::Id > itemsMonitoredEx() const
Returns the set of items being monitored.
Definition: monitor.cpp:266
CollectionFetchScope & collectionFetchScope()
Returns the collection fetch scope.
Definition: monitor.cpp:236
void fetchCollectionStatistics(bool enable)
Enables automatic fetching of changed collection statistics information from the Akonadi storage.
Definition: monitor.cpp:200
Session * session() const
Returns the Session used by the monitor to communicate with Akonadi.
Definition: monitor.cpp:350
void setMimeTypeMonitored(const QString &mimetype, bool monitored=true)
Sets whether items of the specified mime type shall be monitored for changes.
Definition: monitor.cpp:100
int numItemsMonitored() const
Returns the number of items being monitored.
Definition: monitor.cpp:275
void setTagMonitored(const Tag &tag, bool monitored=true)
Sets whether the specified tag shall be monitored for changes.
Definition: monitor.cpp:117
virtual void connectNotify(const QMetaMethod &signal)
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:222
QStringList mimeTypesMonitored() const
Returns the set of mimetypes being monitored.
Definition: monitor.cpp:299
Q_D(Todo)
QList< QByteArray > resourcesMonitored() const
Returns the set of identifiers for resources being monitored.
Definition: monitor.cpp:311
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition: itemfetchscope.h:56
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:01:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:01:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.