KCal Library
compat.cpp
Go to the documentation of this file.
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
Duration startOffset() const
Returns offset of alarm in time relative to the start of the parent Incidence.
Definition: alarm.cpp:601
void setStartOffset(const Duration &offset)
Sets the alarm offset relative to the start of the parent Incidence.
Definition: alarm.cpp:591
static Compat * createCompat(const QString &productId)
Creates the appropriate Compat class as determined by the Product ID.
Definition: compat.cpp:45
virtual void fixAlarms(Incidence *incidence)
Definition: compat.cpp:235
virtual void fixRecurrence(Incidence *incidence)
Definition: compat.cpp:165
virtual void fixRecurrence(Incidence *incidence)
Definition: compat.cpp:150
virtual void fixRecurrence(Incidence *incidence)
Definition: compat.cpp:124
This class provides compatibility to older or broken calendar files.
Definition: compat.h:66
virtual void fixRecurrence(Incidence *incidence)
Fixes the recurrence rule for an incidence.
Definition: compat.cpp:117
virtual void fixFloatingEnd(QDate &date)
Fixes the end date for floating events.
Definition: compat.cpp:112
virtual void fixEmptySummary(Incidence *incidence)
Fixes an empty summary for an incidence.
Definition: compat.cpp:95
virtual KDateTime dtStart() const
Returns an incidence's starting date/time as a KDateTime.
Definition: incidencebase.cpp:248
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:70
const Alarm::List & alarms() const
Returns a list of all incidence alarms.
Definition: incidence.cpp:906
void setSummary(const QString &summary, bool isRich)
Sets the incidence summary.
Definition: incidence.cpp:409
Recurrence * recurrence() const
Returns the recurrence rule associated with this incidence.
Definition: incidence.cpp:545
void setDescription(const QString &description, bool isRich)
Sets the incidence description.
Definition: incidence.cpp:375
This class represents a recurrence rule for a calendar incidence.
Definition: recurrencerule.h:47
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
uint frequency() const
Returns the recurrence frequency, in terms of the recurrence time period type.
Definition: recurrencerule.cpp:2119
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
int durationTo(const KDateTime &dt) const
Returns the number of recurrences up to and including the date/time specified.
Definition: recurrencerule.cpp:1561
bool dateMatchesRules(const KDateTime &dt) const
Returns true if the date matches the rules.
Definition: recurrencerule.cpp:1365
This class represents a recurrence rule for a calendar incidence.
Definition: recurrence.h:92
This file is part of the API for handling calendar data and defines classes for managing compatibilit...
This file is part of the API for handling calendar data and defines the Incidence class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.