KGAPI2::People::FileAs
KGAPI2::People::FileAs Class Reference
#include <fileas.h>
Public Member Functions | |
| FileAs () | |
| FileAs (const FileAs &) | |
| FileAs (FileAs &&) noexcept | |
| ~FileAs () | |
| FieldMetadata | metadata () const | 
| bool | operator!= (const FileAs &) const | 
| FileAs & | operator= (const FileAs &) | 
| FileAs & | operator= (FileAs &&) noexcept | 
| bool | operator== (const FileAs &) const | 
| void | setMetadata (const FieldMetadata &value) | 
| void | setValue (const QString &value) | 
| QJsonValue | toJSON () const | 
| QString | value () const | 
Static Public Member Functions | |
| static FileAs | fromJSON (const QJsonObject &obj) | 
| static QList< FileAs > | fromJSONArray (const QJsonArray &data) | 
Detailed Description
The name that should be used to sort the person in a list.
- Since
 - 5.23.0
 
Constructor & Destructor Documentation
◆ FileAs()
      
  | 
  explicit | 
Constructs a new FileAs.
Definition at line 48 of file fileas.cpp.
◆ ~FileAs()
      
  | 
  default | 
Destructor.
Member Function Documentation
◆ fromJSON()
      
  | 
  staticnodiscard | 
Definition at line 88 of file fileas.cpp.
◆ fromJSONArray()
      
  | 
  staticnodiscard | 
Definition at line 101 of file fileas.cpp.
◆ metadata()
      
  | 
  nodiscard | 
Metadata about the file-as.
Definition at line 69 of file fileas.cpp.
◆ operator!=()
| bool KGAPI2::People::FileAs::operator!= | ( | const FileAs & | other | ) | const | 
Definition at line 64 of file fileas.cpp.
◆ operator==()
| bool KGAPI2::People::FileAs::operator== | ( | const FileAs & | other | ) | const | 
Definition at line 59 of file fileas.cpp.
◆ setMetadata()
| void KGAPI2::People::FileAs::setMetadata | ( | const FieldMetadata & | value | ) | 
Sets value of the metadata property.
Definition at line 74 of file fileas.cpp.
◆ setValue()
| void KGAPI2::People::FileAs::setValue | ( | const QString & | value | ) | 
Sets value of the value property.
Definition at line 83 of file fileas.cpp.
◆ toJSON()
      
  | 
  nodiscard | 
Definition at line 115 of file fileas.cpp.
◆ value()
      
  | 
  nodiscard | 
The file-as value.
Definition at line 78 of file fileas.cpp.
The documentation for this class was generated from the following files:
  This file is part of the KDE documentation.
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
          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.