summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qheaderview.cpp
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2013-10-02 16:51:05 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-08 00:46:27 +0200
commit4533cc994484a2308297e64e99af005fb4dca065 (patch)
treebc66283d11cdad100a1aec03f4e1d86bedc9a79e /src/widgets/itemviews/qheaderview.cpp
parent50dd0232b61d8ea3fb9aab18972c6e19678656e6 (diff)
Doc: Adding mark-up to boolean default values.
Default values should have mark-up to denote that they are code. This commit changes: -"property is true" to "property is \c true". -"Returns true" to "Returns \c true". -"property is false" to "property is \c false". -"returns true" to "returns \c true". -"returns false" to "returns \c false". src/3rdparty and non-documentation instances were ignored. Task-number: QTBUG-33360 Change-Id: Ie87eaa57af947caa1230602b61c5c46292a4cf4e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/widgets/itemviews/qheaderview.cpp')
-rw-r--r--src/widgets/itemviews/qheaderview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/widgets/itemviews/qheaderview.cpp b/src/widgets/itemviews/qheaderview.cpp
index 239cc84a0a..123594637a 100644
--- a/src/widgets/itemviews/qheaderview.cpp
+++ b/src/widgets/itemviews/qheaderview.cpp
@@ -294,7 +294,7 @@ static const int maxSizeSection = 1048575; // since section size is in a bitfiel
\property QHeaderView::highlightSections
\brief whether the sections containing selected items are highlighted
- By default, this property is false.
+ By default, this property is \c false.
*/
/*!
@@ -982,8 +982,8 @@ void QHeaderView::resizeSections(QHeaderView::ResizeMode mode)
*/
/*!
- Returns true if the section specified by \a logicalIndex is explicitly
- hidden from the user; otherwise returns false.
+ Returns \c true if the section specified by \a logicalIndex is explicitly
+ hidden from the user; otherwise returns \c false.
\sa hideSection(), showSection(), setSectionHidden(), hiddenSectionCount()
*/
@@ -1139,7 +1139,7 @@ void QHeaderView::setSectionsMovable(bool movable)
/*!
\since 5.0
- Returns true if the header can be moved by the user; otherwise returns
+ Returns \c true if the header can be moved by the user; otherwise returns
false.
\sa setSectionsMovable()
@@ -1189,7 +1189,7 @@ void QHeaderView::setSectionsClickable(bool clickable)
/*!
\since 5.0
- Returns true if the header is clickable; otherwise returns false. A
+ Returns \c true if the header is clickable; otherwise returns \c false. A
clickable header could be set up to allow the user to change the
representation of the data in the view related to the header.
@@ -1395,7 +1395,7 @@ int QHeaderView::stretchSectionCount() const
\property QHeaderView::showSortIndicator
\brief whether the sort indicator is shown
- By default, this property is false.
+ By default, this property is \c false.
\sa setSectionsClickable()
*/
@@ -1681,7 +1681,7 @@ void QHeaderView::doItemsLayout()
}
/*!
- Returns true if sections in the header has been moved; otherwise returns
+ Returns \c true if sections in the header has been moved; otherwise returns
false;
\sa moveSection()
@@ -1695,7 +1695,7 @@ bool QHeaderView::sectionsMoved() const
/*!
\since 4.1
- Returns true if sections in the header has been hidden; otherwise returns
+ Returns \c true if sections in the header has been hidden; otherwise returns
false;
\sa setSectionHidden()