KCalCore Library
#include <compat.h>
Public Member Functions | |
Compat () | |
virtual | ~Compat () |
virtual void | fixAlarms (const Incidence::Ptr &incidence) |
virtual void | fixEmptySummary (const Incidence::Ptr &incidence) |
virtual void | fixFloatingEnd (QDate &date) |
virtual int | fixPriority (int priority) |
virtual void | fixRecurrence (const Incidence::Ptr &incidence) |
virtual void | setCreatedToDtStamp (const Incidence::Ptr &incidence, const KDateTime &dtstamp) |
virtual bool | useTimeZoneShift () |
Detailed Description
This class provides compatibility to older or broken calendar files.
Constructor & Destructor Documentation
Compat::Compat | ( | ) |
Constructor.
Definition at line 103 of file compat.cpp.
|
virtual |
Destructor.
Definition at line 107 of file compat.cpp.
Member Function Documentation
|
virtual |
Fixes the alarms list an incidence.
- Parameters
-
incidence is a pointer to an Incidence object that may need its alarms fixed.
Reimplemented in KCalCore::CompatOutlook9, and KCalCore::CompatDecorator.
Definition at line 128 of file compat.cpp.
|
virtual |
Fixes an empty summary for an incidence.
- Parameters
-
incidence is a pointer to an Incidence object that may need its summary fixed.
Reimplemented in KCalCore::CompatDecorator.
Definition at line 111 of file compat.cpp.
|
virtual |
Fixes the end date for floating events.
- Parameters
-
date is the end date to fix.
Reimplemented in KCalCore::CompatPre31, and KCalCore::CompatDecorator.
Definition at line 133 of file compat.cpp.
|
virtual |
Fixes the priority.
- Parameters
-
priority is the priority value to fix.
- Returns
- an integer representing a valid priority value.
Reimplemented in KCalCore::CompatPre34, and KCalCore::CompatDecorator.
Definition at line 145 of file compat.cpp.
|
virtual |
Fixes the recurrence rule for an incidence.
- Parameters
-
incidence is a pointer to an Incidence object that may need its recurrence rule fixed.
Reimplemented in KCalCore::CompatPre31, KCalCore::CompatPre32, KCalCore::CompatPre35, and KCalCore::CompatDecorator.
Definition at line 138 of file compat.cpp.
|
virtual |
Sets the created and dtstamp.
Reimplemented in KCalCore::CompatPre410, and KCalCore::CompatDecorator.
Definition at line 155 of file compat.cpp.
|
virtual |
Returns true if a timezone shift should be used; false otherwise.
Reimplemented in KCalCore::Compat32PrereleaseVersions, and KCalCore::CompatDecorator.
Definition at line 150 of file compat.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.