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/network/kernel/qnetworkproxy.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/network/kernel/qnetworkproxy.cpp')
-rw-r--r-- | src/network/kernel/qnetworkproxy.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/network/kernel/qnetworkproxy.cpp b/src/network/kernel/qnetworkproxy.cpp index a38655d244..5cc41392b5 100644 --- a/src/network/kernel/qnetworkproxy.cpp +++ b/src/network/kernel/qnetworkproxy.cpp @@ -499,7 +499,7 @@ QNetworkProxy::~QNetworkProxy() /*! \since 4.4 - Compares the value of this network proxy to \a other and returns true + Compares the value of this network proxy to \a other and returns \c true if they are equal (same proxy type, server as well as username and password) */ bool QNetworkProxy::operator==(const QNetworkProxy &other) const @@ -511,7 +511,7 @@ bool QNetworkProxy::operator==(const QNetworkProxy &other) const \fn bool QNetworkProxy::operator!=(const QNetworkProxy &other) const \since 4.4 - Compares the value of this network proxy to \a other and returns true + Compares the value of this network proxy to \a other and returns \c true if they differ. \*/ @@ -588,7 +588,7 @@ QNetworkProxy::Capabilities QNetworkProxy::capabilities() const /*! \since 4.4 - Returns true if this proxy supports the + Returns \c true if this proxy supports the QNetworkProxy::CachingCapability capability. In Qt 4.4, the capability was tied to the proxy type, but since Qt @@ -605,7 +605,7 @@ bool QNetworkProxy::isCachingProxy() const /*! \since 4.4 - Returns true if this proxy supports transparent tunneling of TCP + Returns \c true if this proxy supports transparent tunneling of TCP connections. This matches the QNetworkProxy::TunnelingCapability capability. @@ -775,8 +775,8 @@ void QNetworkProxy::setHeader(QNetworkRequest::KnownHeaders header, const QVaria /*! \since 5.0 - Returns true if the raw header \a headerName is in use for this - proxy. Returns false if the proxy is not of type HttpProxy or + Returns \c true if the raw header \a headerName is in use for this + proxy. Returns \c false if the proxy is not of type HttpProxy or HttpCachingProxy. \sa rawHeader(), setRawHeader() @@ -1165,7 +1165,7 @@ QNetworkProxyQuery &QNetworkProxyQuery::operator=(const QNetworkProxyQuery &othe */ /*! - Returns true if this QNetworkProxyQuery object contains the same + Returns \c true if this QNetworkProxyQuery object contains the same data as \a other. */ bool QNetworkProxyQuery::operator==(const QNetworkProxyQuery &other) const @@ -1176,7 +1176,7 @@ bool QNetworkProxyQuery::operator==(const QNetworkProxyQuery &other) const /*! \fn bool QNetworkProxyQuery::operator!=(const QNetworkProxyQuery &other) const - Returns true if this QNetworkProxyQuery object does not contain + Returns \c true if this QNetworkProxyQuery object does not contain the same data as \a other. */ |