KGAPI2::People::GroupClientData
#include <groupclientdata.h>
Public Member Functions | |
GroupClientData () | |
GroupClientData (const GroupClientData &) | |
GroupClientData (GroupClientData &&) noexcept | |
~GroupClientData () | |
QString | key () const |
bool | operator!= (const GroupClientData &) const |
GroupClientData & | operator= (const GroupClientData &) |
GroupClientData & | operator= (GroupClientData &&) noexcept |
bool | operator== (const GroupClientData &) const |
void | setKey (const QString &value) |
void | setValue (const QString &value) |
QJsonValue | toJSON () const |
QString | value () const |
Static Public Member Functions | |
static GroupClientData | fromJSON (const QJsonObject &) |
static QList< GroupClientData > | fromJSONArray (const QJsonArray &data) |
Detailed Description
Arbitrary client data that is populated by clients.
Duplicate keys and values are allowed.
- Since
- 5.23.0
Definition at line 32 of file groupclientdata.h.
Constructor & Destructor Documentation
◆ GroupClientData()
|
explicit |
Constructs a new GroupClientData.
Definition at line 46 of file groupclientdata.cpp.
◆ ~GroupClientData()
|
default |
Destructor.
Member Function Documentation
◆ fromJSON()
|
staticnodiscard |
Definition at line 86 of file groupclientdata.cpp.
◆ fromJSONArray()
|
staticnodiscard |
Definition at line 98 of file groupclientdata.cpp.
◆ key()
|
nodiscard |
The client specified key of the client data.
Definition at line 67 of file groupclientdata.cpp.
◆ operator!=()
bool KGAPI2::People::GroupClientData::operator!= | ( | const GroupClientData & | other | ) | const |
Definition at line 62 of file groupclientdata.cpp.
◆ operator==()
bool KGAPI2::People::GroupClientData::operator== | ( | const GroupClientData & | other | ) | const |
Definition at line 57 of file groupclientdata.cpp.
◆ setKey()
void KGAPI2::People::GroupClientData::setKey | ( | const QString & | value | ) |
Sets value of the key property.
Definition at line 72 of file groupclientdata.cpp.
◆ setValue()
void KGAPI2::People::GroupClientData::setValue | ( | const QString & | value | ) |
Sets value of the value property.
Definition at line 81 of file groupclientdata.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 112 of file groupclientdata.cpp.
◆ value()
|
nodiscard |
The client specified value of the client data.
Definition at line 76 of file groupclientdata.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:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.