Remove documentation for non-existent QTextEdit functions.

Change-Id: I92b67e676c78c641bfefc636efada22254e0bca3
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
This commit is contained in:
Mitch Curtis 2012-09-12 16:07:52 +02:00 committed by Qt by Nokia
parent 10b0146026
commit 8e95ede2a5

View File

@ -912,14 +912,6 @@ void QTextEdit::redo()
d->control->redo(); d->control->redo();
} }
/*!
\fn void QTextEdit::undo() const
\fn void QTextEdit::redo() const
\overload
Use the non-const overload instead.
*/
/*! /*!
\fn void QTextEdit::redo() \fn void QTextEdit::redo()
\since 4.2 \since 4.2
@ -2502,121 +2494,6 @@ void QTextEdit::ensureCursorVisible()
d->control->ensureCursorVisible(); d->control->ensureCursorVisible();
} }
/*!
\fn bool QTextEdit::find(const QString &exp, bool cs, bool wo)
Use the find() overload that takes a QTextDocument::FindFlags
argument.
*/
/*!
\fn void QTextEdit::sync()
Does nothing.
*/
/*!
\fn void QTextEdit::setBold(bool b)
Use setFontWeight() instead.
*/
/*!
\fn void QTextEdit::setUnderline(bool b)
Use setFontUnderline() instead.
*/
/*!
\fn void QTextEdit::setItalic(bool i)
Use setFontItalic() instead.
*/
/*!
\fn void QTextEdit::setFamily(const QString &family)
Use setFontFamily() instead.
*/
/*!
\fn void QTextEdit::setPointSize(int size)
Use setFontPointSize() instead.
*/
/*!
\fn bool QTextEdit::italic() const
Use fontItalic() instead.
*/
/*!
\fn bool QTextEdit::bold() const
Use fontWeight() >= QFont::Bold instead.
*/
/*!
\fn bool QTextEdit::underline() const
Use fontUnderline() instead.
*/
/*!
\fn QString QTextEdit::family() const
Use fontFamily() instead.
*/
/*!
\fn int QTextEdit::pointSize() const
Use int(fontPointSize()+0.5) instead.
*/
/*!
\fn bool QTextEdit::hasSelectedText() const
Use textCursor().hasSelection() instead.
*/
/*!
\fn QString QTextEdit::selectedText() const
Use textCursor().selectedText() instead.
*/
/*!
\fn bool QTextEdit::isUndoAvailable() const
Use document()->isUndoAvailable() instead.
*/
/*!
\fn bool QTextEdit::isRedoAvailable() const
Use document()->isRedoAvailable() instead.
*/
/*!
\fn void QTextEdit::insert(const QString &text)
Use insertPlainText() instead.
*/
/*!
\fn bool QTextEdit::isModified() const
Use document()->isModified() instead.
*/
/*!
\fn QColor QTextEdit::color() const
Use textColor() instead.
*/
/*! /*!
\fn void QTextEdit::textChanged() \fn void QTextEdit::textChanged()
@ -2638,29 +2515,6 @@ void QTextEdit::ensureCursorVisible()
(\a available is true) or unavailable (\a available is false). (\a available is true) or unavailable (\a available is false).
*/ */
/*!
\fn void QTextEdit::currentFontChanged(const QFont &font)
Use currentCharFormatChanged() instead.
*/
/*!
\fn void QTextEdit::currentColorChanged(const QColor &color)
Use currentCharFormatChanged() instead.
*/
/*!
\fn void QTextEdit::setModified(bool m)
Use document->setModified() instead.
*/
/*!
\fn void QTextEdit::setColor(const QColor &color)
Use setTextColor() instead.
*/
#endif // QT_NO_TEXTEDIT #endif // QT_NO_TEXTEDIT
QT_END_NAMESPACE QT_END_NAMESPACE