summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetext_p_p.h
diff options
context:
space:
mode:
authorChristopher Ham <christopher.ham@nokia.com>2011-01-28 03:32:25 (GMT)
committerChristopher Ham <christopher.ham@nokia.com>2011-01-28 03:32:25 (GMT)
commit64c0ee4e5f1f05105ab6168ebb4cb188e8fd838f (patch)
tree2e0ffdfb7c9dbf702eed0609ebe46b77339b97e7 /src/declarative/graphicsitems/qdeclarativetext_p_p.h
parent57ddd7c69705dfbf3d06b8a0157e5e706120c818 (diff)
downloadQt-64c0ee4e5f1f05105ab6168ebb4cb188e8fd838f.zip
Qt-64c0ee4e5f1f05105ab6168ebb4cb188e8fd838f.tar.gz
Qt-64c0ee4e5f1f05105ab6168ebb4cb188e8fd838f.tar.bz2
Fixing right-to-left text in Text and TextInput
The Text and TextInput items should now automatically flip the alignment of right-to-left text. Autotests also added to ensure the text is on the correct side (added for TextInput also). Task-number: QTBUG-15880 Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetext_p_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetext_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetext_p_p.h b/src/declarative/graphicsitems/qdeclarativetext_p_p.h
index bae2d85..01e0ab5 100644
--- a/src/declarative/graphicsitems/qdeclarativetext_p_p.h
+++ b/src/declarative/graphicsitems/qdeclarativetext_p_p.h
@@ -66,7 +66,7 @@ QT_BEGIN_NAMESPACE
class QTextLayout;
class QTextDocumentWithImageResources;
-class QDeclarativeTextPrivate : public QDeclarativeImplicitSizeItemPrivate
+class Q_AUTOTEST_EXPORT QDeclarativeTextPrivate : public QDeclarativeImplicitSizeItemPrivate
{
Q_DECLARE_PUBLIC(QDeclarativeText)
public: