summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2010-06-05 19:10:08 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2010-06-09 22:07:15 (GMT)
commit0b06274858cab9cedace8e684d16664e49d5f814 (patch)
treead27f1c25495fba9d4469ad545cf7ce4de12e533 /src/corelib/global/qnamespace.h
parent17427887a2847acc74c61424e812aca0fea23226 (diff)
downloadQt-0b06274858cab9cedace8e684d16664e49d5f814.zip
Qt-0b06274858cab9cedace8e684d16664e49d5f814.tar.gz
Qt-0b06274858cab9cedace8e684d16664e49d5f814.tar.bz2
Introduce LayoutDirection Qt::LayoutDirectionAuto
Extend the enum to contains a value that can be used to hint that we would like to determine the text direction from the content. Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/corelib/global/qnamespace.h')
-rw-r--r--src/corelib/global/qnamespace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index a9c56f6..a12e121 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -1561,7 +1561,8 @@ public:
enum LayoutDirection {
LeftToRight,
- RightToLeft
+ RightToLeft,
+ LayoutDirectionAuto
};
enum AnchorPoint {