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::Compat | ( | ) |
Constructor.
Definition at line 103 of file compat.cpp.
◆ ~Compat()
|
virtual |
Destructor.
Definition at line 108 of file compat.cpp.
Member Function Documentation
◆ fixAlarms()
|
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::CompatDecorator, and KCalCore::CompatOutlook9.
Definition at line 129 of file compat.cpp.
◆ fixEmptySummary()
|
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.
◆ fixFloatingEnd()
|
virtual |
Fixes the end date for floating events.
- Parameters
-
date is the end date to fix.
Reimplemented in KCalCore::CompatDecorator, and KCalCore::CompatPre31.
Definition at line 134 of file compat.cpp.
◆ fixPriority()
|
virtual |
Fixes the priority.
- Parameters
-
priority is the priority value to fix.
- Returns
- an integer representing a valid priority value.
Reimplemented in KCalCore::CompatDecorator, and KCalCore::CompatPre34.
Definition at line 146 of file compat.cpp.
◆ fixRecurrence()
|
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::CompatDecorator, KCalCore::CompatPre35, KCalCore::CompatPre32, and KCalCore::CompatPre31.
Definition at line 139 of file compat.cpp.
◆ setCreatedToDtStamp()
|
virtual |
Sets the created and dtstamp.
Reimplemented in KCalCore::CompatDecorator, and KCalCore::CompatPre410.
Definition at line 156 of file compat.cpp.
◆ useTimeZoneShift()
|
virtual |
Returns true if a timezone shift should be used; false otherwise.
Reimplemented in KCalCore::CompatDecorator, and KCalCore::Compat32PrereleaseVersions.
Definition at line 151 of file compat.cpp.
The documentation for this class was generated from the following files:
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.