KUnifiedPush::Client
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
List of all members
KUnifiedPush::Client Class Reference
#include <client.h>
Public Types | |
| enum class | UnifiedPushVersion { v1 = 1 , v2 = 2 } |
Public Member Functions | |
| void | activate () const |
| bool | isValid () const |
| void | message (Distributor *distributor, const QByteArray &message, const QString &messageIdentifier) const |
| void | newEndpoint () const |
| void | store (QSettings &settings) const |
| void | unregistered (bool isConfirmation) const |
Static Public Member Functions | |
| static Client | load (const QString &token, QSettings &settings) |
Public Attributes | |
| QString | description |
| QString | endpoint |
| QString | remoteId |
| QString | serviceName |
| QString | token |
| QString | vapidKey |
| UnifiedPushVersion | version = UnifiedPushVersion::v1 |
Detailed Description
Member Enumeration Documentation
◆ UnifiedPushVersion
Member Function Documentation
◆ activate()
| void Client::activate | ( | ) | const |
Activate client on D-Bus.
Definition at line 52 of file client.cpp.
◆ isValid()
|
nodiscard |
Contains all required information for a client.
Definition at line 47 of file client.cpp.
◆ load()
Definition at line 20 of file client.cpp.
◆ message()
| void Client::message | ( | Distributor * | distributor, |
| const QByteArray & | message, | ||
| const QString & | messageIdentifier ) const |
D-Bus UnifiedPush connector interface.
Definition at line 58 of file client.cpp.
◆ newEndpoint()
| void Client::newEndpoint | ( | ) | const |
Definition at line 98 of file client.cpp.
◆ store()
| void Client::store | ( | QSettings & | settings | ) | const |
Definition at line 35 of file client.cpp.
◆ unregistered()
| void Client::unregistered | ( | bool | isConfirmation | ) | const |
Definition at line 119 of file client.cpp.
Member Data Documentation
◆ description
◆ endpoint
◆ remoteId
◆ serviceName
◆ token
◆ vapidKey
◆ version
| UnifiedPushVersion KUnifiedPush::Client::version = UnifiedPushVersion::v1 |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:05:48 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:05:48 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.