diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2013-10-02 16:51:05 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-08 00:46:27 +0200 |
commit | 4533cc994484a2308297e64e99af005fb4dca065 (patch) | |
tree | bc66283d11cdad100a1aec03f4e1d86bedc9a79e /src/widgets/dialogs/qfilesystemmodel.cpp | |
parent | 50dd0232b61d8ea3fb9aab18972c6e19678656e6 (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/dialogs/qfilesystemmodel.cpp')
-rw-r--r-- | src/widgets/dialogs/qfilesystemmodel.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/dialogs/qfilesystemmodel.cpp b/src/widgets/dialogs/qfilesystemmodel.cpp index c86c7ff931..6330d529fb 100644 --- a/src/widgets/dialogs/qfilesystemmodel.cpp +++ b/src/widgets/dialogs/qfilesystemmodel.cpp @@ -482,8 +482,8 @@ void QFileSystemModel::timerEvent(QTimerEvent *event) } /*! - Returns true if the model item \a index represents a directory; - otherwise returns false. + Returns \c true if the model item \a index represents a directory; + otherwise returns \c false. */ bool QFileSystemModel::isDir(const QModelIndex &index) const { @@ -1531,7 +1531,7 @@ QDir::Filters QFileSystemModel::filter() const This is only relevant on Windows. - By default, this property is true. + By default, this property is \c true. */ void QFileSystemModel::setResolveSymlinks(bool enable) { @@ -1558,7 +1558,7 @@ bool QFileSystemModel::resolveSymlinks() const If this property is set to false, the directory model will allow renaming, copying and deleting of files and directories. - This property is true by default + This property is \c true by default */ void QFileSystemModel::setReadOnly(bool enable) { @@ -1576,7 +1576,7 @@ bool QFileSystemModel::isReadOnly() const \property QFileSystemModel::nameFilterDisables \brief Whether files that don't pass the name filter are hidden or disabled - This property is true by default + This property is \c true by default */ void QFileSystemModel::setNameFilterDisables(bool enable) { @@ -1971,7 +1971,7 @@ void QFileSystemModelPrivate::init() /*! \internal - Returns false if node doesn't pass the filters otherwise true + Returns \c false if node doesn't pass the filters otherwise true QDir::Modified is not supported QDir::Drives is not supported @@ -2020,7 +2020,7 @@ bool QFileSystemModelPrivate::filtersAcceptsNode(const QFileSystemNode *node) co /* \internal - Returns true if node passes the name filters and should be visible. + Returns \c true if node passes the name filters and should be visible. */ bool QFileSystemModelPrivate::passNameFilters(const QFileSystemNode *node) const { |