KCal Library
compat.cpp
Go to the documentation of this file.
virtual void fixEmptySummary(Incidence *incidence)
Fixes an empty summary for an incidence.
Definition: compat.cpp:95
virtual void fixFloatingEnd(QDate &date)
Fixes the end date for floating events.
Definition: compat.cpp:112
const Alarm::List & alarms() const
Returns a list of all incidence alarms.
Definition: incidence.cpp:906
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
virtual void fixRecurrence(Incidence *incidence)
Definition: compat.cpp:165
void setDescription(const QString &description, bool isRich)
Sets the incidence description.
Definition: incidence.cpp:375
Recurrence * recurrence() const
Returns the recurrence rule associated with this incidence.
Definition: incidence.cpp:545
static Compat * createCompat(const QString &productId)
Creates the appropriate Compat class as determined by the Product ID.
Definition: compat.cpp:45
virtual void fixRecurrence(Incidence *incidence)
Fixes the recurrence rule for an incidence.
Definition: compat.cpp:117
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
This file is part of the API for handling calendar data and defines classes for managing compatibilit...
int durationTo(const KDateTime &dt) const
Returns the number of recurrences up to and including the date/time specified.
Definition: recurrencerule.cpp:1561
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
virtual void fixRecurrence(Incidence *incidence)
Definition: compat.cpp:150
This file is part of the API for handling calendar data and defines the Incidence class.
Duration startOffset() const
Returns offset of alarm in time relative to the start of the parent Incidence.
Definition: alarm.cpp:601
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
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
This class provides compatibility to older or broken calendar files.
Definition: compat.h:65
virtual KDateTime dtStart() const
Returns an incidence's starting date/time as a KDateTime.
Definition: incidencebase.cpp:248
This class represents a recurrence rule for a calendar incidence.
Definition: recurrence.h:91
uint frequency() const
Returns the recurrence frequency, in terms of the recurrence time period type.
Definition: recurrencerule.cpp:2119
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-2019 The KDE developers.
Generated on Fri Apr 5 2019 15:21:07 by doxygen 1.8.15 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Apr 5 2019 15:21:07 by doxygen 1.8.15 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.