From b63e2e270f79d76d5624e73eb6d05b1bbb55968f Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Mon, 4 Nov 2013 17:13:47 -0800 Subject: [PATCH] Remove time type documentation While the time type does technically exist, it cannot be created from QML. Pending a discussion about its future, the doc will be temporarily removed to avoid confusing people. Task-number: QTBUG-32295 Change-Id: Ic171a7f4a5d7c0515427a6d1d65bed0abcfe3643 Reviewed-by: Mitch Curtis Reviewed-by: Simon Hausmann --- src/qml/doc/src/qmltypereference.qdoc | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/src/qml/doc/src/qmltypereference.qdoc b/src/qml/doc/src/qmltypereference.qdoc index f592a18..61d4e67 100644 --- a/src/qml/doc/src/qmltypereference.qdoc +++ b/src/qml/doc/src/qmltypereference.qdoc @@ -111,36 +111,6 @@ to a \l{QtQml::Date}{Date} object. */ /*! -\qmlbasictype time -\ingroup qtqmlbasictypes -\ingroup qtquickbasictypes -\brief a time value. - -The \c time type refers to a time value. - -To create a \c time value, specified as "hh:mm:ss": - -\qml -MyTimePicker { time: "14:22:15" } -\endqml - -To read a time value returned from a C++ extension class, use -\l{QtQml::Qt::formatTime()}{Qt.formatTime()} and \l{QtQml::Qt::formatDateTime()}{Qt.formatDateTime()}. - -Note that when converting historical times to and from javascript that QDateTime and the JS Date object -have different methods of calculating historical daylight savings time application. This can lead to variations of one hour -when converting to historical local time. - -When integrating with C++, note that any QTime value -\l{qtqml-cppintegration-data.html}{passed into QML from C++} is automatically -converted into a \c time value, and vice-versa. - -This basic type is provided by the QML language. - -\sa {QML Basic Types} -*/ - -/*! \qmlbasictype point \ingroup qtqmlbasictypes \ingroup qtquickbasictypes -- 2.7.4