summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-01-27 09:16:21 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-01-27 09:16:21 (GMT)
commita2c153f01c9b12eb6f1d46ffaf5533bb7b3695e2 (patch)
treeca34141ca0e310b480b8ef0339daafd8a58f5257 /src/gui
parentfdd5a4f3c18b47826ebe63d8753cd27164ad8169 (diff)
downloadQt-a2c153f01c9b12eb6f1d46ffaf5533bb7b3695e2.zip
Qt-a2c153f01c9b12eb6f1d46ffaf5533bb7b3695e2.tar.gz
Qt-a2c153f01c9b12eb6f1d46ffaf5533bb7b3695e2.tar.bz2
doc: Specified default values for constructors.
Task-number: QTBUG-7628
Diffstat (limited to 'src/gui')
-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),