path: root/src/corelib/tools/qtimezone.h
diff options
authorJohn Layt <>2013-02-11 13:44:37 +0000
committerThe Qt Project <>2013-09-23 01:14:03 +0200
commit55f5b29d7975d7e642ec258e44ca23726e1dfa0d (patch)
treea962c946ed58690d67bba1982556f3cb97545969 /src/corelib/tools/qtimezone.h
parent8af776d4140c19baccb8e2767ed8b57cc79ccb06 (diff)
QDateTime - Add QTimeZone support
Add support to QDateTime for time zones using the new QTimeZone class. [ChangeLog][QtCore][QDateTime] Add support for a new Qt::TimeZone spec to be used with QTimeZone to define times in a specific time zone. Change-Id: I21bfa52a8ba8989b55bb74e025d1f2b2b623b2a7 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/corelib/tools/qtimezone.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qtimezone.h b/src/corelib/tools/qtimezone.h
index 5eeb22f8f3..1a6a923cf4 100644
--- a/src/corelib/tools/qtimezone.h
+++ b/src/corelib/tools/qtimezone.h
@@ -143,6 +143,8 @@ private:
friend Q_CORE_EXPORT QDataStream &operator<<(QDataStream &ds, const QTimeZone &tz);
friend class QTimeZonePrivate;
+ friend class QDateTime;
+ friend class QDateTimePrivate;
QSharedDataPointer<QTimeZonePrivate> d;