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:47:08 +0900
commit541b90072523725854cb5d61f1bdce50dbcc6b31 (patch)
tree1452a8b6fbf1e91be0d2e5af7edf31b102b01fc6 /doc/man/man3/tqtextedit.3qt
parentd73937a9f779e2aafa6c392f94c9c29aa32b78fd (diff)
downloadtqt3-541b90072523725854cb5d61f1bdce50dbcc6b31.tar.gz
tqt3-541b90072523725854cb5d61f1bdce50dbcc6b31.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 089d5266f0fbf9be6612e9c5f92a3f008f29241c)
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 )"