KGAPI2::People::RelationshipStatus
#include <relationshipstatus.h>
Public Member Functions | |
| RelationshipStatus () | |
| RelationshipStatus (const RelationshipStatus &) | |
| RelationshipStatus (RelationshipStatus &&) noexcept | |
| ~RelationshipStatus () | |
| QString | formattedValue () const | 
| FieldMetadata | metadata () const | 
| bool | operator!= (const RelationshipStatus &) const | 
| RelationshipStatus & | operator= (const RelationshipStatus &) | 
| RelationshipStatus & | operator= (RelationshipStatus &&) noexcept | 
| bool | operator== (const RelationshipStatus &) const | 
| void | setMetadata (const FieldMetadata &value) | 
| void | setValue (const QString &value) | 
| QJsonValue | toJSON () const | 
| QString | value () const | 
Static Public Member Functions | |
| static RelationshipStatus | fromJSON (const QJsonObject &) | 
Detailed Description
DEPRECATED: No data will be returned A person's relationship status.
- Since
 - 5.23.0
 
Definition at line 31 of file relationshipstatus.h.
Constructor & Destructor Documentation
◆ RelationshipStatus()
      
  | 
  explicit | 
Constructs a new RelationshipStatus.
Definition at line 48 of file relationshipstatus.cpp.
◆ ~RelationshipStatus()
      
  | 
  default | 
Destructor.
Member Function Documentation
◆ formattedValue()
      
  | 
  nodiscard | 
Output only.
The value of the relationship status translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale. 
Definition at line 78 of file relationshipstatus.cpp.
◆ fromJSON()
      
  | 
  staticnodiscard | 
Definition at line 92 of file relationshipstatus.cpp.
◆ metadata()
      
  | 
  nodiscard | 
Metadata about the relationship status.
Definition at line 82 of file relationshipstatus.cpp.
◆ operator!=()
| bool KGAPI2::People::RelationshipStatus::operator!= | ( | const RelationshipStatus & | other | ) | const | 
Definition at line 64 of file relationshipstatus.cpp.
◆ operator==()
| bool KGAPI2::People::RelationshipStatus::operator== | ( | const RelationshipStatus & | other | ) | const | 
Definition at line 59 of file relationshipstatus.cpp.
◆ setMetadata()
| void KGAPI2::People::RelationshipStatus::setMetadata | ( | const FieldMetadata & | value | ) | 
Sets value of the metadata property.
Definition at line 87 of file relationshipstatus.cpp.
◆ setValue()
| void KGAPI2::People::RelationshipStatus::setValue | ( | const QString & | value | ) | 
Sets value of the value property.
Definition at line 74 of file relationshipstatus.cpp.
◆ toJSON()
      
  | 
  nodiscard | 
Definition at line 98 of file relationshipstatus.cpp.
◆ value()
      
  | 
  nodiscard | 
The relationship status.
The value can be custom or one of these predefined values: * single * inARelationship * engaged * married * itsComplicated * openRelationship * widowed * inDomesticPartnership * inCivilUnion 
Definition at line 69 of file relationshipstatus.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:03:45 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.