KGAPI2::People::Tagline

Search for usage in LXR

KGAPI2::People::Tagline Class Reference

#include <tagline.h>

Public Member Functions

 Tagline ()
 
 Tagline (const Tagline &)
 
 Tagline (Tagline &&) noexcept
 
 ~Tagline ()
 
FieldMetadata metadata () const
 
bool operator!= (const Tagline &) const
 
Taglineoperator= (const Tagline &)
 
Taglineoperator= (Tagline &&) noexcept
 
bool operator== (const Tagline &) const
 
void setMetadata (const FieldMetadata &value)
 
void setValue (const QString &value)
 
QJsonValue toJSON () const
 
QString value () const
 

Static Public Member Functions

static Tagline fromJSON (const QJsonObject &)
 

Detailed Description

DEPRECATED: No data will be returned A brief one-line description of the person.

See also
https://developers.google.com/people/api/rest/v1/people#tagline
Since
5.23.0

Definition at line 32 of file tagline.h.

Constructor & Destructor Documentation

◆ Tagline()

KGAPI2::People::Tagline::Tagline ( )
explicit

Constructs a new Tagline.

Definition at line 47 of file tagline.cpp.

◆ ~Tagline()

KGAPI2::People::Tagline::~Tagline ( )
default

Destructor.

Member Function Documentation

◆ fromJSON()

Tagline KGAPI2::People::Tagline::fromJSON ( const QJsonObject & obj)
staticnodiscard

Definition at line 87 of file tagline.cpp.

◆ metadata()

FieldMetadata KGAPI2::People::Tagline::metadata ( ) const
nodiscard

Metadata about the tagline.

Definition at line 77 of file tagline.cpp.

◆ operator!=()

bool KGAPI2::People::Tagline::operator!= ( const Tagline & other) const

Definition at line 63 of file tagline.cpp.

◆ operator==()

bool KGAPI2::People::Tagline::operator== ( const Tagline & other) const

Definition at line 58 of file tagline.cpp.

◆ setMetadata()

void KGAPI2::People::Tagline::setMetadata ( const FieldMetadata & value)

Sets value of the metadata property.

Definition at line 82 of file tagline.cpp.

◆ setValue()

void KGAPI2::People::Tagline::setValue ( const QString & value)

Sets value of the value property.

Definition at line 73 of file tagline.cpp.

◆ toJSON()

QJsonValue KGAPI2::People::Tagline::toJSON ( ) const
nodiscard

Definition at line 93 of file tagline.cpp.

◆ value()

QString KGAPI2::People::Tagline::value ( ) const
nodiscard

The tagline.

Definition at line 68 of file tagline.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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.