summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextoption.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-02-02 02:41:42 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-02-02 02:41:42 (GMT)
commit662666a5d4d114f91dbed8cbe3ce46fddfe3c82b (patch)
tree0b72d67d46bf1693e1b3e2b8669fef8c8c89e766 /src/gui/text/qtextoption.cpp
parent35a211cd95e0d09ef0b547b57f01f0a9ff41da2f (diff)
parent64ca7030df6189a0bc4df36473befd868c8d2ef6 (diff)
downloadQt-662666a5d4d114f91dbed8cbe3ce46fddfe3c82b.zip
Qt-662666a5d4d114f91dbed8cbe3ce46fddfe3c82b.tar.gz
Qt-662666a5d4d114f91dbed8cbe3ce46fddfe3c82b.tar.bz2
Merge branch '4.6' of git://scm.dev.nokia.troll.no/qt/qt into kinetic-declarativeui
Conflicts: tools/linguist/lupdate/main.cpp
Diffstat (limited to 'src/gui/text/qtextoption.cpp')
-rw-r--r--src/gui/text/qtextoption.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/text/qtextoption.cpp b/src/gui/text/qtextoption.cpp
index 0c8aeec..c1e254c 100644
--- a/src/gui/text/qtextoption.cpp
+++ b/src/gui/text/qtextoption.cpp
@@ -52,6 +52,9 @@ struct QTextOptionPrivate
/*!
Constructs a text option with default properties for text.
+ The text alignment property is set to Qt::AlignLeft. The
+ word wrap property is set to QTextOption::WordWrap. The
+ using of design metrics flag is set to false.
*/
QTextOption::QTextOption()
: align(Qt::AlignLeft),
@@ -67,6 +70,8 @@ QTextOption::QTextOption()
/*!
Constructs a text option with the given \a alignment for text.
+ The word wrap property is set to QTextOption::WordWrap. The using
+ of design metrics flag is set to false.
*/
QTextOption::QTextOption(Qt::Alignment alignment)
: align(alignment),