• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KCal Library

KCal::ICalTimeZoneBackend

KCal::ICalTimeZoneBackend Class Reference

Backend class for KICalTimeZone class. More...

#include <icaltimezones.h>

Inherits KTimeZoneBackend.

List of all members.


Public Member Functions

virtual KTimeZoneBackend * clone () const
virtual bool hasTransitions (const KTimeZone *caller) const
 ICalTimeZoneBackend (const KTimeZone &tz, const QDate &earliest)
 ICalTimeZoneBackend (ICalTimeZoneSource *source, const QString &name, const QString &countryCode=QString(), float latitude=KTimeZone::UNKNOWN, float longitude=KTimeZone::UNKNOWN, const QString &comment=QString())
 ICalTimeZoneBackend ()
virtual QByteArray type () const

Detailed Description

Backend class for KICalTimeZone class.

This class implements KICalTimeZone's constructors and virtual methods. A backend class is required for all classes inherited from KTimeZone to allow KTimeZone virtual methods to work together with reference counting of private data.

Backend class for KICalTimeZone class

See also:
KTimeZoneBackend, KICalTimeZone, KTimeZone
Author:
David Jarvie <software@astrojar.org.uk>.

Definition at line 258 of file icaltimezones.h.


Constructor & Destructor Documentation

KCal::ICalTimeZoneBackend::ICalTimeZoneBackend (  ) 

Implements ICalTimeZone::ICalTimeZone().

Definition at line 169 of file icaltimezones.cpp.

KCal::ICalTimeZoneBackend::ICalTimeZoneBackend ( ICalTimeZoneSource *  source,
const QString &  name,
const QString &  countryCode = QString(),
float  latitude = KTimeZone::UNKNOWN,
float  longitude = KTimeZone::UNKNOWN,
const QString &  comment = QString() 
)

Implements ICalTimeZone::ICalTimeZone().

Parameters:
source iCalendar VTIMEZONE reader and parser
name time zone's unique name within the iCalendar object
countryCode ISO 3166 2-character country code, empty if unknown
latitude in degrees (between -90 and +90), UNKNOWN if not known
longitude in degrees (between -180 and +180), UNKNOWN if not known
comment description of the time zone, if any

Definition at line 173 of file icaltimezones.cpp.

KCal::ICalTimeZoneBackend::ICalTimeZoneBackend ( const KTimeZone &  tz,
const QDate &  earliest 
)

Implements ICalTimeZone::ICalTimeZone().

Parameters:
tz KTimeZone instance
earliest earliest date for which time zone data should be stored

Definition at line 181 of file icaltimezones.cpp.


Member Function Documentation

KTimeZoneBackend * KCal::ICalTimeZoneBackend::clone (  )  const [virtual]

Creates a copy of this instance.

Returns:
new copy

Definition at line 190 of file icaltimezones.cpp.

bool KCal::ICalTimeZoneBackend::hasTransitions ( const KTimeZone *  caller  )  const [virtual]

Implements ICalTimeZone::hasTransitions().

Return whether daylight saving transitions are available for the time zone.

Parameters:
caller calling ICalTimeZone object
Returns:
true

Definition at line 200 of file icaltimezones.cpp.

QByteArray KCal::ICalTimeZoneBackend::type (  )  const [virtual]

Returns the class name of the data represented by this instance.

Returns:
"ICalTimeZone"

Definition at line 195 of file icaltimezones.cpp.


The documentation for this class was generated from the following files:
  • icaltimezones.h
  • icaltimezones.cpp

KCal Library

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal