KCalUtils::Stringify

KCalUtils::Stringify Namespace Reference

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 (KCalendarCore::Incidence::Status status)
 
KCALUTILS_EXPORT QString incidenceStatus (const KCalendarCore::Incidence::Ptr &incidence)
 
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

QString KCalUtils::Stringify::errorMessage ( const KCalendarCore::Exception exception)

Build a translated message representing an exception.

Definition at line 154 of file stringify.cpp.

QString KCalUtils::Stringify::incidenceSecrecy ( KCalendarCore::Incidence::Secrecy  secrecy)

Returns the incidence Secrecy as translated string.

See also
incidenceSecrecyList().

Definition at line 57 of file stringify.cpp.

QStringList KCalUtils::Stringify::incidenceSecrecyList ( )

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.

QString KCalUtils::Stringify::todoCompletedDateTime ( const KCalendarCore::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
shortfmtIf true, use a short date format; else use a long format.

Definition at line 52 of file stringify.cpp.

QString KCalUtils::Stringify::tzUTCOffsetStr ( const QTimeZone tz)

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 251 of file stringify.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Aug 14 2020 23:12:25 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.