summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtextedit.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-18 15:42:48 +0900
committerMichele Calgaro <[email protected]>2023-11-19 23:33:47 +0900
commit089d5266f0fbf9be6612e9c5f92a3f008f29241c (patch)
treee2c5625c37ba83b0848bbb212a45995ceec84139 /doc/man/man3/tqtextedit.3qt
parentd21227053cca7f565e2473a3fc0f8f8a07b298c2 (diff)
downloadtqt3-089d5266f0fbf9be6612e9c5f92a3f008f29241c.tar.gz
tqt3-089d5266f0fbf9be6612e9c5f92a3f008f29241c.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqtextedit.3qt')
-rw-r--r--doc/man/man3/tqtextedit.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqtextedit.3qt b/doc/man/man3/tqtextedit.3qt
index 0fe0d30d7..967de1cd3 100644
--- a/doc/man/man3/tqtextedit.3qt
+++ b/doc/man/man3/tqtextedit.3qt
@@ -555,7 +555,7 @@ QTextEdit can display images (using QMimeSourceFactory), lists and tables. If th
.PP
If you want a text browser with more navigation use QTextBrowser. If you just need to display a small piece of rich text use QLabel or QSimpleRichText.
.PP
-If you create a new QTextEdit, and want to allow the user to edit rich text, call setTextFormat(Qt::RichText) to ensure that the text is treated as rich text. (Rich text uses HTML tags to set text formatting attributes. See QStyleSheet 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(Qt::PlainText) to preserve such text.
+If you create a new QTextEdit, 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 QStyleSheet 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
Note that we do not intend to add a full-featured web browser widget to TQt (because that would easily double Qt's size and only a few applications would benefit from it). The rich text support in TQt is designed to provide a fast, portable and efficient way to add reasonable online help facilities to applications, and to provide a basis for rich text editors.
.SH "Using QTextEdit as a Display Widget"
@@ -639,7 +639,7 @@ Stylesheets can also be used in LogText mode. To create and use a custom tag, yo
.br
QTextEdit * log = new QTextEdit( this );
.br
- log->setTextFormat( Qt::LogText );
+ log->setTextFormat( TQt::LogText );
.br
QStyleSheetItem * item = new QStyleSheetItem( log->styleSheet(), "mytag" );
.br
@@ -1089,7 +1089,7 @@ This signal is emitted whenever the selection changes.
.PP
See also setSelection() and copyAvailable().
.SH "void QTextEdit::setAlignment ( int a )\fC [virtual slot]\fR"
-Sets the alignment of the current paragraph to \fIa\fR. Valid alignments are Qt::AlignLeft, Qt::AlignRight, Qt::AlignJustify and Qt::AlignCenter (which centers horizontally).
+Sets the alignment of the current paragraph to \fIa\fR. Valid alignments are TQt::AlignLeft, TQt::AlignRight, TQt::AlignJustify and TQt::AlignCenter (which centers horizontally).
.PP
Reimplemented in QMultiLineEdit.
.SH "void QTextEdit::setAutoFormatting ( uint features )"