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

KDECore

KTimezoneDetails Class Reference

The KTimezoneDetails class contains extended functions related to a timezone. More...

#include <ktimezones.h>

Inherited by AbbreviationsMatch, and OffsetFind.

List of all members.


Public Member Functions

virtual void gotAbbreviation (int index, const QString &abbr)
virtual void gotHeader (unsigned ttIsGmtCnt, unsigned ttIsStdCnt, unsigned leapCnt, unsigned timeCnt, unsigned typeCnt, unsigned charCnt)
virtual void gotIsStandard (int index, bool isStandard)
virtual void gotIsUTC (int index, bool isUTC)
virtual void gotLeapAdjustment (int index, unsigned leapTime, unsigned leapSeconds)
virtual void gotLocalTime (int index, int gmtOff, bool isDst, unsigned abbrIndex)
virtual void gotLocalTimeIndex (int index, unsigned localTimeIndex)
virtual void gotTransitionTime (int index, unsigned transitionTime)
 KTimezoneDetails ()
virtual void parseEnded ()
virtual void parseStarted ()
virtual ~KTimezoneDetails ()

Detailed Description

The KTimezoneDetails class contains extended functions related to a timezone.

The parser must be customised by overriding the given virtual callbacks:

  • parseEnded()
  • parseStarted()
  • gotHeader()
  • gotTransitionTime()
  • gotLocalTimeIndex()
  • gotLocalTime()
  • gotAbbreviation()
  • gotLeapAdjustment()
  • gotIsStandard()
  • gotIsUTC()

See also:
KTimezone
Since:
3.5
Author:
S.R.Haque <srhaque@iee.org>.

Definition at line 225 of file ktimezones.h.


Constructor & Destructor Documentation

KTimezoneDetails::KTimezoneDetails (  ) 

Definition at line 634 of file ktimezones.cpp.

KTimezoneDetails::~KTimezoneDetails (  )  [virtual]

Definition at line 638 of file ktimezones.cpp.


Member Function Documentation

void KTimezoneDetails::gotAbbreviation ( int  index,
const QString &  abbr 
) [virtual]

Called when a timezone abbreviation is seen.

Note that the index here is NOT a simple incrementing integer, rather it matches the sequence of abbrIndex values from gotLocalTime().

Definition at line 642 of file ktimezones.cpp.

void KTimezoneDetails::gotHeader ( unsigned  ttIsGmtCnt,
unsigned  ttIsStdCnt,
unsigned  leapCnt,
unsigned  timeCnt,
unsigned  typeCnt,
unsigned  charCnt 
) [virtual]

Called when the header is seen.

Definition at line 645 of file ktimezones.cpp.

void KTimezoneDetails::gotIsStandard ( int  index,
bool  isStandard 
) [virtual]

Called when a standard/wall time indicator is seen.

Definition at line 659 of file ktimezones.cpp.

void KTimezoneDetails::gotIsUTC ( int  index,
bool  isUTC 
) [virtual]

Called when a UTC/local time indicator is seen.

Definition at line 665 of file ktimezones.cpp.

void KTimezoneDetails::gotLeapAdjustment ( int  index,
unsigned  leapTime,
unsigned  leapSeconds 
) [virtual]

Called when a leap second adjustment is seen.

Definition at line 650 of file ktimezones.cpp.

void KTimezoneDetails::gotLocalTime ( int  index,
int  gmtOff,
bool  isDst,
unsigned  abbrIndex 
) [virtual]

Called when a local time is seen.

Definition at line 653 of file ktimezones.cpp.

void KTimezoneDetails::gotLocalTimeIndex ( int  index,
unsigned  localTimeIndex 
) [virtual]

Called when a local time index is seen.

Definition at line 656 of file ktimezones.cpp.

void KTimezoneDetails::gotTransitionTime ( int  index,
unsigned  transitionTime 
) [virtual]

Called when a transition time is seen.

Definition at line 662 of file ktimezones.cpp.

void KTimezoneDetails::parseEnded (  )  [virtual]

Always called after all other callbacks.

Definition at line 668 of file ktimezones.cpp.

void KTimezoneDetails::parseStarted (  )  [virtual]

Always called before any other callback.

Definition at line 671 of file ktimezones.cpp.


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

KDECore

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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