Akonadi::ChangeNotification

Search for usage in LXR

Akonadi::ChangeNotification Class Reference

#include <changenotification.h>

Public Types

enum  Type {
  Items , Collection , Tag , Relation ,
  Subscription
}
 

Public Member Functions

 ChangeNotification (const ChangeNotification &other)
 
bool isValid () const
 
QList< QByteArraylisteners () const
 
Protocol::ChangeNotificationPtr notification () const
 
ChangeNotificationoperator= (const ChangeNotification &other)
 
void setListeners (const QList< QByteArray > &listeners)
 
void setNotification (const Protocol::ChangeNotificationPtr &ntf)
 
void setTimestamp (const QDateTime &timestamp)
 
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]

ChangeNotification::ChangeNotification ( )
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()

bool ChangeNotification::isValid ( ) const
nodiscard

Definition at line 45 of file changenotification.cpp.

◆ listeners()

QList< QByteArray > ChangeNotification::listeners ( ) const
nodiscard

Definition at line 65 of file changenotification.cpp.

◆ notification()

Protocol::ChangeNotificationPtr ChangeNotification::notification ( ) const
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()

QDateTime ChangeNotification::timestamp ( ) const
nodiscard

Definition at line 75 of file changenotification.cpp.

◆ type()

ChangeNotification::Type ChangeNotification::type ( ) const
nodiscard

Definition at line 55 of file changenotification.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:52:53 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.