• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KCal Library

  • KCal
  • ICalTimeZoneData
Public Member Functions | List of all members
KCal::ICalTimeZoneData Class Reference

#include <icaltimezones.h>

Inherits KTimeZoneData.

Public Member Functions

 ICalTimeZoneData ()
 
 ICalTimeZoneData (const ICalTimeZoneData &rhs)
 
 ICalTimeZoneData (const KTimeZoneData &rhs, const KTimeZone &tz, const QDate &earliest)
 
virtual ~ICalTimeZoneData ()
 
QString city () const
 
virtual KTimeZoneData * clone () const
 
virtual bool hasTransitions () const
 
icaltimezone * icalTimezone () const
 
QDateTime lastModified () const
 
ICalTimeZoneData & operator= (const ICalTimeZoneData &rhs)
 
QByteArray url () const
 
QByteArray vtimezone () const
 

Detailed Description

Parsed iCalendar VTIMEZONE data.

This class is used by the ICalTimeZoneSource class to pass parsed data to an ICalTimeZone intance.

Parsed iCalendar time zone data

See also
ICalTimeZone, ICalTimeZoneSource
Author
David Jarvie softw.nosp@m.are@.nosp@m.astro.nosp@m.jar..nosp@m.org.u.nosp@m.k.

Definition at line 434 of file icaltimezones.h.

Constructor & Destructor Documentation

KCal::ICalTimeZoneData::ICalTimeZoneData ( )

Default constructor.

Definition at line 318 of file icaltimezones.cpp.

KCal::ICalTimeZoneData::ICalTimeZoneData ( const ICalTimeZoneData &  rhs)

Copy constructor.

Parameters
rhsinstance to copy from

Definition at line 323 of file icaltimezones.cpp.

KCal::ICalTimeZoneData::ICalTimeZoneData ( const KTimeZoneData &  rhs,
const KTimeZone &  tz,
const QDate &  earliest 
)

Constructor which converts a KTimeZoneData to an ICalTimeZoneData instance.

If data is for a system time zone (i.e. tz is a KSystemTimeZone instance), the full time zone data is read from the system time zone database if possible; otherwise, the built-in libical time zone's data is used.

Parameters
rhsKTimeZoneData instance
tztime zone which rhs belongs to
earliestearliest date for which time zone data should be stored

Definition at line 333 of file icaltimezones.cpp.

KCal::ICalTimeZoneData::~ICalTimeZoneData ( )
virtual

Destructor.

Definition at line 621 of file icaltimezones.cpp.

Member Function Documentation

QString KCal::ICalTimeZoneData::city ( ) const

Returns the name of the city for this time zone, if any.

There is no fixed format for the name.

Returns
city name

Definition at line 646 of file icaltimezones.cpp.

KTimeZoneData * KCal::ICalTimeZoneData::clone ( ) const
virtual

Creates a new copy of this object.

The caller is responsible for deleting the copy.

Returns
copy of this instance

Definition at line 641 of file icaltimezones.cpp.

bool KCal::ICalTimeZoneData::hasTransitions ( ) const
virtual

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

Returns
true

Definition at line 683 of file icaltimezones.cpp.

icaltimezone * KCal::ICalTimeZoneData::icalTimezone ( ) const

Returns the ICal timezone structure which represents this time zone.

The caller is responsible for freeing the returned structure using icaltimezone_free().

Returns
icaltimezone structure

Definition at line 668 of file icaltimezones.cpp.

QDateTime KCal::ICalTimeZoneData::lastModified ( ) const

Returns the LAST-MODIFIED time of the VTIMEZONE, if any.

Returns
time, or QDateTime() if none

Definition at line 656 of file icaltimezones.cpp.

ICalTimeZoneData & KCal::ICalTimeZoneData::operator= ( const ICalTimeZoneData &  rhs)

Assignment operator.

Parameters
rhsinstance to copy from
Returns
this instance

Definition at line 626 of file icaltimezones.cpp.

QByteArray KCal::ICalTimeZoneData::url ( ) const

Returns the URL of the published VTIMEZONE definition, if any.

Returns
URL

Definition at line 651 of file icaltimezones.cpp.

QByteArray KCal::ICalTimeZoneData::vtimezone ( ) const

Returns the VTIMEZONE string which represents this time zone.

Returns
VTIMEZONE string

Definition at line 661 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:58 by doxygen 1.8.7 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
  • File Members
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



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