Merge QTextDocumentFragment::toHtml() overload per Qt 5 comment.
Change-Id: Ic8850684c2298b996354e27cc96ad6486d7a3679 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>bb10
parent
38d640ae67
commit
7f32f6d682
|
|
@ -372,18 +372,8 @@ QString QTextDocumentFragment::toPlainText() const
|
|||
return d->doc->toPlainText();
|
||||
}
|
||||
|
||||
// #### Qt 5: merge with other overload
|
||||
/*!
|
||||
\overload
|
||||
*/
|
||||
|
||||
#ifndef QT_NO_TEXTHTMLPARSER
|
||||
|
||||
QString QTextDocumentFragment::toHtml() const
|
||||
{
|
||||
return toHtml(QByteArray());
|
||||
}
|
||||
|
||||
/*!
|
||||
\since 4.2
|
||||
|
||||
|
|
|
|||
|
|
@ -69,8 +69,7 @@ public:
|
|||
|
||||
QString toPlainText() const;
|
||||
#ifndef QT_NO_TEXTHTMLPARSER
|
||||
QString toHtml() const;
|
||||
QString toHtml(const QByteArray &encoding) const;
|
||||
QString toHtml(const QByteArray &encoding = QByteArray()) const;
|
||||
#endif // QT_NO_TEXTHTMLPARSER
|
||||
|
||||
static QTextDocumentFragment fromPlainText(const QString &plainText);
|
||||
|
|
|
|||
Loading…
Reference in New Issue