Akonadi
7#include "changenotification.h"
8#include "private/protocol_p.h"
14class ChangeNotificationPrivate :
public QSharedData
18 QList<QByteArray> listeners;
19 Protocol::ChangeNotificationPtr notification;
20 ChangeNotification::Type type;
25ChangeNotification::ChangeNotification()
26 : d(new ChangeNotificationPrivate)
35ChangeNotification::~ChangeNotification()
45bool ChangeNotification::isValid()
const
47 return d->timestamp.isValid();
50void ChangeNotification::setType(ChangeNotification::Type type)
55ChangeNotification::Type ChangeNotification::type()
const
60void ChangeNotification::setListeners(
const QList<QByteArray> &listeners)
62 d->listeners = listeners;
65QList<QByteArray> ChangeNotification::listeners()
const
70void ChangeNotification::setTimestamp(
const QDateTime ×tamp)
72 d->timestamp = timestamp;
75QDateTime ChangeNotification::timestamp()
const
80Protocol::ChangeNotificationPtr ChangeNotification::notification()
const
82 return d->notification;
85void ChangeNotification::setNotification(
const Protocol::ChangeNotificationPtr &ntf)
87 d->notification = ntf;
Emitted by Monitor::debugNotification() signal.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:56 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.