• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDECore

KSystemTimeZoneData Class Reference

#include <ksystemtimezone.h>

Inheritance diagram for KSystemTimeZoneData:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 404 of file ksystemtimezone.h.


Public Member Functions

virtual QByteArray abbreviation (const QDateTime &utcDateTime) const
virtual QList< QByteArray > abbreviations () const
virtual KTimeZoneData * clone () const
 KSystemTimeZoneData (const KSystemTimeZoneData &)
 KSystemTimeZoneData ()
KSystemTimeZoneData & operator= (const KSystemTimeZoneData &)
virtual QList< int > utcOffsets () const
virtual ~KSystemTimeZoneData ()

Constructor & Destructor Documentation

KSystemTimeZoneData::KSystemTimeZoneData (  ) 

Definition at line 699 of file ksystemtimezone.cpp.

KSystemTimeZoneData::KSystemTimeZoneData ( const KSystemTimeZoneData &  rhs  ) 

Copy constructor; no special ownership assumed.

Definition at line 703 of file ksystemtimezone.cpp.

KSystemTimeZoneData::~KSystemTimeZoneData (  )  [virtual]

Definition at line 710 of file ksystemtimezone.cpp.


Member Function Documentation

QByteArray KSystemTimeZoneData::abbreviation ( const QDateTime &  utcDateTime  )  const [virtual]

Returns the time zone abbreviation current at a specified time.

Parameters:
utcDateTime UTC date/time. An error occurs if utcDateTime.timeSpec() is not Qt::UTC.
Returns:
time zone abbreviation, or empty string if error
See also:
abbreviations()

Reimplemented from KTimeZoneData.

Definition at line 732 of file ksystemtimezone.cpp.

QList< QByteArray > KSystemTimeZoneData::abbreviations (  )  const [virtual]

Returns the complete list of time zone abbreviations.

Returns:
the list of abbreviations

Reimplemented from KTimeZoneData.

Definition at line 727 of file ksystemtimezone.cpp.

KTimeZoneData * KSystemTimeZoneData::clone (  )  const [virtual]

Creates a new copy of this object.

The caller is responsible for deleting the copy. Derived classes must reimplement this method to return a copy of the calling instance

Returns:
copy of this instance. This is a KSystemTimeZoneData pointer.

Reimplemented from KTimeZoneData.

Definition at line 722 of file ksystemtimezone.cpp.

KSystemTimeZoneData & KSystemTimeZoneData::operator= ( const KSystemTimeZoneData &  rhs  ) 

Assignment; no special ownership assumed.

Everything is value based.

Definition at line 715 of file ksystemtimezone.cpp.

QList< int > KSystemTimeZoneData::utcOffsets (  )  const [virtual]

Returns the complete list of UTC offsets for the time zone.

For system time zones, significant processing would be required to obtain such a list, so instead an empty list is returned.

Returns:
empty list

Reimplemented from KTimeZoneData.

Definition at line 768 of file ksystemtimezone.cpp.


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

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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