diff -r 5dc02b23752f -r 3e2da88830cd src/gui/text/qtextoption.cpp --- a/src/gui/text/qtextoption.cpp Tue Jul 06 15:10:48 2010 +0300 +++ b/src/gui/text/qtextoption.cpp Wed Aug 18 10:37:55 2010 +0300 @@ -65,7 +65,7 @@ tab(-1), d(0) { - direction = QApplication::layoutDirection(); + direction = Qt::LayoutDirectionAuto; } /*! @@ -145,7 +145,7 @@ \sa tabArray(), setTabStop(), setTabs() */ -void QTextOption::setTabArray(QList tabStops) +void QTextOption::setTabArray(QList tabStops) // Qt5: const ref { if (!d) d = new QTextOptionPrivate; @@ -165,7 +165,7 @@ \sa tabStops() */ -void QTextOption::setTabs(QList tabStops) +void QTextOption::setTabs(QList tabStops) // Qt5: const ref { if (!d) d = new QTextOptionPrivate; @@ -391,6 +391,17 @@ */ /*! + \fn Tab::Tab(qreal pos, TabType tabType, QChar delim = QChar()) + + Creates a tab with the given position, tab type, and delimiter + (\a pos, \a tabType, \a delim). + + \note \a delim is only used when \a tabType is DelimiterTab. + + \since 4.7 +*/ + +/*! \fn bool Tab::operator==(const Tab &other) const Returns true if tab \a other is equal to this tab;