From 4533cc994484a2308297e64e99af005fb4dca065 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Wed, 2 Oct 2013 16:51:05 +0200 Subject: 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 Reviewed-by: Jerome Pasion --- src/gui/kernel/qclipboard.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/gui/kernel/qclipboard.cpp') diff --git a/src/gui/kernel/qclipboard.cpp b/src/gui/kernel/qclipboard.cpp index f0b1f16ba2..3c2d36ce86 100644 --- a/src/gui/kernel/qclipboard.cpp +++ b/src/gui/kernel/qclipboard.cpp @@ -475,8 +475,8 @@ void QClipboard::setPixmap(const QPixmap &pixmap, Mode mode) /*! - Returns true if the clipboard supports mouse selection; otherwise - returns false. + Returns \c true if the clipboard supports mouse selection; otherwise + returns \c false. */ bool QClipboard::supportsSelection() const { @@ -484,8 +484,8 @@ bool QClipboard::supportsSelection() const } /*! - Returns true if the clipboard supports a separate search buffer; otherwise - returns false. + Returns \c true if the clipboard supports a separate search buffer; otherwise + returns \c false. */ bool QClipboard::supportsFindBuffer() const { @@ -493,8 +493,8 @@ bool QClipboard::supportsFindBuffer() const } /*! - Returns true if this clipboard object owns the clipboard data; - otherwise returns false. + Returns \c true if this clipboard object owns the clipboard data; + otherwise returns \c false. */ bool QClipboard::ownsClipboard() const { @@ -502,8 +502,8 @@ bool QClipboard::ownsClipboard() const } /*! - Returns true if this clipboard object owns the mouse selection - data; otherwise returns false. + Returns \c true if this clipboard object owns the mouse selection + data; otherwise returns \c false. */ bool QClipboard::ownsSelection() const { @@ -513,8 +513,8 @@ bool QClipboard::ownsSelection() const /*! \since 4.2 - Returns true if this clipboard object owns the find buffer data; - otherwise returns false. + Returns \c true if this clipboard object owns the find buffer data; + otherwise returns \c false. */ bool QClipboard::ownsFindBuffer() const { @@ -524,15 +524,15 @@ bool QClipboard::ownsFindBuffer() const /*! \internal \fn bool QClipboard::supportsMode(Mode mode) const; - Returns true if the clipboard supports the clipboard mode speacified by \a mode; - otherwise returns false. + Returns \c true if the clipboard supports the clipboard mode speacified by \a mode; + otherwise returns \c false. */ /*! \internal \fn bool QClipboard::ownsMode(Mode mode) const; - Returns true if the clipboard supports the clipboard data speacified by \a mode; - otherwise returns false. + Returns \c true if the clipboard supports the clipboard data speacified by \a mode; + otherwise returns \c false. */ /*! -- cgit v1.2.3