• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • 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>.

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 05:05:36 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCal Library

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

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • 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
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