summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/accessible/widgets/complexwidgets.cpp4
-rw-r--r--src/plugins/accessible/widgets/simplewidgets.cpp2
-rw-r--r--src/plugins/imageformats/ico/qicohandler.cpp4
-rw-r--r--src/plugins/platforms/cocoa/qmacmime.mm4
-rw-r--r--src/plugins/platforms/ios/qiosglobal.mm2
-rw-r--r--src/plugins/platforms/windows/qwindowsmime.cpp4
-rw-r--r--src/plugins/platforms/xcb/qxcbwindow.cpp2
7 files changed, 11 insertions, 11 deletions
diff --git a/src/plugins/accessible/widgets/complexwidgets.cpp b/src/plugins/accessible/widgets/complexwidgets.cpp
index 9988e73da1..c0d62ccc16 100644
--- a/src/plugins/accessible/widgets/complexwidgets.cpp
+++ b/src/plugins/accessible/widgets/complexwidgets.cpp
@@ -226,8 +226,8 @@ QString QAccessibleTabBar::text(QAccessible::Text t) const
unselects it. If \a extend is true and the selection mode is not
\c Single and there is an existing selection, the selection is
extended to include all the items from the existing selection up
- to and including the item with index \a child. Returns true if a
- selection was made or extended; otherwise returns false.
+ to and including the item with index \a child. Returns \c true if a
+ selection was made or extended; otherwise returns \c false.
\sa selection(), clearSelection()
*/
diff --git a/src/plugins/accessible/widgets/simplewidgets.cpp b/src/plugins/accessible/widgets/simplewidgets.cpp
index 0112182a4b..e3e614d700 100644
--- a/src/plugins/accessible/widgets/simplewidgets.cpp
+++ b/src/plugins/accessible/widgets/simplewidgets.cpp
@@ -235,7 +235,7 @@ QToolButton *QAccessibleToolButton::toolButton() const
}
/*!
- Returns true if this tool button is a split button.
+ Returns \c true if this tool button is a split button.
*/
bool QAccessibleToolButton::isSplitButton() const
{
diff --git a/src/plugins/imageformats/ico/qicohandler.cpp b/src/plugins/imageformats/ico/qicohandler.cpp
index b1a674365d..77bb727a51 100644
--- a/src/plugins/imageformats/ico/qicohandler.cpp
+++ b/src/plugins/imageformats/ico/qicohandler.cpp
@@ -629,8 +629,8 @@ QList<QImage> ICOReader::read(QIODevice * device)
/*!
Writes all the QImages in the \a images list to the given \a
- device. Returns true if the images are written successfully;
- otherwise returns false.
+ device. Returns \c true if the images are written successfully;
+ otherwise returns \c false.
The first image in the list is stored as the first icon in the
device, and is therefore used as the default icon by applications.
diff --git a/src/plugins/platforms/cocoa/qmacmime.mm b/src/plugins/platforms/cocoa/qmacmime.mm
index 51c39357ea..b4634c8ad8 100644
--- a/src/plugins/platforms/cocoa/qmacmime.mm
+++ b/src/plugins/platforms/cocoa/qmacmime.mm
@@ -914,8 +914,8 @@ QList<QMacPasteboardMime*> QMacPasteboardMime::all(uchar t)
/*!
\fn bool QMacPasteboardMime::canConvert(const QString &mime, QString flav)
- Returns true if the convertor can convert (both ways) between
- \a mime and \a flav; otherwise returns false.
+ Returns \c true if the convertor can convert (both ways) between
+ \a mime and \a flav; otherwise returns \c false.
All subclasses must reimplement this pure virtual function.
*/
diff --git a/src/plugins/platforms/ios/qiosglobal.mm b/src/plugins/platforms/ios/qiosglobal.mm
index 537d63ae77..9b8462a6cc 100644
--- a/src/plugins/platforms/ios/qiosglobal.mm
+++ b/src/plugins/platforms/ios/qiosglobal.mm
@@ -48,7 +48,7 @@ QT_BEGIN_NAMESPACE
bool isQtApplication()
{
- // Returns true if the plugin is in full control of the whole application. This means
+ // Returns \c true if the plugin is in full control of the whole application. This means
// that we control the application delegate and the top view controller, and can take
// actions that impacts all parts of the application. The opposite means that we are
// embedded inside a native iOS application, and should be more focused on playing along
diff --git a/src/plugins/platforms/windows/qwindowsmime.cpp b/src/plugins/platforms/windows/qwindowsmime.cpp
index c1d75c2ad0..f62b8a6139 100644
--- a/src/plugins/platforms/windows/qwindowsmime.cpp
+++ b/src/plugins/platforms/windows/qwindowsmime.cpp
@@ -469,7 +469,7 @@ int QWindowsMime::registerMimeType(const QString &mime)
/*!
\fn bool QWindowsMime::canConvertFromMime(const FORMATETC &formatetc, const QMimeData *mimeData) const
- Returns true if the converter can convert from the \a mimeData to
+ Returns \c true if the converter can convert from the \a mimeData to
the format specified in \a formatetc.
All subclasses must reimplement this pure virtual function.
@@ -478,7 +478,7 @@ int QWindowsMime::registerMimeType(const QString &mime)
/*!
\fn bool QWindowsMime::canConvertToMime(const QString &mimeType, IDataObject *pDataObj) const
- Returns true if the converter can convert to the \a mimeType from
+ Returns \c true if the converter can convert to the \a mimeType from
the available formats in \a pDataObj.
All subclasses must reimplement this pure virtual function.
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp
index 1f5169e8d9..a0192510ee 100644
--- a/src/plugins/platforms/xcb/qxcbwindow.cpp
+++ b/src/plugins/platforms/xcb/qxcbwindow.cpp
@@ -156,7 +156,7 @@ enum QX11EmbedMessageType {
const long XEMBED_VERSION = 0;
-// Returns true if we should set WM_TRANSIENT_FOR on \a w
+// Returns \c true if we should set WM_TRANSIENT_FOR on \a w
static inline bool isTransient(const QWindow *w)
{
return w->type() == Qt::Dialog