9#include "akonadicore_export.h"
16class NotificationSubscriberPrivate;
18class AKONADICORE_EXPORT NotificationSubscriber
21 explicit NotificationSubscriber();
22 NotificationSubscriber(
const NotificationSubscriber &other);
23 ~NotificationSubscriber();
25 NotificationSubscriber &operator=(
const NotificationSubscriber &other);
29 QByteArray subscriber()
const;
30 void setSubscriber(
const QByteArray &subscriber);
32 QByteArray sessionId()
const;
33 void setSessionId(
const QByteArray &sessionId);
35 QSet<qint64> monitoredCollections()
const;
36 void setMonitoredCollections(
const QSet<qint64> &collections);
38 QSet<qint64> monitoredItems()
const;
39 void setMonitoredItems(
const QSet<qint64> &items);
41 QSet<qint64> monitoredTags()
const;
42 void setMonitoredTags(
const QSet<qint64> &tags);
44 QSet<Monitor::Type> monitoredTypes()
const;
45 void setMonitoredTypes(
const QSet<Monitor::Type> &type);
47 QSet<QString> monitoredMimeTypes()
const;
48 void setMonitoredMimeTypes(
const QSet<QString> &mimeTypes);
50 QSet<QByteArray> monitoredResources()
const;
51 void setMonitoredResources(
const QSet<QByteArray> &resources);
53 QSet<QByteArray> ignoredSessions()
const;
54 void setIgnoredSessions(
const QSet<QByteArray> &ignoredSessions);
56 bool isAllMonitored()
const;
57 void setIsAllMonitored(
bool isAllMonitored);
59 bool isExclusive()
const;
60 void setIsExclusive(
bool isExclusive);
62 ItemFetchScope itemFetchScope()
const;
63 void setItemFetchScope(
const ItemFetchScope &itemFetchScope);
65 CollectionFetchScope collectionFetchScope()
const;
66 void setCollectionFetchScope(
const CollectionFetchScope &collectionFetchScope);
68 TagFetchScope tagFetchScope()
const;
69 void setTagFetchScope(
const TagFetchScope &tagFetchScope);
72 QSharedDataPointer<NotificationSubscriberPrivate> d;
Helper integration between Akonadi and Qt.
bool isValid(QStringView ifopt)