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/widgets/styles/qwindowsxpstyle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets/styles/qwindowsxpstyle.cpp') diff --git a/src/widgets/styles/qwindowsxpstyle.cpp b/src/widgets/styles/qwindowsxpstyle.cpp index 506a148d2f..63ed3ef7c8 100644 --- a/src/widgets/styles/qwindowsxpstyle.cpp +++ b/src/widgets/styles/qwindowsxpstyle.cpp @@ -169,7 +169,7 @@ static inline HDC hdcForWidgetBackingStore(const QWidget *widget) // Theme data helper ------------------------------------------------------------------------------ /* \internal - Returns true if the themedata is valid for use. + Returns \c true if the themedata is valid for use. */ bool XPThemeData::isValid() { @@ -399,7 +399,7 @@ const QPixmap *QWindowsXPStylePrivate::tabBody(QWidget *) } /*! \internal - Returns true if all the necessary theme engine symbols were + Returns \c true if all the necessary theme engine symbols were resolved. */ bool QWindowsXPStylePrivate::resolveSymbols() @@ -501,7 +501,7 @@ HBITMAP QWindowsXPStylePrivate::buffer(int w, int h) } /*! \internal - Returns true if the part contains any transparency at all. This does + Returns \c true if the part contains any transparency at all. This does not indicate what kind of transparency we're dealing with. It can be - Alpha transparency - Masked transparency @@ -572,7 +572,7 @@ void QWindowsXPStylePrivate::setTransparency(QWidget *widget, XPThemeData &theme } /*! \internal - Returns true if the native doublebuffer contains pixels with + Returns \c true if the native doublebuffer contains pixels with varying alpha value. */ bool QWindowsXPStylePrivate::hasAlphaChannel(const QRect &rect) -- cgit v1.2.3