summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsimplerichtext.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-08 15:05:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-12 19:18:55 +0900
commit7bc57326e69b9c3f0eaeda63e4a49b67ba611426 (patch)
tree015fd18fdc62bce380935d546b677aa965b090c6 /doc/man/man3/tqsimplerichtext.3qt
parentccbc1c3572fd0e26480c1432fff55d2909545538 (diff)
downloadtqt3-7bc57326e69b9c3f0eaeda63e4a49b67ba611426.tar.gz
tqt3-7bc57326e69b9c3f0eaeda63e4a49b67ba611426.zip
Rename style nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqsimplerichtext.3qt')
-rw-r--r--doc/man/man3/tqsimplerichtext.3qt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqsimplerichtext.3qt b/doc/man/man3/tqsimplerichtext.3qt
index 834f3c16f..05c356171 100644
--- a/doc/man/man3/tqsimplerichtext.3qt
+++ b/doc/man/man3/tqsimplerichtext.3qt
@@ -14,10 +14,10 @@ QSimpleRichText \- Small displayable piece of rich text
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const QStyleSheet * sheet = 0 )"
+.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * 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 TQStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )"
.br
.ti -1c
.BI "\fB~QSimpleRichText\fR ()"
@@ -62,7 +62,7 @@ QSimpleRichText \- Small displayable piece of rich text
.SH DESCRIPTION
The QSimpleRichText class provides a small displayable piece of rich text.
.PP
-This class encapsulates simple rich text usage in which a string is interpreted as rich text and can be drawn. This is particularly useful if you want to display some rich text in a custom widget. A QStyleSheet is needed to interpret the tags and format the rich text. TQt provides a default HTML-like style sheet, but you may define custom style sheets.
+This class encapsulates simple rich text usage in which a string is interpreted as rich text and can be drawn. This is particularly useful if you want to display some rich text in a custom widget. A TQStyleSheet is needed to interpret the tags and format the rich text. TQt provides a default HTML-like style sheet, but you may define custom style sheets.
.PP
Once created, the rich text object can be queried for its width(), height(), and the actual width used (see widthUsed()). Most importantly, it can be drawn on any given QPainter with draw(). QSimpleRichText can also be used to implement hypertext or active text facilities by using anchorAt(). A hit test through inText() makes it possible to use simple rich text for text objects in editable drawing canvases.
.PP
@@ -74,7 +74,7 @@ If you are using QSimpleRichText to print in high resolution you should call set
.PP
See also Text Related Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const QStyleSheet * sheet = 0 )"
+.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )"
Constructs a QSimpleRichText from the rich text string \fItext\fR and the font \fIfnt\fR.
.PP
The font is used as a basis for the text rendering. When using rich text rendering on a widget \fIw\fR, you would normally specify the widget's font, for example:
@@ -87,15 +87,15 @@ The font is used as a basis for the text rendering. When using rich text renderi
.PP
\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 )"
+The \fIsheet\fR is an optional style sheet. If it is 0, the default style sheet will be used (see TQStyleSheet::defaultSheet()).
+.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context, const TQStyleSheet * 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.
.PP
\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()).
+The \fIsheet\fR is an optional style sheet. If it is 0, the default style sheet will be used (see TQStyleSheet::defaultSheet()).
.PP
This constructor is useful for creating a QSimpleRichText object suitable for printing. Set \fIpageBreak\fR to be the height of the contents area of the pages.
.SH "QSimpleRichText::~QSimpleRichText ()"