Kgapi
name.cpp
38 return unstructuredName == other.unstructuredName && familyName == other.familyName && phoneticMiddleName == other.phoneticMiddleName
39 && middleName == other.middleName && honorificPrefix == other.honorificPrefix && givenName == other.givenName
40 && phoneticGivenName == other.phoneticGivenName && phoneticHonorificPrefix == other.phoneticHonorificPrefix && displayName == other.displayName
41 && displayNameLastFirst == other.displayNameLastFirst && phoneticFamilyName == other.phoneticFamilyName && honorificSuffix == other.honorificSuffix
42 && phoneticHonorificSuffix == other.phoneticHonorificSuffix && phoneticFullName == other.phoneticFullName && metadata == other.metadata;
233 name.d->phoneticHonorificPrefix = obj.value(QStringLiteral("phoneticHonorificPrefix")).toString();
234 name.d->phoneticHonorificSuffix = obj.value(QStringLiteral("phoneticHonorificSuffix")).toString();
265 PeopleUtils::addValueToJsonObjectIfValid(obj, "phoneticHonorificPrefix", d->phoneticHonorificPrefix);
267 // Output only -> PeopleUtils::addValueToJsonObjectIfValid(obj, "displayNameLastFirst", d->displayNameLastFirst);
270 PeopleUtils::addValueToJsonObjectIfValid(obj, "phoneticHonorificSuffix", d->phoneticHonorificSuffix);
272 // Skip, field metadata is only useful for receiving -> PeopleUtils::addValueToJsonObjectIfValid(obj, "metadata", d->metadata.toJSON());
QString familyName() const
void setPrefix(const QString &prefix)
QString prefix() const
void setSuffix(const QString &suffix)
QString suffix() const
void setGivenName(const QString &givenName)
QString formattedName() const
void setName(const QString &name)
QString givenName() const
void setFormattedName(const QString &formattedName)
void setFamilyName(const QString &familyName)
void setHonorificSuffix(const QString &value)
Sets value of the honorificSuffix property.
Definition name.cpp:182
void setPhoneticGivenName(const QString &value)
Sets value of the phoneticGivenName property.
Definition name.cpp:147
void setPhoneticFamilyName(const QString &value)
Sets value of the phoneticFamilyName property.
Definition name.cpp:173
QString phoneticHonorificSuffix() const
The honorific suffixes spelled as they sound.
Definition name.cpp:186
void setMetadata(const FieldMetadata &value)
Sets value of the metadata property.
Definition name.cpp:209
void setUnstructuredName(const QString &value)
Sets value of the unstructuredName property.
Definition name.cpp:93
QString phoneticHonorificPrefix() const
The honorific prefixes spelled as they sound.
Definition name.cpp:151
void setHonorificPrefix(const QString &value)
Sets value of the honorificPrefix property.
Definition name.cpp:129
void setPhoneticMiddleName(const QString &value)
Sets value of the phoneticMiddleName property.
Definition name.cpp:111
void setPhoneticHonorificPrefix(const QString &value)
Sets value of the phoneticHonorificPrefix property.
Definition name.cpp:156
void setPhoneticHonorificSuffix(const QString &value)
Sets value of the phoneticHonorificSuffix property.
Definition name.cpp:191
void setFamilyName(const QString &value)
Sets value of the familyName property.
Definition name.cpp:102
void setMiddleName(const QString &value)
Sets value of the middleName property.
Definition name.cpp:120
void setPhoneticFullName(const QString &value)
Sets value of the phoneticFullName property.
Definition name.cpp:200
QString name(StandardAction id)
bool isEmpty() const const
QJsonValue value(QLatin1StringView key) const const
QJsonObject toObject() const const
QString toString() const const
void append(QList< T > &&value)
This file is part of the KDE documentation.
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
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.