summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmimedata.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/corelib/kernel/qmimedata.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/corelib/kernel/qmimedata.cpp')
-rw-r--r--src/corelib/kernel/qmimedata.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/corelib/kernel/qmimedata.cpp b/src/corelib/kernel/qmimedata.cpp
index 6e571d2969..483692cdf8 100644
--- a/src/corelib/kernel/qmimedata.cpp
+++ b/src/corelib/kernel/qmimedata.cpp
@@ -363,8 +363,8 @@ void QMimeData::setUrls(const QList<QUrl> &urls)
}
/*!
- Returns true if the object can return a list of urls; otherwise
- returns false.
+ Returns \c true if the object can return a list of urls; otherwise
+ returns \c false.
URLs correspond to the MIME type \c text/uri-list.
@@ -402,8 +402,8 @@ void QMimeData::setText(const QString &text)
}
/*!
- Returns true if the object can return plain text (MIME type \c
- text/plain); otherwise returns false.
+ Returns \c true if the object can return plain text (MIME type \c
+ text/plain); otherwise returns \c false.
\sa setText(), text(), hasHtml(), hasFormat()
*/
@@ -438,8 +438,8 @@ void QMimeData::setHtml(const QString &html)
}
/*!
- Returns true if the object can return HTML (MIME type \c
- text/html); otherwise returns false.
+ Returns \c true if the object can return HTML (MIME type \c
+ text/html); otherwise returns \c false.
\sa setHtml(), html(), hasFormat()
*/
@@ -484,7 +484,7 @@ void QMimeData::setImageData(const QVariant &image)
}
/*!
- Returns true if the object can return an image; otherwise returns
+ Returns \c true if the object can return an image; otherwise returns
false.
\sa setImageData(), imageData(), hasFormat()
@@ -528,8 +528,8 @@ void QMimeData::setColorData(const QVariant &color)
/*!
- Returns true if the object can return a color (MIME type \c
- application/x-color); otherwise returns false.
+ Returns \c true if the object can return a color (MIME type \c
+ application/x-color); otherwise returns \c false.
\sa setColorData(), colorData(), hasFormat()
*/
@@ -572,8 +572,8 @@ void QMimeData::setData(const QString &mimeType, const QByteArray &data)
}
/*!
- Returns true if the object can return data for the MIME type
- specified by \a mimeType; otherwise returns false.
+ Returns \c true if the object can return data for the MIME type
+ specified by \a mimeType; otherwise returns \c false.
For the most common types of data, you can call the higher-level
functions hasText(), hasHtml(), hasUrls(), hasImage(), and