summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2017-03-16 11:38:52 +0100
committerMartin Smith <martin.smith@qt.io>2017-12-06 07:12:44 +0000
commite827fec40f13fa3ce96d8af4f545a3456df550c8 (patch)
tree2cf8b999bbf992f5756509c48c79c58c628828ce /src/gui
parent929ea503938dd1a7b2873b87fd6bb239e2349f3c (diff)
doc: Add class qualifiers to parameter types
This change supplies several missing class qualifiers for parameter types and function return types. Change-Id: I569026e4da0948902fcc13557003d3748b85dd82 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/image/qimage.cpp4
-rw-r--r--src/gui/text/qtextdocument.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp
index 423185494c..209d011e7b 100644
--- a/src/gui/image/qimage.cpp
+++ b/src/gui/image/qimage.cpp
@@ -2134,8 +2134,8 @@ QImage QImage::convertToFormat(Format format, const QVector<QRgb> &colorTable, Q
/*!
\since 5.9
- Changes the \a format of the image without changing the data. Only
- works between formats of the same depth.
+ Changes the format of the image to \a format without changing the
+ data. Only works between formats of the same depth.
Returns \c true if successful.
diff --git a/src/gui/text/qtextdocument.cpp b/src/gui/text/qtextdocument.cpp
index db0650d154..15ce60fb4a 100644
--- a/src/gui/text/qtextdocument.cpp
+++ b/src/gui/text/qtextdocument.cpp
@@ -74,6 +74,8 @@ QT_BEGIN_NAMESPACE
Q_CORE_EXPORT Q_DECL_CONST_FUNCTION unsigned int qt_int_sqrt(unsigned int n);
/*!
+ \fn bool Qt::mightBeRichText(const QString& text)
+
Returns \c true if the string \a text is likely to be rich text;
otherwise returns \c false.
@@ -144,6 +146,8 @@ bool Qt::mightBeRichText(const QString& text)
/*!
+ \fn QString Qt::convertFromPlainText(const QString &plain, Qt::WhiteSpaceMode mode)
+
Converts the plain text string \a plain to an HTML-formatted
paragraph while preserving most of its look.