• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KCalCore Library

  • KCalCore
  • Compat
Public Member Functions | List of all members
KCalCore::Compat Class Reference

#include <compat.h>

Inheritance diagram for KCalCore::Compat:
Inheritance graph
[legend]

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.

Definition at line 71 of file compat.h.

Constructor & Destructor Documentation

Compat::Compat ( )

Constructor.

Definition at line 103 of file compat.cpp.

Compat::~Compat ( )
virtual

Destructor.

Definition at line 107 of file compat.cpp.

Member Function Documentation

void Compat::fixAlarms ( const Incidence::Ptr &  incidence)
virtual

Fixes the alarms list an incidence.

Parameters
incidenceis 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.

void Compat::fixEmptySummary ( const Incidence::Ptr &  incidence)
virtual

Fixes an empty summary for an incidence.

Parameters
incidenceis a pointer to an Incidence object that may need its summary fixed.

Reimplemented in KCalCore::CompatDecorator.

Definition at line 111 of file compat.cpp.

void Compat::fixFloatingEnd ( QDate &  date)
virtual

Fixes the end date for floating events.

Parameters
dateis the end date to fix.

Reimplemented in KCalCore::CompatPre31, and KCalCore::CompatDecorator.

Definition at line 133 of file compat.cpp.

int Compat::fixPriority ( int  priority)
virtual

Fixes the priority.

Parameters
priorityis 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.

void Compat::fixRecurrence ( const Incidence::Ptr &  incidence)
virtual

Fixes the recurrence rule for an incidence.

Parameters
incidenceis 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.

void Compat::setCreatedToDtStamp ( const Incidence::Ptr &  incidence,
const KDateTime &  dtstamp 
)
virtual

Sets the created and dtstamp.

Reimplemented in KCalCore::CompatPre410, and KCalCore::CompatDecorator.

Definition at line 155 of file compat.cpp.

bool Compat::useTimeZoneShift ( )
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:
  • compat.h
  • compat.cpp
This file is part of the KDE documentation.
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.

KCalCore Library

Skip menu "KCalCore Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal