KUnifiedPush
connector.h
27 Q_PROPERTY(QString vapidPublicKey READ vapidPublicKey WRITE setVapidPublicKey NOTIFY vapidPublicKeyChanged)
28 Q_PROPERTY(bool vapidPublicKeyRequired READ vapidPublicKeyRequired WRITE setVapidPublicKeyRequired NOTIFY vapidPublicKeyRequiredChanged)
78 /** Sets the Voluntary Application Server Identification (VAPID) public key of the corresponding application.
80 * This is a public key on the P-256 curve encoded in the uncompressed form and BASE64 URL encoded.
81 * This is used by the application server to identify itself to the push server, following RFC8292.
83 * The VAPID public key is persisted, ie. you don't need to store it separately in the application.
Connector(const QString &serviceName, QObject *parent=nullptr)
Create a new connector instance.
Definition connector.cpp:285
void endpointChanged(const QString &endpoint)
Emitted when a new endpoint URL has been received.
void setVapidPublicKeyRequired(bool vapidRequired)
Sets whether a Voluntary Application Server Identification (VAPID) public key is required before regi...
Definition connector.cpp:353
void messageReceived(const QByteArray &msg)
Emitted for each newly received push message.
void vapidPublicKeyChanged()
Emitted when the VAPID public key changed.
@ NoDistributor
Connector cannot find a UnifiedPush distributor to register at.
Definition connector.h:64
void vapidPublicKeyRequiredChanged()
Emitted when the VAPID public key required property changed.
void setVapidPublicKey(const QString &vapidPublicKey)
Sets the Voluntary Application Server Identification (VAPID) public key of the corresponding applicat...
Definition connector.cpp:329
void stateChanged(KUnifiedPush::Connector::State state)
Emitted when the connector state changes.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 25 2025 12:05:39 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 25 2025 12:05:39 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.