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

KCalCore Library

KCalCore::ICalTimeZoneBackend

KCalCore::ICalTimeZoneBackend Class Reference

Backend class for KICalTimeZone class. More...

#include <icaltimezones.h>

Inherits KTimeZoneBackend.

List of all members.

Public Member Functions

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

Definition at line 299 of file icaltimezones.h.


Constructor & Destructor Documentation

KCalCore::ICalTimeZoneBackend::ICalTimeZoneBackend (  ) 

Implements ICalTimeZone::ICalTimeZone().

Definition at line 225 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:
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 229 of file icaltimezones.cpp.

KCalCore::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 237 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 246 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:
caller calling ICalTimeZone object
Returns:
true

Definition at line 256 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 251 of file icaltimezones.cpp.

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

Standard trick to add virtuals later.

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

Definition at line 262 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
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class 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.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