summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util/qdeclarativeapplication.cpp')
-rw-r--r--src/declarative/util/qdeclarativeapplication.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativeapplication.cpp b/src/declarative/util/qdeclarativeapplication.cpp
index 7559aa9..7ecce1e 100644
--- a/src/declarative/util/qdeclarativeapplication.cpp
+++ b/src/declarative/util/qdeclarativeapplication.cpp
@@ -103,7 +103,7 @@ bool QDeclarativeApplication::active() const
}
/*!
- \qmlproperty bool Application::layoutDirection
+ \qmlproperty enumeration Application::layoutDirection
This property can be used to query the default layout direction of the
application. On system start-up, the default layout direction depends on the
@@ -113,8 +113,17 @@ bool QDeclarativeApplication::active() const
property to customize your application layouts to support both layout
directions. This property is readonly.
+ Possible values are:
+
+ \list
+ \o Qt.LeftToRight - Text and graphics elements should be positioned
+ from left to right.
+ \o Qt.RightToLeft - Text and graphics elements should be positioned
+ from right to left.
+ \endlist
+
*/
-bool QDeclarativeApplication::layoutDirection() const
+Qt::LayoutDirection QDeclarativeApplication::layoutDirection() const
{
Q_D(const QDeclarativeApplication);
return d->layoutDirection;