KDECore
KTimezoneDetails Class Reference
The KTimezoneDetails class contains extended functions related to a timezone. More...
#include <ktimezones.h>
Inherited by AbbreviationsMatch, and OffsetFind.
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
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] |
void KTimezoneDetails::gotIsStandard | ( | int | index, | |
bool | isStandard | |||
) | [virtual] |
void KTimezoneDetails::gotIsUTC | ( | int | index, | |
bool | isUTC | |||
) | [virtual] |
void KTimezoneDetails::gotLeapAdjustment | ( | int | index, | |
unsigned | leapTime, | |||
unsigned | leapSeconds | |||
) | [virtual] |
void KTimezoneDetails::gotLocalTime | ( | int | index, | |
int | gmtOff, | |||
bool | isDst, | |||
unsigned | abbrIndex | |||
) | [virtual] |
void KTimezoneDetails::gotLocalTimeIndex | ( | int | index, | |
unsigned | localTimeIndex | |||
) | [virtual] |
void KTimezoneDetails::gotTransitionTime | ( | int | index, | |
unsigned | transitionTime | |||
) | [virtual] |
void KTimezoneDetails::parseEnded | ( | ) | [virtual] |
void KTimezoneDetails::parseStarted | ( | ) | [virtual] |
The documentation for this class was generated from the following files: