summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2010-08-02 08:53:25 (GMT)
committerToby Tomkins <toby.tomkins@nokia.com>2010-08-04 03:48:56 (GMT)
commit0263988be6c38c29067e98dac6eddaf27dd4030d (patch)
tree6a62aff2a717261175aef7df304be33af3428e7f /src/declarative/qml
parent57738be581e35649d5b32a8dd30c6f01826e8bc5 (diff)
downloadQt-0263988be6c38c29067e98dac6eddaf27dd4030d.zip
Qt-0263988be6c38c29067e98dac6eddaf27dd4030d.tar.gz
Qt-0263988be6c38c29067e98dac6eddaf27dd4030d.tar.bz2
Fixed comment about all enums being accessible in QML. Fix for QTBUG-12527.
(cherry picked from commit f0e49104a864b3f658e8cc0036b742b20ad84872)
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index cba4671..b2f3cd1 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -206,10 +206,9 @@ Text {
\section1 Enums
-The Qt object contains all enums in the Qt namespace. For example, you can
-access the \c AlignLeft member of the \c Qt::AlignmentFlag enum with \c Qt.AlignLeft.
+The Qt object contains enums that declared into Qt's Meta-Object System. For example, you can access
+the \c Leftbutton member of the \c Qt::MouseButton enum with \c Qt.LeftButton.
-For a full list of enums, see the \l{Qt Namespace} documentation.
\section1 Types
The Qt object also contains helper functions for creating objects of specific