summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsimplerichtext.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqsimplerichtext.3qt')
-rw-r--r--doc/man/man3/tqsimplerichtext.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqsimplerichtext.3qt b/doc/man/man3/tqsimplerichtext.3qt
index c1f02b62f..308c66354 100644
--- a/doc/man/man3/tqsimplerichtext.3qt
+++ b/doc/man/man3/tqsimplerichtext.3qt
@@ -17,7 +17,7 @@ TQSimpleRichText \- Small displayable piece of rich text
.BI "\fBTQSimpleRichText\fR ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )"
.br
.ti -1c
-.BI "\fBTQSimpleRichText\fR ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )"
+.BI "\fBTQSimpleRichText\fR ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = true )"
.br
.ti -1c
.BI "\fB~TQSimpleRichText\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. TQSimpleRichText always uses the default mime source factory (see TQMimeSourceFactory::defaultFactory()) to resolve those references. The context will then be used to calculate the absolute path. See TQMimeSourceFactory::makeAbsolute() for details.
.PP
The \fIsheet\fR is an optional style sheet. If it is 0, the default style sheet will be used (see TQStyleSheet::defaultSheet()).
-.SH "TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )"
+.SH "TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = true )"
Constructs a TQSimpleRichText from the rich text string \fItext\fR and the font \fIfnt\fR.
.PP
This is a slightly more complex constructor for TQSimpleRichText 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 TQColorGroup's TQColorGroup::link() color is used now.
@@ -127,7 +127,7 @@ See also setWidth().
Examples:
.)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp.
.SH "bool TQSimpleRichText::inText ( const TQPoint & pos ) const"
-Returns TRUE if \fIpos\fR is within a text line of the rich text object; otherwise returns FALSE.
+Returns true if \fIpos\fR is within a text line of the rich text object; otherwise returns false.
.SH "void TQSimpleRichText::setDefaultFont ( const TQFont & f )"
Sets the default font for the rich text object to \fIf\fR
.SH "void TQSimpleRichText::setWidth ( TQPainter * p, int w )"