summaryrefslogtreecommitdiffstats
path: root/doc/man/man3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3')
-rw-r--r--doc/man/man3/tqcanvas.3qt158
-rw-r--r--doc/man/man3/tqcanvasellipse.3qt56
-rw-r--r--doc/man/man3/tqcanvasitem.3qt186
-rw-r--r--doc/man/man3/tqcanvasitemlist.3qt18
-rw-r--r--doc/man/man3/tqcanvasline.3qt38
-rw-r--r--doc/man/man3/tqcanvaspixmap.3qt50
-rw-r--r--doc/man/man3/tqcanvaspixmaparray.3qt66
-rw-r--r--doc/man/man3/tqcanvaspolygon.3qt50
-rw-r--r--doc/man/man3/tqcanvaspolygonalitem.3qt86
-rw-r--r--doc/man/man3/tqcanvasrectangle.3qt58
-rw-r--r--doc/man/man3/tqcanvasspline.3qt38
-rw-r--r--doc/man/man3/tqcanvassprite.3qt116
-rw-r--r--doc/man/man3/tqcanvastext.3qt68
-rw-r--r--doc/man/man3/tqcanvasview.3qt70
-rw-r--r--doc/man/man3/tqgridview.3qt2
-rw-r--r--doc/man/man3/tqobject.3qt2
-rw-r--r--doc/man/man3/tqpixmap.3qt2
-rw-r--r--doc/man/man3/tqscrollview.3qt4
-rw-r--r--doc/man/man3/tqt.3qt2
-rw-r--r--doc/man/man3/tqvaluelist.3qt2
-rw-r--r--doc/man/man3/tqwidget.3qt2
21 files changed, 537 insertions, 537 deletions
diff --git a/doc/man/man3/tqcanvas.3qt b/doc/man/man3/tqcanvas.3qt
index dc43b9923..4e7454599 100644
--- a/doc/man/man3/tqcanvas.3qt
+++ b/doc/man/man3/tqcanvas.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvas 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvas 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QCanvas \- 2D area that can contain QCanvasItem objects
+TQCanvas \- 2D area that can contain TQCanvasItem objects
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
Inherits TQObject.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvas\fR ( TQObject * parent = 0, const char * name = 0 )"
+.BI "\fBTQCanvas\fR ( TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBQCanvas\fR ( int w, int h )"
+.BI "\fBTQCanvas\fR ( int w, int h )"
.br
.ti -1c
-.BI "\fBQCanvas\fR ( QPixmap p, int h, int v, int tilewidth, int tileheight )"
+.BI "\fBTQCanvas\fR ( QPixmap p, int h, int v, int tilewidth, int tileheight )"
.br
.ti -1c
-.BI "virtual \fB~QCanvas\fR ()"
+.BI "virtual \fB~TQCanvas\fR ()"
.br
.ti -1c
.BI "virtual void \fBsetTiles\fR ( QPixmap p, int h, int v, int tilewidth, int tileheight )"
@@ -103,16 +103,16 @@ Inherits TQObject.
.BI "virtual void \fBsetUnchanged\fR ( const QRect & area )"
.br
.ti -1c
-.BI "QCanvasItemList \fBallItems\fR ()"
+.BI "TQCanvasItemList \fBallItems\fR ()"
.br
.ti -1c
-.BI "QCanvasItemList \fBcollisions\fR ( const QPoint & p ) const"
+.BI "TQCanvasItemList \fBcollisions\fR ( const QPoint & p ) const"
.br
.ti -1c
-.BI "QCanvasItemList \fBcollisions\fR ( const QRect & r ) const"
+.BI "TQCanvasItemList \fBcollisions\fR ( const QRect & r ) const"
.br
.ti -1c
-.BI "QCanvasItemList \fBcollisions\fR ( const QPointArray & chunklist, const QCanvasItem * item, bool exact ) const"
+.BI "TQCanvasItemList \fBcollisions\fR ( const QPointArray & chunklist, const TQCanvasItem * item, bool exact ) const"
.br
.ti -1c
.BI "void \fBdrawArea\fR ( const QRect & clip, QPainter * painter, bool dbuf = FALSE )"
@@ -152,13 +152,13 @@ Inherits TQObject.
.br
.in -1c
.SH DESCRIPTION
-The QCanvas class provides a 2D area that can contain QCanvasItem objects.
+The TQCanvas class provides a 2D area that can contain TQCanvasItem objects.
.PP
-The QCanvas class manages its 2D graphic area and all the canvas items the area contains. The canvas has no visual appearance of its own. Instead, it is displayed on screen using a QCanvasView. Multiple QCanvasView widgets may be associated with a canvas to provide multiple views of the same canvas.
+The TQCanvas class manages its 2D graphic area and all the canvas items the area contains. The canvas has no visual appearance of its own. Instead, it is displayed on screen using a TQCanvasView. Multiple TQCanvasView widgets may be associated with a canvas to provide multiple views of the same canvas.
.PP
The canvas is optimized for large numbers of items, particularly where only a small percentage of the items change at any one time. If the entire display changes very frequently, you should consider using your own custom QScrollView subclass.
.PP
-Qt provides a rich set of canvas item classes, e.g. QCanvasEllipse, QCanvasLine, QCanvasPolygon, QCanvasPolygonalItem, QCanvasRectangle, QCanvasSpline, QCanvasSprite and QCanvasText. You can subclass to create your own canvas items; QCanvasPolygonalItem is the most common base class used for this purpose.
+Qt provides a rich set of canvas item classes, e.g. TQCanvasEllipse, TQCanvasLine, TQCanvasPolygon, TQCanvasPolygonalItem, TQCanvasRectangle, TQCanvasSpline, TQCanvasSprite and TQCanvasText. You can subclass to create your own canvas items; TQCanvasPolygonalItem is the most common base class used for this purpose.
.PP
Items appear on the canvas after their show() function has been called (or setVisible(TRUE)), and \fIafter\fR update() has been called. The canvas only shows items that are visible, and then only if update() is called. (By default the canvas is white and so are canvas items, so if nothing appears try changing colors.)
.PP
@@ -172,13 +172,13 @@ Canvas items are usually much faster to manipulate and redraw than child widgets
It's easy to detect overlapping items (collision detection).
.IP
.TP
-The canvas can be larger than a widget. A million-by-million canvas is perfectly possible. At such a size a widget might be very inefficient, and some window systems might not support it at all, whereas QCanvas scales well. Even with a billion pixels and a million items, finding a particular canvas item, detecting collisions, etc., is still fast (though the memory consumption may be prohibitive at such extremes).
+The canvas can be larger than a widget. A million-by-million canvas is perfectly possible. At such a size a widget might be very inefficient, and some window systems might not support it at all, whereas TQCanvas scales well. Even with a billion pixels and a million items, finding a particular canvas item, detecting collisions, etc., is still fast (though the memory consumption may be prohibitive at such extremes).
.IP
.TP
-Two or more QCanvasView objects can view the same canvas.
+Two or more TQCanvasView objects can view the same canvas.
.IP
.TP
-An arbitrary transformation matrix can be set on each QCanvasView which makes it easy to zoom, rotate or shear the viewed canvas.
+An arbitrary transformation matrix can be set on each TQCanvasView which makes it easy to zoom, rotate or shear the viewed canvas.
.IP
.TP
Widgets provide a lot more functionality, such as input (QKeyEvent, QMouseEvent etc.) and layout management (QGridLayout etc.).
@@ -188,19 +188,19 @@ A canvas consists of a background, a number of canvas items organized by x, y an
.PP
The background is white by default, but can be set to a different color using setBackgroundColor(), or to a repeated pixmap using setBackgroundPixmap() or to a mosaic of smaller pixmaps using setTiles(). Individual tiles can be set with setTile(). There are corresponding get functions, e.g. backgroundColor() and backgroundPixmap().
.PP
-Note that QCanvas does not inherit from TQWidget, even though it has some functions which provide the same functionality as those in TQWidget. One of these is setBackgroundPixmap(); some others are resize(), size(), width() and height(). QCanvasView is the widget used to display a canvas on the screen.
+Note that TQCanvas does not inherit from TQWidget, even though it has some functions which provide the same functionality as those in TQWidget. One of these is setBackgroundPixmap(); some others are resize(), size(), width() and height(). TQCanvasView is the widget used to display a canvas on the screen.
.PP
-Canvas items are added to a canvas by constructing them and passing the canvas to the canvas item's constructor. An item can be moved to a different canvas using QCanvasItem::setCanvas().
+Canvas items are added to a canvas by constructing them and passing the canvas to the canvas item's constructor. An item can be moved to a different canvas using TQCanvasItem::setCanvas().
.PP
-Canvas items are movable (and in the case of QCanvasSprites, animated) objects that inherit QCanvasItem. Each canvas item has a position on the canvas (x, y coordinates) and a height (z coordinate), all of which are held as floating-point numbers. Moving canvas items also have x and y velocities. It's possible for a canvas item to be outside the canvas (for example QCanvasItem::x() is greater than width()). When a canvas item is off the canvas, onCanvas() returns FALSE and the canvas disregards the item. (Canvas items off the canvas do not slow down any of the common operations on the canvas.)
+Canvas items are movable (and in the case of TQCanvasSprites, animated) objects that inherit TQCanvasItem. Each canvas item has a position on the canvas (x, y coordinates) and a height (z coordinate), all of which are held as floating-point numbers. Moving canvas items also have x and y velocities. It's possible for a canvas item to be outside the canvas (for example TQCanvasItem::x() is greater than width()). When a canvas item is off the canvas, onCanvas() returns FALSE and the canvas disregards the item. (Canvas items off the canvas do not slow down any of the common operations on the canvas.)
.PP
-Canvas items can be moved with QCanvasItem::move(). The advance() function moves all QCanvasItem::animated() canvas items and setAdvancePeriod() makes QCanvas move them automatically on a periodic basis. In the context of the QCanvas classes, to `animate' a canvas item is to set it in motion, i.e. using QCanvasItem::setVelocity(). Animation of a canvas item itself, i.e. items which change over time, is enabled by calling QCanvasSprite::setFrameAnimation(), or more generally by subclassing and reimplementing QCanvasItem::advance(). To detect collisions use one of the QCanvasItem::collisions() functions.
+Canvas items can be moved with TQCanvasItem::move(). The advance() function moves all TQCanvasItem::animated() canvas items and setAdvancePeriod() makes TQCanvas move them automatically on a periodic basis. In the context of the TQCanvas classes, to `animate' a canvas item is to set it in motion, i.e. using TQCanvasItem::setVelocity(). Animation of a canvas item itself, i.e. items which change over time, is enabled by calling TQCanvasSprite::setFrameAnimation(), or more generally by subclassing and reimplementing TQCanvasItem::advance(). To detect collisions use one of the TQCanvasItem::collisions() functions.
.PP
-The changed parts of the canvas are redrawn (if they are visible in a canvas view) whenever update() is called. You can either call update() manually after having changed the contents of the canvas, or force periodic updates using setUpdatePeriod(). If you have moving objects on the canvas, you must call advance() every time the objects should move one step further. Periodic calls to advance() can be forced using setAdvancePeriod(). The advance() function will call QCanvasItem::advance() on every item that is animated and trigger an update of the affected areas afterwards. (A canvas item that is `animated' is simply a canvas item that is in motion.)
+The changed parts of the canvas are redrawn (if they are visible in a canvas view) whenever update() is called. You can either call update() manually after having changed the contents of the canvas, or force periodic updates using setUpdatePeriod(). If you have moving objects on the canvas, you must call advance() every time the objects should move one step further. Periodic calls to advance() can be forced using setAdvancePeriod(). The advance() function will call TQCanvasItem::advance() on every item that is animated and trigger an update of the affected areas afterwards. (A canvas item that is `animated' is simply a canvas item that is in motion.)
.PP
-QCanvas organizes its canvas items into \fIchunks\fR; these are areas on the canvas that are used to speed up most operations. Many operations start by eliminating most chunks (i.e. those which haven't changed) and then process only the canvas items that are in the few interesting (i.e. changed) chunks. A valid chunk, validChunk(), is one which is on the canvas.
+TQCanvas organizes its canvas items into \fIchunks\fR; these are areas on the canvas that are used to speed up most operations. Many operations start by eliminating most chunks (i.e. those which haven't changed) and then process only the canvas items that are in the few interesting (i.e. changed) chunks. A valid chunk, validChunk(), is one which is on the canvas.
.PP
-The chunk size is a key factor to QCanvas's speed: if there are too many chunks, the speed benefit of grouping canvas items into chunks is reduced. If the chunks are too large, it takes too long to process each one. The QCanvas constructor tries to pick a suitable size, but you can call retune() to change it at any time. The chunkSize() function returns the current chunk size. The canvas items always make sure they're in the right chunks; all you need to make sure of is that the canvas uses the right chunk size. A good rule of thumb is that the size should be a bit smaller than the average canvas item size. If you have moving objects, the chunk size should be a bit smaller than the average size of the moving items.
+The chunk size is a key factor to TQCanvas's speed: if there are too many chunks, the speed benefit of grouping canvas items into chunks is reduced. If the chunks are too large, it takes too long to process each one. The TQCanvas constructor tries to pick a suitable size, but you can call retune() to change it at any time. The chunkSize() function returns the current chunk size. The canvas items always make sure they're in the right chunks; all you need to make sure of is that the canvas uses the right chunk size. A good rule of thumb is that the size should be a bit smaller than the average canvas item size. If you have moving objects, the chunk size should be a bit smaller than the average size of the moving items.
.PP
The foreground is normally nothing, but if you reimplement drawForeground(), you can draw things in front of all the canvas items.
.PP
@@ -210,18 +210,18 @@ An area can be copied (painted) to a QPainter with drawArea().
.PP
If the canvas is resized it emits the resized() signal.
.PP
-The examples/canvas application and the 2D graphics page of the examples/demo application demonstrate many of QCanvas's facilities.
+The examples/canvas application and the 2D graphics page of the examples/demo application demonstrate many of TQCanvas's facilities.
.PP
-See also QCanvasView, QCanvasItem, Abstract Widget Classes, Graphics Classes, and Image Processing Classes.
+See also TQCanvasView, TQCanvasItem, Abstract Widget Classes, Graphics Classes, and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvas::QCanvas ( TQObject * parent = 0, const char * name = 0 )"
-Create a QCanvas with no size. \fIparent\fR and \fIname\fR are passed to the TQObject superclass.
+.SH "TQCanvas::TQCanvas ( TQObject * parent = 0, const char * name = 0 )"
+Create a TQCanvas with no size. \fIparent\fR and \fIname\fR are passed to the TQObject superclass.
.PP
\fBWarning:\fR You \fImust\fR call resize() at some time after creation to be able to use the canvas.
-.SH "QCanvas::QCanvas ( int w, int h )"
-Constructs a QCanvas that is \fIw\fR pixels wide and \fIh\fR pixels high.
-.SH "QCanvas::QCanvas ( QPixmap p, int h, int v, int tilewidth, int tileheight )"
-Constructs a QCanvas which will be composed of \fIh\fR tiles horizontally and \fIv\fR tiles vertically. Each tile will be an image \fItilewidth\fR by \fItileheight\fR pixels taken from pixmap \fIp\fR.
+.SH "TQCanvas::TQCanvas ( int w, int h )"
+Constructs a TQCanvas that is \fIw\fR pixels wide and \fIh\fR pixels high.
+.SH "TQCanvas::TQCanvas ( QPixmap p, int h, int v, int tilewidth, int tileheight )"
+Constructs a TQCanvas which will be composed of \fIh\fR tiles horizontally and \fIv\fR tiles vertically. Each tile will be an image \fItilewidth\fR by \fItileheight\fR pixels taken from pixmap \fIp\fR.
.PP
The pixmap \fIp\fR is a list of tiles, arranged left to right, (and in the case of pixmaps that have multiple rows of tiles, top to bottom), with tile 0 in the top-left corner, tile 1 next to the right, and so on, e.g.
.PP
@@ -232,48 +232,48 @@ l - l. 0 1 2 3 4 5 6
.fi
</center>
.PP
-The QCanvas is initially sized to show exactly the given number of tiles horizontally and vertically. If it is resized to be larger, the entire matrix of tiles will be repeated as often as necessary to cover the area. If it is smaller, tiles to the right and bottom will not be visible.
+The TQCanvas is initially sized to show exactly the given number of tiles horizontally and vertically. If it is resized to be larger, the entire matrix of tiles will be repeated as often as necessary to cover the area. If it is smaller, tiles to the right and bottom will not be visible.
.PP
See also setTiles().
-.SH "QCanvas::~QCanvas ()\fC [virtual]\fR"
+.SH "TQCanvas::~TQCanvas ()\fC [virtual]\fR"
Destroys the canvas and all the canvas's canvas items.
-.SH "void QCanvas::advance ()\fC [virtual slot]\fR"
-Moves all QCanvasItem::animated() canvas items on the canvas and refreshes all changes to all views of the canvas. (An `animated' item is an item that is in motion; see setVelocity().)
+.SH "void TQCanvas::advance ()\fC [virtual slot]\fR"
+Moves all TQCanvasItem::animated() canvas items on the canvas and refreshes all changes to all views of the canvas. (An `animated' item is an item that is in motion; see setVelocity().)
.PP
-The advance takes place in two phases. In phase 0, the QCanvasItem::advance() function of each QCanvasItem::animated() canvas item is called with paramater 0. Then all these canvas items are called again, with parameter 1. In phase 0, the canvas items should not change position, merely examine other items on the canvas for which special processing is required, such as collisions between items. In phase 1, all canvas items should change positions, ignoring any other items on the canvas. This two-phase approach allows for considerations of "fairness", although no QCanvasItem subclasses supplied with TQt do anything interesting in phase 0.
+The advance takes place in two phases. In phase 0, the TQCanvasItem::advance() function of each TQCanvasItem::animated() canvas item is called with paramater 0. Then all these canvas items are called again, with parameter 1. In phase 0, the canvas items should not change position, merely examine other items on the canvas for which special processing is required, such as collisions between items. In phase 1, all canvas items should change positions, ignoring any other items on the canvas. This two-phase approach allows for considerations of "fairness", although no TQCanvasItem subclasses supplied with TQt do anything interesting in phase 0.
.PP
The canvas can be configured to call this function periodically with setAdvancePeriod().
.PP
See also update().
-.SH "QCanvasItemList QCanvas::allItems ()"
+.SH "TQCanvasItemList TQCanvas::allItems ()"
Returns a list of all the items in the canvas.
-.SH "TQColor QCanvas::backgroundColor () const"
+.SH "TQColor TQCanvas::backgroundColor () const"
Returns the color set by setBackgroundColor(). By default, this is white.
.PP
-This function is not a reimplementation of TQWidget::backgroundColor() (QCanvas is not a subclass of TQWidget), but all QCanvasViews that are viewing the canvas will set their backgrounds to this color.
+This function is not a reimplementation of TQWidget::backgroundColor() (TQCanvas is not a subclass of TQWidget), but all TQCanvasViews that are viewing the canvas will set their backgrounds to this color.
.PP
See also setBackgroundColor() and backgroundPixmap().
-.SH "QPixmap QCanvas::backgroundPixmap () const"
+.SH "QPixmap TQCanvas::backgroundPixmap () const"
Returns the pixmap set by setBackgroundPixmap(). By default, this is a null pixmap.
.PP
See also setBackgroundPixmap() and backgroundColor().
-.SH "int QCanvas::chunkSize () const"
+.SH "int TQCanvas::chunkSize () const"
Returns the chunk size of the canvas.
.PP
See also retune().
-.SH "QCanvasItemList QCanvas::collisions ( const QPoint & p ) const"
+.SH "TQCanvasItemList TQCanvas::collisions ( const QPoint & p ) const"
Returns a list of canvas items that collide with the point \fIp\fR. The list is ordered by z coordinates, from highest z coordinate (front-most item) to lowest z coordinate (rear-most item).
-.SH "QCanvasItemList QCanvas::collisions ( const QRect & r ) const"
+.SH "TQCanvasItemList TQCanvas::collisions ( const QRect & r ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a list of items which collide with the rectangle \fIr\fR. The list is ordered by z coordinates, from highest z coordinate (front-most item) to lowest z coordinate (rear-most item).
-.SH "QCanvasItemList QCanvas::collisions ( const QPointArray & chunklist, const QCanvasItem * item, bool exact ) const"
+.SH "TQCanvasItemList TQCanvas::collisions ( const QPointArray & chunklist, const TQCanvasItem * item, bool exact ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a list of canvas items which intersect with the chunks listed in \fIchunklist\fR, excluding \fIitem\fR. If \fIexact\fR is TRUE, only those which actually collide with \fIitem\fR are returned; otherwise canvas items are included just for being in the chunks.
.PP
-This is a utility function mainly used to implement the simpler QCanvasItem::collisions() function.
-.SH "void QCanvas::drawArea ( const QRect & clip, QPainter * painter, bool dbuf = FALSE )"
+This is a utility function mainly used to implement the simpler TQCanvasItem::collisions() function.
+.SH "void TQCanvas::drawArea ( const QRect & clip, QPainter * painter, bool dbuf = FALSE )"
Paints all canvas items that are in the area \fIclip\fR to \fIpainter\fR, using double-buffering if \fIdbuf\fR is TRUE.
.PP
e.g. to print the canvas to a printer:
@@ -293,42 +293,42 @@ e.g. to print the canvas to a printer:
.fi
.PP
Example: canvas/canvas.cpp.
-.SH "void QCanvas::drawBackground ( QPainter & painter, const QRect & clip )\fC [virtual protected]\fR"
+.SH "void TQCanvas::drawBackground ( QPainter & painter, const QRect & clip )\fC [virtual protected]\fR"
This virtual function is called for all updates of the canvas. It renders any background graphics using the painter \fIpainter\fR, in the area \fIclip\fR. If the canvas has a background pixmap or a tiled background, that graphic is used, otherwise the canvas is cleared using the background color.
.PP
If the graphics for an area change, you must explicitly call setChanged(const QRect&) for the result to be visible when update() is next called.
.PP
See also setBackgroundColor(), setBackgroundPixmap(), and setTiles().
-.SH "void QCanvas::drawForeground ( QPainter & painter, const QRect & clip )\fC [virtual protected]\fR"
+.SH "void TQCanvas::drawForeground ( QPainter & painter, const QRect & clip )\fC [virtual protected]\fR"
This virtual function is called for all updates of the canvas. It renders any foreground graphics using the painter \fIpainter\fR, in the area \fIclip\fR.
.PP
If the graphics for an area change, you must explicitly call setChanged(const QRect&) for the result to be visible when update() is next called.
.PP
The default is to draw nothing.
-.SH "int QCanvas::height () const"
+.SH "int TQCanvas::height () const"
Returns the height of the canvas, in pixels.
.PP
Example: canvas/canvas.cpp.
-.SH "bool QCanvas::onCanvas ( int x, int y ) const"
+.SH "bool TQCanvas::onCanvas ( int x, int y ) const"
Returns TRUE if the pixel position (\fIx\fR, \fIy\fR) is on the canvas; otherwise returns FALSE.
.PP
See also validChunk().
-.SH "bool QCanvas::onCanvas ( const QPoint & p ) const"
+.SH "bool TQCanvas::onCanvas ( const QPoint & p ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns TRUE if the pixel position \fIp\fR is on the canvas; otherwise returns FALSE.
.PP
See also validChunk().
-.SH "QRect QCanvas::rect () const"
+.SH "QRect TQCanvas::rect () const"
Returns a rectangle the size of the canvas.
-.SH "void QCanvas::resize ( int w, int h )\fC [virtual]\fR"
+.SH "void TQCanvas::resize ( int w, int h )\fC [virtual]\fR"
Changes the size of the canvas to have a width of \fIw\fR and a height of \fIh\fR. This is a slow operation.
.PP
Examples:
.)l canvas/canvas.cpp and chart/chartform.cpp.
-.SH "void QCanvas::resized ()\fC [signal]\fR"
-This signal is emitted whenever the canvas is resized. Each QCanvasView connects to this signal to keep the scrollview's size correct.
-.SH "void QCanvas::retune ( int chunksze, int mxclusters = 100 )\fC [virtual]\fR"
+.SH "void TQCanvas::resized ()\fC [signal]\fR"
+This signal is emitted whenever the canvas is resized. Each TQCanvasView connects to this signal to keep the scrollview's size correct.
+.SH "void TQCanvas::retune ( int chunksze, int mxclusters = 100 )\fC [virtual]\fR"
Change the efficiency tuning parameters to \fImxclusters\fR clusters, each of size \fIchunksze\fR. This is a slow operation if there are many objects on the canvas.
.PP
The canvas is divided into chunks which are rectangular areas \fIchunksze\fR wide by \fIchunksze\fR high. Use a chunk size which is about the average size of the canvas items. If you choose a chunk size which is too small it will increase the amount of calculation required when drawing since each change will affect many chunks. If you choose a chunk size which is too large the amount of drawing required will increase because for each change, a lot of drawing will be required since there will be many (unchanged) canvas items which are in the same chunk as the changed canvas items.
@@ -336,31 +336,31 @@ The canvas is divided into chunks which are rectangular areas \fIchunksze\fR wid
Internally, a canvas uses a low-resolution "chunk matrix" to keep track of all the items in the canvas. A 64x64 chunk matrix is the default for a 1024x1024 pixel canvas, where each chunk collects canvas items in a 16x16 pixel square. This default is also affected by setTiles(). You can tune this default using this function. For example if you have a very large canvas and want to trade off speed for memory then you might set the chunk size to 32 or 64.
.PP
The \fImxclusters\fR argument is the number of rectangular groups of chunks that will be separately drawn. If the canvas has a large number of small, dispersed items, this should be about that number. Our testing suggests that a large number of clusters is almost always best.
-.SH "void QCanvas::setAdvancePeriod ( int ms )\fC [virtual]\fR"
+.SH "void TQCanvas::setAdvancePeriod ( int ms )\fC [virtual]\fR"
Sets the canvas to call advance() every \fIms\fR milliseconds. Any previous setting by setAdvancePeriod() or setUpdatePeriod() is overridden.
.PP
If \fIms\fR is less than 0 advancing will be stopped.
.PP
Example: canvas/main.cpp.
-.SH "void QCanvas::setAllChanged ()\fC [virtual]\fR"
+.SH "void TQCanvas::setAllChanged ()\fC [virtual]\fR"
Marks the whole canvas as changed. All views of the canvas will be entirely redrawn when update() is called next.
-.SH "void QCanvas::setBackgroundColor ( const TQColor & c )\fC [virtual]\fR"
+.SH "void TQCanvas::setBackgroundColor ( const TQColor & c )\fC [virtual]\fR"
Sets the solid background to be the color \fIc\fR.
.PP
See also backgroundColor(), setBackgroundPixmap(), and setTiles().
-.SH "void QCanvas::setBackgroundPixmap ( const QPixmap & p )\fC [virtual]\fR"
+.SH "void TQCanvas::setBackgroundPixmap ( const QPixmap & p )\fC [virtual]\fR"
Sets the solid background to be the pixmap \fIp\fR repeated as necessary to cover the entire canvas.
.PP
See also backgroundPixmap(), setBackgroundColor(), and setTiles().
-.SH "void QCanvas::setChanged ( const QRect & area )\fC [virtual]\fR"
+.SH "void TQCanvas::setChanged ( const QRect & area )\fC [virtual]\fR"
Marks \fIarea\fR as changed. This \fIarea\fR will be redrawn in all views that are showing it when update() is called next.
-.SH "void QCanvas::setDoubleBuffering ( bool y )\fC [virtual]\fR"
+.SH "void TQCanvas::setDoubleBuffering ( bool y )\fC [virtual]\fR"
If \fIy\fR is TRUE (the default) double-buffering is switched on; otherwise double-buffering is switched off.
.PP
Turning off double-buffering causes the redrawn areas to flicker a little and also gives a (usually small) performance improvement.
.PP
Example: canvas/canvas.cpp.
-.SH "void QCanvas::setTile ( int x, int y, int tilenum )\fC [virtual]\fR"
+.SH "void TQCanvas::setTile ( int x, int y, int tilenum )\fC [virtual]\fR"
Sets the tile at (\fIx\fR, \fIy\fR) to use tile number \fItilenum\fR, which is an index into the tile pixmaps. The canvas will update appropriately when update() is next called.
.PP
The images are taken from the pixmap set by setTiles() and are arranged left to right, (and in the case of pixmaps that have multiple rows of tiles, top to bottom), with tile 0 in the top-left corner, tile 1 next to the right, and so on, e.g.
@@ -373,8 +373,8 @@ l - l. 0 1 2 3 4 5 6
</center>
.PP
See also tile() and setTiles().
-.SH "void QCanvas::setTiles ( QPixmap p, int h, int v, int tilewidth, int tileheight )\fC [virtual]\fR"
-Sets the QCanvas to be composed of \fIh\fR tiles horizontally and \fIv\fR tiles vertically. Each tile will be an image \fItilewidth\fR by \fItileheight\fR pixels from pixmap \fIp\fR.
+.SH "void TQCanvas::setTiles ( QPixmap p, int h, int v, int tilewidth, int tileheight )\fC [virtual]\fR"
+Sets the TQCanvas to be composed of \fIh\fR tiles horizontally and \fIv\fR tiles vertically. Each tile will be an image \fItilewidth\fR by \fItileheight\fR pixels from pixmap \fIp\fR.
.PP
The pixmap \fIp\fR is a list of tiles, arranged left to right, (and in the case of pixmaps that have multiple rows of tiles, top to bottom), with tile 0 in the top-left corner, tile 1 next to the right, and so on, e.g.
.PP
@@ -390,49 +390,49 @@ If the canvas is larger than the matrix of tiles, the entire matrix is repeated
The width and height of \fIp\fR must be a multiple of \fItilewidth\fR and \fItileheight\fR. If they are not the function will do nothing.
.PP
If you want to unset any tiling set, then just pass in a null pixmap and 0 for \fIh\fR, \fIv\fR, \fItilewidth\fR, and \fItileheight\fR.
-.SH "void QCanvas::setUnchanged ( const QRect & area )\fC [virtual]\fR"
+.SH "void TQCanvas::setUnchanged ( const QRect & area )\fC [virtual]\fR"
Marks \fIarea\fR as \fIunchanged\fR. The area will \fInot\fR be redrawn in the views for the next update(), unless it is marked or changed again before the next call to update().
-.SH "void QCanvas::setUpdatePeriod ( int ms )\fC [virtual]\fR"
+.SH "void TQCanvas::setUpdatePeriod ( int ms )\fC [virtual]\fR"
Sets the canvas to call update() every \fIms\fR milliseconds. Any previous setting by setAdvancePeriod() or setUpdatePeriod() is overridden.
.PP
If \fIms\fR is less than 0 automatic updating will be stopped.
-.SH "QSize QCanvas::size () const"
+.SH "QSize TQCanvas::size () const"
Returns the size of the canvas, in pixels.
-.SH "int QCanvas::tile ( int x, int y ) const"
+.SH "int TQCanvas::tile ( int x, int y ) const"
Returns the tile at position (\fIx\fR, \fIy\fR). Initially, all tiles are 0.
.PP
The parameters must be within range, i.e. 0 < \fIx\fR < tilesHorizontally() and 0 < \fIy\fR < tilesVertically().
.PP
See also setTile().
-.SH "int QCanvas::tileHeight () const"
+.SH "int TQCanvas::tileHeight () const"
Returns the height of each tile.
-.SH "int QCanvas::tileWidth () const"
+.SH "int TQCanvas::tileWidth () const"
Returns the width of each tile.
-.SH "int QCanvas::tilesHorizontally () const"
+.SH "int TQCanvas::tilesHorizontally () const"
Returns the number of tiles horizontally.
-.SH "int QCanvas::tilesVertically () const"
+.SH "int TQCanvas::tilesVertically () const"
Returns the number of tiles vertically.
-.SH "void QCanvas::update ()\fC [virtual slot]\fR"
+.SH "void TQCanvas::update ()\fC [virtual slot]\fR"
Repaints changed areas in all views of the canvas.
.PP
See also advance().
-.SH "bool QCanvas::validChunk ( int x, int y ) const"
+.SH "bool TQCanvas::validChunk ( int x, int y ) const"
Returns TRUE if the chunk position (\fIx\fR, \fIy\fR) is on the canvas; otherwise returns FALSE.
.PP
See also onCanvas().
-.SH "bool QCanvas::validChunk ( const QPoint & p ) const"
+.SH "bool TQCanvas::validChunk ( const QPoint & p ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns TRUE if the chunk position \fIp\fR is on the canvas; otherwise returns FALSE.
.PP
See also onCanvas().
-.SH "int QCanvas::width () const"
+.SH "int TQCanvas::width () const"
Returns the width of the canvas, in pixels.
.PP
Example: canvas/canvas.cpp.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqcanvas.html
+.BR http://doc.trolltech.com/tqcanvas.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvasellipse.3qt b/doc/man/man3/tqcanvasellipse.3qt
index 8359f1a0c..cd74f8aad 100644
--- a/doc/man/man3/tqcanvasellipse.3qt
+++ b/doc/man/man3/tqcanvasellipse.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasEllipse 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasEllipse 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QCanvasEllipse \- Ellipse or ellipse segment on a QCanvas
+TQCanvasEllipse \- Ellipse or ellipse segment on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QCanvasPolygonalItem.
+Inherits TQCanvasPolygonalItem.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasEllipse\fR ( QCanvas * canvas )"
+.BI "\fBTQCanvasEllipse\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fBQCanvasEllipse\fR ( int width, int height, QCanvas * canvas )"
+.BI "\fBTQCanvasEllipse\fR ( int width, int height, TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fBQCanvasEllipse\fR ( int width, int height, int startangle, int angle, QCanvas * canvas )"
+.BI "\fBTQCanvasEllipse\fR ( int width, int height, int startangle, int angle, TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fB~QCanvasEllipse\fR ()"
+.BI "\fB~TQCanvasEllipse\fR ()"
.br
.ti -1c
.BI "int \fBwidth\fR () const"
@@ -56,7 +56,7 @@ Inherits QCanvasPolygonalItem.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasEllipse class provides an ellipse or ellipse segment on a QCanvas.
+The TQCanvasEllipse class provides an ellipse or ellipse segment on a TQCanvas.
.PP
A canvas item that paints an ellipse or ellipse segment with a QBrush. The ellipse's height, width, start angle and angle length can be set at construction time. The size can be changed at runtime with setSize(), and the angles can be changed (if you're displaying an ellipse segment rather than a whole ellipse) with setAngles().
.PP
@@ -74,53 +74,53 @@ The ellipse can be drawn on a painter with drawShape().
.PP
Like any other canvas item ellipses can be moved with move() and moveBy(), or by setting coordinates with setX(), setY() and setZ().
.PP
-Note: QCanvasEllipse does not use the pen.
+Note: TQCanvasEllipse does not use the pen.
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasEllipse::QCanvasEllipse ( QCanvas * canvas )"
+.SH "TQCanvasEllipse::TQCanvasEllipse ( TQCanvas * canvas )"
Constructs a 32x32 ellipse, centered at (0, 0) on \fIcanvas\fR.
-.SH "QCanvasEllipse::QCanvasEllipse ( int width, int height, QCanvas * canvas )"
+.SH "TQCanvasEllipse::TQCanvasEllipse ( int width, int height, TQCanvas * canvas )"
Constructs a \fIwidth\fR by \fIheight\fR pixel ellipse, centered at (0, 0) on \fIcanvas\fR.
-.SH "QCanvasEllipse::QCanvasEllipse ( int width, int height, int startangle, int angle, QCanvas * canvas )"
+.SH "TQCanvasEllipse::TQCanvasEllipse ( int width, int height, int startangle, int angle, TQCanvas * canvas )"
Constructs a \fIwidth\fR by \fIheight\fR pixel ellipse, centered at (0, 0) on \fIcanvas\fR. Only a segment of the ellipse is drawn, starting at angle \fIstartangle\fR, and extending for angle \fIangle\fR (the angle length).
.PP
Note that angles are specified in <small><sup>1</sup>/<sub>16</sub></small>ths of a degree.
-.SH "QCanvasEllipse::~QCanvasEllipse ()"
+.SH "TQCanvasEllipse::~TQCanvasEllipse ()"
Destroys the ellipse.
-.SH "int QCanvasEllipse::angleLength () const"
+.SH "int TQCanvasEllipse::angleLength () const"
Returns the length angle (the extent of the ellipse segment) in 16ths of a degree. Initially this will be 360 * 16 (a complete ellipse).
.PP
See also setAngles() and angleStart().
-.SH "int QCanvasEllipse::angleStart () const"
+.SH "int TQCanvasEllipse::angleStart () const"
Returns the start angle in 16ths of a degree. Initially this will be 0.
.PP
See also setAngles() and angleLength().
-.SH "void QCanvasEllipse::drawShape ( QPainter & p )\fC [virtual protected]\fR"
+.SH "void TQCanvasEllipse::drawShape ( QPainter & p )\fC [virtual protected]\fR"
Draws the ellipse, centered at x(), y() using the painter \fIp\fR.
.PP
-Note that QCanvasEllipse does not support an outline (the pen is always NoPen).
+Note that TQCanvasEllipse does not support an outline (the pen is always NoPen).
.PP
-Reimplemented from QCanvasPolygonalItem.
-.SH "int QCanvasEllipse::height () const"
+Reimplemented from TQCanvasPolygonalItem.
+.SH "int TQCanvasEllipse::height () const"
Returns the height of the ellipse.
-.SH "int QCanvasEllipse::rtti () const\fC [virtual]\fR"
-Returns 6 (QCanvasItem::Rtti_Ellipse).
+.SH "int TQCanvasEllipse::rtti () const\fC [virtual]\fR"
+Returns 6 (TQCanvasItem::Rtti_Ellipse).
.PP
-See also QCanvasItem::rtti().
+See also TQCanvasItem::rtti().
.PP
-Reimplemented from QCanvasPolygonalItem.
-.SH "void QCanvasEllipse::setAngles ( int start, int length )"
+Reimplemented from TQCanvasPolygonalItem.
+.SH "void TQCanvasEllipse::setAngles ( int start, int length )"
Sets the angles for the ellipse. The start angle is \fIstart\fR and the extent of the segment is \fIlength\fR (the angle length) from the \fIstart\fR. The angles are specified in 16ths of a degree. By default the ellipse will start at 0 and have an angle length of 360 * 16 (a complete ellipse).
.PP
See also angleStart() and angleLength().
-.SH "void QCanvasEllipse::setSize ( int width, int height )"
+.SH "void TQCanvasEllipse::setSize ( int width, int height )"
Sets the \fIwidth\fR and \fIheight\fR of the ellipse.
-.SH "int QCanvasEllipse::width () const"
+.SH "int TQCanvasEllipse::width () const"
Returns the width of the ellipse.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvasellipse.html
+.BR http://doc.trolltech.com/tqcanvasellipse.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvasitem.3qt b/doc/man/man3/tqcanvasitem.3qt
index 0a6db191c..75406891c 100644
--- a/doc/man/man3/tqcanvasitem.3qt
+++ b/doc/man/man3/tqcanvasitem.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,21 +7,21 @@
.ad l
.nh
.SH NAME
-QCanvasItem \- Abstract graphic object on a QCanvas
+TQCanvasItem \- Abstract graphic object on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
Inherits Qt.
.PP
-Inherited by QCanvasSprite, QCanvasPolygonalItem, and QCanvasText.
+Inherited by TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasItem\fR ( QCanvas * canvas )"
+.BI "\fBTQCanvasItem\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "virtual \fB~QCanvasItem\fR ()"
+.BI "virtual \fB~TQCanvasItem\fR ()"
.br
.ti -1c
.BI "double \fBx\fR () const"
@@ -72,13 +72,13 @@ Inherited by QCanvasSprite, QCanvasPolygonalItem, and QCanvasText.
.BI "virtual void \fBadvance\fR ( int phase )"
.br
.ti -1c
-.BI "virtual bool \fBcollidesWith\fR ( const QCanvasItem * other ) const = 0"
+.BI "virtual bool \fBcollidesWith\fR ( const TQCanvasItem * other ) const = 0"
.br
.ti -1c
-.BI "QCanvasItemList \fBcollisions\fR ( bool exact ) const"
+.BI "TQCanvasItemList \fBcollisions\fR ( bool exact ) const"
.br
.ti -1c
-.BI "virtual void \fBsetCanvas\fR ( QCanvas * c )"
+.BI "virtual void \fBsetCanvas\fR ( TQCanvas * c )"
.br
.ti -1c
.BI "virtual void \fBdraw\fR ( QPainter & painter ) = 0"
@@ -138,7 +138,7 @@ Inherited by QCanvasSprite, QCanvasPolygonalItem, and QCanvasText.
.BI "virtual QRect \fBboundingRectAdvanced\fR () const"
.br
.ti -1c
-.BI "QCanvas * \fBcanvas\fR () const"
+.BI "TQCanvas * \fBcanvas\fR () const"
.br
.in -1c
.SS "Protected Members"
@@ -148,95 +148,95 @@ Inherited by QCanvasSprite, QCanvasPolygonalItem, and QCanvasText.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasItem class provides an abstract graphic object on a QCanvas.
+The TQCanvasItem class provides an abstract graphic object on a TQCanvas.
.PP
-A variety of QCanvasItem subclasses provide immediately usable behaviour. This class is a pure abstract superclass providing the behaviour that is shared among all the concrete canvas item classes. QCanvasItem is not intended for direct subclassing. It is much easier to subclass one of its subclasses, e.g. QCanvasPolygonalItem (the commonest base class), QCanvasRectangle, QCanvasSprite, QCanvasEllipse or QCanvasText.
+A variety of TQCanvasItem subclasses provide immediately usable behaviour. This class is a pure abstract superclass providing the behaviour that is shared among all the concrete canvas item classes. TQCanvasItem is not intended for direct subclassing. It is much easier to subclass one of its subclasses, e.g. TQCanvasPolygonalItem (the commonest base class), TQCanvasRectangle, TQCanvasSprite, TQCanvasEllipse or TQCanvasText.
.PP
Canvas items are added to a canvas by constructing them and passing the canvas to the canvas item's constructor. An item can be moved to a different canvas using setCanvas().
.PP
Items appear on the canvas after their show() function has been called (or setVisible(TRUE)), and \fIafter\fR update() has been called. The canvas only shows items that are visible, and then only if update() is called. If you created the canvas without passing a width and height to the constructor you'll also need to call resize(). Since the canvas background defaults to white and canvas items default to white, you may need to change colors to see your items.
.PP
-A QCanvasItem object can be moved in the x(), y() and z() dimensions using functions such as move(), moveBy(), setX(), setY() and setZ(). A canvas item can be set in motion, `animated', using setAnimated() and given a velocity in the x and y directions with setXVelocity() and setYVelocity() -- the same effect can be achieved by calling setVelocity(). Use the collidesWith() function to see if the canvas item will collide on the \fInext\fR advance(1) and use collisions() to see what collisions have occurred.
+A TQCanvasItem object can be moved in the x(), y() and z() dimensions using functions such as move(), moveBy(), setX(), setY() and setZ(). A canvas item can be set in motion, `animated', using setAnimated() and given a velocity in the x and y directions with setXVelocity() and setYVelocity() -- the same effect can be achieved by calling setVelocity(). Use the collidesWith() function to see if the canvas item will collide on the \fInext\fR advance(1) and use collisions() to see what collisions have occurred.
.PP
-Use QCanvasSprite or your own subclass of QCanvasSprite to create canvas items which are animated, i.e. which change over time.
+Use TQCanvasSprite or your own subclass of TQCanvasSprite to create canvas items which are animated, i.e. which change over time.
.PP
The size of a canvas item is given by boundingRect(). Use boundingRectAdvanced() to see what the size of the canvas item will be \fIafter\fR the next advance(1) call.
.PP
-The rtti() function is used for identifying subclasses of QCanvasItem. The canvas() function returns a pointer to the canvas which contains the canvas item.
+The rtti() function is used for identifying subclasses of TQCanvasItem. The canvas() function returns a pointer to the canvas which contains the canvas item.
.PP
-QCanvasItem provides the show() and isVisible() functions like those in TQWidget.
+TQCanvasItem provides the show() and isVisible() functions like those in TQWidget.
.PP
-QCanvasItem also provides the setEnabled(), setActive() and setSelected() functions; these functions set the relevant boolean and cause a repaint but the boolean values they set are not used in QCanvasItem itself. You can make use of these booleans in your subclasses.
+TQCanvasItem also provides the setEnabled(), setActive() and setSelected() functions; these functions set the relevant boolean and cause a repaint but the boolean values they set are not used in TQCanvasItem itself. You can make use of these booleans in your subclasses.
.PP
By default, canvas items have no velocity, no size, and are not in motion. The subclasses provided in TQt do not change these defaults except where noted.
.PP
See also Graphics Classes and Image Processing Classes.
.SS "Member Type Documentation"
-.SH "QCanvasItem::RttiValues"
+.SH "TQCanvasItem::RttiValues"
This enum is used to name the different types of canvas item.
.TP
-\fCQCanvasItem::Rtti_Item\fR - Canvas item abstract base class
+\fCTQCanvasItem::Rtti_Item\fR - Canvas item abstract base class
.TP
-\fCQCanvasItem::Rtti_Ellipse\fR
+\fCTQCanvasItem::Rtti_Ellipse\fR
.TP
-\fCQCanvasItem::Rtti_Line\fR
+\fCTQCanvasItem::Rtti_Line\fR
.TP
-\fCQCanvasItem::Rtti_Polygon\fR
+\fCTQCanvasItem::Rtti_Polygon\fR
.TP
-\fCQCanvasItem::Rtti_PolygonalItem\fR
+\fCTQCanvasItem::Rtti_PolygonalItem\fR
.TP
-\fCQCanvasItem::Rtti_Rectangle\fR
+\fCTQCanvasItem::Rtti_Rectangle\fR
.TP
-\fCQCanvasItem::Rtti_Spline\fR
+\fCTQCanvasItem::Rtti_Spline\fR
.TP
-\fCQCanvasItem::Rtti_Sprite\fR
+\fCTQCanvasItem::Rtti_Sprite\fR
.TP
-\fCQCanvasItem::Rtti_Text\fR
+\fCTQCanvasItem::Rtti_Text\fR
.PP
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasItem::QCanvasItem ( QCanvas * canvas )"
-Constructs a QCanvasItem on canvas \fIcanvas\fR.
+.SH "TQCanvasItem::TQCanvasItem ( TQCanvas * canvas )"
+Constructs a TQCanvasItem on canvas \fIcanvas\fR.
.PP
See also setCanvas().
-.SH "QCanvasItem::~QCanvasItem ()\fC [virtual]\fR"
-Destroys the QCanvasItem and removes it from its canvas.
-.SH "bool QCanvasItem::active () const"
+.SH "TQCanvasItem::~TQCanvasItem ()\fC [virtual]\fR"
+Destroys the TQCanvasItem and removes it from its canvas.
+.SH "bool TQCanvasItem::active () 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 isActive() instead.
-.SH "void QCanvasItem::advance ( int phase )\fC [virtual]\fR"
+.SH "void TQCanvasItem::advance ( int phase )\fC [virtual]\fR"
The default implementation moves the canvas item, if it is animated(), by the preset velocity if \fIphase\fR is 1, and does nothing if \fIphase\fR is 0.
.PP
Note that if you reimplement this function, the reimplementation must not change the canvas in any way, for example it must not add or remove items.
.PP
-See also QCanvas::advance() and setVelocity().
+See also TQCanvas::advance() and setVelocity().
.PP
Example: canvas/canvas.cpp.
.PP
-Reimplemented in QCanvasSprite.
-.SH "bool QCanvasItem::animated () const"
+Reimplemented in TQCanvasSprite.
+.SH "bool TQCanvasItem::animated () const"
Returns TRUE if the canvas item is in motion; otherwise returns FALSE.
.PP
See also setVelocity() and setAnimated().
-.SH "QRect QCanvasItem::boundingRect () const\fC [pure virtual]\fR"
+.SH "QRect TQCanvasItem::boundingRect () const\fC [pure virtual]\fR"
Returns the bounding rectangle in pixels that the canvas item covers.
.PP
See also boundingRectAdvanced().
.PP
-Reimplemented in QCanvasSprite, QCanvasPolygonalItem, and QCanvasText.
-.SH "QRect QCanvasItem::boundingRectAdvanced () const\fC [virtual]\fR"
+Reimplemented in TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText.
+.SH "QRect TQCanvasItem::boundingRectAdvanced () const\fC [virtual]\fR"
Returns the bounding rectangle of pixels that the canvas item \fIwill\fR cover after advance(1) is called.
.PP
See also boundingRect().
-.SH "QCanvas * QCanvasItem::canvas () const"
+.SH "TQCanvas * TQCanvasItem::canvas () const"
Returns the canvas containing the canvas item.
-.SH "bool QCanvasItem::collidesWith ( const QCanvasItem * other ) const\fC [pure virtual]\fR"
+.SH "bool TQCanvasItem::collidesWith ( const TQCanvasItem * other ) const\fC [pure virtual]\fR"
Returns TRUE if the canvas item will collide with the \fIother\fR item \fIafter\fR they have moved by their current velocities; otherwise returns FALSE.
.PP
See also collisions().
.PP
Example: canvas/canvas.cpp.
-.SH "QCanvasItemList QCanvasItem::collisions ( bool exact ) const"
+.SH "TQCanvasItemList TQCanvasItem::collisions ( bool exact ) const"
Returns the list of canvas items that this canvas item has collided with.
.PP
A collision is generally defined as occurring when the pixels of one item draw on the pixels of another item, but not all subclasses are so precise. Also, since pixel-wise collision detection can be slow, this function works in either exact or inexact mode, according to the \fIexact\fR parameter.
@@ -245,57 +245,57 @@ If \fIexact\fR is TRUE, the canvas items returned have been accurately tested fo
.PP
If \fIexact\fR is FALSE, the canvas items returned are \fInear\fR the canvas item. You can test the canvas items returned using collidesWith() if any are interesting collision candidates. By using this approach, you can ignore some canvas items for which collisions are not relevant.
.PP
-The returned list is a list of QCanvasItems, but often you will need to cast the items to their subclass types. The safe way to do this is to use rtti() before casting. This provides some of the functionality of the standard C++ dynamic cast operation even on compilers where dynamic casts are not available.
+The returned list is a list of TQCanvasItems, but often you will need to cast the items to their subclass types. The safe way to do this is to use rtti() before casting. This provides some of the functionality of the standard C++ dynamic cast operation even on compilers where dynamic casts are not available.
.PP
Note that a canvas item may be `on' a canvas, e.g. it was created with the canvas as parameter, even though its coordinates place it beyond the edge of the canvas's area. Collision detection only works for canvas items which are wholly or partly within the canvas's area.
.PP
Note that if items have a velocity (see setVelocity()), then collision testing is done based on where the item \fIwill\fR be when it moves, not its current location. For example, a "ball" item doesn't need to actually embed into a "wall" item before a collision is detected. For items without velocity, plain intersection is used.
-.SH "void QCanvasItem::draw ( QPainter & painter )\fC [pure virtual]\fR"
+.SH "void TQCanvasItem::draw ( QPainter & painter )\fC [pure virtual]\fR"
This abstract virtual function draws the canvas item using \fIpainter\fR.
.PP
\fBWarning:\fR When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, if you start by calling QPainter::translate(50, 50), end your code by calling QPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., don't call QPainter::resetXForm() when you're done).
.PP
-Reimplemented in QCanvasSprite, QCanvasPolygonalItem, and QCanvasText.
-.SH "bool QCanvasItem::enabled () const"
+Reimplemented in TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText.
+.SH "bool TQCanvasItem::enabled () 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 isEnabled() instead.
-.SH "void QCanvasItem::hide ()"
+.SH "void TQCanvasItem::hide ()"
Shorthand for setVisible(FALSE).
-.SH "bool QCanvasItem::isActive () const"
-Returns TRUE if the QCanvasItem is active; otherwise returns FALSE.
-.SH "bool QCanvasItem::isEnabled () const"
-Returns TRUE if the QCanvasItem is enabled; otherwise returns FALSE.
-.SH "bool QCanvasItem::isSelected () const"
+.SH "bool TQCanvasItem::isActive () const"
+Returns TRUE if the TQCanvasItem is active; otherwise returns FALSE.
+.SH "bool TQCanvasItem::isEnabled () const"
+Returns TRUE if the TQCanvasItem is enabled; otherwise returns FALSE.
+.SH "bool TQCanvasItem::isSelected () const"
Returns TRUE if the canvas item is selected; otherwise returns FALSE.
-.SH "bool QCanvasItem::isVisible () const"
+.SH "bool TQCanvasItem::isVisible () const"
Returns TRUE if the canvas item is visible; otherwise returns FALSE.
.PP
Note that in this context TRUE does \fInot\fR mean that the canvas item is currently in a view, merely that if a view is showing the area where the canvas item is positioned, and the item is not obscured by items with higher z values, and the view is not obscured by overlaying windows, it would be visible.
.PP
See also setVisible() and z().
-.SH "void QCanvasItem::move ( double x, double y )"
+.SH "void TQCanvasItem::move ( double x, double y )"
Moves the canvas item to the absolute position (\fIx\fR, \fIy\fR).
.PP
Example: canvas/canvas.cpp.
-.SH "void QCanvasItem::moveBy ( double dx, double dy )\fC [virtual]\fR"
+.SH "void TQCanvasItem::moveBy ( double dx, double dy )\fC [virtual]\fR"
Moves the canvas item relative to its current position by (\fIdx\fR, \fIdy\fR).
.PP
Example: canvas/canvas.cpp.
-.SH "int QCanvasItem::rtti () const\fC [virtual]\fR"
-Returns 0 (QCanvasItem::Rtti_Item).
+.SH "int TQCanvasItem::rtti () const\fC [virtual]\fR"
+Returns 0 (TQCanvasItem::Rtti_Item).
.PP
-Make your derived classes return their own values for rtti(), so that you can distinguish between objects returned by QCanvas::at(). You should use values greater than 1000 to allow for extensions to this class.
+Make your derived classes return their own values for rtti(), so that you can distinguish between objects returned by TQCanvas::at(). You should use values greater than 1000 to allow for extensions to this class.
.PP
-Overuse of this functionality can damage it's extensibility. For example, once you have identified a base class of a QCanvasItem found by QCanvas::at(), cast it to that type and call meaningful methods rather than acting upon the object based on its rtti value.
+Overuse of this functionality can damage it's extensibility. For example, once you have identified a base class of a TQCanvasItem found by TQCanvas::at(), cast it to that type and call meaningful methods rather than acting upon the object based on its rtti value.
.PP
For example:
.PP
.nf
.br
- QCanvasItem* item;
+ TQCanvasItem* item;
.br
- // Find an item, e.g. with QCanvasItem::collisions().
+ // Find an item, e.g. with TQCanvasItem::collisions().
.br
...
.br
@@ -315,93 +315,93 @@ For example:
.PP
Example: canvas/canvas.cpp.
.PP
-Reimplemented in QCanvasSprite, QCanvasPolygonalItem, and QCanvasText.
-.SH "bool QCanvasItem::selected () const"
+Reimplemented in TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText.
+.SH "bool TQCanvasItem::selected () 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 isSelected() instead.
-.SH "void QCanvasItem::setActive ( bool yes )\fC [virtual]\fR"
-Sets the active flag of the item to \fIyes\fR. If this changes the item's active state the item will be redrawn when QCanvas::update() is next called.
+.SH "void TQCanvasItem::setActive ( bool yes )\fC [virtual]\fR"
+Sets the active flag of the item to \fIyes\fR. If this changes the item's active state the item will be redrawn when TQCanvas::update() is next called.
.PP
-The QCanvas, QCanvasItem and the Qt-supplied QCanvasItem subclasses do not make use of this value. The setActive() function is supplied because many applications need it, but it is up to you how you use the isActive() value.
-.SH "void QCanvasItem::setAnimated ( bool y )\fC [virtual]\fR"
+The TQCanvas, TQCanvasItem and the Qt-supplied TQCanvasItem subclasses do not make use of this value. The setActive() function is supplied because many applications need it, but it is up to you how you use the isActive() value.
+.SH "void TQCanvasItem::setAnimated ( bool y )\fC [virtual]\fR"
Sets the canvas item to be in motion if \fIy\fR is TRUE, or not if \fIy\fR is FALSE. The speed and direction of the motion is set with setVelocity(), or with setXVelocity() and setYVelocity().
.PP
-See also advance() and QCanvas::advance().
-.SH "void QCanvasItem::setCanvas ( QCanvas * c )\fC [virtual]\fR"
-Sets the QCanvas upon which the canvas item is to be drawn to \fIc\fR.
+See also advance() and TQCanvas::advance().
+.SH "void TQCanvasItem::setCanvas ( TQCanvas * c )\fC [virtual]\fR"
+Sets the TQCanvas upon which the canvas item is to be drawn to \fIc\fR.
.PP
See also canvas().
-.SH "void QCanvasItem::setEnabled ( bool yes )\fC [virtual]\fR"
-Sets the enabled flag of the item to \fIyes\fR. If this changes the item's enabled state the item will be redrawn when QCanvas::update() is next called.
+.SH "void TQCanvasItem::setEnabled ( bool yes )\fC [virtual]\fR"
+Sets the enabled flag of the item to \fIyes\fR. If this changes the item's enabled state the item will be redrawn when TQCanvas::update() is next called.
.PP
-The QCanvas, QCanvasItem and the Qt-supplied QCanvasItem subclasses do not make use of this value. The setEnabled() function is supplied because many applications need it, but it is up to you how you use the isEnabled() value.
-.SH "void QCanvasItem::setSelected ( bool yes )\fC [virtual]\fR"
-Sets the selected flag of the item to \fIyes\fR. If this changes the item's selected state the item will be redrawn when QCanvas::update() is next called.
+The TQCanvas, TQCanvasItem and the Qt-supplied TQCanvasItem subclasses do not make use of this value. The setEnabled() function is supplied because many applications need it, but it is up to you how you use the isEnabled() value.
+.SH "void TQCanvasItem::setSelected ( bool yes )\fC [virtual]\fR"
+Sets the selected flag of the item to \fIyes\fR. If this changes the item's selected state the item will be redrawn when TQCanvas::update() is next called.
.PP
-The QCanvas, QCanvasItem and the Qt-supplied QCanvasItem subclasses do not make use of this value. The setSelected() function is supplied because many applications need it, but it is up to you how you use the isSelected() value.
-.SH "void QCanvasItem::setVelocity ( double vx, double vy )\fC [virtual]\fR"
+The TQCanvas, TQCanvasItem and the Qt-supplied TQCanvasItem subclasses do not make use of this value. The setSelected() function is supplied because many applications need it, but it is up to you how you use the isSelected() value.
+.SH "void TQCanvasItem::setVelocity ( double vx, double vy )\fC [virtual]\fR"
Sets the canvas item to be in motion, moving by \fIvx\fR and \fIvy\fR pixels in the horizontal and vertical directions respectively.
.PP
See also advance(), setXVelocity(), and setYVelocity().
-.SH "void QCanvasItem::setVisible ( bool yes )\fC [virtual]\fR"
-Makes the canvas item visible if \fIyes\fR is TRUE, or invisible if \fIyes\fR is FALSE. The change takes effect when QCanvas::update() is next called.
-.SH "void QCanvasItem::setX ( double x )"
+.SH "void TQCanvasItem::setVisible ( bool yes )\fC [virtual]\fR"
+Makes the canvas item visible if \fIyes\fR is TRUE, or invisible if \fIyes\fR is FALSE. The change takes effect when TQCanvas::update() is next called.
+.SH "void TQCanvasItem::setX ( double x )"
Moves the canvas item so that its x-position is \fIx\fR.
.PP
See also x() and move().
.PP
Example: chart/chartform_canvas.cpp.
-.SH "void QCanvasItem::setXVelocity ( double vx )"
+.SH "void TQCanvasItem::setXVelocity ( double vx )"
Sets the horizontal component of the canvas item's velocity to \fIvx\fR.
.PP
See also setYVelocity() and setVelocity().
-.SH "void QCanvasItem::setY ( double y )"
+.SH "void TQCanvasItem::setY ( double y )"
Moves the canvas item so that its y-position is \fIy\fR.
.PP
See also y() and move().
.PP
Example: chart/chartform_canvas.cpp.
-.SH "void QCanvasItem::setYVelocity ( double vy )"
+.SH "void TQCanvasItem::setYVelocity ( double vy )"
Sets the vertical component of the canvas item's velocity to \fIvy\fR.
.PP
See also setXVelocity() and setVelocity().
-.SH "void QCanvasItem::setZ ( double z )"
+.SH "void TQCanvasItem::setZ ( double z )"
Sets the z index of the canvas item to \fIz\fR. Higher-z items obscure (are in front of) lower-z items.
.PP
See also z() and move().
.PP
Examples:
.)l canvas/canvas.cpp and chart/chartform_canvas.cpp.
-.SH "void QCanvasItem::show ()"
+.SH "void TQCanvasItem::show ()"
Shorthand for setVisible(TRUE).
.PP
Examples:
.)l canvas/canvas.cpp and chart/chartform_canvas.cpp.
-.SH "void QCanvasItem::update ()\fC [protected]\fR"
+.SH "void TQCanvasItem::update ()\fC [protected]\fR"
Call this function to repaint the canvas's changed chunks.
-.SH "bool QCanvasItem::visible () const"
+.SH "bool TQCanvasItem::visible () 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 isVisible() instead.
-.SH "double QCanvasItem::x () const"
+.SH "double TQCanvasItem::x () const"
Returns the horizontal position of the canvas item. Note that subclasses often have an origin other than the top-left corner.
.PP
Example: canvas/canvas.cpp.
-.SH "double QCanvasItem::xVelocity () const"
+.SH "double TQCanvasItem::xVelocity () const"
Returns the horizontal velocity component of the canvas item.
-.SH "double QCanvasItem::y () const"
+.SH "double TQCanvasItem::y () const"
Returns the vertical position of the canvas item. Note that subclasses often have an origin other than the top-left corner.
.PP
Example: canvas/canvas.cpp.
-.SH "double QCanvasItem::yVelocity () const"
+.SH "double TQCanvasItem::yVelocity () const"
Returns the vertical velocity component of the canvas item.
-.SH "double QCanvasItem::z () const"
+.SH "double TQCanvasItem::z () const"
Returns the z index of the canvas item, which is used for visual
order: higher-z items obscure (are in front of) lower-z items.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvasitem.html
+.BR http://doc.trolltech.com/tqcanvasitem.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvasitemlist.3qt b/doc/man/man3/tqcanvasitemlist.3qt
index fe692c124..258d9fd29 100644
--- a/doc/man/man3/tqcanvasitemlist.3qt
+++ b/doc/man/man3/tqcanvasitemlist.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasItemList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasItemList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,32 +7,32 @@
.ad l
.nh
.SH NAME
-QCanvasItemList \- List of QCanvasItems
+TQCanvasItemList \- List of TQCanvasItems
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QValueList<QCanvasItem * >.
+Inherits QValueList<TQCanvasItem * >.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "QCanvasItemList \fBoperator+\fR ( const QCanvasItemList & l ) const"
+.BI "TQCanvasItemList \fBoperator+\fR ( const TQCanvasItemList & l ) const"
.br
.in -1c
.SH DESCRIPTION
-The QCanvasItemList class is a list of QCanvasItems.
+The TQCanvasItemList class is a list of TQCanvasItems.
.PP
-QCanvasItemList is a QValueList of pointers to QCanvasItems. This class is used by some methods in QCanvas that need to return a list of canvas items.
+TQCanvasItemList is a QValueList of pointers to TQCanvasItems. This class is used by some methods in TQCanvas that need to return a list of canvas items.
.PP
The QValueList documentation describes how to use this list.
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasItemList QCanvasItemList::operator+ ( const QCanvasItemList & l ) const"
+.SH "TQCanvasItemList TQCanvasItemList::operator+ ( const TQCanvasItemList & l ) const"
Returns the concatenation of this list and list \fIl\fR.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvasitemlist.html
+.BR http://doc.trolltech.com/tqcanvasitemlist.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvasline.3qt b/doc/man/man3/tqcanvasline.3qt
index b23e79564..c360a76d6 100644
--- a/doc/man/man3/tqcanvasline.3qt
+++ b/doc/man/man3/tqcanvasline.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasLine 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasLine 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,19 +7,19 @@
.ad l
.nh
.SH NAME
-QCanvasLine \- Line on a QCanvas
+TQCanvasLine \- Line on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QCanvasPolygonalItem.
+Inherits TQCanvasPolygonalItem.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasLine\fR ( QCanvas * canvas )"
+.BI "\fBTQCanvasLine\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fB~QCanvasLine\fR ()"
+.BI "\fB~TQCanvasLine\fR ()"
.br
.ti -1c
.BI "void \fBsetPoints\fR ( int xa, int ya, int xb, int yb )"
@@ -35,41 +35,41 @@ Inherits QCanvasPolygonalItem.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasLine class provides a line on a QCanvas.
+The TQCanvasLine class provides a line on a TQCanvas.
.PP
-The line inherits functionality from QCanvasPolygonalItem, for example the setPen() function. The start and end points of the line are set with setPoints().
+The line inherits functionality from TQCanvasPolygonalItem, for example the setPen() function. The start and end points of the line are set with setPoints().
.PP
-Like any other canvas item lines can be moved with QCanvasItem::move() and QCanvasItem::moveBy(), or by setting coordinates with QCanvasItem::setX(), QCanvasItem::setY() and QCanvasItem::setZ().
+Like any other canvas item lines can be moved with TQCanvasItem::move() and TQCanvasItem::moveBy(), or by setting coordinates with TQCanvasItem::setX(), TQCanvasItem::setY() and TQCanvasItem::setZ().
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasLine::QCanvasLine ( QCanvas * canvas )"
+.SH "TQCanvasLine::TQCanvasLine ( TQCanvas * canvas )"
Constructs a line from (0,0) to (0,0) on \fIcanvas\fR.
.PP
See also setPoints().
-.SH "QCanvasLine::~QCanvasLine ()"
+.SH "TQCanvasLine::~TQCanvasLine ()"
Destroys the line.
-.SH "QPoint QCanvasLine::endPoint () const"
+.SH "QPoint TQCanvasLine::endPoint () const"
Returns the end point of the line.
.PP
See also setPoints() and startPoint().
-.SH "int QCanvasLine::rtti () const\fC [virtual]\fR"
-Returns 7 (QCanvasItem::Rtti_Line).
+.SH "int TQCanvasLine::rtti () const\fC [virtual]\fR"
+Returns 7 (TQCanvasItem::Rtti_Line).
.PP
-See also QCanvasItem::rtti().
+See also TQCanvasItem::rtti().
.PP
-Reimplemented from QCanvasPolygonalItem.
-.SH "void QCanvasLine::setPoints ( int xa, int ya, int xb, int yb )"
+Reimplemented from TQCanvasPolygonalItem.
+.SH "void TQCanvasLine::setPoints ( int xa, int ya, int xb, int yb )"
Sets the line's start point to (\fIxa\fR, \fIya\fR) and its end point to (\fIxb\fR, \fIyb\fR).
.PP
Example: canvas/canvas.cpp.
-.SH "QPoint QCanvasLine::startPoint () const"
+.SH "QPoint TQCanvasLine::startPoint () const"
Returns the start point of the line.
.PP
See also setPoints() and endPoint().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvasline.html
+.BR http://doc.trolltech.com/tqcanvasline.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvaspixmap.3qt b/doc/man/man3/tqcanvaspixmap.3qt
index 3dfacaec6..89245ffb2 100644
--- a/doc/man/man3/tqcanvaspixmap.3qt
+++ b/doc/man/man3/tqcanvaspixmap.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasPixmap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasPixmap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QCanvasPixmap \- Pixmaps for QCanvasSprites
+TQCanvasPixmap \- Pixmaps for TQCanvasSprites
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
Inherits QPixmap.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasPixmap\fR ( const TQString & datafilename )"
+.BI "\fBTQCanvasPixmap\fR ( const TQString & datafilename )"
.br
.ti -1c
-.BI "\fBQCanvasPixmap\fR ( const TQImage & image )"
+.BI "\fBTQCanvasPixmap\fR ( const TQImage & image )"
.br
.ti -1c
-.BI "\fBQCanvasPixmap\fR ( const QPixmap & pm, const QPoint & offset )"
+.BI "\fBTQCanvasPixmap\fR ( const QPixmap & pm, const QPoint & offset )"
.br
.ti -1c
-.BI "\fB~QCanvasPixmap\fR ()"
+.BI "\fB~TQCanvasPixmap\fR ()"
.br
.ti -1c
.BI "int \fBoffsetX\fR () const"
@@ -38,44 +38,44 @@ Inherits QPixmap.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasPixmap class provides pixmaps for QCanvasSprites.
+The TQCanvasPixmap class provides pixmaps for TQCanvasSprites.
.PP
-If you want to show a single pixmap on a QCanvas use a QCanvasSprite with just one pixmap.
+If you want to show a single pixmap on a TQCanvas use a TQCanvasSprite with just one pixmap.
.PP
-When pixmaps are inserted into a QCanvasPixmapArray they are held as QCanvasPixmaps. QCanvasSprites are used to show pixmaps on QCanvases and hold their pixmaps in a QCanvasPixmapArray. If you retrieve a frame (pixmap) from a QCanvasSprite it will be returned as a QCanvasPixmap.
+When pixmaps are inserted into a TQCanvasPixmapArray they are held as TQCanvasPixmaps. TQCanvasSprites are used to show pixmaps on TQCanvases and hold their pixmaps in a TQCanvasPixmapArray. If you retrieve a frame (pixmap) from a TQCanvasSprite it will be returned as a TQCanvasPixmap.
.PP
The pixmap is a QPixmap and can only be set in the constructor. There are three different constructors, one taking a QPixmap, one a TQImage and one a file name that refers to a file in any supported file format (see QImageIO).
.PP
-QCanvasPixmap can have a hotspot which is defined in terms of an (x, y) offset. When you create a QCanvasPixmap from a PNG file or from a TQImage that has a TQImage::offset(), the offset() is initialized appropriately, otherwise the constructor leaves it at (0, 0). You can set it later using setOffset(). When the QCanvasPixmap is used in a QCanvasSprite, the offset position is the point at QCanvasItem::x() and QCanvasItem::y(), not the top-left corner of the pixmap.
+TQCanvasPixmap can have a hotspot which is defined in terms of an (x, y) offset. When you create a TQCanvasPixmap from a PNG file or from a TQImage that has a TQImage::offset(), the offset() is initialized appropriately, otherwise the constructor leaves it at (0, 0). You can set it later using setOffset(). When the TQCanvasPixmap is used in a TQCanvasSprite, the offset position is the point at TQCanvasItem::x() and TQCanvasItem::y(), not the top-left corner of the pixmap.
.PP
-Note that for QCanvasPixmap objects created by a QCanvasSprite, the position of each QCanvasPixmap object is set so that the hotspot stays in the same position.
+Note that for TQCanvasPixmap objects created by a TQCanvasSprite, the position of each TQCanvasPixmap object is set so that the hotspot stays in the same position.
.PP
-See also QCanvasPixmapArray, QCanvasItem, QCanvasSprite, Graphics Classes, and Image Processing Classes.
+See also TQCanvasPixmapArray, TQCanvasItem, TQCanvasSprite, Graphics Classes, and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasPixmap::QCanvasPixmap ( const TQString & datafilename )"
-Constructs a QCanvasPixmap that uses the image stored in \fIdatafilename\fR.
-.SH "QCanvasPixmap::QCanvasPixmap ( const TQImage & image )"
-Constructs a QCanvasPixmap from the image \fIimage\fR.
-.SH "QCanvasPixmap::QCanvasPixmap ( const QPixmap & pm, const QPoint & offset )"
-Constructs a QCanvasPixmap from the pixmap \fIpm\fR using the offset \fIoffset\fR.
-.SH "QCanvasPixmap::~QCanvasPixmap ()"
+.SH "TQCanvasPixmap::TQCanvasPixmap ( const TQString & datafilename )"
+Constructs a TQCanvasPixmap that uses the image stored in \fIdatafilename\fR.
+.SH "TQCanvasPixmap::TQCanvasPixmap ( const TQImage & image )"
+Constructs a TQCanvasPixmap from the image \fIimage\fR.
+.SH "TQCanvasPixmap::TQCanvasPixmap ( const QPixmap & pm, const QPoint & offset )"
+Constructs a TQCanvasPixmap from the pixmap \fIpm\fR using the offset \fIoffset\fR.
+.SH "TQCanvasPixmap::~TQCanvasPixmap ()"
Destroys the pixmap.
-.SH "int QCanvasPixmap::offsetX () const"
+.SH "int TQCanvasPixmap::offsetX () const"
Returns the x-offset of the pixmap's hotspot.
.PP
See also setOffset().
-.SH "int QCanvasPixmap::offsetY () const"
+.SH "int TQCanvasPixmap::offsetY () const"
Returns the y-offset of the pixmap's hotspot.
.PP
See also setOffset().
-.SH "void QCanvasPixmap::setOffset ( int x, int y )"
+.SH "void TQCanvasPixmap::setOffset ( int x, int y )"
Sets the offset of the pixmap's hotspot to (\fIx\fR, \fIy\fR).
.PP
-\fBWarning:\fR Do not call this function if any QCanvasSprites are
+\fBWarning:\fR Do not call this function if any TQCanvasSprites are
currently showing this pixmap.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvaspixmap.html
+.BR http://doc.trolltech.com/tqcanvaspixmap.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvaspixmaparray.3qt b/doc/man/man3/tqcanvaspixmaparray.3qt
index e296265b4..296c66c73 100644
--- a/doc/man/man3/tqcanvaspixmaparray.3qt
+++ b/doc/man/man3/tqcanvaspixmaparray.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasPixmapArray 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasPixmapArray 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,26 +7,26 @@
.ad l
.nh
.SH NAME
-QCanvasPixmapArray \- Array of QCanvasPixmaps
+TQCanvasPixmapArray \- Array of TQCanvasPixmaps
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasPixmapArray\fR ()"
+.BI "\fBTQCanvasPixmapArray\fR ()"
.br
.ti -1c
-.BI "\fBQCanvasPixmapArray\fR ( const TQString & datafilenamepattern, int fc = 0 )"
+.BI "\fBTQCanvasPixmapArray\fR ( const TQString & datafilenamepattern, int fc = 0 )"
.br
.ti -1c
-.BI "QCanvasPixmapArray ( QPtrList<QPixmap> list, QPtrList<QPoint> hotspots ) \fI(obsolete)\fR"
+.BI "TQCanvasPixmapArray ( QPtrList<QPixmap> list, QPtrList<QPoint> hotspots ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "\fBQCanvasPixmapArray\fR ( QValueList<QPixmap> list, QPointArray hotspots = QPointArray ( ) )"
+.BI "\fBTQCanvasPixmapArray\fR ( QValueList<QPixmap> list, QPointArray hotspots = QPointArray ( ) )"
.br
.ti -1c
-.BI "\fB~QCanvasPixmapArray\fR ()"
+.BI "\fB~TQCanvasPixmapArray\fR ()"
.br
.ti -1c
.BI "bool \fBreadPixmaps\fR ( const TQString & filenamepattern, int fc = 0 )"
@@ -41,32 +41,32 @@ QCanvasPixmapArray \- Array of QCanvasPixmaps
.BI "bool \fBisValid\fR () const"
.br
.ti -1c
-.BI "QCanvasPixmap * \fBimage\fR ( int i ) const"
+.BI "TQCanvasPixmap * \fBimage\fR ( int i ) const"
.br
.ti -1c
-.BI "void \fBsetImage\fR ( int i, QCanvasPixmap * p )"
+.BI "void \fBsetImage\fR ( int i, TQCanvasPixmap * p )"
.br
.ti -1c
.BI "uint \fBcount\fR () const"
.br
.in -1c
.SH DESCRIPTION
-The QCanvasPixmapArray class provides an array of QCanvasPixmaps.
+The TQCanvasPixmapArray class provides an array of TQCanvasPixmaps.
.PP
-This class is used by QCanvasSprite to hold an array of pixmaps. It is used to implement animated sprites, i.e. images that change over time, with each pixmap in the array holding one frame.
+This class is used by TQCanvasSprite to hold an array of pixmaps. It is used to implement animated sprites, i.e. images that change over time, with each pixmap in the array holding one frame.
.PP
Depending on the constructor you use you can load multiple pixmaps into the array either from a directory (specifying a wildcard pattern for the files), or from a list of QPixmaps. You can also read in a set of pixmaps after construction using readPixmaps().
.PP
Individual pixmaps can be set with setImage() and retrieved with image(). The number of pixmaps in the array is returned by count().
.PP
-QCanvasSprite uses an image's mask for collision detection. You can change this by reading in a separate set of image masks using readCollisionMasks().
+TQCanvasSprite uses an image's mask for collision detection. You can change this by reading in a separate set of image masks using readCollisionMasks().
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasPixmapArray::QCanvasPixmapArray ()"
-Constructs an invalid array (i.e. isValid() will return FALSE). You must call readPixmaps() before being able to use this QCanvasPixmapArray.
-.SH "QCanvasPixmapArray::QCanvasPixmapArray ( const TQString & datafilenamepattern, int fc = 0 )"
-Constructs a QCanvasPixmapArray from files.
+.SH "TQCanvasPixmapArray::TQCanvasPixmapArray ()"
+Constructs an invalid array (i.e. isValid() will return FALSE). You must call readPixmaps() before being able to use this TQCanvasPixmapArray.
+.SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( const TQString & datafilenamepattern, int fc = 0 )"
+Constructs a TQCanvasPixmapArray from files.
.PP
The \fIfc\fR parameter sets the number of frames to be loaded for this image.
.PP
@@ -75,43 +75,43 @@ If \fIfc\fR is not 0, \fIdatafilenamepattern\fR should contain "%1", e.g. "foo%1
If \fIfc\fR is 0, \fIdatafilenamepattern\fR is asssumed to be a filename, and the image contained in this file will be loaded as the first (and only) frame.
.PP
If \fIdatafilenamepattern\fR does not exist, is not readable, isn't an image, or some other error occurs, the array ends up empty and isValid() returns FALSE.
-.SH "QCanvasPixmapArray::QCanvasPixmapArray ( QPtrList<QPixmap> list, QPtrList<QPoint> hotspots )"
+.SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( QPtrList<QPixmap> list, QPtrList<QPoint> hotspots )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
-Use QCanvasPixmapArray::QCanvasPixmapArray( QValueList<QPixmap>, QPointArray ) instead.
+Use TQCanvasPixmapArray::TQCanvasPixmapArray( QValueList<QPixmap>, QPointArray ) instead.
.PP
-Constructs a QCanvasPixmapArray from the list of QPixmaps \fIlist\fR. The \fIhotspots\fR list has to be of the same size as \fIlist\fR.
-.SH "QCanvasPixmapArray::QCanvasPixmapArray ( QValueList<QPixmap> list, QPointArray hotspots = QPointArray ( ) )"
-Constructs a QCanvasPixmapArray from the list of QPixmaps in the \fIlist\fR. Each pixmap will get a hotspot according to the \fIhotspots\fR array. If no hotspots are specified, each one is set to be at position (0, 0).
+Constructs a TQCanvasPixmapArray from the list of QPixmaps \fIlist\fR. The \fIhotspots\fR list has to be of the same size as \fIlist\fR.
+.SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( QValueList<QPixmap> list, QPointArray hotspots = QPointArray ( ) )"
+Constructs a TQCanvasPixmapArray from the list of QPixmaps in the \fIlist\fR. Each pixmap will get a hotspot according to the \fIhotspots\fR array. If no hotspots are specified, each one is set to be at position (0, 0).
.PP
If an error occurs, isValid() will return FALSE.
-.SH "QCanvasPixmapArray::~QCanvasPixmapArray ()"
+.SH "TQCanvasPixmapArray::~TQCanvasPixmapArray ()"
Destroys the pixmap array and all the pixmaps it contains.
-.SH "uint QCanvasPixmapArray::count () const"
+.SH "uint TQCanvasPixmapArray::count () const"
Returns the number of pixmaps in the array.
-.SH "QCanvasPixmap * QCanvasPixmapArray::image ( int i ) const"
+.SH "TQCanvasPixmap * TQCanvasPixmapArray::image ( int i ) const"
Returns pixmap \fIi\fR in the array, if \fIi\fR is non-negative and less than than count(), and returns an unspecified value otherwise.
-.SH "bool QCanvasPixmapArray::isValid () const"
+.SH "bool TQCanvasPixmapArray::isValid () const"
Returns TRUE if the pixmap array is valid; otherwise returns FALSE.
-.SH "bool QCanvasPixmapArray::operator! ()"
+.SH "bool TQCanvasPixmapArray::operator! ()"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Use isValid() instead.
.PP
This returns FALSE if the array is valid, and TRUE if it is not.
-.SH "bool QCanvasPixmapArray::readCollisionMasks ( const TQString & filename )"
+.SH "bool TQCanvasPixmapArray::readCollisionMasks ( const TQString & filename )"
Reads new collision masks for the array.
.PP
-By default, QCanvasSprite uses the image mask of a sprite to detect collisions. Use this function to set your own collision image masks.
+By default, TQCanvasSprite uses the image mask of a sprite to detect collisions. Use this function to set your own collision image masks.
.PP
-If count() is 1 \fIfilename\fR must specify a real filename to read the mask from. If count() is greater than 1, the \fIfilename\fR must contain a "%1" that will get replaced by the number of the mask to be loaded, just like QCanvasPixmapArray::readPixmaps().
+If count() is 1 \fIfilename\fR must specify a real filename to read the mask from. If count() is greater than 1, the \fIfilename\fR must contain a "%1" that will get replaced by the number of the mask to be loaded, just like TQCanvasPixmapArray::readPixmaps().
.PP
All collision masks must be 1-bit images or this function call will fail.
.PP
If the file isn't readable, contains the wrong number of images, or there is some other error, this function will return FALSE, and the array will be flagged as invalid; otherwise this function returns TRUE.
.PP
See also isValid().
-.SH "bool QCanvasPixmapArray::readPixmaps ( const TQString & filenamepattern, int fc = 0 )"
+.SH "bool TQCanvasPixmapArray::readPixmaps ( const TQString & filenamepattern, int fc = 0 )"
Reads one or more pixmaps into the pixmap array.
.PP
If \fIfc\fR is not 0, \fIfilenamepattern\fR should contain "%1", e.g." foo%1.png". The actual filenames are formed by replacing the %1 with four-digit integers from 0 to (fc - 1), e.g. foo0000.png, foo0001.png, foo0002.png, etc.
@@ -121,7 +121,7 @@ If \fIfc\fR is 0, \fIfilenamepattern\fR is asssumed to be a filename, and the im
If \fIfilenamepattern\fR does not exist, is not readable, isn't an image, or some other error occurs, this function will return FALSE, and isValid() will return FALSE; otherwise this function will return TRUE.
.PP
See also isValid().
-.SH "void QCanvasPixmapArray::setImage ( int i, QCanvasPixmap * p )"
+.SH "void TQCanvasPixmapArray::setImage ( int i, TQCanvasPixmap * p )"
Replaces the pixmap at index \fIi\fR with pixmap \fIp\fR.
.PP
The array takes ownership of \fIp\fR and will delete \fIp\fR when the array itself is deleted.
@@ -131,7 +131,7 @@ least i+1 elements, with elements count() to i-1 being initialized
to 0.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvaspixmaparray.html
+.BR http://doc.trolltech.com/tqcanvaspixmaparray.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvaspolygon.3qt b/doc/man/man3/tqcanvaspolygon.3qt
index 1b1bbae42..e97dbf2b7 100644
--- a/doc/man/man3/tqcanvaspolygon.3qt
+++ b/doc/man/man3/tqcanvaspolygon.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasPolygon 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasPolygon 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,21 +7,21 @@
.ad l
.nh
.SH NAME
-QCanvasPolygon \- Polygon on a QCanvas
+TQCanvasPolygon \- Polygon on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QCanvasPolygonalItem.
+Inherits TQCanvasPolygonalItem.
.PP
-Inherited by QCanvasSpline.
+Inherited by TQCanvasSpline.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasPolygon\fR ( QCanvas * canvas )"
+.BI "\fBTQCanvasPolygon\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fB~QCanvasPolygon\fR ()"
+.BI "\fB~TQCanvasPolygon\fR ()"
.br
.ti -1c
.BI "void \fBsetPoints\fR ( QPointArray pa )"
@@ -43,53 +43,53 @@ Inherited by QCanvasSpline.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasPolygon class provides a polygon on a QCanvas.
+The TQCanvasPolygon class provides a polygon on a TQCanvas.
.PP
Paints a polygon with a QBrush. The polygon's points can be set in the constructor or set or changed later using setPoints(). Use points() to retrieve the points, or areaPoints() to retrieve the points relative to the canvas's origin.
.PP
The polygon can be drawn on a painter with drawShape().
.PP
-Like any other canvas item polygons can be moved with QCanvasItem::move() and QCanvasItem::moveBy(), or by setting coordinates with QCanvasItem::setX(), QCanvasItem::setY() and QCanvasItem::setZ().
+Like any other canvas item polygons can be moved with TQCanvasItem::move() and TQCanvasItem::moveBy(), or by setting coordinates with TQCanvasItem::setX(), TQCanvasItem::setY() and TQCanvasItem::setZ().
.PP
-Note: QCanvasPolygon does not use the pen.
+Note: TQCanvasPolygon does not use the pen.
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasPolygon::QCanvasPolygon ( QCanvas * canvas )"
+.SH "TQCanvasPolygon::TQCanvasPolygon ( TQCanvas * canvas )"
Constructs a point-less polygon on the canvas \fIcanvas\fR. You should call setPoints() before using it further.
-.SH "QCanvasPolygon::~QCanvasPolygon ()"
+.SH "TQCanvasPolygon::~TQCanvasPolygon ()"
Destroys the polygon.
-.SH "QPointArray QCanvasPolygon::areaPoints () const\fC [virtual]\fR"
+.SH "QPointArray TQCanvasPolygon::areaPoints () const\fC [virtual]\fR"
Returns the vertices of the polygon translated by the polygon's current x(), y() position, i.e. relative to the canvas's origin.
.PP
See also setPoints() and points().
.PP
-Reimplemented from QCanvasPolygonalItem.
-.SH "void QCanvasPolygon::drawShape ( QPainter & p )\fC [virtual protected]\fR"
+Reimplemented from TQCanvasPolygonalItem.
+.SH "void TQCanvasPolygon::drawShape ( QPainter & p )\fC [virtual protected]\fR"
Draws the polygon using the painter \fIp\fR.
.PP
-Note that QCanvasPolygon does not support an outline (the pen is always NoPen).
+Note that TQCanvasPolygon does not support an outline (the pen is always NoPen).
.PP
-Reimplemented from QCanvasPolygonalItem.
-.SH "QPointArray QCanvasPolygon::points () const"
+Reimplemented from TQCanvasPolygonalItem.
+.SH "QPointArray TQCanvasPolygon::points () const"
Returns the vertices of the polygon, not translated by the position.
.PP
See also setPoints() and areaPoints().
-.SH "int QCanvasPolygon::rtti () const\fC [virtual]\fR"
-Returns 4 (QCanvasItem::Rtti_Polygon).
+.SH "int TQCanvasPolygon::rtti () const\fC [virtual]\fR"
+Returns 4 (TQCanvasItem::Rtti_Polygon).
.PP
-See also QCanvasItem::rtti().
+See also TQCanvasItem::rtti().
.PP
-Reimplemented from QCanvasPolygonalItem.
+Reimplemented from TQCanvasPolygonalItem.
.PP
-Reimplemented in QCanvasSpline.
-.SH "void QCanvasPolygon::setPoints ( QPointArray pa )"
+Reimplemented in TQCanvasSpline.
+.SH "void TQCanvasPolygon::setPoints ( QPointArray pa )"
Sets the points of the polygon to be \fIpa\fR. These points will have
their x and y coordinates automatically translated by x(), y() as
the polygon is moved.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvaspolygon.html
+.BR http://doc.trolltech.com/tqcanvaspolygon.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvaspolygonalitem.3qt b/doc/man/man3/tqcanvaspolygonalitem.3qt
index b32e35e3e..0bd708a09 100644
--- a/doc/man/man3/tqcanvaspolygonalitem.3qt
+++ b/doc/man/man3/tqcanvaspolygonalitem.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasPolygonalItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasPolygonalItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,21 +7,21 @@
.ad l
.nh
.SH NAME
-QCanvasPolygonalItem \- Polygonal canvas item on a QCanvas
+TQCanvasPolygonalItem \- Polygonal canvas item on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QCanvasItem.
+Inherits TQCanvasItem.
.PP
-Inherited by QCanvasRectangle, QCanvasPolygon, QCanvasLine, and QCanvasEllipse.
+Inherited by TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllipse.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasPolygonalItem\fR ( QCanvas * canvas )"
+.BI "\fBTQCanvasPolygonalItem\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "virtual \fB~QCanvasPolygonalItem\fR ()"
+.BI "virtual \fB~TQCanvasPolygonalItem\fR ()"
.br
.ti -1c
.BI "virtual void \fBsetPen\fR ( QPen p )"
@@ -70,97 +70,97 @@ Inherited by QCanvasRectangle, QCanvasPolygon, QCanvasLine, and QCanvasEllipse.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasPolygonalItem class provides a polygonal canvas item on a QCanvas.
+The TQCanvasPolygonalItem class provides a polygonal canvas item on a TQCanvas.
.PP
-The mostly rectangular classes, such as QCanvasSprite and QCanvasText, use the object's bounding rectangle for movement, repainting and collision calculations. For most other items, the bounding rectangle can be far too large -- a diagonal line being the worst case, and there are many other cases which are also bad. QCanvasPolygonalItem provides polygon-based bounding rectangle handling, etc., which is much faster for non-rectangular items.
+The mostly rectangular classes, such as TQCanvasSprite and TQCanvasText, use the object's bounding rectangle for movement, repainting and collision calculations. For most other items, the bounding rectangle can be far too large -- a diagonal line being the worst case, and there are many other cases which are also bad. TQCanvasPolygonalItem provides polygon-based bounding rectangle handling, etc., which is much faster for non-rectangular items.
.PP
-Derived classes should try to define as small an area as possible to maximize efficiency, but the polygon must \fIdefinitely\fR be contained completely within the polygonal area. Calculating the exact requirements is usually difficult, but if you allow a small overestimate it can be easy and quick, while still getting almost all of QCanvasPolygonalItem's speed.
+Derived classes should try to define as small an area as possible to maximize efficiency, but the polygon must \fIdefinitely\fR be contained completely within the polygonal area. Calculating the exact requirements is usually difficult, but if you allow a small overestimate it can be easy and quick, while still getting almost all of TQCanvasPolygonalItem's speed.
.PP
Note that all subclasses \fImust\fR call hide() in their destructor since hide() needs to be able to access areaPoints().
.PP
-Normally, QCanvasPolygonalItem uses the odd-even algorithm for determining whether an object intersects this object. You can change this to the winding algorithm using setWinding().
+Normally, TQCanvasPolygonalItem uses the odd-even algorithm for determining whether an object intersects this object. You can change this to the winding algorithm using setWinding().
.PP
-The bounding rectangle is available using boundingRect(). The points bounding the polygonal item are retrieved with areaPoints(). Use areaPointsAdvanced() to retrieve the bounding points the polygonal item \fIwill\fR have after QCanvasItem::advance(1) has been called.
+The bounding rectangle is available using boundingRect(). The points bounding the polygonal item are retrieved with areaPoints(). Use areaPointsAdvanced() to retrieve the bounding points the polygonal item \fIwill\fR have after TQCanvasItem::advance(1) has been called.
.PP
If the shape of the polygonal item is about to change while the item is visible, call invalidate() before updating with a different result from areaPoints().
.PP
-By default, QCanvasPolygonalItem objects have a black pen and no brush (the default QPen and QBrush constructors). You can change this with setPen() and setBrush(), but note that some QCanvasPolygonalItem subclasses only use the brush, ignoring the pen setting.
+By default, TQCanvasPolygonalItem objects have a black pen and no brush (the default QPen and QBrush constructors). You can change this with setPen() and setBrush(), but note that some TQCanvasPolygonalItem subclasses only use the brush, ignoring the pen setting.
.PP
The polygonal item can be drawn on a painter with draw(). Subclasses must reimplement drawShape() to draw themselves.
.PP
-Like any other canvas item polygonal items can be moved with QCanvasItem::move() and QCanvasItem::moveBy(), or by setting coordinates with QCanvasItem::setX(), QCanvasItem::setY() and QCanvasItem::setZ().
+Like any other canvas item polygonal items can be moved with TQCanvasItem::move() and TQCanvasItem::moveBy(), or by setting coordinates with TQCanvasItem::setX(), TQCanvasItem::setY() and TQCanvasItem::setZ().
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasPolygonalItem::QCanvasPolygonalItem ( QCanvas * canvas )"
-Constructs a QCanvasPolygonalItem on the canvas \fIcanvas\fR.
-.SH "QCanvasPolygonalItem::~QCanvasPolygonalItem ()\fC [virtual]\fR"
+.SH "TQCanvasPolygonalItem::TQCanvasPolygonalItem ( TQCanvas * canvas )"
+Constructs a TQCanvasPolygonalItem on the canvas \fIcanvas\fR.
+.SH "TQCanvasPolygonalItem::~TQCanvasPolygonalItem ()\fC [virtual]\fR"
Note that all subclasses \fImust\fR call hide() in their destructor since hide() needs to be able to access areaPoints().
-.SH "QPointArray QCanvasPolygonalItem::areaPoints () const\fC [pure virtual]\fR"
+.SH "QPointArray TQCanvasPolygonalItem::areaPoints () const\fC [pure virtual]\fR"
This function must be reimplemented by subclasses. It \fImust\fR return the points bounding (i.e. outside and not touching) the shape or drawing errors will occur.
.PP
-Reimplemented in QCanvasPolygon.
-.SH "QPointArray QCanvasPolygonalItem::areaPointsAdvanced () const\fC [virtual]\fR"
-Returns the points the polygonal item \fIwill\fR have after QCanvasItem::advance(1) is called, i.e. what the points are when advanced by the current xVelocity() and yVelocity().
-.SH "QRect QCanvasPolygonalItem::boundingRect () const\fC [virtual]\fR"
+Reimplemented in TQCanvasPolygon.
+.SH "QPointArray TQCanvasPolygonalItem::areaPointsAdvanced () const\fC [virtual]\fR"
+Returns the points the polygonal item \fIwill\fR have after TQCanvasItem::advance(1) is called, i.e. what the points are when advanced by the current xVelocity() and yVelocity().
+.SH "QRect TQCanvasPolygonalItem::boundingRect () const\fC [virtual]\fR"
Returns the bounding rectangle of the polygonal item, based on areaPoints().
.PP
-Reimplemented from QCanvasItem.
-.SH "QBrush QCanvasPolygonalItem::brush () const"
+Reimplemented from TQCanvasItem.
+.SH "QBrush TQCanvasPolygonalItem::brush () const"
Returns the QBrush used to fill the item, if filled.
.PP
See also setBrush().
-.SH "void QCanvasPolygonalItem::draw ( QPainter & p )\fC [virtual protected]\fR"
-Reimplemented from QCanvasItem, this draws the polygonal item by setting the pen and brush for the item on the painter \fIp\fR and calling drawShape().
+.SH "void TQCanvasPolygonalItem::draw ( QPainter & p )\fC [virtual protected]\fR"
+Reimplemented from TQCanvasItem, this draws the polygonal item by setting the pen and brush for the item on the painter \fIp\fR and calling drawShape().
.PP
-Reimplemented from QCanvasItem.
-.SH "void QCanvasPolygonalItem::drawShape ( QPainter & p )\fC [pure virtual protected]\fR"
+Reimplemented from TQCanvasItem.
+.SH "void TQCanvasPolygonalItem::drawShape ( QPainter & p )\fC [pure virtual protected]\fR"
Subclasses must reimplement this function to draw their shape. The pen and brush of \fIp\fR are already set to pen() and brush() prior to calling this function.
.PP
\fBWarning:\fR When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, if you start by calling QPainter::translate(50, 50), end your code by calling QPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., don't call QPainter::resetXForm() when you're done).
.PP
See also draw().
.PP
-Reimplemented in QCanvasRectangle, QCanvasPolygon, and QCanvasEllipse.
-.SH "void QCanvasPolygonalItem::invalidate ()\fC [protected]\fR"
+Reimplemented in TQCanvasRectangle, TQCanvasPolygon, and TQCanvasEllipse.
+.SH "void TQCanvasPolygonalItem::invalidate ()\fC [protected]\fR"
Invalidates all information about the area covered by the canvas item. The item will be updated automatically on the next call that changes the item's status, for example, move() or update(). Call this function if you are going to change the shape of the item (as returned by areaPoints()) while the item is visible.
-.SH "bool QCanvasPolygonalItem::isValid () const\fC [protected]\fR"
+.SH "bool TQCanvasPolygonalItem::isValid () const\fC [protected]\fR"
Returns TRUE if the polygonal item's area information has not been invalidated; otherwise returns FALSE.
.PP
See also invalidate().
-.SH "QPen QCanvasPolygonalItem::pen () const"
+.SH "QPen TQCanvasPolygonalItem::pen () const"
Returns the QPen used to draw the outline of the item, if any.
.PP
See also setPen().
-.SH "int QCanvasPolygonalItem::rtti () const\fC [virtual]\fR"
-Returns 2 (QCanvasItem::Rtti_PolygonalItem).
+.SH "int TQCanvasPolygonalItem::rtti () const\fC [virtual]\fR"
+Returns 2 (TQCanvasItem::Rtti_PolygonalItem).
.PP
-See also QCanvasItem::rtti().
+See also TQCanvasItem::rtti().
.PP
-Reimplemented from QCanvasItem.
+Reimplemented from TQCanvasItem.
.PP
-Reimplemented in QCanvasRectangle, QCanvasPolygon, QCanvasLine, and QCanvasEllipse.
-.SH "void QCanvasPolygonalItem::setBrush ( QBrush b )\fC [virtual]\fR"
+Reimplemented in TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllipse.
+.SH "void TQCanvasPolygonalItem::setBrush ( QBrush b )\fC [virtual]\fR"
Sets the QBrush used when drawing the polygonal item to the brush \fIb\fR.
.PP
See also setPen(), brush(), and drawShape().
.PP
Examples:
.)l canvas/canvas.cpp and chart/chartform_canvas.cpp.
-.SH "void QCanvasPolygonalItem::setPen ( QPen p )\fC [virtual]\fR"
-Sets the QPen used when drawing the item to the pen \fIp\fR. Note that many QCanvasPolygonalItems do not use the pen value.
+.SH "void TQCanvasPolygonalItem::setPen ( QPen p )\fC [virtual]\fR"
+Sets the QPen used when drawing the item to the pen \fIp\fR. Note that many TQCanvasPolygonalItems do not use the pen value.
.PP
See also setBrush(), pen(), and drawShape().
.PP
Examples:
.)l canvas/canvas.cpp and chart/chartform_canvas.cpp.
-.SH "void QCanvasPolygonalItem::setWinding ( bool enable )\fC [protected]\fR"
+.SH "void TQCanvasPolygonalItem::setWinding ( bool enable )\fC [protected]\fR"
If \fIenable\fR is TRUE, the polygonal item will use the winding algorithm to determine the "inside" of the polygon; otherwise the odd-even algorithm will be used.
.PP
The default is to use the odd-even algorithm.
.PP
See also winding().
-.SH "bool QCanvasPolygonalItem::winding () const\fC [protected]\fR"
+.SH "bool TQCanvasPolygonalItem::winding () const\fC [protected]\fR"
Returns TRUE if the polygonal item uses the winding algorithm to determine the "inside" of the polygon. Returns FALSE if it uses the odd-even algorithm.
.PP
The default is to use the odd-even algorithm.
@@ -168,7 +168,7 @@ The default is to use the odd-even algorithm.
See also setWinding().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvaspolygonalitem.html
+.BR http://doc.trolltech.com/tqcanvaspolygonalitem.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvasrectangle.3qt b/doc/man/man3/tqcanvasrectangle.3qt
index 9a6211b58..a21325920 100644
--- a/doc/man/man3/tqcanvasrectangle.3qt
+++ b/doc/man/man3/tqcanvasrectangle.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasRectangle 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasRectangle 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QCanvasRectangle \- Rectangle on a QCanvas
+TQCanvasRectangle \- Rectangle on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QCanvasPolygonalItem.
+Inherits TQCanvasPolygonalItem.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasRectangle\fR ( QCanvas * canvas )"
+.BI "\fBTQCanvasRectangle\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fBQCanvasRectangle\fR ( const QRect & r, QCanvas * canvas )"
+.BI "\fBTQCanvasRectangle\fR ( const QRect & r, TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fBQCanvasRectangle\fR ( int x, int y, int width, int height, QCanvas * canvas )"
+.BI "\fBTQCanvasRectangle\fR ( int x, int y, int width, int height, TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fB~QCanvasRectangle\fR ()"
+.BI "\fB~TQCanvasRectangle\fR ()"
.br
.ti -1c
.BI "int \fBwidth\fR () const"
@@ -56,55 +56,55 @@ Inherits QCanvasPolygonalItem.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasRectangle class provides a rectangle on a QCanvas.
+The TQCanvasRectangle class provides a rectangle on a TQCanvas.
.PP
-This item paints a single rectangle which may have any pen() and brush(), but may not be tilted/rotated. For rotated rectangles, use QCanvasPolygon.
+This item paints a single rectangle which may have any pen() and brush(), but may not be tilted/rotated. For rotated rectangles, use TQCanvasPolygon.
.PP
The rectangle's size and initial position can be set in the constructor. The size can be set or changed later using setSize(). Use height() and width() to retrieve the rectangle's dimensions.
.PP
The rectangle can be drawn on a painter with drawShape().
.PP
-Like any other canvas item rectangles can be moved with QCanvasItem::move() and QCanvasItem::moveBy(), or by setting coordinates with QCanvasItem::setX(), QCanvasItem::setY() and QCanvasItem::setZ().
+Like any other canvas item rectangles can be moved with TQCanvasItem::move() and TQCanvasItem::moveBy(), or by setting coordinates with TQCanvasItem::setX(), TQCanvasItem::setY() and TQCanvasItem::setZ().
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasRectangle::QCanvasRectangle ( QCanvas * canvas )"
+.SH "TQCanvasRectangle::TQCanvasRectangle ( TQCanvas * canvas )"
Constructs a rectangle at position (0,0) with both width and height set to 32 pixels on \fIcanvas\fR.
-.SH "QCanvasRectangle::QCanvasRectangle ( const QRect & r, QCanvas * canvas )"
+.SH "TQCanvasRectangle::TQCanvasRectangle ( const QRect & r, TQCanvas * canvas )"
Constructs a rectangle positioned and sized by \fIr\fR on \fIcanvas\fR.
-.SH "QCanvasRectangle::QCanvasRectangle ( int x, int y, int width, int height, QCanvas * canvas )"
+.SH "TQCanvasRectangle::TQCanvasRectangle ( int x, int y, int width, int height, TQCanvas * canvas )"
Constructs a rectangle at position (\fIx\fR, \fIy\fR) and size \fIwidth\fR by \fIheight\fR, on \fIcanvas\fR.
-.SH "QCanvasRectangle::~QCanvasRectangle ()"
+.SH "TQCanvasRectangle::~TQCanvasRectangle ()"
Destroys the rectangle.
-.SH "QPointArray QCanvasRectangle::chunks () const\fC [virtual protected]\fR"
-Simply calls QCanvasItem::chunks().
-.SH "void QCanvasRectangle::drawShape ( QPainter & p )\fC [virtual protected]\fR"
+.SH "QPointArray TQCanvasRectangle::chunks () const\fC [virtual protected]\fR"
+Simply calls TQCanvasItem::chunks().
+.SH "void TQCanvasRectangle::drawShape ( QPainter & p )\fC [virtual protected]\fR"
Draws the rectangle on painter \fIp\fR.
.PP
Example: canvas/canvas.cpp.
.PP
-Reimplemented from QCanvasPolygonalItem.
-.SH "int QCanvasRectangle::height () const"
+Reimplemented from TQCanvasPolygonalItem.
+.SH "int TQCanvasRectangle::height () const"
Returns the height of the rectangle.
-.SH "QRect QCanvasRectangle::rect () const"
+.SH "QRect TQCanvasRectangle::rect () const"
Returns the integer-converted x(), y() position and size() of the rectangle as a QRect.
-.SH "int QCanvasRectangle::rtti () const\fC [virtual]\fR"
-Returns 5 (QCanvasItem::Rtti_Rectangle).
+.SH "int TQCanvasRectangle::rtti () const\fC [virtual]\fR"
+Returns 5 (TQCanvasItem::Rtti_Rectangle).
.PP
-See also QCanvasItem::rtti().
+See also TQCanvasItem::rtti().
.PP
-Reimplemented from QCanvasPolygonalItem.
-.SH "void QCanvasRectangle::setSize ( int width, int height )"
+Reimplemented from TQCanvasPolygonalItem.
+.SH "void TQCanvasRectangle::setSize ( int width, int height )"
Sets the \fIwidth\fR and \fIheight\fR of the rectangle.
-.SH "QSize QCanvasRectangle::size () const"
+.SH "QSize TQCanvasRectangle::size () const"
Returns the width() and height() of the rectangle.
.PP
See also rect() and setSize().
-.SH "int QCanvasRectangle::width () const"
+.SH "int TQCanvasRectangle::width () const"
Returns the width of the rectangle.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvasrectangle.html
+.BR http://doc.trolltech.com/tqcanvasrectangle.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvasspline.3qt b/doc/man/man3/tqcanvasspline.3qt
index 1f00c4b31..8424e675b 100644
--- a/doc/man/man3/tqcanvasspline.3qt
+++ b/doc/man/man3/tqcanvasspline.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasSpline 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasSpline 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,19 +7,19 @@
.ad l
.nh
.SH NAME
-QCanvasSpline \- Multi-bezier splines on a QCanvas
+TQCanvasSpline \- Multi-bezier splines on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QCanvasPolygon.
+Inherits TQCanvasPolygon.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasSpline\fR ( QCanvas * canvas )"
+.BI "\fBTQCanvasSpline\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fB~QCanvasSpline\fR ()"
+.BI "\fB~TQCanvasSpline\fR ()"
.br
.ti -1c
.BI "void \fBsetControlPoints\fR ( QPointArray ctrl, bool close = TRUE )"
@@ -35,9 +35,9 @@ Inherits QCanvasPolygon.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasSpline class provides multi-bezier splines on a QCanvas.
+The TQCanvasSpline class provides multi-bezier splines on a TQCanvas.
.PP
-A QCanvasSpline is a sequence of 4-point bezier curves joined together to make a curved shape.
+A TQCanvasSpline is a sequence of 4-point bezier curves joined together to make a curved shape.
.PP
You set the control points of the spline with setControlPoints().
.PP
@@ -45,29 +45,29 @@ If the bezier is closed(), then the first control point will be re-used as the l
.PP
The beziers are not necessarily joined "smoothly". To ensure this, set control points appropriately (general reference texts about beziers will explain this in detail).
.PP
-Like any other canvas item splines can be moved with QCanvasItem::move() and QCanvasItem::moveBy(), or by setting coordinates with QCanvasItem::setX(), QCanvasItem::setY() and QCanvasItem::setZ().
+Like any other canvas item splines can be moved with TQCanvasItem::move() and TQCanvasItem::moveBy(), or by setting coordinates with TQCanvasItem::setX(), TQCanvasItem::setY() and TQCanvasItem::setZ().
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasSpline::QCanvasSpline ( QCanvas * canvas )"
+.SH "TQCanvasSpline::TQCanvasSpline ( TQCanvas * canvas )"
Create a spline with no control points on the canvas \fIcanvas\fR.
.PP
See also setControlPoints().
-.SH "QCanvasSpline::~QCanvasSpline ()"
+.SH "TQCanvasSpline::~TQCanvasSpline ()"
Destroy the spline.
-.SH "bool QCanvasSpline::closed () const"
+.SH "bool TQCanvasSpline::closed () const"
Returns TRUE if the control points are a closed set; otherwise returns FALSE.
-.SH "QPointArray QCanvasSpline::controlPoints () const"
+.SH "QPointArray TQCanvasSpline::controlPoints () const"
Returns the current set of control points.
.PP
See also setControlPoints() and closed().
-.SH "int QCanvasSpline::rtti () const\fC [virtual]\fR"
-Returns 8 (QCanvasItem::Rtti_Spline).
+.SH "int TQCanvasSpline::rtti () const\fC [virtual]\fR"
+Returns 8 (TQCanvasItem::Rtti_Spline).
.PP
-See also QCanvasItem::rtti().
+See also TQCanvasItem::rtti().
.PP
-Reimplemented from QCanvasPolygon.
-.SH "void QCanvasSpline::setControlPoints ( QPointArray ctrl, bool close = TRUE )"
+Reimplemented from TQCanvasPolygon.
+.SH "void TQCanvasSpline::setControlPoints ( QPointArray ctrl, bool close = TRUE )"
Set the spline control points to \fIctrl\fR.
.PP
If \fIclose\fR is TRUE, then the first point in \fIctrl\fR will be re-used as the last point, and the number of control points must be a multiple of 3. If \fIclose\fR is FALSE, one additional control point is required, and the number of control points must be one of (4, 7, 10, 13, ...).
@@ -77,7 +77,7 @@ If the number of control points doesn't meet the above conditions, the number of
Example: canvas/canvas.cpp.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvasspline.html
+.BR http://doc.trolltech.com/tqcanvasspline.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvassprite.3qt b/doc/man/man3/tqcanvassprite.3qt
index 8a3e194b8..adcc403bb 100644
--- a/doc/man/man3/tqcanvassprite.3qt
+++ b/doc/man/man3/tqcanvassprite.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasSprite 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasSprite 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,22 +7,22 @@
.ad l
.nh
.SH NAME
-QCanvasSprite \- Animated canvas item on a QCanvas
+TQCanvasSprite \- Animated canvas item on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QCanvasItem.
+Inherits TQCanvasItem.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasSprite\fR ( QCanvasPixmapArray * a, QCanvas * canvas )"
+.BI "\fBTQCanvasSprite\fR ( TQCanvasPixmapArray * a, TQCanvas * canvas )"
.br
.ti -1c
-.BI "void \fBsetSequence\fR ( QCanvasPixmapArray * a )"
+.BI "void \fBsetSequence\fR ( TQCanvasPixmapArray * a )"
.br
.ti -1c
-.BI "virtual \fB~QCanvasSprite\fR ()"
+.BI "virtual \fB~TQCanvasSprite\fR ()"
.br
.ti -1c
.BI "virtual void \fBmove\fR ( double nx, double ny, int nf )"
@@ -79,13 +79,13 @@ Inherits QCanvasItem.
.BI "int \fBbottomEdge\fR ( int ny ) const"
.br
.ti -1c
-.BI "QCanvasPixmap * \fBimage\fR () const"
+.BI "TQCanvasPixmap * \fBimage\fR () const"
.br
.ti -1c
-.BI "virtual QCanvasPixmap * \fBimageAdvanced\fR () const"
+.BI "virtual TQCanvasPixmap * \fBimageAdvanced\fR () const"
.br
.ti -1c
-.BI "QCanvasPixmap * \fBimage\fR ( int f ) const"
+.BI "TQCanvasPixmap * \fBimage\fR ( int f ) const"
.br
.ti -1c
.BI "virtual void \fBadvance\fR ( int phase )"
@@ -95,9 +95,9 @@ Inherits QCanvasItem.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasSprite class provides an animated canvas item on a QCanvas.
+The TQCanvasSprite class provides an animated canvas item on a TQCanvas.
.PP
-A canvas sprite is an object which can contain any number of images (referred to as frames), only one of which is current, i.e. displayed, at any one time. The images can be passed in the constructor or set or changed later with setSequence(). If you subclass QCanvasSprite you can change the frame that is displayed periodically, e.g. whenever QCanvasItem::advance(1) is called to create the effect of animation.
+A canvas sprite is an object which can contain any number of images (referred to as frames), only one of which is current, i.e. displayed, at any one time. The images can be passed in the constructor or set or changed later with setSequence(). If you subclass TQCanvasSprite you can change the frame that is displayed periodically, e.g. whenever TQCanvasItem::advance(1) is called to create the effect of animation.
.PP
The current frame can be set with setFrame() or with move(). The number of frames available is given by frameCount(). The bounding rectangle of the current frame is returned by boundingRect().
.PP
@@ -107,110 +107,110 @@ Use width() and height() to retrieve the dimensions of the current frame.
.PP
Use leftEdge() and rightEdge() to retrieve the current frame's left-hand and right-hand x-coordinates respectively. Use bottomEdge() and topEdge() to retrieve the current frame's bottom and top y-coordinates respectively. These functions have an overload which will accept an integer frame number to retrieve the coordinates of a particular frame.
.PP
-QCanvasSprite draws very quickly, at the expense of memory.
+TQCanvasSprite draws very quickly, at the expense of memory.
.PP
The current frame's image can be drawn on a painter with draw().
.PP
-Like any other canvas item, canvas sprites can be moved with move() which sets the x and y coordinates and the frame number, as well as with QCanvasItem::move() and QCanvasItem::moveBy(), or by setting coordinates with QCanvasItem::setX(), QCanvasItem::setY() and QCanvasItem::setZ().
+Like any other canvas item, canvas sprites can be moved with move() which sets the x and y coordinates and the frame number, as well as with TQCanvasItem::move() and TQCanvasItem::moveBy(), or by setting coordinates with TQCanvasItem::setX(), TQCanvasItem::setY() and TQCanvasItem::setZ().
.PP
See also Graphics Classes and Image Processing Classes.
.SS "Member Type Documentation"
-.SH "QCanvasSprite::FrameAnimationType"
-This enum is used to identify the different types of frame animation offered by QCanvasSprite.
+.SH "TQCanvasSprite::FrameAnimationType"
+This enum is used to identify the different types of frame animation offered by TQCanvasSprite.
.TP
-\fCQCanvasSprite::Cycle\fR - at each advance the frame number will be incremented by 1 (modulo the frame count).
+\fCTQCanvasSprite::Cycle\fR - at each advance the frame number will be incremented by 1 (modulo the frame count).
.TP
-\fCQCanvasSprite::Oscillate\fR - at each advance the frame number will be incremented by 1 up to the frame count then decremented to by 1 to 0, repeating this sequence forever.
+\fCTQCanvasSprite::Oscillate\fR - at each advance the frame number will be incremented by 1 up to the frame count then decremented to by 1 to 0, repeating this sequence forever.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasSprite::QCanvasSprite ( QCanvasPixmapArray * a, QCanvas * canvas )"
-Constructs a QCanvasSprite which uses images from the QCanvasPixmapArray \fIa\fR.
+.SH "TQCanvasSprite::TQCanvasSprite ( TQCanvasPixmapArray * a, TQCanvas * canvas )"
+Constructs a TQCanvasSprite which uses images from the TQCanvasPixmapArray \fIa\fR.
.PP
The sprite in initially positioned at (0, 0) on \fIcanvas\fR, using frame 0.
-.SH "QCanvasSprite::~QCanvasSprite ()\fC [virtual]\fR"
+.SH "TQCanvasSprite::~TQCanvasSprite ()\fC [virtual]\fR"
Destroys the sprite and removes it from the canvas. Does \fInot\fR delete the images.
-.SH "void QCanvasSprite::advance ( int phase )\fC [virtual]\fR"
-Extends the default QCanvasItem implementation to provide the functionality of setFrameAnimation().
+.SH "void TQCanvasSprite::advance ( int phase )\fC [virtual]\fR"
+Extends the default TQCanvasItem implementation to provide the functionality of setFrameAnimation().
.PP
-The \fIphase\fR is 0 or 1: see QCanvasItem::advance() for details.
+The \fIphase\fR is 0 or 1: see TQCanvasItem::advance() for details.
.PP
-See also QCanvasItem::advance() and setVelocity().
+See also TQCanvasItem::advance() and setVelocity().
.PP
Example: canvas/canvas.cpp.
.PP
-Reimplemented from QCanvasItem.
-.SH "int QCanvasSprite::bottomEdge () const"
+Reimplemented from TQCanvasItem.
+.SH "int TQCanvasSprite::bottomEdge () const"
Returns the y-coordinate of the current bottom edge of the sprite. (This may change as the sprite animates since different frames may have different bottom edges.)
.PP
See also leftEdge(), rightEdge(), and topEdge().
-.SH "int QCanvasSprite::bottomEdge ( int ny ) const"
+.SH "int TQCanvasSprite::bottomEdge ( int ny ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns what the y-coordinate of the top edge of the sprite would be if the sprite (actually its hotspot) were moved to y-position \fIny\fR.
.PP
See also leftEdge(), rightEdge(), and topEdge().
-.SH "QRect QCanvasSprite::boundingRect () const\fC [virtual]\fR"
+.SH "QRect TQCanvasSprite::boundingRect () const\fC [virtual]\fR"
Returns the bounding rectangle for the image in the sprite's current frame. This assumes that the images are tightly cropped (i.e. do not have transparent pixels all along a side).
.PP
-Reimplemented from QCanvasItem.
-.SH "void QCanvasSprite::draw ( QPainter & painter )\fC [virtual]\fR"
+Reimplemented from TQCanvasItem.
+.SH "void TQCanvasSprite::draw ( QPainter & painter )\fC [virtual]\fR"
Draws the current frame's image at the sprite's current position on painter \fIpainter\fR.
.PP
-Reimplemented from QCanvasItem.
-.SH "int QCanvasSprite::frame () const"
-Returns the index of the current animation frame in the QCanvasSprite's QCanvasPixmapArray.
+Reimplemented from TQCanvasItem.
+.SH "int TQCanvasSprite::frame () const"
+Returns the index of the current animation frame in the TQCanvasSprite's TQCanvasPixmapArray.
.PP
See also setFrame() and move().
-.SH "int QCanvasSprite::frameCount () const"
-Returns the number of frames in the QCanvasSprite's QCanvasPixmapArray.
-.SH "int QCanvasSprite::height () const"
+.SH "int TQCanvasSprite::frameCount () const"
+Returns the number of frames in the TQCanvasSprite's TQCanvasPixmapArray.
+.SH "int TQCanvasSprite::height () const"
The height of the sprite for the current frame's image.
.PP
See also frame().
-.SH "QCanvasPixmap * QCanvasSprite::image () const"
+.SH "TQCanvasPixmap * TQCanvasSprite::image () const"
Returns the current frame's image.
.PP
See also frame() and setFrame().
-.SH "QCanvasPixmap * QCanvasSprite::image ( int f ) const"
+.SH "TQCanvasPixmap * TQCanvasSprite::image ( int f ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the image for frame \fIf\fR. Does not do any bounds checking on \fIf\fR.
-.SH "QCanvasPixmap * QCanvasSprite::imageAdvanced () const\fC [virtual]\fR"
+.SH "TQCanvasPixmap * TQCanvasSprite::imageAdvanced () const\fC [virtual]\fR"
Returns the image the sprite \fIwill\fR have after advance(1) is called. By default this is the same as image().
-.SH "int QCanvasSprite::leftEdge () const"
+.SH "int TQCanvasSprite::leftEdge () const"
Returns the x-coordinate of the current left edge of the sprite. (This may change as the sprite animates since different frames may have different left edges.)
.PP
See also rightEdge(), bottomEdge(), and topEdge().
-.SH "int QCanvasSprite::leftEdge ( int nx ) const"
+.SH "int TQCanvasSprite::leftEdge ( int nx ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns what the x-coordinate of the left edge of the sprite would be if the sprite (actually its hotspot) were moved to x-position \fInx\fR.
.PP
See also rightEdge(), bottomEdge(), and topEdge().
-.SH "void QCanvasSprite::move ( double nx, double ny, int nf )\fC [virtual]\fR"
+.SH "void TQCanvasSprite::move ( double nx, double ny, int nf )\fC [virtual]\fR"
Set the position of the sprite to \fInx\fR, \fIny\fR and the current frame to \fInf\fR. \fInf\fR will be ignored if it is larger than frameCount() or smaller than 0.
-.SH "int QCanvasSprite::rightEdge () const"
+.SH "int TQCanvasSprite::rightEdge () const"
Returns the x-coordinate of the current right edge of the sprite. (This may change as the sprite animates since different frames may have different right edges.)
.PP
See also leftEdge(), bottomEdge(), and topEdge().
-.SH "int QCanvasSprite::rightEdge ( int nx ) const"
+.SH "int TQCanvasSprite::rightEdge ( int nx ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns what the x-coordinate of the right edge of the sprite would be if the sprite (actually its hotspot) were moved to x-position \fInx\fR.
.PP
See also leftEdge(), bottomEdge(), and topEdge().
-.SH "int QCanvasSprite::rtti () const\fC [virtual]\fR"
-Returns 1 (QCanvasItem::Rtti_Sprite).
+.SH "int TQCanvasSprite::rtti () const\fC [virtual]\fR"
+Returns 1 (TQCanvasItem::Rtti_Sprite).
.PP
-See also QCanvasItem::rtti().
+See also TQCanvasItem::rtti().
.PP
Example: canvas/canvas.cpp.
.PP
-Reimplemented from QCanvasItem.
-.SH "void QCanvasSprite::setFrame ( int f )"
-Sets the animation frame used for displaying the sprite to \fIf\fR, an index into the QCanvasSprite's QCanvasPixmapArray. The call will be ignored if \fIf\fR is larger than frameCount() or smaller than 0.
+Reimplemented from TQCanvasItem.
+.SH "void TQCanvasSprite::setFrame ( int f )"
+Sets the animation frame used for displaying the sprite to \fIf\fR, an index into the TQCanvasSprite's TQCanvasPixmapArray. The call will be ignored if \fIf\fR is larger than frameCount() or smaller than 0.
.PP
See also frame() and move().
-.SH "void QCanvasSprite::setFrameAnimation ( FrameAnimationType type = Cycle, int step = 1, int state = 0 )\fC [virtual]\fR"
+.SH "void TQCanvasSprite::setFrameAnimation ( FrameAnimationType type = Cycle, int step = 1, int state = 0 )\fC [virtual]\fR"
Sets the animation characteristics for the sprite.
.PP
For \fItype\fR == Cycle, the frames will increase by \fIstep\fR at each advance, modulo the frameCount().
@@ -218,27 +218,27 @@ For \fItype\fR == Cycle, the frames will increase by \fIstep\fR at each advance,
For \fItype\fR == Oscillate, the frames will increase by \fIstep\fR at each advance, up to the frameCount(), then decrease by \fIstep\fR back to 0, repeating forever.
.PP
The \fIstate\fR parameter is for internal use.
-.SH "void QCanvasSprite::setSequence ( QCanvasPixmapArray * a )"
-Set the array of images used for displaying the sprite to the QCanvasPixmapArray \fIa\fR.
+.SH "void TQCanvasSprite::setSequence ( TQCanvasPixmapArray * a )"
+Set the array of images used for displaying the sprite to the TQCanvasPixmapArray \fIa\fR.
.PP
If the current frame() is larger than the number of images in \fIa\fR, the current frame will be reset to 0.
-.SH "int QCanvasSprite::topEdge () const"
+.SH "int TQCanvasSprite::topEdge () const"
Returns the y-coordinate of the top edge of the sprite. (This may change as the sprite animates since different frames may have different top edges.)
.PP
See also leftEdge(), rightEdge(), and bottomEdge().
-.SH "int QCanvasSprite::topEdge ( int ny ) const"
+.SH "int TQCanvasSprite::topEdge ( int ny ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns what the y-coordinate of the top edge of the sprite would be if the sprite (actually its hotspot) were moved to y-position \fIny\fR.
.PP
See also leftEdge(), rightEdge(), and bottomEdge().
-.SH "int QCanvasSprite::width () const"
+.SH "int TQCanvasSprite::width () const"
The width of the sprite for the current frame's image.
.PP
See also frame().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvassprite.html
+.BR http://doc.trolltech.com/tqcanvassprite.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvastext.3qt b/doc/man/man3/tqcanvastext.3qt
index 65ab8e041..0aab507b4 100644
--- a/doc/man/man3/tqcanvastext.3qt
+++ b/doc/man/man3/tqcanvastext.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasText 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasText 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QCanvasText \- Text object on a QCanvas
+TQCanvasText \- Text object on a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
-Inherits QCanvasItem.
+Inherits TQCanvasItem.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasText\fR ( QCanvas * canvas )"
+.BI "\fBTQCanvasText\fR ( TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fBQCanvasText\fR ( const TQString & t, QCanvas * canvas )"
+.BI "\fBTQCanvasText\fR ( const TQString & t, TQCanvas * canvas )"
.br
.ti -1c
-.BI "\fBQCanvasText\fR ( const TQString & t, QFont f, QCanvas * canvas )"
+.BI "\fBTQCanvasText\fR ( const TQString & t, QFont f, TQCanvas * canvas )"
.br
.ti -1c
-.BI "virtual \fB~QCanvasText\fR ()"
+.BI "virtual \fB~TQCanvasText\fR ()"
.br
.ti -1c
.BI "void \fBsetText\fR ( const TQString & t )"
@@ -65,77 +65,77 @@ Inherits QCanvasItem.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasText class provides a text object on a QCanvas.
+The TQCanvasText class provides a text object on a TQCanvas.
.PP
A canvas text item has text with font, color and alignment attributes. The text and font can be set in the constructor or set or changed later with setText() and setFont(). The color is set with setColor() and the alignment with setTextFlags(). The text item's bounding rectangle is retrieved with boundingRect().
.PP
The text can be drawn on a painter with draw().
.PP
-Like any other canvas item text items can be moved with QCanvasItem::move() and QCanvasItem::moveBy(), or by setting coordinates with QCanvasItem::setX(), QCanvasItem::setY() and QCanvasItem::setZ().
+Like any other canvas item text items can be moved with TQCanvasItem::move() and TQCanvasItem::moveBy(), or by setting coordinates with TQCanvasItem::setX(), TQCanvasItem::setY() and TQCanvasItem::setZ().
.PP
See also Graphics Classes and Image Processing Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasText::QCanvasText ( QCanvas * canvas )"
-Constructs a QCanvasText with the text "<text>", on \fIcanvas\fR.
-.SH "QCanvasText::QCanvasText ( const TQString & t, QCanvas * canvas )"
-Constructs a QCanvasText with the text \fIt\fR, on canvas \fIcanvas\fR.
-.SH "QCanvasText::QCanvasText ( const TQString & t, QFont f, QCanvas * canvas )"
-Constructs a QCanvasText with the text \fIt\fR and font \fIf\fR, on the canvas \fIcanvas\fR.
-.SH "QCanvasText::~QCanvasText ()\fC [virtual]\fR"
+.SH "TQCanvasText::TQCanvasText ( TQCanvas * canvas )"
+Constructs a TQCanvasText with the text "<text>", on \fIcanvas\fR.
+.SH "TQCanvasText::TQCanvasText ( const TQString & t, TQCanvas * canvas )"
+Constructs a TQCanvasText with the text \fIt\fR, on canvas \fIcanvas\fR.
+.SH "TQCanvasText::TQCanvasText ( const TQString & t, QFont f, TQCanvas * canvas )"
+Constructs a TQCanvasText with the text \fIt\fR and font \fIf\fR, on the canvas \fIcanvas\fR.
+.SH "TQCanvasText::~TQCanvasText ()\fC [virtual]\fR"
Destroys the canvas text item.
-.SH "QRect QCanvasText::boundingRect () const\fC [virtual]\fR"
+.SH "QRect TQCanvasText::boundingRect () const\fC [virtual]\fR"
Returns the bounding rectangle of the text.
.PP
-Reimplemented from QCanvasItem.
-.SH "TQColor QCanvasText::color () const"
+Reimplemented from TQCanvasItem.
+.SH "TQColor TQCanvasText::color () const"
Returns the color of the text.
.PP
See also setColor().
-.SH "void QCanvasText::draw ( QPainter & painter )\fC [virtual protected]\fR"
+.SH "void TQCanvasText::draw ( QPainter & painter )\fC [virtual protected]\fR"
Draws the text using the painter \fIpainter\fR.
.PP
-Reimplemented from QCanvasItem.
-.SH "QFont QCanvasText::font () const"
+Reimplemented from TQCanvasItem.
+.SH "QFont TQCanvasText::font () const"
Returns the font in which the text is drawn.
.PP
See also setFont().
-.SH "int QCanvasText::rtti () const\fC [virtual]\fR"
-Returns 3 (QCanvasItem::Rtti_Text).
+.SH "int TQCanvasText::rtti () const\fC [virtual]\fR"
+Returns 3 (TQCanvasItem::Rtti_Text).
.PP
-See also QCanvasItem::rtti().
+See also TQCanvasItem::rtti().
.PP
-Reimplemented from QCanvasItem.
-.SH "void QCanvasText::setColor ( const TQColor & c )"
+Reimplemented from TQCanvasItem.
+.SH "void TQCanvasText::setColor ( const TQColor & c )"
Sets the color of the text to the color \fIc\fR.
.PP
See also color() and setFont().
.PP
Example: chart/chartform_canvas.cpp.
-.SH "void QCanvasText::setFont ( const QFont & f )"
+.SH "void TQCanvasText::setFont ( const QFont & f )"
Sets the font in which the text is drawn to font \fIf\fR.
.PP
See also font().
-.SH "void QCanvasText::setText ( const TQString & t )"
+.SH "void TQCanvasText::setText ( const TQString & t )"
Sets the text item's text to \fIt\fR. The text may contain newlines.
.PP
See also text(), setFont(), setColor(), and setTextFlags().
.PP
Example: canvas/canvas.cpp.
-.SH "void QCanvasText::setTextFlags ( int f )"
+.SH "void TQCanvasText::setTextFlags ( int f )"
Sets the alignment flags to \fIf\fR. These are a bitwise OR of the flags available to QPainter::drawText() -- see the TQt::AlignmentFlags.
.PP
See also setFont() and setColor().
-.SH "TQString QCanvasText::text () const"
+.SH "TQString TQCanvasText::text () const"
Returns the text item's text.
.PP
See also setText().
-.SH "int QCanvasText::textFlags () const"
+.SH "int TQCanvasText::textFlags () const"
Returns the currently set alignment flags.
.PP
See also setTextFlags() and TQt::AlignmentFlags.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvastext.html
+.BR http://doc.trolltech.com/tqcanvastext.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqcanvasview.3qt b/doc/man/man3/tqcanvasview.3qt
index f5ed502e7..7988ab890 100644
--- a/doc/man/man3/tqcanvasview.3qt
+++ b/doc/man/man3/tqcanvasview.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QCanvasView 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQCanvasView 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,28 +7,28 @@
.ad l
.nh
.SH NAME
-QCanvasView \- On-screen view of a QCanvas
+TQCanvasView \- On-screen view of a TQCanvas
.SH SYNOPSIS
-\fC#include <ntqcanvas.h>\fR
+\fC#include <tqcanvas.h>\fR
.PP
Inherits QScrollView.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQCanvasView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
+.BI "\fBTQCanvasView\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
.br
.ti -1c
-.BI "\fBQCanvasView\fR ( QCanvas * canvas, TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
+.BI "\fBTQCanvasView\fR ( TQCanvas * canvas, TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
.br
.ti -1c
-.BI "\fB~QCanvasView\fR ()"
+.BI "\fB~TQCanvasView\fR ()"
.br
.ti -1c
-.BI "QCanvas * \fBcanvas\fR () const"
+.BI "TQCanvas * \fBcanvas\fR () const"
.br
.ti -1c
-.BI "void \fBsetCanvas\fR ( QCanvas * canvas )"
+.BI "void \fBsetCanvas\fR ( TQCanvas * canvas )"
.br
.ti -1c
.BI "const QWMatrix & \fBworldMatrix\fR () const"
@@ -50,11 +50,11 @@ Inherits QScrollView.
.br
.in -1c
.SH DESCRIPTION
-The QCanvasView class provides an on-screen view of a QCanvas.
+The TQCanvasView class provides an on-screen view of a TQCanvas.
.PP
-A QCanvasView is widget which provides a view of a QCanvas.
+A TQCanvasView is widget which provides a view of a TQCanvas.
.PP
-If you want users to be able to interact with a canvas view, subclass QCanvasView. You might then reimplement QScrollView::contentsMousePressEvent(). For example, assuming no transformation matrix is set:
+If you want users to be able to interact with a canvas view, subclass TQCanvasView. You might then reimplement QScrollView::contentsMousePressEvent(). For example, assuming no transformation matrix is set:
.PP
.nf
.br
@@ -62,13 +62,13 @@ If you want users to be able to interact with a canvas view, subclass QCanvasVie
.br
{
.br
- QCanvasItemList l = canvas()->collisions(e->pos());
+ TQCanvasItemList l = canvas()->collisions(e->pos());
.br
- for (QCanvasItemList::Iterator it=l.begin(); it!=l.end(); ++it) {
+ for (TQCanvasItemList::Iterator it=l.begin(); it!=l.end(); ++it) {
.br
- if ( (*it)->rtti() == QCanvasRectangle::RTTI )
+ if ( (*it)->rtti() == TQCanvasRectangle::RTTI )
.br
- tqDebug("A QCanvasRectangle lies somewhere at this point");
+ tqDebug("A TQCanvasRectangle lies somewhere at this point");
.br
}
.br
@@ -119,43 +119,43 @@ The following code finds the part of the canvas that is visible in this view, i.
See also QWMatrix, QPainter::setWorldMatrix(), Graphics Classes, and Image Processing Classes.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QCanvasView::QCanvasView ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
-Constructs a QCanvasView with parent \fIparent\fR, and name \fIname\fR, using the widget flags \fIf\fR. The canvas view is not associated with a canvas, so you must to call setCanvas() to view a canvas.
-.SH "QCanvasView::QCanvasView ( QCanvas * canvas, TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
+.SH "TQCanvasView::TQCanvasView ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
+Constructs a TQCanvasView with parent \fIparent\fR, and name \fIname\fR, using the widget flags \fIf\fR. The canvas view is not associated with a canvas, so you must to call setCanvas() to view a canvas.
+.SH "TQCanvasView::TQCanvasView ( TQCanvas * canvas, TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
-Constructs a QCanvasView which views canvas \fIcanvas\fR, with parent \fIparent\fR, and name \fIname\fR, using the widget flags \fIf\fR.
-.SH "QCanvasView::~QCanvasView ()"
+Constructs a TQCanvasView which views canvas \fIcanvas\fR, with parent \fIparent\fR, and name \fIname\fR, using the widget flags \fIf\fR.
+.SH "TQCanvasView::~TQCanvasView ()"
Destroys the canvas view. The associated canvas is \fInot\fR deleted.
-.SH "QCanvas * QCanvasView::canvas () const"
-Returns a pointer to the canvas which the QCanvasView is currently showing.
-.SH "void QCanvasView::drawContents ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR"
-Repaints part of the QCanvas that the canvas view is showing starting at \fIcx\fR by \fIcy\fR, with a width of \fIcw\fR and a height of \fIch\fR using the painter \fIp\fR.
+.SH "TQCanvas * TQCanvasView::canvas () const"
+Returns a pointer to the canvas which the TQCanvasView is currently showing.
+.SH "void TQCanvasView::drawContents ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR"
+Repaints part of the TQCanvas that the canvas view is showing starting at \fIcx\fR by \fIcy\fR, with a width of \fIcw\fR and a height of \fIch\fR using the painter \fIp\fR.
.PP
-\fBWarning:\fR When double buffering is enabled, drawContents() will not respect the current settings of the painter when setting up the painter for the double buffer (e.g., viewport() and window()). Also, be aware that QCanvas::update() bypasses drawContents(), which means any reimplementation of drawContents() is not called.
+\fBWarning:\fR When double buffering is enabled, drawContents() will not respect the current settings of the painter when setting up the painter for the double buffer (e.g., viewport() and window()). Also, be aware that TQCanvas::update() bypasses drawContents(), which means any reimplementation of drawContents() is not called.
.PP
-See also QCanvas::setDoubleBuffering().
+See also TQCanvas::setDoubleBuffering().
.PP
Reimplemented from QScrollView.
-.SH "const QWMatrix & QCanvasView::inverseWorldMatrix () const"
+.SH "const QWMatrix & TQCanvasView::inverseWorldMatrix () const"
Returns a reference to the inverse of the canvas view's current transformation matrix.
.PP
See also setWorldMatrix() and worldMatrix().
-.SH "void QCanvasView::setCanvas ( QCanvas * canvas )"
-Sets the canvas that the QCanvasView is showing to the canvas \fIcanvas\fR.
-.SH "bool QCanvasView::setWorldMatrix ( const QWMatrix & wm )"
-Sets the transformation matrix of the QCanvasView to \fIwm\fR. The matrix must be invertible (i.e. if you create a world matrix that zooms out by 2 times, then the inverse of this matrix is one that will zoom in by 2 times).
+.SH "void TQCanvasView::setCanvas ( TQCanvas * canvas )"
+Sets the canvas that the TQCanvasView is showing to the canvas \fIcanvas\fR.
+.SH "bool TQCanvasView::setWorldMatrix ( const QWMatrix & wm )"
+Sets the transformation matrix of the TQCanvasView to \fIwm\fR. The matrix must be invertible (i.e. if you create a world matrix that zooms out by 2 times, then the inverse of this matrix is one that will zoom in by 2 times).
.PP
-When you use this, you should note that the performance of the QCanvasView will decrease considerably.
+When you use this, you should note that the performance of the TQCanvasView will decrease considerably.
.PP
Returns FALSE if \fIwm\fR is not invertable; otherwise returns TRUE.
.PP
See also worldMatrix(), inverseWorldMatrix(), and QWMatrix::isInvertible().
.PP
Example: canvas/canvas.cpp.
-.SH "QSize QCanvasView::sizeHint () const\fC [virtual protected]\fR"
+.SH "QSize TQCanvasView::sizeHint () const\fC [virtual protected]\fR"
Suggests a size sufficient to view the entire canvas.
-.SH "const QWMatrix & QCanvasView::worldMatrix () const"
+.SH "const QWMatrix & TQCanvasView::worldMatrix () const"
Returns a reference to the canvas view's current transformation matrix.
.PP
See also setWorldMatrix() and inverseWorldMatrix().
@@ -163,7 +163,7 @@ See also setWorldMatrix() and inverseWorldMatrix().
Example: canvas/canvas.cpp.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/qcanvasview.html
+.BR http://doc.trolltech.com/tqcanvasview.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
diff --git a/doc/man/man3/tqgridview.3qt b/doc/man/man3/tqgridview.3qt
index c52cfd52a..c3fb22682 100644
--- a/doc/man/man3/tqgridview.3qt
+++ b/doc/man/man3/tqgridview.3qt
@@ -110,7 +110,7 @@ If you need to monitor changes to the grid's dimensions (i.e. when numRows or nu
.PP
Note: the row and column indices are always given in the order, row (vertical offset) then column (horizontal offset). This order is the opposite of all pixel operations, which are given in the order x (horizontal offset), y (vertical offset).
.PP
-QGridView is a very simple abstract class based on QScrollView. It is designed to simplify the task of drawing many cells of the same size in a potentially scrollable canvas. If you need rows and columns with different sizes, use a QTable instead. If you need a simple list of items, use a QListBox. If you need to present hierachical data use a QListView, and if you need random objects at random positions, consider using either a QIconView or a QCanvas.
+QGridView is a very simple abstract class based on QScrollView. It is designed to simplify the task of drawing many cells of the same size in a potentially scrollable canvas. If you need rows and columns with different sizes, use a QTable instead. If you need a simple list of items, use a QListBox. If you need to present hierachical data use a QListView, and if you need random objects at random positions, consider using either a QIconView or a TQCanvas.
.PP
See also Abstract Widget Classes.
.SH MEMBER FUNCTION DOCUMENTATION
diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt
index 6f651cc24..08a22236f 100644
--- a/doc/man/man3/tqobject.3qt
+++ b/doc/man/man3/tqobject.3qt
@@ -15,7 +15,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.PP
Inherits Qt.
.PP
-Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, QAxObject, QAxScript, QAxScriptManager, TQWidget, QCanvas, QStyle, QClipboard, QCopChannel, QDns, QLayout, QDragObject, TQEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QWSKeyboardHandler, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, QStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator.
+Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, QAxObject, QAxScript, QAxScriptManager, TQWidget, TQCanvas, QStyle, QClipboard, QCopChannel, QDns, QLayout, QDragObject, TQEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QWSKeyboardHandler, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, QStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator.
.PP
.SS "Public Members"
.in +1c
diff --git a/doc/man/man3/tqpixmap.3qt b/doc/man/man3/tqpixmap.3qt
index 9fbe52334..98ae130f3 100644
--- a/doc/man/man3/tqpixmap.3qt
+++ b/doc/man/man3/tqpixmap.3qt
@@ -13,7 +13,7 @@ QPixmap \- Off-screen, pixel-based paint device
.PP
Inherits QPaintDevice and Qt.
.PP
-Inherited by QBitmap and QCanvasPixmap.
+Inherited by QBitmap and TQCanvasPixmap.
.PP
.SS "Public Members"
.in +1c
diff --git a/doc/man/man3/tqscrollview.3qt b/doc/man/man3/tqscrollview.3qt
index e271ad2b3..fc77918a9 100644
--- a/doc/man/man3/tqscrollview.3qt
+++ b/doc/man/man3/tqscrollview.3qt
@@ -13,7 +13,7 @@ QScrollView \- Scrolling area with on-demand scroll bars
.PP
Inherits QFrame.
.PP
-Inherited by QCanvasView, QTable, QGridView, QIconView, QListBox, QListView, and QTextEdit.
+Inherited by TQCanvasView, QTable, QGridView, QIconView, QListBox, QListView, and QTextEdit.
.PP
.SS "Public Members"
.in +1c
@@ -635,7 +635,7 @@ The clip rectangle and translation of the painter \fIp\fR is already set appropr
.PP
Example: qdir/qdir.cpp.
.PP
-Reimplemented in QCanvasView and QTable.
+Reimplemented in TQCanvasView and QTable.
.SH "void QScrollView::drawContentsOffset ( QPainter * p, int offsetx, int offsety, int clipx, int clipy, int clipw, int cliph )\fC [virtual protected]\fR"
For backward-compatibility only. It is easier to use drawContents(QPainter*,int,int,int,int).
.PP
diff --git a/doc/man/man3/tqt.3qt b/doc/man/man3/tqt.3qt
index 0233670f6..600864301 100644
--- a/doc/man/man3/tqt.3qt
+++ b/doc/man/man3/tqt.3qt
@@ -11,7 +11,7 @@ Qt \- Namespace for miscellaneous identifiers that need to be global-like
.SH SYNOPSIS
\fC#include <ntqnamespace.h>\fR
.PP
-Inherited by TQObject, QPixmap, QBrush, QCanvasItem, QCursor, QPainter, QEvent, QIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, QPen, QStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, QThread, QToolTip, and QWhatsThis.
+Inherited by TQObject, QPixmap, QBrush, TQCanvasItem, QCursor, QPainter, QEvent, QIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, QPen, QStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, QThread, QToolTip, and QWhatsThis.
.PP
.SS "Public Members"
.in +1c
diff --git a/doc/man/man3/tqvaluelist.3qt b/doc/man/man3/tqvaluelist.3qt
index 414bb6f91..a24de76fe 100644
--- a/doc/man/man3/tqvaluelist.3qt
+++ b/doc/man/man3/tqvaluelist.3qt
@@ -13,7 +13,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.PP
\fC#include <ntqvaluelist.h>\fR
.PP
-Inherited by QCanvasItemList, QStringList, and QValueStack.
+Inherited by TQCanvasItemList, QStringList, and QValueStack.
.PP
.SS "Public Members"
.in +1c
diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt
index 456e74284..dbba2636e 100644
--- a/doc/man/man3/tqwidget.3qt
+++ b/doc/man/man3/tqwidget.3qt
@@ -1802,7 +1802,7 @@ This event handler can be reimplemented in a subclass to receive paint events.
.PP
A paint event is a request to repaint all or part of the widget. It can happen as a result of repaint() or update(), or because the widget was obscured and has now been uncovered, or for many other reasons.
.PP
-Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: QPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. QListView and QCanvas do this, for example.
+Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: QPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. QListView and TQCanvas do this, for example.
.PP
Qt also tries to speed up painting by merging multiple paint events into one. When update() is called several times or the window system sends several paint events, TQt merges these events into one event with a larger region (see QRegion::unite()). repaint() does not permit this optimization, so we suggest using update() when possible.
.PP