KCal Library
compat.cpp
Go to the documentation of this file.
void clear()
virtual void fixEmptySummary(Incidence *incidence)
Fixes an empty summary for an incidence.
Definition: compat.cpp:95
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
virtual void fixFloatingEnd(QDate &date)
Fixes the end date for floating events.
Definition: compat.cpp:112
void setDuration(int duration)
Sets the total number of times the event is to occur, including both the first and last...
Definition: recurrencerule.cpp:978
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:485
virtual void fixRecurrence(Incidence *incidence)
Definition: compat.cpp:165
const T & at(int i) const
virtual KDateTime dtStart() const
Returns an incidence's starting date/time as a KDateTime.
Definition: incidencebase.cpp:248
QString & remove(int position, int n)
int size() const
int durationTo(const KDateTime &dt) const
Returns the number of recurrences up to and including the date/time specified.
Definition: recurrencerule.cpp:1561
void setDuration(int duration)
Sets the total number of times the event is to occur, including both the first and last...
Definition: recurrence.cpp:503
void setDescription(const QString &description, bool isRich)
Sets the incidence description.
Definition: incidence.cpp:375
int count(const T &value) const
static Compat * createCompat(const QString &productId)
Creates the appropriate Compat class as determined by the Product ID.
Definition: compat.cpp:45
void append(const T &value)
virtual void fixRecurrence(Incidence *incidence)
Fixes the recurrence rule for an incidence.
Definition: compat.cpp:117
int toInt(bool *ok, int base) const
bool isEmpty() const
bool isEmpty() const
QString trimmed() const
bool hasStartOffset() const
Returns whether the alarm is defined in terms of an offset relative to the start of the parent Incide...
Definition: alarm.cpp:606
typedef Iterator
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:68
void setStartOffset(const Duration &offset)
Sets the alarm offset relative to the start of the parent Incidence.
Definition: alarm.cpp:591
Duration startOffset() const
Returns offset of alarm in time relative to the start of the parent Incidence.
Definition: alarm.cpp:601
const Alarm::List & alarms() const
Returns a list of all incidence alarms.
Definition: incidence.cpp:906
iterator end()
Compatibility class for KOrganizer pre-3.1 calendar files.
Definition: compat.h:208
This file is part of the API for handling calendar data and defines classes for managing compatibilit...
bool contains(const T &value) const
uint frequency() const
Returns the recurrence frequency, in terms of the recurrence time period type.
Definition: recurrencerule.cpp:2119
QString mid(int position, int n) const
virtual void fixRecurrence(Incidence *incidence)
Definition: compat.cpp:150
KDateTime startDt() const
Returns the recurrence start date/time.
Definition: recurrencerule.cpp:2109
Compatibility class for KOrganizer pre-3.5 calendar files.
Definition: compat.h:135
This file is part of the API for handling calendar data and defines the Incidence class...
QString section(QChar sep, int start, int end, QFlags< QString::SectionFlag > flags) const
Recurrence * recurrence() const
Returns the recurrence rule associated with this incidence.
Definition: incidence.cpp:545
Compatibility class for KOrganizer pre-3.2 calendar files.
Definition: compat.h:176
QDate addDays(int ndays) const
virtual void fixRecurrence(Incidence *incidence)
Definition: compat.cpp:124
void setSummary(const QString &summary, bool isRich)
Sets the incidence summary.
Definition: incidence.cpp:409
virtual void fixAlarms(Incidence *incidence)
Definition: compat.cpp:235
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:2124
This class provides compatibility to older or broken calendar files.
Definition: compat.h:65
iterator begin()
This class represents a recurrence rule for a calendar incidence.
Definition: recurrence.h:91
This class represents a recurrence rule for a calendar incidence.
Definition: recurrencerule.h:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:29 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:38:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.