Akonadi::ChangeNotification
#include <changenotification.h>
Public Types | |
enum | Type { Items , Collection , Tag , Relation , Subscription } |
Public Member Functions | |
ChangeNotification (const ChangeNotification &other) | |
bool | isValid () const |
QList< QByteArray > | listeners () const |
Protocol::ChangeNotificationPtr | notification () const |
ChangeNotification & | operator= (const ChangeNotification &other) |
void | setListeners (const QList< QByteArray > &listeners) |
void | setNotification (const Protocol::ChangeNotificationPtr &ntf) |
void | setTimestamp (const QDateTime ×tamp) |
void | setType (Type type) |
QDateTime | timestamp () const |
Type | type () const |
Detailed Description
Emitted by Monitor::debugNotification() signal.
This is purely for debugging purposes and should never be used in regular applications.
- Since
- 5.4
Definition at line 34 of file changenotification.h.
Member Enumeration Documentation
◆ Type
enum Akonadi::ChangeNotification::Type |
Definition at line 37 of file changenotification.h.
Constructor & Destructor Documentation
◆ ChangeNotification() [1/2]
|
explicit |
Definition at line 25 of file changenotification.cpp.
◆ ChangeNotification() [2/2]
ChangeNotification::ChangeNotification | ( | const ChangeNotification & | other | ) |
Definition at line 30 of file changenotification.cpp.
◆ ~ChangeNotification()
ChangeNotification::~ChangeNotification | ( | ) |
Definition at line 35 of file changenotification.cpp.
Member Function Documentation
◆ isValid()
|
nodiscard |
Definition at line 45 of file changenotification.cpp.
◆ listeners()
|
nodiscard |
Definition at line 65 of file changenotification.cpp.
◆ notification()
|
nodiscard |
Definition at line 80 of file changenotification.cpp.
◆ operator=()
ChangeNotification & ChangeNotification::operator= | ( | const ChangeNotification & | other | ) |
Definition at line 39 of file changenotification.cpp.
◆ setListeners()
void ChangeNotification::setListeners | ( | const QList< QByteArray > & | listeners | ) |
Definition at line 60 of file changenotification.cpp.
◆ setNotification()
void ChangeNotification::setNotification | ( | const Protocol::ChangeNotificationPtr & | ntf | ) |
Definition at line 85 of file changenotification.cpp.
◆ setTimestamp()
void ChangeNotification::setTimestamp | ( | const QDateTime & | timestamp | ) |
Definition at line 70 of file changenotification.cpp.
◆ setType()
void ChangeNotification::setType | ( | ChangeNotification::Type | type | ) |
Definition at line 50 of file changenotification.cpp.
◆ timestamp()
|
nodiscard |
Definition at line 75 of file changenotification.cpp.
◆ type()
|
nodiscard |
Definition at line 55 of file changenotification.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.