Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.
QTextEdit::ActionBackspace | |
QTextEdit::ActionDelete | |
QTextEdit::ActionReturn | |
QTextEdit::ActionKill | |
QTextEdit::ActionWordBackspace | |
QTextEdit::ActionWordDelete |
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
Use fontWeight() >= QFont::Bold instead.
Use textColor() instead.
Use currentCharFormatChanged() instead.
Use currentCharFormatChanged() instead.
Use fontFamily() instead.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Use the find() overload that takes a QTextDocument::FindFlags argument.
Use textCursor().hasSelection() instead.
Use insertPlainText() instead.
Use document()->isModified() instead.
Use document()->isRedoAvailable() instead.
Use document()->isUndoAvailable() instead.
Use fontItalic() instead.
Use the QTextCursor() class instead.
Use int(fontPointSize()+0.5) instead.
Redoes the last operation.
If there is no operation to redo, i.e. there is no redo step in the undo/redo history, nothing happens.
See also undo().
###
Use textCursor().selectedText() instead.
Use setFontWeight() instead.
Use setTextColor() instead.
Use setFontFamily() instead.
Use setFontItalic() instead.
Use document->setModified() instead.
Use setFontPointSize() instead.
Sets the text edit's text. The text can be plain text or HTML and the text edit will try to guess the right format. Use setTextFormat() to avoid text edit's guessing.
Sets the text format to format f.
See also textFormat().
Use setFontUnderline() instead.
Does nothing.
Returns all the text in the text edit as plain text.
###
Returns the text format.
See also setTextFormat().
Use fontUnderline() instead.
Undoes the last operation.
If there is no operation to undo, i.e. there is no undo step in the undo/redo history, nothing happens.
See also redo().
###
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp2 |