KCalCore Library
compat.cpp
Go to the documentation of this file.
355 void CompatPre410::setCreatedToDtStamp(const Incidence::Ptr &incidence, const KDateTime &dtstamp)
virtual void setCreatedToDtStamp(const Incidence::Ptr &incidence, const KDateTime &dtstamp)
Sets the created and dtstamp.
Definition: compat.cpp:155
virtual bool useTimeZoneShift()
Returns true if a timezone shift should be used; false otherwise.
Definition: compat.cpp:150
virtual void fixEmptySummary(const Incidence::Ptr &incidence)
Definition: compat.cpp:178
virtual void setCreatedToDtStamp(const Incidence::Ptr &incidence, const KDateTime &dtstamp)
Definition: compat.cpp:208
virtual void fixFloatingEnd(QDate &date)
Fixes the end date for floating events.
Definition: compat.cpp:133
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:355
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:203
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Definition: compat.cpp:255
virtual void fixAlarms(const Incidence::Ptr &incidence)
Definition: compat.cpp:183
virtual void fixFloatingEnd(QDate &date)
Definition: compat.cpp:188
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
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:111
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Definition: compat.cpp:240
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Definition: compat.cpp:193
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:345
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
This file is part of the API for handling calendar data and defines classes for managing compatibilit...
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:128
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
virtual void fixRecurrence(const Incidence::Ptr &incidence)
Definition: compat.cpp:214
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:198
Compatibility class for KOrganizer pre-3.4 calendar files.
Definition: compat.h:226
virtual void fixAlarms(const Incidence::Ptr &incidence)
Definition: compat.cpp:325
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:138
virtual void fixFloatingEnd(QDate &date)
Definition: compat.cpp:250
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.