summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqsimplerichtext.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-20 20:15:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-21 23:04:19 +0900
commit1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch)
tree5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/man/man3/tqsimplerichtext.3qt
parent14c414378d96f7463b989384f4a0e5dd76632b6d (diff)
downloadtqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz
tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqsimplerichtext.3qt')
-rw-r--r--doc/man/man3/tqsimplerichtext.3qt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqsimplerichtext.3qt b/doc/man/man3/tqsimplerichtext.3qt
index 30e1fc782..6b4208e96 100644
--- a/doc/man/man3/tqsimplerichtext.3qt
+++ b/doc/man/man3/tqsimplerichtext.3qt
@@ -44,19 +44,19 @@ QSimpleRichText \- Small displayable piece of rich text
.BI "void \fBadjustSize\fR ()"
.br
.ti -1c
-.BI "void \fBdraw\fR ( TQPainter * p, int x, int y, const QRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const"
+.BI "void \fBdraw\fR ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const"
.br
.ti -1c
-.BI "void draw ( TQPainter * p, int x, int y, const QRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const \fI(obsolete)\fR"
+.BI "void draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const \fI(obsolete)\fR"
.br
.ti -1c
.BI "TQString \fBcontext\fR () const"
.br
.ti -1c
-.BI "TQString \fBanchorAt\fR ( const QPoint & pos ) const"
+.BI "TQString \fBanchorAt\fR ( const TQPoint & pos ) const"
.br
.ti -1c
-.BI "bool \fBinText\fR ( const QPoint & pos ) const"
+.BI "bool \fBinText\fR ( const TQPoint & pos ) const"
.br
.in -1c
.SH DESCRIPTION
@@ -104,18 +104,18 @@ Destroys the rich text object, freeing memory.
Adjusts the richt text object to a reasonable size.
.PP
See also setWidth().
-.SH "TQString QSimpleRichText::anchorAt ( const QPoint & pos ) const"
+.SH "TQString QSimpleRichText::anchorAt ( const TQPoint & 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 "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 ( TQPainter * p, int x, int y, const QRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const"
+.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * 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.
.PP
Note that the display code is highly optimized to reduce flicker, so passing a brush for \fIpaper\fR is preferable to simply clearing the area to be painted and then calling this without a brush.
.PP
Examples:
.)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp.
-.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const QRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const"
+.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Use the version with clipRect instead. The region version has problems with larger documents on some platforms (on X11 regions internally are represented with 16bit coordinates).
@@ -126,14 +126,14 @@ See also setWidth().
.PP
Examples:
.)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp.
-.SH "bool QSimpleRichText::inText ( const QPoint & pos ) const"
+.SH "bool QSimpleRichText::inText ( const TQPoint & pos ) const"
Returns TRUE if \fIpos\fR is within a text line of the rich text object; otherwise returns FALSE.
.SH "void QSimpleRichText::setDefaultFont ( const TQFont & f )"
Sets the default font for the rich text object to \fIf\fR
.SH "void QSimpleRichText::setWidth ( TQPainter * p, int w )"
Sets the width of the rich text object to \fIw\fR pixels, recalculating the layout as if it were to be drawn with painter \fIp\fR.
.PP
-Passing a painter is useful when you intend drawing on devices other than the screen, for example a QPrinter.
+Passing a painter is useful when you intend drawing on devices other than the screen, for example a TQPrinter.
.PP
See also height() and adjustSize().
.PP