diff options
author | Michele Calgaro <[email protected]> | 2024-06-08 12:56:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-08 12:56:43 +0900 |
commit | 0cf411b09cf5d8970b873a338a69eae98d5ce5d8 (patch) | |
tree | 107cf55759cc3138bb1e0035b479bcd92127403a /doc/man/man3/tqsyntaxhighlighter.3qt | |
parent | e6077c30d14e9d662e8843c554db86c0d366d0b6 (diff) | |
download | tqt3-0cf411b09cf5d8970b873a338a69eae98d5ce5d8.tar.gz tqt3-0cf411b09cf5d8970b873a338a69eae98d5ce5d8.zip |
Rename text nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqsyntaxhighlighter.3qt')
-rw-r--r-- | doc/man/man3/tqsyntaxhighlighter.3qt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqsyntaxhighlighter.3qt b/doc/man/man3/tqsyntaxhighlighter.3qt index d6cf2e718..15898d33f 100644 --- a/doc/man/man3/tqsyntaxhighlighter.3qt +++ b/doc/man/man3/tqsyntaxhighlighter.3qt @@ -7,7 +7,7 @@ .ad l .nh .SH NAME -QSyntaxHighlighter \- Base class for implementing QTextEdit syntax highlighters +QSyntaxHighlighter \- Base class for implementing TQTextEdit syntax highlighters .SH SYNOPSIS \fC#include <ntqsyntaxhighlighter.h>\fR .PP @@ -16,7 +16,7 @@ Inherits Qt. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSyntaxHighlighter\fR ( QTextEdit * textEdit )" +.BI "\fBQSyntaxHighlighter\fR ( TQTextEdit * textEdit )" .br .ti -1c .BI "virtual \fB~QSyntaxHighlighter\fR ()" @@ -34,7 +34,7 @@ Inherits Qt. .BI "void \fBsetFormat\fR ( int start, int count, const QFont & font )" .br .ti -1c -.BI "QTextEdit * \fBtextEdit\fR () const" +.BI "TQTextEdit * \fBtextEdit\fR () const" .br .ti -1c .BI "void \fBrehighlight\fR ()" @@ -44,17 +44,17 @@ Inherits Qt. .br .in -1c .SH DESCRIPTION -The QSyntaxHighlighter class is a base class for implementing QTextEdit syntax highlighters. +The QSyntaxHighlighter class is a base class for implementing TQTextEdit syntax highlighters. .PP -A syntax highligher automatically highlights parts of the text in a QTextEdit. Syntax highlighters are often used when the user is entering text in a specific format (for example, source code) and help the user to read the text and identify syntax errors. +A syntax highligher automatically highlights parts of the text in a TQTextEdit. Syntax highlighters are often used when the user is entering text in a specific format (for example, source code) and help the user to read the text and identify syntax errors. .PP -To provide your own syntax highlighting for QTextEdit, you must subclass QSyntaxHighlighter and reimplement highlightParagraph(). +To provide your own syntax highlighting for TQTextEdit, you must subclass QSyntaxHighlighter and reimplement highlightParagraph(). .PP -When you create an instance of your QSyntaxHighlighter subclass, pass it the QTextEdit that you want the syntax highlighting to be applied to. After this your highlightParagraph() function will be called automatically whenever necessary. Use your highlightParagraph() function to apply formatting (e.g. setting the font and color) to the text that is passed to it. +When you create an instance of your QSyntaxHighlighter subclass, pass it the TQTextEdit that you want the syntax highlighting to be applied to. After this your highlightParagraph() function will be called automatically whenever necessary. Use your highlightParagraph() function to apply formatting (e.g. setting the font and color) to the text that is passed to it. .PP See also Basic Widgets and Text Related Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSyntaxHighlighter::QSyntaxHighlighter ( QTextEdit * textEdit )" +.SH "QSyntaxHighlighter::QSyntaxHighlighter ( TQTextEdit * textEdit )" Constructs the QSyntaxHighlighter and installs it on \fItextEdit\fR. .PP It is the caller's responsibility to delete the QSyntaxHighlighter when it is no longer needed. @@ -90,8 +90,8 @@ The specified \fIfont\fR and \fIcolor\fR are applied to the text from position \ This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .SH "void QSyntaxHighlighter::setFormat ( int start, int count, const QFont & font )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "QTextEdit * QSyntaxHighlighter::textEdit () const" -Returns the QTextEdit on which this syntax highlighter is +.SH "TQTextEdit * QSyntaxHighlighter::textEdit () const" +Returns the TQTextEdit on which this syntax highlighter is installed .SH "SEE ALSO" |