KCalUtils::Stringify
Functions | |
KCALUTILS_EXPORT QString | attendeeRole (KCalendarCore::Attendee::Role role) |
KCALUTILS_EXPORT QString | attendeeStatus (KCalendarCore::Attendee::PartStat status) |
KCALUTILS_EXPORT QString | errorMessage (const KCalendarCore::Exception &exception) |
KCALUTILS_EXPORT QString | incidenceSecrecy (KCalendarCore::Incidence::Secrecy secrecy) |
KCALUTILS_EXPORT QStringList | incidenceSecrecyList () |
KCALUTILS_EXPORT QString | incidenceStatus (const KCalendarCore::Incidence::Ptr &incidence) |
KCALUTILS_EXPORT QString | incidenceStatus (KCalendarCore::Incidence::Status status) |
KCALUTILS_EXPORT QString | incidenceType (KCalendarCore::Incidence::IncidenceType type) |
KCALUTILS_EXPORT QString | scheduleMessageStatus (KCalendarCore::ScheduleMessage::Status status) |
KCALUTILS_EXPORT QString | todoCompletedDateTime (const KCalendarCore::Todo::Ptr &todo, bool shortfmt=false) |
KCALUTILS_EXPORT QString | tzUTCOffsetStr (const QTimeZone &tz) |
Detailed Description
Provides methods to format Incidence properties in various ways for display purposes.
Function Documentation
◆ attendeeRole()
|
nodiscard |
Definition at line 114 of file stringify.cpp.
◆ attendeeStatus()
|
nodiscard |
Definition at line 129 of file stringify.cpp.
◆ errorMessage()
|
nodiscard |
Build a translated message representing an exception.
Definition at line 152 of file stringify.cpp.
◆ incidenceSecrecy()
|
nodiscard |
Returns the incidence Secrecy as translated string.
- See also
- incidenceSecrecyList().
Definition at line 57 of file stringify.cpp.
◆ incidenceSecrecyList()
|
nodiscard |
Returns a list of all available Secrecy types as a list of translated strings.
- See also
- incidenceSecrecy().
Definition at line 70 of file stringify.cpp.
◆ incidenceStatus() [1/2]
|
nodiscard |
Definition at line 105 of file stringify.cpp.
◆ incidenceStatus() [2/2]
|
nodiscard |
Definition at line 79 of file stringify.cpp.
◆ scheduleMessageStatus()
|
nodiscard |
Definition at line 227 of file stringify.cpp.
◆ todoCompletedDateTime()
|
nodiscard |
Returns string containing the date/time when the to-do was completed, formatted according to the user's locale settings.
- Parameters
-
shortfmt If true, use a short date format; else use a long format.
Definition at line 52 of file stringify.cpp.
◆ tzUTCOffsetStr()
Returns a string containing the UTC offset of the specified QTimeZone tz
(relative to the current date).
The format is [+-]HH::MM, according to standards.
- Since
- 5.8
Definition at line 245 of file stringify.cpp.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Nov 6 2024 12:11:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.