KGAPI2::People::PersonLocale
#include <personlocale.h>
Public Member Functions | |
PersonLocale () | |
PersonLocale (const PersonLocale &) | |
PersonLocale (PersonLocale &&) noexcept | |
~PersonLocale () | |
FieldMetadata | metadata () const |
bool | operator!= (const PersonLocale &) const |
PersonLocale & | operator= (const PersonLocale &) |
PersonLocale & | operator= (PersonLocale &&) noexcept |
bool | operator== (const PersonLocale &) const |
void | setMetadata (const FieldMetadata &value) |
void | setValue (const QString &value) |
QJsonValue | toJSON () const |
QString | value () const |
Static Public Member Functions | |
static PersonLocale | fromJSON (const QJsonObject &) |
static QList< PersonLocale > | fromJSONArray (const QJsonArray &data) |
Detailed Description
Constructor & Destructor Documentation
◆ PersonLocale()
|
explicit |
Constructs a new PersonLocale.
Definition at line 48 of file personlocale.cpp.
◆ ~PersonLocale()
|
default |
Destructor.
Member Function Documentation
◆ fromJSON()
|
staticnodiscard |
Definition at line 88 of file personlocale.cpp.
◆ fromJSONArray()
|
staticnodiscard |
Definition at line 101 of file personlocale.cpp.
◆ metadata()
|
nodiscard |
Metadata about the locale.
Definition at line 69 of file personlocale.cpp.
◆ operator!=()
bool KGAPI2::People::PersonLocale::operator!= | ( | const PersonLocale & | other | ) | const |
Definition at line 64 of file personlocale.cpp.
◆ operator==()
bool KGAPI2::People::PersonLocale::operator== | ( | const PersonLocale & | other | ) | const |
Definition at line 59 of file personlocale.cpp.
◆ setMetadata()
void KGAPI2::People::PersonLocale::setMetadata | ( | const FieldMetadata & | value | ) |
Sets value of the metadata property.
Definition at line 74 of file personlocale.cpp.
◆ setValue()
void KGAPI2::People::PersonLocale::setValue | ( | const QString & | value | ) |
Sets value of the value property.
Definition at line 83 of file personlocale.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 115 of file personlocale.cpp.
◆ value()
|
nodiscard |
The well-formed IETF BCP 47 language tag representing the locale.
Definition at line 78 of file personlocale.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.