KGAPI2::People::MiscKeyword
#include <misckeyword.h>
Public Types | |
enum class | Type { TYPE_UNSPECIFIED , OUTLOOK_BILLING_INFORMATION , OUTLOOK_DIRECTORY_SERVER , OUTLOOK_KEYWORD , OUTLOOK_MILEAGE , OUTLOOK_PRIORITY , OUTLOOK_SENSITIVITY , OUTLOOK_SUBJECT , OUTLOOK_USER , HOME , WORK , OTHER } |
Public Member Functions | |
MiscKeyword () | |
MiscKeyword (const MiscKeyword &) | |
MiscKeyword (const MiscKeywordDefinition &definition) | |
MiscKeyword (MiscKeyword &&) noexcept | |
~MiscKeyword () | |
QString | formattedType () const |
FieldMetadata | metadata () const |
bool | operator!= (const MiscKeyword &) const |
MiscKeyword & | operator= (const MiscKeyword &) |
MiscKeyword & | operator= (MiscKeyword &&) noexcept |
bool | operator== (const MiscKeyword &) const |
void | setMetadata (const FieldMetadata &value) |
void | setType (MiscKeyword::Type value) |
void | setValue (const QString &value) |
QJsonValue | toJSON () const |
MiscKeyword::Type | type () const |
QString | value () const |
Static Public Member Functions | |
static MiscKeyword | fromJSON (const QJsonObject &) |
static QList< MiscKeyword > | fromJSONArray (const QJsonArray &data) |
Detailed Description
Member Enumeration Documentation
◆ Type
|
strong |
Definition at line 37 of file misckeyword.h.
Constructor & Destructor Documentation
◆ MiscKeyword() [1/2]
|
explicit |
Constructs a new MiscKeyword.
Definition at line 59 of file misckeyword.cpp.
◆ MiscKeyword() [2/2]
KGAPI2::People::MiscKeyword::MiscKeyword | ( | const MiscKeywordDefinition & | definition | ) |
Definition at line 64 of file misckeyword.cpp.
◆ ~MiscKeyword()
|
default |
Destructor.
Member Function Documentation
◆ formattedType()
|
nodiscard |
Output only.
The type of the miscellaneous keyword translated and formatted in the viewer's account locale or the Accept-Language
HTTP header locale.
Definition at line 116 of file misckeyword.cpp.
◆ fromJSON()
|
staticnodiscard |
Definition at line 121 of file misckeyword.cpp.
◆ fromJSONArray()
|
staticnodiscard |
Definition at line 165 of file misckeyword.cpp.
◆ metadata()
|
nodiscard |
Metadata about the miscellaneous keyword.
Definition at line 89 of file misckeyword.cpp.
◆ operator!=()
bool KGAPI2::People::MiscKeyword::operator!= | ( | const MiscKeyword & | other | ) | const |
Definition at line 84 of file misckeyword.cpp.
◆ operator==()
bool KGAPI2::People::MiscKeyword::operator== | ( | const MiscKeyword & | other | ) | const |
Definition at line 79 of file misckeyword.cpp.
◆ setMetadata()
void KGAPI2::People::MiscKeyword::setMetadata | ( | const FieldMetadata & | value | ) |
Sets value of the metadata property.
Definition at line 94 of file misckeyword.cpp.
◆ setType()
void KGAPI2::People::MiscKeyword::setType | ( | MiscKeyword::Type | value | ) |
Sets value of the type property.
Definition at line 112 of file misckeyword.cpp.
◆ setValue()
void KGAPI2::People::MiscKeyword::setValue | ( | const QString & | value | ) |
Sets value of the value property.
Definition at line 103 of file misckeyword.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 179 of file misckeyword.cpp.
◆ type()
|
nodiscard |
The miscellaneous keyword type.
Definition at line 107 of file misckeyword.cpp.
◆ value()
|
nodiscard |
The value of the miscellaneous keyword.
Definition at line 98 of file misckeyword.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.