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 108 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 129 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 112 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 134 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 146 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 139 of file compat.cpp.
|
virtual |
Sets the created and dtstamp.
Reimplemented in KCalCore::CompatPre410, and KCalCore::CompatDecorator.
Definition at line 156 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 151 of file compat.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.