KCalendarCore
compat.cpp
Go to the documentation of this file.
33Compat *CompatFactory::createCompat(const QString &productId, const QString &implementationVersion)
43 int versionStop = productId.indexOf(QRegularExpression(QStringLiteral("[ /]")), versionStart + 1);
47 int versionNum = version.section(QLatin1Char('.'), 0, 0).toInt() * 10000 + version.section(QLatin1Char('.'), 1, 1).toInt() * 100
78 && (productId.contains(QLatin1String("libkcal")) || productId.contains(QLatin1String("KOrganizer")) || productId.contains(QLatin1String("KAlarm")))) {
174void CompatDecorator::setCreatedToDtStamp(const Incidence::Ptr &incidence, const QDateTime &dtstamp)
314void CompatPre410::setCreatedToDtStamp(const Incidence::Ptr &incidence, const QDateTime &dtstamp)
Represents a span of time measured in seconds or days.
Definition duration.h:44
This class represents a recurrence rule for a calendar incidence.
Definition recurrencerule.h:32
void setDuration(int duration)
Sets the total number of times the event is to occur, including both the first and last.
Definition recurrencerule.cpp:959
uint frequency() const
Returns the recurrence frequency, in terms of the recurrence time period type.
Definition recurrencerule.cpp:2091
int duration() const
Returns -1 if the event recurs infinitely, 0 if the end date is set, otherwise the total number of re...
Definition recurrencerule.cpp:2096
bool dateMatchesRules(const QDateTime &dt) const
Returns true if the date matches the rules.
Definition recurrencerule.cpp:1353
int durationTo(const QDateTime &dt) const
Returns the number of recurrences up to and including the date/time specified.
Definition recurrencerule.cpp:1555
This class represents a recurrence rule for a calendar incidence.
Definition recurrence.h:77
int duration() const
Returns -1 if the event recurs infinitely, 0 if the end date is set, otherwise the total number of re...
Definition recurrence.cpp:468
void setDuration(int duration)
Sets the total number of times the event is to occur, including both the first and last.
Definition recurrence.cpp:486
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the API for handling calendar data and defines the Incidence class.
AKONADI_CALENDAR_EXPORT KCalendarCore::Incidence::Ptr incidence(const Akonadi::Item &item)
KCOREADDONS_EXPORT unsigned int version()
const QList< QKeySequence > & end()
QDate addDays(qint64 ndays) const const
int month() const const
int year() const const
QDate date() const const
bool isValid() const const
void append(QList< T > &&value)
const_reference at(qsizetype i) const const
void clear()
bool contains(const AT &value) const const
bool isEmpty() const const
qsizetype size() const const
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
qsizetype indexOf(QChar ch, qsizetype from, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
QString mid(qsizetype position, qsizetype n) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.