KCalCore Library
compat.cpp
Go to the documentation of this file.
356 void CompatPre410::setCreatedToDtStamp(const Incidence::Ptr &incidence, const KDateTime &dtstamp)
void clear()
virtual void setCreatedToDtStamp(const Incidence::Ptr &incidence, const KDateTime &dtstamp)
Sets the created and dtstamp.
Definition: compat.cpp:156
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
virtual bool useTimeZoneShift()
Returns true if a timezone shift should be used; false otherwise.
Definition: compat.cpp:151
typedef Iterator
virtual void fixEmptySummary(const Incidence::Ptr &incidence)
Definition: compat.cpp:179
virtual void setCreatedToDtStamp(const Incidence::Ptr &incidence, const KDateTime &dtstamp)
Definition: compat.cpp:209
iterator begin()
virtual void fixFloatingEnd(QDate &date)
Fixes the end date for floating events.
Definition: compat.cpp:134
void setDuration(int duration)
Sets the total number of times the event is to occur, including both the first and last...
Definition: recurrence.cpp:499
virtual void setCreatedToDtStamp(const Incidence::Ptr &incidence, const KDateTime &dtstamp)
Definition: compat.cpp:356
const T & at(int i) const
void setDuration(int duration)
Sets the total number of times the event is to occur, including both the first and last...
Definition: recurrencerule.cpp:996
virtual bool useTimeZoneShift()
Definition: compat.cpp:204
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Definition: compat.cpp:256
virtual void fixAlarms(const Incidence::Ptr &incidence)
Definition: compat.cpp:184
QString & remove(int position, int n)
virtual void fixFloatingEnd(QDate &date)
Definition: compat.cpp:189
int size() const
This class provides compatibility to older or broken calendar files.
Definition: compat.h:71
Compatibility class for KOrganizer pre-3.2 calendar files.
Definition: compat.h:251
void append(const T &value)
This class represents a recurrence rule for a calendar incidence.
Definition: recurrence.h:87
Compatibility class for KOrganizer pre-3.5 calendar files.
Definition: compat.h:206
virtual void fixEmptySummary(const Incidence::Ptr &incidence)
Fixes an empty summary for an incidence.
Definition: compat.cpp:112
int toInt(bool *ok, int base) const
bool isEmpty() const
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Definition: compat.cpp:241
bool isEmpty() const
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Definition: compat.cpp:194
uint frequency() const
Returns the recurrence frequency, in terms of the recurrence time period type.
Definition: recurrencerule.cpp:2152
virtual bool useTimeZoneShift()
Definition: compat.cpp:346
KDateTime startDt() const
Returns the recurrence start date/time.
Definition: recurrencerule.cpp:2142
Compatibility class for KOrganizer pre-3.1 calendar files.
Definition: compat.h:283
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:481
bool contains(QChar ch, Qt::CaseSensitivity cs) const
This file is part of the API for handling calendar data and defines classes for managing compatibilit...
bool contains(const T &value) const
static Compat * createCompat(const QString &productId, const QString &implementationVersion)
Creates the appropriate Compat class as determined by the Product ID.
Definition: compat.cpp:46
virtual void fixAlarms(const Incidence::Ptr &incidence)
Fixes the alarms list an incidence.
Definition: compat.cpp:129
Decorator so multiple compatibility classes can be stacked.
Definition: compat.h:140
Compatibility class for KOrganizer prerelease 3.2 calendar files.
Definition: compat.h:309
QString mid(int position, int n) const
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Definition: compat.cpp:215
This file is part of the API for handling calendar data and defines the Incidence class...
int durationTo(const KDateTime &dt) const
Returns the number of recurrences up to and including the date/time specified.
Definition: recurrencerule.cpp:1582
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:2157
virtual int fixPriority(int priority)
Definition: compat.cpp:199
Compatibility class for KOrganizer pre-3.4 calendar files.
Definition: compat.h:226
virtual void fixAlarms(const Incidence::Ptr &incidence)
Definition: compat.cpp:326
QString section(QChar sep, int start, int end, QFlags< QString::SectionFlag > flags) const
QDate addDays(int ndays) const
Compatibility class for Kontact < 4.10 calendar files.
Definition: compat.h:353
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Fixes the recurrence rule for an incidence.
Definition: compat.cpp:139
iterator end()
virtual void fixFloatingEnd(QDate &date)
Definition: compat.cpp:251
This class represents a recurrence rule for a calendar incidence.
Definition: recurrencerule.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.