diff options
Diffstat (limited to 'doc/man/man3/tqsimplerichtext.3qt')
| -rw-r--r-- | doc/man/man3/tqsimplerichtext.3qt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqsimplerichtext.3qt b/doc/man/man3/tqsimplerichtext.3qt index f08bf3796..c79e47847 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 = TQt::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 = TQt::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. @@ -127,7 +127,7 @@ See also setWidth(). Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. .SH "bool QSimpleRichText::inText ( const QPoint & 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 QSimpleRichText::setDefaultFont ( const QFont & f )" Sets the default font for the rich text object to \fIf\fR .SH "void QSimpleRichText::setWidth ( QPainter * p, int w )" |
