• Skip to content
  • Skip to link menu
KDE 4.8 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

KCal Library

  • KCal
  • ICalTimeZoneBackend
Public Member Functions
KCal::ICalTimeZoneBackend Class Reference

#include <icaltimezones.h>

Inherits KTimeZoneBackend.

List of all members.

Public Member Functions

 ICalTimeZoneBackend ()
 ICalTimeZoneBackend (ICalTimeZoneSource *source, const QString &name, const QString &countryCode=QString(), float latitude=KTimeZone::UNKNOWN, float longitude=KTimeZone::UNKNOWN, const QString &comment=QString())
 ICalTimeZoneBackend (const KTimeZone &tz, const QDate &earliest)
virtual KTimeZoneBackend * clone () const
virtual bool hasTransitions (const KTimeZone *caller) const
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:
sourceiCalendar VTIMEZONE reader and parser
nametime zone's unique name within the iCalendar object
countryCodeISO 3166 2-character country code, empty if unknown
latitudein degrees (between -90 and +90), UNKNOWN if not known
longitudein degrees (between -180 and +180), UNKNOWN if not known
commentdescription 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:
tzKTimeZone instance
earliestearliest 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:
callercalling 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
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.6.1
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