#include <photo.h>
A person's photo.
A picture shown next to the person's name to help others recognize the person.
- See also
- https://developers.google.com/people/api/rest/v1/people#photo
- Since
- 5.23.0
Definition at line 34 of file photo.h.
◆ Photo()
KGAPI2::People::Photo::Photo |
( |
| ) |
|
|
explicit |
◆ ~Photo()
KGAPI2::People::Photo::~Photo |
( |
| ) |
|
|
default |
◆ fromJSON()
◆ fromJSONArray()
◆ isDefault()
bool KGAPI2::People::Photo::isDefault |
( |
| ) |
const |
|
nodiscard |
True if the photo is a default photo; false if the photo is a user-provided photo.
Definition at line 79 of file photo.cpp.
◆ metadata()
Metadata about the photo.
Definition at line 70 of file photo.cpp.
◆ operator!=()
bool KGAPI2::People::Photo::operator!= |
( |
const Photo & | other | ) |
const |
◆ operator==()
bool KGAPI2::People::Photo::operator== |
( |
const Photo & | other | ) |
const |
◆ setIsDefault()
void KGAPI2::People::Photo::setIsDefault |
( |
bool | value | ) |
|
Sets value of the isDefault property.
Definition at line 84 of file photo.cpp.
◆ setMetadata()
void KGAPI2::People::Photo::setMetadata |
( |
const FieldMetadata & | value | ) |
|
Sets value of the metadata property.
Definition at line 75 of file photo.cpp.
◆ setUrl()
void KGAPI2::People::Photo::setUrl |
( |
const QString & | value | ) |
|
Sets value of the url property.
Definition at line 93 of file photo.cpp.
◆ toJSON()
QJsonValue KGAPI2::People::Photo::toJSON |
( |
| ) |
const |
|
nodiscard |
◆ url()
QString KGAPI2::People::Photo::url |
( |
| ) |
const |
|
nodiscard |
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 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.