KDECore
#include <ktimezone_win.h>

Static Public Member Functions | |
static QStringList | listTimeZones () |
![]() | |
static QDateTime | fromTime_t (time_t t) |
static time_t | toTime_t (const QDateTime &utcDateTime) |
static KTimeZone | utc () |
Additional Inherited Members | |
![]() | |
static const int | InvalidOffset = 0x80000000 |
static const time_t | InvalidTime_t = 0x80000000 |
static const float | UNKNOWN = 1000.0 |
![]() | |
KTimeZone (KTimeZoneBackend *impl) | |
void | setData (KTimeZoneData *data, KTimeZoneSource *source=0) |
Detailed Description
The KSystemTimeZoneWindows class represents a time zone defined in the Windows registry.
It works in partnership with the KSystemTimeZoneSourceWindows class which reads and parses the time zone definitions from the Windows registry.
Represents a time zone defined in the Windows registry
- See also
- KSystemTimeZoneBackendWindows, KSystemTimeZoneSourceWindows, KSystemTimeZoneDataWindows
Definition at line 77 of file ktimezone_win.h.
Constructor & Destructor Documentation
◆ KSystemTimeZoneWindows()
KSystemTimeZoneWindows::KSystemTimeZoneWindows | ( | KTimeZoneSource * | source, |
const QString & | name | ||
) |
Creates a time zone.
- Parameters
-
source Windows registry reader and parser name time zone's unique name, which must be the tzfile path relative to the location specified for source
Definition at line 683 of file ktimezone_win.cpp.
◆ ~KSystemTimeZoneWindows()
|
inline |
Definition at line 89 of file ktimezone_win.h.
Member Function Documentation
◆ listTimeZones()
|
static |
Static helper method that lists all availalbe timezones on the system as per the information in the Windows registry.
Definition at line 687 of file ktimezone_win.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.