KCalUtils
stringify.cpp
Go to the documentation of this file.
7 SPDX-FileCopyrightText: 2009-2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
54 return QLocale().toString(todo->completed(), (shortfmt ? QLocale::ShortFormat : QLocale::LongFormat));
233 return i18nc("@item this is an update to an existing scheduling message", "Updated Scheduling Message");
237 return i18nc("@item this is a request for a new scheduling message", "New Scheduling Message Request");
239 return i18nc("@item this is a request for an update to an existing scheduling message", "Updated Scheduling Message Request");
NonParticipant
ReqParticipant
OptParticipant
InProcess
Delegated
Completed
Tentative
NeedsAction
virtual QStringList arguments() const
ParseErrorIcal
NoCalendar
CalVersion2
ParseErrorKcal
CalVersionUnknown
LoadError
CalVersion1
NoWritableFound
SaveError
UserCancel
Restriction
virtual ErrorCode code() const
IncidenceType
StatusCanceled
StatusTentative
StatusNone
StatusFinal
StatusNeedsAction
StatusConfirmed
StatusCompleted
StatusDraft
StatusInProcess
SecrecyPrivate
SecrecyConfidential
SecrecyPublic
RequestUpdate
PublishUpdate
Q_SCRIPTABLE CaptureState status()
QString i18nc(const char *context, const char *text, const TYPE &arg...)
AKONADI_CALENDAR_EXPORT KCalendarCore::Incidence::Ptr incidence(const Akonadi::Item &item)
KCALUTILS_EXPORT QString errorMessage(const KCalendarCore::Exception &exception)
Build a translated message representing an exception.
Definition stringify.cpp:152
KCALUTILS_EXPORT QString 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...
Definition stringify.cpp:52
KCALUTILS_EXPORT QString tzUTCOffsetStr(const QTimeZone &tz)
Returns a string containing the UTC offset of the specified QTimeZone tz (relative to the current dat...
Definition stringify.cpp:245
KCALUTILS_EXPORT QString incidenceSecrecy(KCalendarCore::Incidence::Secrecy secrecy)
Returns the incidence Secrecy as translated string.
Definition stringify.cpp:57
KCALUTILS_EXPORT QStringList incidenceSecrecyList()
Returns a list of all available Secrecy types as a list of translated strings.
Definition stringify.cpp:70
QDateTime currentDateTimeUtc()
const_reference at(qsizetype i) const const
qsizetype count() const const
ShortFormat
QString toString(QDate date, FormatType format) const const
QString arg(Args &&... args) const const
int offsetFromUtc(const QDateTime &atDateTime) const const
This file is part of the API for handling calendar data and provides static functions for formatting ...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:09:16 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:09:16 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.