From 90aa3762d2db4ad184392afec3960973ea7280f1 Mon Sep 17 00:00:00 2001 From: konrad Date: Sat, 25 Dec 2010 04:58:09 +0000 Subject: [PATCH] fix docu tag git-svn-id: https://silmor.de/svn/softmagic/tzone/trunk@671 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- include/tzdata.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/tzdata.h b/include/tzdata.h index 72c1819..f958eb0 100644 --- a/include/tzdata.h +++ b/include/tzdata.h @@ -74,15 +74,15 @@ class TimeStamp /**creates a timestamp from QDateTime, it converts the QDateTime object to UTC before assigning it, most QDateTime objects created without specifying an explicit time zone are assigned local time by Qt; if the timestamp was of local time the timestamp then moves to the default zone, this may or may not match the zone set by the system, so the resulting timestamp may show time for a different zone \param ts timestamp to be converted*/ - TimeStamp(const QDateTime&); + TimeStamp(const QDateTime&ts); /**creates a timestamp from QDateTime, it ignores the settings of the ts object and uses isLocal to convert it into a UTC based timestamp \param ts timestamp to be converted \param isLocal if set to true the timestamp is interpreted to be of the default time zone*/ - TimeStamp(const QDateTime&,bool isLocal); + TimeStamp(const QDateTime&ts,bool isLocal); /**creates a timestamp from QDateTime, the settings of the ts object are ignored and it is interpreted to be in the given time zone \param ts timestamp to be converted \param zone the time zone this QDateTime is interpreted to represent, if it does not exist it is interpreted to be UTC*/ - TimeStamp(const QDateTime&,QString); + TimeStamp(const QDateTime&ts,QString zone); /**copies a timestamp*/ TimeStamp(const TimeStamp&); @@ -281,7 +281,7 @@ class TimeStamp /**sets the default time zone - all objects that are creates a "local" are regarded to be in this time zone, initially the system tries to guess what the system local time zone is; if setting fails the default will be UTC afterwards \returns true if the new zone is valid, otherwise resets the local zone to UTC \param zone the Olsen name of the local zone, "UTC" will set the local zone to UTC, an empty string will try to guess the system default*/ - static bool setDefaultZone(QString); + static bool setDefaultZone(QString zone); /**returns the name of the current default time zone; returns "UTC" as a fallback*/ static QString defaultZone(); -- 1.7.2.5