KGAPI2::People::CalendarUrl
#include <calendarurl.h>
Public Member Functions | |
| CalendarUrl () | |
| CalendarUrl (CalendarUrl &&) noexcept | |
| CalendarUrl (const CalendarUrl &) | |
| ~CalendarUrl () | |
| QString | formattedType () const |
| FieldMetadata | metadata () const |
| bool | operator!= (const CalendarUrl &) const |
| CalendarUrl & | operator= (CalendarUrl &&) noexcept |
| CalendarUrl & | operator= (const CalendarUrl &) |
| bool | operator== (const CalendarUrl &) const |
| void | setMetadata (const FieldMetadata &value) |
| void | setType (const QString &value) |
| void | setUrl (const QString &value) |
| QJsonValue | toJSON () const |
| QString | type () const |
| QString | url () const |
Static Public Member Functions | |
| static CalendarUrl | fromJSON (const QJsonObject &obj) |
| static QList< CalendarUrl > | fromJSONArray (const QJsonArray &data) |
Detailed Description
Constructor & Destructor Documentation
◆ CalendarUrl()
|
explicit |
Constructs a new CalendarUrl.
Definition at line 49 of file calendarurl.cpp.
◆ ~CalendarUrl()
|
default |
Destructor.
Member Function Documentation
◆ formattedType()
|
nodiscard |
Output only.
The type of the calendar URL translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.
Definition at line 97 of file calendarurl.cpp.
◆ fromJSON()
|
staticnodiscard |
Definition at line 102 of file calendarurl.cpp.
◆ fromJSONArray()
|
staticnodiscard |
Definition at line 117 of file calendarurl.cpp.
◆ metadata()
|
nodiscard |
Metadata about the calendar URL.
Definition at line 79 of file calendarurl.cpp.
◆ operator!=()
| bool KGAPI2::People::CalendarUrl::operator!= | ( | const CalendarUrl & | other | ) | const |
Definition at line 65 of file calendarurl.cpp.
◆ operator==()
| bool KGAPI2::People::CalendarUrl::operator== | ( | const CalendarUrl & | other | ) | const |
Definition at line 60 of file calendarurl.cpp.
◆ setMetadata()
| void KGAPI2::People::CalendarUrl::setMetadata | ( | const FieldMetadata & | value | ) |
Sets value of the metadata property.
Definition at line 84 of file calendarurl.cpp.
◆ setType()
| void KGAPI2::People::CalendarUrl::setType | ( | const QString & | value | ) |
Sets value of the type property.
Definition at line 93 of file calendarurl.cpp.
◆ setUrl()
| void KGAPI2::People::CalendarUrl::setUrl | ( | const QString & | value | ) |
Sets value of the url property.
Definition at line 75 of file calendarurl.cpp.
◆ toJSON()
|
nodiscard |
Definition at line 131 of file calendarurl.cpp.
◆ type()
|
nodiscard |
The type of the calendar URL.
The type can be custom or one of these predefined values: * home * freeBusy * work
Definition at line 88 of file calendarurl.cpp.
◆ url()
|
nodiscard |
The calendar URL.
Definition at line 70 of file calendarurl.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.