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

KCalCore Library

  • KCalCore
  • ICalTimeZoneBackend
Public Member Functions | Protected Member Functions
KCalCore::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

Protected Member Functions

virtual void virtual_hook (int id, void *data)

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

KCalCore::ICalTimeZoneBackend::ICalTimeZoneBackend ( )

Implements ICalTimeZone::ICalTimeZone().

Definition at line 228 of file icaltimezones.cpp.

KCalCore::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 232 of file icaltimezones.cpp.

KCalCore::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 240 of file icaltimezones.cpp.


Member Function Documentation

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

Creates a copy of this instance.

Returns:
new copy

Definition at line 249 of file icaltimezones.cpp.

bool KCalCore::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 259 of file icaltimezones.cpp.

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

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

Returns:
"ICalTimeZone"

Definition at line 254 of file icaltimezones.cpp.

void KCalCore::ICalTimeZoneBackend::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Standard trick to add virtuals later.

Parameters:
idis any integer unique to this class which we will use to identify the method to be called.
datais a pointer to some glob of data, typically a struct.

Definition at line 265 of file icaltimezones.cpp.


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

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • 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.5
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