summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2010-08-02 08:53:25 (GMT)
committerJerome Pasion <jerome.pasion@nokia.com>2010-08-02 08:53:25 (GMT)
commitf0e49104a864b3f658e8cc0036b742b20ad84872 (patch)
tree8336c851152c69f8f99b73d2e942683459dec9ad
parenteb674c0ba34dfb9434c96d4e1376c02287fb367b (diff)
downloadQt-f0e49104a864b3f658e8cc0036b742b20ad84872.zip
Qt-f0e49104a864b3f658e8cc0036b742b20ad84872.tar.gz
Qt-f0e49104a864b3f658e8cc0036b742b20ad84872.tar.bz2
Fixed comment about all enums being accessible in QML. Fix for QTBUG-12527.
-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 e8cb36e..3822373 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