summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsimplerichtext.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:42:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:42:20 +0900
commitb35e0845dc9b3c8b9a5e52a682c769f383933fae (patch)
treee4eeca8f6fe0ca87e774be98eabf89b4c7fca347 /doc/man/man3/tqsimplerichtext.3qt
parent1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff)
downloadtqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz
tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqsimplerichtext.3qt')
-rw-r--r--doc/man/man3/tqsimplerichtext.3qt16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man/man3/tqsimplerichtext.3qt b/doc/man/man3/tqsimplerichtext.3qt
index 998f69129..a77058687 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 QString & text, const QFont & fnt, const QString & context = QString::null, const QStyleSheet * sheet = 0 )"
+.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 QString & text, const QFont & fnt, const QString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const QColor & 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 = Qt::blue, bool linkUnderline = TRUE )"
.br
.ti -1c
.BI "\fB~QSimpleRichText\fR ()"
@@ -50,10 +50,10 @@ QSimpleRichText \- Small displayable piece of rich text
.BI "void draw ( QPainter * p, int x, int y, const QRegion & clipRegion, const QColorGroup & cg, const QBrush * paper = 0 ) const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QString \fBcontext\fR () const"
+.BI "TQString \fBcontext\fR () const"
.br
.ti -1c
-.BI "QString \fBanchorAt\fR ( const QPoint & pos ) const"
+.BI "TQString \fBanchorAt\fR ( const QPoint & pos ) const"
.br
.ti -1c
.BI "bool \fBinText\fR ( const QPoint & pos ) const"
@@ -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 QString & text, const QFont & fnt, const QString & context = QString::null, const QStyleSheet * sheet = 0 )"
+.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const QStyleSheet * 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:
@@ -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 QString & text, const QFont & fnt, const QString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const QColor & 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 = Qt::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.
@@ -104,9 +104,9 @@ Destroys the rich text object, freeing memory.
Adjusts the richt text object to a reasonable size.
.PP
See also setWidth().
-.SH "QString QSimpleRichText::anchorAt ( const QPoint & pos ) const"
+.SH "TQString QSimpleRichText::anchorAt ( const QPoint & pos ) const"
Returns the anchor at the requested position, \fIpos\fR. An empty string is returned if no anchor is specified for this position.
-.SH "QString QSimpleRichText::context () const"
+.SH "TQString QSimpleRichText::context () const"
Returns the context of the rich text object. If no context has been specified in the constructor, a null string is returned. The context is the path to use to look up relative links, such as image tags and anchor references.
.SH "void QSimpleRichText::draw ( QPainter * p, int x, int y, const QRect & clipRect, const QColorGroup & cg, const QBrush * paper = 0 ) const"
Draws the formatted text with painter \fIp\fR, at position (\fIx\fR, \fIy\fR), clipped to \fIclipRect\fR. The clipping rectangle is given in the rich text object's coordinates translated by (\fIx\fR, \fIy\fR). Passing an null rectangle results in no clipping. Colors from the color group \fIcg\fR are used as needed, and if not 0, \fI*paper\fR is used as the background brush.