diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-05-18 11:16:55 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-05-25 20:14:34 +0200 |
commit | f53e4b586012abbc7b3f9b71e7f891c52c347a23 (patch) | |
tree | 4438a2bf51f80290bdc682f9fb0a46e7ce27a20c /src/gui | |
parent | 057cce5e85d4f933bb64aa7824e01219f6b03160 (diff) |
doc: cross-link markdown functions in QTextDocumentFragment, QTextCursor
Followup to 7c7606460403e6495b860134f28e8d4d45c6c810
Task-number: QTBUG-76105
Change-Id: I15ec22fb2bb40dc7b0f6f685cb2dc77a08c89918
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qtextdocumentfragment.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/gui/text/qtextdocumentfragment.cpp b/src/gui/text/qtextdocumentfragment.cpp index 0bfcc976f1..0118c34c97 100644 --- a/src/gui/text/qtextdocumentfragment.cpp +++ b/src/gui/text/qtextdocumentfragment.cpp @@ -239,8 +239,8 @@ void QTextDocumentFragmentPrivate::insert(QTextCursor &_cursor) const static functions, fromPlainText() and fromHtml(). The contents of a document fragment can be obtained as raw text - by using the toRawText() function, or it can be obtained as HTML - with toHtml(). + by using the toRawText() function, as ASCII with toPlainText(), + as HTML with toHtml(), or as Markdown with toMarkdown(). */ /*! @@ -337,8 +337,7 @@ bool QTextDocumentFragment::isEmpty() const If you need the precise contents of the document, use toRawText() instead. - - \sa toHtml(), toRawText() + \sa toHtml(), toMarkdown(), toRawText() */ QString QTextDocumentFragment::toPlainText() const { @@ -353,7 +352,7 @@ QString QTextDocumentFragment::toPlainText() const formatting information). \since 6.4 - \sa toHtml(), toPlainText() + \sa toHtml(), toMarkdown(), toPlainText() */ QString QTextDocumentFragment::toRawText() const { @@ -370,7 +369,7 @@ QString QTextDocumentFragment::toRawText() const Returns the contents of the document fragment as HTML. - \sa toPlainText(), QTextDocument::toHtml() + \sa toPlainText(), toMarkdown(), QTextDocument::toHtml() */ QString QTextDocumentFragment::toHtml() const { |