KCalUtils Library
Functions | |
KCALUTILS_EXPORT QString | attendeeRole (KCalCore::Attendee::Role role) |
KCALUTILS_EXPORT QStringList | attendeeRoleList () |
KCALUTILS_EXPORT QString | attendeeStatus (KCalCore::Attendee::PartStat status) |
KCALUTILS_EXPORT QStringList | attendeeStatusList () |
KCALUTILS_EXPORT QString | errorMessage (const KCalCore::Exception &exception) |
KCALUTILS_EXPORT QString | formatDate (const KDateTime &dt, bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec()) |
KCALUTILS_EXPORT QString | formatDateTime (const KDateTime &dt, bool dateOnly=false, bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec()) |
KCALUTILS_EXPORT QString | formatTime (const KDateTime &dt, bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec()) |
KCALUTILS_EXPORT QString | incidenceSecrecy (KCalCore::Incidence::Secrecy secrecy) |
KCALUTILS_EXPORT QStringList | incidenceSecrecyList () |
KCALUTILS_EXPORT QString | incidenceStatus (KCalCore::Incidence::Status status) |
KCALUTILS_EXPORT QString | incidenceStatus (const KCalCore::Incidence::Ptr &incidence) |
KCALUTILS_EXPORT QString | incidenceType (KCalCore::Incidence::IncidenceType type) |
KCALUTILS_EXPORT QString | scheduleMessageStatus (KCalCore::ScheduleMessage::Status status) |
KCALUTILS_EXPORT QStringList | secrecyList () |
KCALUTILS_EXPORT QString | secrecyName (KCalCore::Incidence::Secrecy secrecy) |
KCALUTILS_EXPORT QString | todoCompletedDateTime (const KCalCore::Todo::Ptr &todo, bool shortfmt=false) |
Detailed Description
Provides methods to format Incidence properties in various ways for display purposes.
Function Documentation
QString KCalUtils::Stringify::errorMessage | ( | const KCalCore::Exception & | exception | ) |
Build a translated message representing an exception.
Definition at line 265 of file stringify.cpp.
QString KCalUtils::Stringify::formatDate | ( | const KDateTime & | dt, |
bool | shortfmt = true , |
||
const KDateTime::Spec & | spec = KDateTime::Spec() |
||
) |
Build a QString date representation of a KDateTime object.
- Parameters
-
date The date to be formatted. shortfmt If true, display info in short format. spec Time spec to use.
- See also
- formatDate(), formatDateTime().
Definition at line 222 of file stringify.cpp.
QString KCalUtils::Stringify::formatDateTime | ( | const KDateTime & | dt, |
bool | dateOnly = false , |
||
bool | shortfmt = true , |
||
const KDateTime::Spec & | spec = KDateTime::Spec() |
||
) |
Build a QString date/time representation of a KDateTime object.
- Parameters
-
date The date to be formatted. dateOnly If true, don't print the time fields; print the date fields only. shortfmt If true, display info in short format. spec Time spec to use.
- See also
- formatDate(), formatTime().
Definition at line 242 of file stringify.cpp.
QString KCalUtils::Stringify::formatTime | ( | const KDateTime & | dt, |
bool | shortfmt = true , |
||
const KDateTime::Spec & | spec = KDateTime::Spec() |
||
) |
Build a QString time representation of a KDateTime object.
- Parameters
-
date The date to be formatted. shortfmt If true, display info in short format. spec Time spec to use.
- See also
- formatDate(), formatDateTime().
Definition at line 207 of file stringify.cpp.
KCALUTILS_EXPORT QString KCalUtils::Stringify::incidenceSecrecy | ( | KCalCore::Incidence::Secrecy | secrecy | ) |
Returns the incidence Secrecy as translated string.
- See also
- incidenceSecrecyList().
QStringList KCalUtils::Stringify::incidenceSecrecyList | ( | ) |
Returns a list of all available Secrecy types as a list of translated strings.
- See also
- incidenceSecrecy().
Definition at line 87 of file stringify.cpp.
QString KCalUtils::Stringify::todoCompletedDateTime | ( | const KCalCore::Todo::Ptr & | todo, |
bool | shortfmt = false |
||
) |
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 65 of file stringify.cpp.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.