summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsimplerichtext.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 15:42:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-19 23:47:08 +0900
commit541b90072523725854cb5d61f1bdce50dbcc6b31 (patch)
tree1452a8b6fbf1e91be0d2e5af7edf31b102b01fc6 /doc/man/man3/tqsimplerichtext.3qt
parentd73937a9f779e2aafa6c392f94c9c29aa32b78fd (diff)
downloadtqt-541b9007.tar.gz
tqt-541b9007.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 089d5266f0fbf9be6612e9c5f92a3f008f29241c)
Diffstat (limited to 'doc/man/man3/tqsimplerichtext.3qt')
-rw-r--r--doc/man/man3/tqsimplerichtext.3qt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqsimplerichtext.3qt b/doc/man/man3/tqsimplerichtext.3qt
index a77058687..f08bf3796 100644
--- a/doc/man/man3/tqsimplerichtext.3qt
+++ b/doc/man/man3/tqsimplerichtext.3qt
@@ -17,7 +17,7 @@ QSimpleRichText \- Small displayable piece of rich text
.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const QStyleSheet * sheet = 0 )"
.br
.ti -1c
-.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = Qt::blue, bool linkUnderline = TRUE )"
+.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )"
.br
.ti -1c
.BI "\fB~QSimpleRichText\fR ()"
@@ -88,7 +88,7 @@ The font is used as a basis for the text rendering. When using rich text renderi
\fIcontext\fR is the optional context of the rich text object. This becomes important if \fItext\fR contains relative references, for example within image tags. QSimpleRichText always uses the default mime source factory (see QMimeSourceFactory::defaultFactory()) to resolve those references. The context will then be used to calculate the absolute path. See QMimeSourceFactory::makeAbsolute() for details.
.PP
The \fIsheet\fR is an optional style sheet. If it is 0, the default style sheet will be used (see QStyleSheet::defaultSheet()).
-.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = Qt::blue, bool linkUnderline = TRUE )"
+.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )"
Constructs a QSimpleRichText from the rich text string \fItext\fR and the font \fIfnt\fR.
.PP
This is a slightly more complex constructor for QSimpleRichText that takes an additional mime source factory \fIfactory\fR, a page break parameter \fIpageBreak\fR and a bool \fIlinkUnderline\fR. \fIlinkColor\fR is only provided for compatibility, but has no effect, as QColorGroup's QColorGroup::link() color is used now.