summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextdocument.cpp
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/text/qtextdocument.cpp
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/text/qtextdocument.cpp')
-rw-r--r--src/gui/text/qtextdocument.cpp4
1 files changed, 4 insertions, 0 deletions
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.