summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtextedit.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqtextedit.3qt')
-rw-r--r--doc/man/man3/tqtextedit.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqtextedit.3qt b/doc/man/man3/tqtextedit.3qt
index cf041bf7b..b990e3b25 100644
--- a/doc/man/man3/tqtextedit.3qt
+++ b/doc/man/man3/tqtextedit.3qt
@@ -192,7 +192,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView.
.BI "uint \fBautoFormatting\fR () const"
.br
.ti -1c
-.BI "QSyntaxHighlighter * \fBsyntaxHighlighter\fR () const"
+.BI "TQSyntaxHighlighter * \fBsyntaxHighlighter\fR () const"
.br
.in -1c
.SS "Public Slots"
@@ -539,7 +539,7 @@ l - l. Mode Command Notes Plain Text Editor setTextFormat(PlainText) Set text wi
.PP
<sup>1.</sup><small>A more complete API that supports setting margins, images, etc., is planned for a later TQt release.</small>
.PP
-TQTextEdit can be used as a syntax highlighting editor when used in conjunction with QSyntaxHighlighter.
+TQTextEdit can be used as a syntax highlighting editor when used in conjunction with TQSyntaxHighlighter.
.PP
We recommend that you always call setTextFormat() to set the mode you want to use. If you use AutoText then setText() and append() will try to determine whether the text they are given is plain text or rich text. If you use RichText then setText() and append() will assume that the text they are given is rich text. insert() simply inserts the text it is given.
.PP
@@ -553,7 +553,7 @@ The text edit documentation uses the following concepts:
.PP
TQTextEdit can display images (using TQMimeSourceFactory), lists and tables. If the text is too large to view within the text edit's viewport, scrollbars will appear. The text edit can load both plain text and HTML files (a subset of HTML 3.2 and 4). The rendering style and the set of valid tags are defined by a styleSheet(). Custom tags can be created and placed in a custom style sheet. Change the style sheet with setStyleSheet(); see TQStyleSheet for details. The images identified by image tags are displayed if they can be interpreted using the text edit's TQMimeSourceFactory; see setMimeSourceFactory().
.PP
-If you want a text browser with more navigation use TQTextBrowser. If you just need to display a small piece of rich text use QLabel or QSimpleRichText.
+If you want a text browser with more navigation use TQTextBrowser. If you just need to display a small piece of rich text use TQLabel or TQSimpleRichText.
.PP
If you create a new TQTextEdit, and want to allow the user to edit rich text, call setTextFormat(TQt::RichText) to ensure that the text is treated as rich text. (Rich text uses HTML tags to set text formatting attributes. See TQStyleSheet for information on the HTML tags that are supported.). If you don't call setTextFormat() explicitly the text edit will guess from the text itself whether it is rich text or plain text. This means that if the text looks like HTML or XML it will probably be interpreted as rich text, so you should call setTextFormat(TQt::PlainText) to preserve such text.
.PP
@@ -1215,8 +1215,8 @@ Examples:
TQTextEdit is optimized for large amounts text. One of its optimizations is to format only the visible text, formatting the rest on demand, e.g. as the user scrolls, so you don't usually need to call this function.
.PP
In some situations you may want to force the whole text to be formatted. For example, if after calling setText(), you wanted to know the height of the document (using contentsHeight()), you would call this function first.
-.SH "QSyntaxHighlighter * TQTextEdit::syntaxHighlighter () const"
-Returns the QSyntaxHighlighter set on this TQTextEdit. 0 is returned if no syntax highlighter is set.
+.SH "TQSyntaxHighlighter * TQTextEdit::syntaxHighlighter () const"
+Returns the TQSyntaxHighlighter set on this TQTextEdit. 0 is returned if no syntax highlighter is set.
.SH "bool TQTextEdit::tabChangesFocus () const"
Returns TRUE if TAB changes focus or is accepted as input; otherwise returns FALSE. See the "tabChangesFocus" property for details.
.SH "int TQTextEdit::tabStopWidth () const"