QTextEdit docs: fix qdoc warnings
qdoc insists picking Q_PROPERTY(T document) instead of the individually documented getter and setter Change-Id: I6f4981db205c5726d70cef4d85b7dfffe2b1fe31 Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
This commit is contained in:
parent
eb0e960e74
commit
ea77f41e5a
@ -730,15 +730,13 @@ Qt::Alignment QTextEdit::alignment() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Makes \a document the new document of the text editor.
|
\property QTextEdit::document
|
||||||
|
\brief the underlying document of the text editor.
|
||||||
|
|
||||||
\note The editor \e{does not take ownership of the document} unless it
|
\note The editor \e{does not take ownership of the document} unless it
|
||||||
is the document's parent object. The parent object of the provided document
|
is the document's parent object. The parent object of the provided document
|
||||||
remains the owner of the object.
|
remains the owner of the object. The editor does not delete any previously
|
||||||
|
assigned document, even if it is a child of the editor.
|
||||||
The editor does not delete the current document, even if it is a child of the editor.
|
|
||||||
|
|
||||||
\sa document()
|
|
||||||
*/
|
*/
|
||||||
void QTextEdit::setDocument(QTextDocument *document)
|
void QTextEdit::setDocument(QTextDocument *document)
|
||||||
{
|
{
|
||||||
@ -748,11 +746,6 @@ void QTextEdit::setDocument(QTextDocument *document)
|
|||||||
d->relayoutDocument();
|
d->relayoutDocument();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns a pointer to the underlying document.
|
|
||||||
|
|
||||||
\sa setDocument()
|
|
||||||
*/
|
|
||||||
QTextDocument *QTextEdit::document() const
|
QTextDocument *QTextEdit::document() const
|
||||||
{
|
{
|
||||||
Q_D(const QTextEdit);
|
Q_D(const QTextEdit);
|
||||||
|
Loading…
Reference in New Issue
Block a user