diff options
Diffstat (limited to 'doc/man')
123 files changed, 2324 insertions, 2324 deletions
diff --git a/doc/man/man3/tqaccessibleinterface.3qt b/doc/man/man3/tqaccessibleinterface.3qt index 4dc7aa798..d15314269 100644 --- a/doc/man/man3/tqaccessibleinterface.3qt +++ b/doc/man/man3/tqaccessibleinterface.3qt @@ -33,7 +33,7 @@ Inherited by QAccessibleObject. .BI "virtual int \fBcontrolAt\fR ( int x, int y ) const = 0" .br .ti -1c -.BI "virtual QRect \fBrect\fR ( int control ) const = 0" +.BI "virtual TQRect \fBrect\fR ( int control ) const = 0" .br .ti -1c .BI "virtual int \fBnavigate\fR ( NavDirection direction, int startControl ) const = 0" @@ -107,7 +107,7 @@ Sets \fIiface\fR to point to the implementation of the QAccessibleInterface for All objects provide this information. .PP See also queryChild(). -.SH "QRect QAccessibleInterface::rect ( int control ) const\fC [pure virtual]\fR" +.SH "TQRect QAccessibleInterface::rect ( int control ) const\fC [pure virtual]\fR" Returns the location of the child specified with \fIcontrol\fR in screen coordinates. This function returns the location of the object itself if \fIcontrol\fR is 0. .PP All visual objects provide this information. diff --git a/doc/man/man3/tqaction.3qt b/doc/man/man3/tqaction.3qt index 4ff66ae69..507e3d4d8 100644 --- a/doc/man/man3/tqaction.3qt +++ b/doc/man/man3/tqaction.3qt @@ -192,7 +192,7 @@ Once a TQAction has been created it should be added to the relevant menu and too .PP .nf .br - fileOpenAction = new TQAction( QPixmap( fileopen ), "&Open...", + fileOpenAction = new TQAction( TQPixmap( fileopen ), "&Open...", .br CTRL+Key_O, this, "open" ); .br diff --git a/doc/man/man3/tqactiongroup.3qt b/doc/man/man3/tqactiongroup.3qt index 51e564a14..11074297a 100644 --- a/doc/man/man3/tqactiongroup.3qt +++ b/doc/man/man3/tqactiongroup.3qt @@ -84,7 +84,7 @@ Here we create a new action group. Since the action group is exclusive by defaul .PP .nf .br - actionAlignLeft = new TQAction( QPixmap::fromMimeSource( "textleft.xpm" ), tr( "&Left" ), CTRL + Key_L, grp, "textLeft" ); + actionAlignLeft = new TQAction( TQPixmap::fromMimeSource( "textleft.xpm" ), tr( "&Left" ), CTRL + Key_L, grp, "textLeft" ); .br actionAlignLeft->setToggleAction( TRUE ); .fi diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index cb3c67505..dfa7de94f 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -217,10 +217,10 @@ Inherits TQObject. .BI "void \fBsetGlobalMouseTracking\fR ( bool enable )" .br .ti -1c -.BI "QPalette \fBpalette\fR ( const TQWidget * w = 0 )" +.BI "TQPalette \fBpalette\fR ( const TQWidget * w = 0 )" .br .ti -1c -.BI "void \fBsetPalette\fR ( const QPalette & palette, bool informWidgets = FALSE, const char * className = 0 )" +.BI "void \fBsetPalette\fR ( const TQPalette & palette, bool informWidgets = FALSE, const char * className = 0 )" .br .ti -1c .BI "TQFont \fBfont\fR ( const TQWidget * w = 0 )" @@ -253,7 +253,7 @@ Inherits TQObject. .BI "TQWidget * \fBwidgetAt\fR ( int x, int y, bool child = FALSE )" .br .ti -1c -.BI "TQWidget * \fBwidgetAt\fR ( const QPoint & pos, bool child = FALSE )" +.BI "TQWidget * \fBwidgetAt\fR ( const TQPoint & pos, bool child = FALSE )" .br .ti -1c .BI "QEventLoop * \fBeventLoop\fR ()" @@ -1054,7 +1054,7 @@ Returns the active application override cursor. This function returns 0 if no application cursor has been defined (i.e. the internal cursor stack is empty). .PP See also setOverrideCursor() and restoreOverrideCursor(). -.SH "QPalette QApplication::palette ( const TQWidget * w = 0 )\fC [static]\fR" +.SH "TQPalette QApplication::palette ( const TQWidget * w = 0 )\fC [static]\fR" Returns the application palette. .PP If a widget is passed in \fIw\fR, the default palette for the widget's class is returned. This may or may not be the application palette. In most cases there isn't a special palette for certain types of widgets, but one notable exception is the popup menu under Windows, if the user has defined a special background color for menus in the display settings. @@ -1399,7 +1399,7 @@ See also overrideCursor(), restoreOverrideCursor(), and TQWidget::cursor. .PP Examples: .)l distributor/distributor.ui.h, network/archivesearch/archivedialog.ui.h, network/ftpclient/ftpmainwindow.ui.h, and showimg/showimg.cpp. -.SH "void QApplication::setPalette ( const QPalette & palette, bool informWidgets = FALSE, const char * className = 0 )\fC [static]\fR" +.SH "void QApplication::setPalette ( const TQPalette & palette, bool informWidgets = FALSE, const char * className = 0 )\fC [static]\fR" Changes the default application palette to \fIpalette\fR. If \fIinformWidgets\fR is TRUE, then existing widgets are informed about the change and may adjust themselves to the new application setting. If \fIinformWidgets\fR is FALSE, the change only affects newly created widgets. .PP If \fIclassName\fR is passed, the change applies only to widgets that inherit \fIclassName\fR (as reported by TQObject::inherits()). If \fIclassName\fR is left 0, the change affects all widgets, thus overriding any previously set class specific palettes. @@ -1483,7 +1483,7 @@ Qt uses this value internally, e.g. in TQFileDialog. .PP The default value is 4 pixels. .PP -See also setStartDragDistance(), startDragTime(), and QPoint::manhattanLength(). +See also setStartDragDistance(), startDragTime(), and TQPoint::manhattanLength(). .SH "int QApplication::startDragTime ()\fC [static]\fR" If you support drag and drop in you application and a drag should start after a mouse click and after a certain time elapsed, you should use the value which this method returns as the delay (in ms). .PP @@ -1588,7 +1588,7 @@ If \fIchild\fR is FALSE and there is a child widget at position \fI(x, y)\fR, th This function is normally rather slow. .PP See also QCursor::pos(), TQWidget::grabMouse(), and TQWidget::grabKeyboard(). -.SH "TQWidget * QApplication::widgetAt ( const QPoint & pos, bool child = FALSE )\fC [static]\fR" +.SH "TQWidget * QApplication::widgetAt ( const TQPoint & pos, bool child = FALSE )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a pointer to the widget at global screen position \fIpos\fR, or 0 if there is no TQt widget there. diff --git a/doc/man/man3/tqbitmap.3qt b/doc/man/man3/tqbitmap.3qt index 4a0b8b534..ef7e6ef7e 100644 --- a/doc/man/man3/tqbitmap.3qt +++ b/doc/man/man3/tqbitmap.3qt @@ -11,7 +11,7 @@ TQBitmap \- Monochrome (1-bit depth) pixmaps .SH SYNOPSIS \fC#include <tqbitmap.h>\fR .PP -Inherits QPixmap. +Inherits TQPixmap. .PP .SS "Public Members" .in +1c @@ -19,10 +19,10 @@ Inherits QPixmap. .BI "\fBTQBitmap\fR ()" .br .ti -1c -.BI "\fBTQBitmap\fR ( int w, int h, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )" +.BI "\fBTQBitmap\fR ( int w, int h, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" .br .ti -1c -.BI "\fBTQBitmap\fR ( const TQSize & size, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )" +.BI "\fBTQBitmap\fR ( const TQSize & size, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" .br .ti -1c .BI "\fBTQBitmap\fR ( int w, int h, const uchar * bits, bool isXbitmap = FALSE )" @@ -40,50 +40,50 @@ Inherits QPixmap. .BI "TQBitmap & \fBoperator=\fR ( const TQBitmap & bitmap )" .br .ti -1c -.BI "TQBitmap & \fBoperator=\fR ( const QPixmap & pixmap )" +.BI "TQBitmap & \fBoperator=\fR ( const TQPixmap & pixmap )" .br .ti -1c .BI "TQBitmap & \fBoperator=\fR ( const TQImage & image )" .br .ti -1c -.BI "TQBitmap \fBxForm\fR ( const QWMatrix & matrix ) const" +.BI "TQBitmap \fBxForm\fR ( const TQWMatrix & matrix ) const" .br .in -1c .SH DESCRIPTION The TQBitmap class provides monochrome (1-bit depth) pixmaps. .PP -The TQBitmap class is a monochrome off-screen paint device used mainly for creating custom QCursor and TQBrush objects, in QPixmap::setMask() and for QRegion. +The TQBitmap class is a monochrome off-screen paint device used mainly for creating custom QCursor and TQBrush objects, in TQPixmap::setMask() and for TQRegion. .PP -A TQBitmap is a QPixmap with a depth of 1. If a pixmap with a depth greater than 1 is assigned to a bitmap, the bitmap will be dithered automatically. A TQBitmap is guaranteed to always have the depth 1, unless it is QPixmap::isNull() which has depth 0. +A TQBitmap is a TQPixmap with a depth of 1. If a pixmap with a depth greater than 1 is assigned to a bitmap, the bitmap will be dithered automatically. A TQBitmap is guaranteed to always have the depth 1, unless it is TQPixmap::isNull() which has depth 0. .PP -When drawing in a TQBitmap (or QPixmap with depth 1), we recommend using the TQColor objects \fCQt::color0\fR and \fCQt::color1\fR. Painting with \fCcolor0\fR sets the bitmap bits to 0, and painting with \fCcolor1\fR sets the bits to 1. For a bitmap, 0-bits indicate background (or transparent) and 1-bits indicate foreground (or opaque). Using the \fCblack\fR and \fCwhite\fR TQColor objects make no sense because the TQColor::pixel() value is not necessarily 0 for black and 1 for white. +When drawing in a TQBitmap (or TQPixmap with depth 1), we recommend using the TQColor objects \fCQt::color0\fR and \fCQt::color1\fR. Painting with \fCcolor0\fR sets the bitmap bits to 0, and painting with \fCcolor1\fR sets the bits to 1. For a bitmap, 0-bits indicate background (or transparent) and 1-bits indicate foreground (or opaque). Using the \fCblack\fR and \fCwhite\fR TQColor objects make no sense because the TQColor::pixel() value is not necessarily 0 for black and 1 for white. .PP The TQBitmap can be transformed (translated, scaled, sheared or rotated) using xForm(). .PP -Just like the QPixmap class, TQBitmap is optimized by the use of implicit sharing, so it is very efficient to pass TQBitmap objects as arguments. +Just like the TQPixmap class, TQBitmap is optimized by the use of implicit sharing, so it is very efficient to pass TQBitmap objects as arguments. .PP -See also QPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also TQPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQBitmap::TQBitmap ()" Constructs a null bitmap. .PP -See also QPixmap::isNull(). -.SH "TQBitmap::TQBitmap ( int w, int h, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )" +See also TQPixmap::isNull(). +.SH "TQBitmap::TQBitmap ( int w, int h, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" Constructs a bitmap with width \fIw\fR and height \fIh\fR. .PP The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR). .PP -The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see QPixmap::Optimization. +The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see TQPixmap::Optimization. .PP -See also QPixmap::setOptimization() and QPixmap::setDefaultOptimization(). -.SH "TQBitmap::TQBitmap ( const TQSize & size, bool clear = FALSE, QPixmap::Optimization optimization = QPixmap::DefaultOptim )" +See also TQPixmap::setOptimization() and TQPixmap::setDefaultOptimization(). +.SH "TQBitmap::TQBitmap ( const TQSize & size, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Constructs a bitmap with the size \fIsize\fR. .PP The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR). .PP -The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see QPixmap::Optimization. +The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see TQPixmap::Optimization. .SH "TQBitmap::TQBitmap ( int w, int h, const uchar * bits, bool isXbitmap = FALSE )" Constructs a bitmap with width \fIw\fR and height \fIh\fR and sets the contents to \fIbits\fR. .PP @@ -109,29 +109,29 @@ Constructs a bitmap that is a copy of \fIbitmap\fR. .SH "TQBitmap::TQBitmap ( const TQString & fileName, const char * format = 0 )" Constructs a bitmap from the file \fIfileName\fR. If the file does not exist or is of an unknown format, the bitmap becomes a null bitmap. .PP -The parameters \fIfileName\fR and \fIformat\fR are passed on to QPixmap::load(). Dithering will be performed if the file format uses more than 1 bit per pixel. +The parameters \fIfileName\fR and \fIformat\fR are passed on to TQPixmap::load(). Dithering will be performed if the file format uses more than 1 bit per pixel. .PP -See also QPixmap::isNull(), QPixmap::load(), QPixmap::loadFromData(), QPixmap::save(), and QPixmap::imageFormat(). +See also TQPixmap::isNull(), TQPixmap::load(), TQPixmap::loadFromData(), TQPixmap::save(), and TQPixmap::imageFormat(). .SH "TQBitmap & TQBitmap::operator= ( const TQBitmap & bitmap )" Assigns the bitmap \fIbitmap\fR to this bitmap and returns a reference to this bitmap. -.SH "TQBitmap & TQBitmap::operator= ( const QPixmap & pixmap )" +.SH "TQBitmap & TQBitmap::operator= ( const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Assigns the pixmap \fIpixmap\fR to this bitmap and returns a reference to this bitmap. .PP -Dithering will be performed if the pixmap has a QPixmap::depth() greater than 1. +Dithering will be performed if the pixmap has a TQPixmap::depth() greater than 1. .SH "TQBitmap & TQBitmap::operator= ( const TQImage & image )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Converts the image \fIimage\fR to a bitmap and assigns the result to this bitmap. Returns a reference to the bitmap. .PP Dithering will be performed if the image has a TQImage::depth() greater than 1. -.SH "TQBitmap TQBitmap::xForm ( const QWMatrix & matrix ) const" +.SH "TQBitmap TQBitmap::xForm ( const TQWMatrix & matrix ) const" Returns a transformed copy of this bitmap by using \fImatrix\fR. .PP -This function does exactly the same as QPixmap::xForm(), except that it returns a TQBitmap instead of a QPixmap. +This function does exactly the same as TQPixmap::xForm(), except that it returns a TQBitmap instead of a TQPixmap. .PP -See also QPixmap::xForm(). +See also TQPixmap::xForm(). .SH "SEE ALSO" .BR http://doc.trolltech.com/tqbitmap.html diff --git a/doc/man/man3/tqboxlayout.3qt b/doc/man/man3/tqboxlayout.3qt index f1a281085..ab2cea4b5 100644 --- a/doc/man/man3/tqboxlayout.3qt +++ b/doc/man/man3/tqboxlayout.3qt @@ -96,7 +96,7 @@ Inherited by QHBoxLayout and QVBoxLayout. .BI "virtual void \fBinvalidate\fR ()" .br .ti -1c -.BI "virtual void \fBsetGeometry\fR ( const QRect & r )" +.BI "virtual void \fBsetGeometry\fR ( const TQRect & r )" .br .ti -1c .BI "int \fBfindWidget\fR ( TQWidget * w )" @@ -313,7 +313,7 @@ Returns the minimum size needed by this box layout. Reimplemented from QLayout. .SH "void QBoxLayout::setDirection ( Direction direction )" Sets the direction of this layout to \fIdirection\fR. -.SH "void QBoxLayout::setGeometry ( const QRect & r )\fC [virtual]\fR" +.SH "void QBoxLayout::setGeometry ( const TQRect & r )\fC [virtual]\fR" Resizes managed widgets within the rectangle \fIr\fR. .PP Reimplemented from QLayout. diff --git a/doc/man/man3/tqbrush.3qt b/doc/man/man3/tqbrush.3qt index 06fb189fa..0b1b10933 100644 --- a/doc/man/man3/tqbrush.3qt +++ b/doc/man/man3/tqbrush.3qt @@ -25,7 +25,7 @@ Inherits Qt. .BI "\fBTQBrush\fR ( const TQColor & color, BrushStyle style = SolidPattern )" .br .ti -1c -.BI "\fBTQBrush\fR ( const TQColor & color, const QPixmap & pixmap )" +.BI "\fBTQBrush\fR ( const TQColor & color, const TQPixmap & pixmap )" .br .ti -1c .BI "\fBTQBrush\fR ( const TQBrush & b )" @@ -49,10 +49,10 @@ Inherits Qt. .BI "void \fBsetColor\fR ( const TQColor & c )" .br .ti -1c -.BI "QPixmap * \fBpixmap\fR () const" +.BI "TQPixmap * \fBpixmap\fR () const" .br .ti -1c -.BI "void \fBsetPixmap\fR ( const QPixmap & pixmap )" +.BI "void \fBsetPixmap\fR ( const TQPixmap & pixmap )" .br .ti -1c .BI "bool \fBoperator==\fR ( const TQBrush & b ) const" @@ -73,13 +73,13 @@ Inherits Qt. .SH DESCRIPTION The TQBrush class defines the fill pattern of shapes drawn by a TQPainter. .PP -A brush has a style and a color. One of the brush styles is a custom pattern, which is defined by a QPixmap. +A brush has a style and a color. One of the brush styles is a custom pattern, which is defined by a TQPixmap. .PP The brush style defines the fill pattern. The default brush style is NoBrush (depending on how you construct a brush). This style tells the painter to not fill shapes. The standard style for filling is SolidPattern. .PP The brush color defines the color of the fill pattern. The TQColor documentation lists the predefined colors. .PP -Use the QPen class for specifying line/outline styles. +Use the TQPen class for specifying line/outline styles. .PP Example: .PP @@ -127,10 +127,10 @@ See also setStyle(). Constructs a brush with the color \fIcolor\fR and the style \fIstyle\fR. .PP See also setColor() and setStyle(). -.SH "TQBrush::TQBrush ( const TQColor & color, const QPixmap & pixmap )" +.SH "TQBrush::TQBrush ( const TQColor & color, const TQPixmap & pixmap )" Constructs a brush with the color \fIcolor\fR and a custom pattern stored in \fIpixmap\fR. .PP -The color will only have an effect for monochrome pixmaps, i.e. for QPixmap::depth() == 1. +The color will only have an effect for monochrome pixmaps, i.e. for TQPixmap::depth() == 1. .PP Pixmap brushes are currently not supported when printing on X11. .PP @@ -157,7 +157,7 @@ Returns TRUE if the brush is equal to \fIb\fR; otherwise returns FALSE. Two brushes are equal if they have equal styles, colors and pixmaps. .PP See also operator!=(). -.SH "QPixmap * TQBrush::pixmap () const" +.SH "TQPixmap * TQBrush::pixmap () const" Returns a pointer to the custom brush pattern, or 0 if no custom brush pattern has been set. .PP See also setPixmap(). @@ -169,10 +169,10 @@ Sets the brush color to \fIc\fR. See also color() and setStyle(). .PP Example: picture/picture.cpp. -.SH "void TQBrush::setPixmap ( const QPixmap & pixmap )" +.SH "void TQBrush::setPixmap ( const TQPixmap & pixmap )" Sets the brush pixmap to \fIpixmap\fR. The style is set to CustomPattern. .PP -The current brush color will only have an effect for monochrome pixmaps, i.e. for QPixmap::depth() == 1. +The current brush color will only have an effect for monochrome pixmaps, i.e. for TQPixmap::depth() == 1. .PP Pixmap brushes are currently not supported when printing on X11. .PP diff --git a/doc/man/man3/tqbutton.3qt b/doc/man/man3/tqbutton.3qt index 9d8a3cf92..3e83ac43d 100644 --- a/doc/man/man3/tqbutton.3qt +++ b/doc/man/man3/tqbutton.3qt @@ -30,10 +30,10 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton. .BI "virtual void \fBsetText\fR ( const TQString & )" .br .ti -1c -.BI "const QPixmap * \fBpixmap\fR () const" +.BI "const TQPixmap * \fBpixmap\fR () const" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & )" .br .ti -1c .BI "QKeySequence \fBaccel\fR () const" @@ -123,7 +123,7 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton. .BI "bool \fBon\fR - whether the button is toggled \fI(read " "only" ")\fR" .br .ti -1c -.BI "QPixmap \fBpixmap\fR - the pixmap shown on the button" +.BI "TQPixmap \fBpixmap\fR - the pixmap shown on the button" .br .ti -1c .BI "TQString \fBtext\fR - the text shown on the button" @@ -153,7 +153,7 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton. .BI "virtual void \fBsetState\fR ( ToggleState s )" .br .ti -1c -.BI "virtual bool \fBhitButton\fR ( const QPoint & pos ) const" +.BI "virtual bool \fBhitButton\fR ( const TQPoint & pos ) const" .br .ti -1c .BI "virtual void \fBdrawButton\fR ( TQPainter * )" @@ -218,7 +218,7 @@ You can also set a custom accelerator using the setAccel() function. This is use .PP .nf .br - p->setPixmap( QPixmap("print.png") ); + p->setPixmap( TQPixmap("print.png") ); .br p->setAccel( ALT+Key_F7 ); .br @@ -296,7 +296,7 @@ Returns the group that this button belongs to. If the button is not a member of any QButtonGroup, this function returns 0. .PP See also QButtonGroup. -.SH "bool QButton::hitButton ( const QPoint & pos ) const\fC [virtual protected]\fR" +.SH "bool QButton::hitButton ( const TQPoint & pos ) const\fC [virtual protected]\fR" Returns TRUE if \fIpos\fR is inside the clickable button rectangle; otherwise returns FALSE. .PP By default, the clickable area is the entire widget. Subclasses may reimplement it, though. @@ -314,7 +314,7 @@ Handles paint events for buttons. Small and typically complex buttons are painte See also drawButton() and drawButtonLabel(). .PP Reimplemented from TQWidget. -.SH "const QPixmap * QButton::pixmap () const" +.SH "const TQPixmap * QButton::pixmap () const" Returns the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::pressed ()\fC [signal]\fR" This signal is emitted when the button is pressed down. @@ -337,7 +337,7 @@ Sets whether the button is pressed. See the "down" property for details. Sets the state of this button to On if \fIon\fR is TRUE; otherwise to Off. .PP See also toggleState. -.SH "void QButton::setPixmap ( const QPixmap & )\fC [virtual]\fR" +.SH "void QButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR" Sets the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::setState ( ToggleState s )\fC [virtual protected]\fR" Sets the toggle state of the button to \fIs\fR. \fIs\fR can be Off, NoChange or On. @@ -406,7 +406,7 @@ This property holds whether the button is toggled. This property should only be set for toggle buttons. .PP Get this property's value with isOn(). -.SH "QPixmap pixmap" +.SH "TQPixmap pixmap" This property holds the pixmap shown on the button. .PP If the pixmap is monochrome (i.e. it is a TQBitmap or its depth is 1) and it does not have a mask, this property will set the pixmap to be its own mask. The purpose of this is to draw transparent bitmaps which are important for toggle buttons, for example. diff --git a/doc/man/man3/tqcanvas.3qt b/doc/man/man3/tqcanvas.3qt index 5e84ff8c7..802b50b6b 100644 --- a/doc/man/man3/tqcanvas.3qt +++ b/doc/man/man3/tqcanvas.3qt @@ -22,19 +22,19 @@ Inherits TQObject. .BI "\fBTQCanvas\fR ( int w, int h )" .br .ti -1c -.BI "\fBTQCanvas\fR ( QPixmap p, int h, int v, int tilewidth, int tileheight )" +.BI "\fBTQCanvas\fR ( TQPixmap p, int h, int v, int tilewidth, int tileheight )" .br .ti -1c .BI "virtual \fB~TQCanvas\fR ()" .br .ti -1c -.BI "virtual void \fBsetTiles\fR ( QPixmap p, int h, int v, int tilewidth, int tileheight )" +.BI "virtual void \fBsetTiles\fR ( TQPixmap p, int h, int v, int tilewidth, int tileheight )" .br .ti -1c -.BI "virtual void \fBsetBackgroundPixmap\fR ( const QPixmap & p )" +.BI "virtual void \fBsetBackgroundPixmap\fR ( const TQPixmap & p )" .br .ti -1c -.BI "QPixmap \fBbackgroundPixmap\fR () const" +.BI "TQPixmap \fBbackgroundPixmap\fR () const" .br .ti -1c .BI "virtual void \fBsetBackgroundColor\fR ( const TQColor & c )" @@ -73,19 +73,19 @@ Inherits TQObject. .BI "TQSize \fBsize\fR () const" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c .BI "bool \fBonCanvas\fR ( int x, int y ) const" .br .ti -1c -.BI "bool \fBonCanvas\fR ( const QPoint & p ) const" +.BI "bool \fBonCanvas\fR ( const TQPoint & p ) const" .br .ti -1c .BI "bool \fBvalidChunk\fR ( int x, int y ) const" .br .ti -1c -.BI "bool \fBvalidChunk\fR ( const QPoint & p ) const" +.BI "bool \fBvalidChunk\fR ( const TQPoint & p ) const" .br .ti -1c .BI "int \fBchunkSize\fR () const" @@ -97,25 +97,25 @@ Inherits TQObject. .BI "virtual void \fBsetAllChanged\fR ()" .br .ti -1c -.BI "virtual void \fBsetChanged\fR ( const QRect & area )" +.BI "virtual void \fBsetChanged\fR ( const TQRect & area )" .br .ti -1c -.BI "virtual void \fBsetUnchanged\fR ( const QRect & area )" +.BI "virtual void \fBsetUnchanged\fR ( const TQRect & area )" .br .ti -1c .BI "TQCanvasItemList \fBallItems\fR ()" .br .ti -1c -.BI "TQCanvasItemList \fBcollisions\fR ( const QPoint & p ) const" +.BI "TQCanvasItemList \fBcollisions\fR ( const TQPoint & p ) const" .br .ti -1c -.BI "TQCanvasItemList \fBcollisions\fR ( const QRect & r ) const" +.BI "TQCanvasItemList \fBcollisions\fR ( const TQRect & r ) const" .br .ti -1c -.BI "TQCanvasItemList \fBcollisions\fR ( const QPointArray & chunklist, const TQCanvasItem * item, bool exact ) const" +.BI "TQCanvasItemList \fBcollisions\fR ( const TQPointArray & chunklist, const TQCanvasItem * item, bool exact ) const" .br .ti -1c -.BI "void \fBdrawArea\fR ( const QRect & clip, TQPainter * painter, bool dbuf = FALSE )" +.BI "void \fBdrawArea\fR ( const TQRect & clip, TQPainter * painter, bool dbuf = FALSE )" .br .ti -1c .BI "virtual void \fBsetAdvancePeriod\fR ( int ms )" @@ -145,10 +145,10 @@ Inherits TQObject. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawBackground\fR ( TQPainter & painter, const QRect & clip )" +.BI "virtual void \fBdrawBackground\fR ( TQPainter & painter, const TQRect & clip )" .br .ti -1c -.BI "virtual void \fBdrawForeground\fR ( TQPainter & painter, const QRect & clip )" +.BI "virtual void \fBdrawForeground\fR ( TQPainter & painter, const TQRect & clip )" .br .in -1c .SH DESCRIPTION @@ -220,7 +220,7 @@ Create a TQCanvas with no size. \fIparent\fR and \fIname\fR are passed to the TQ \fBWarning:\fR You \fImust\fR call resize() at some time after creation to be able to use the canvas. .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 )" +.SH "TQCanvas::TQCanvas ( TQPixmap 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. @@ -253,7 +253,7 @@ Returns the color set by setBackgroundColor(). By default, this is white. 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 TQCanvas::backgroundPixmap () const" +.SH "TQPixmap TQCanvas::backgroundPixmap () const" Returns the pixmap set by setBackgroundPixmap(). By default, this is a null pixmap. .PP See also setBackgroundPixmap() and backgroundColor(). @@ -261,26 +261,26 @@ See also setBackgroundPixmap() and backgroundColor(). Returns the chunk size of the canvas. .PP See also retune(). -.SH "TQCanvasItemList TQCanvas::collisions ( const QPoint & p ) const" +.SH "TQCanvasItemList TQCanvas::collisions ( const TQPoint & 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 "TQCanvasItemList TQCanvas::collisions ( const QRect & r ) const" +.SH "TQCanvasItemList TQCanvas::collisions ( const TQRect & 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 "TQCanvasItemList TQCanvas::collisions ( const QPointArray & chunklist, const TQCanvasItem * item, bool exact ) const" +.SH "TQCanvasItemList TQCanvas::collisions ( const TQPointArray & 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 TQCanvasItem::collisions() function. -.SH "void TQCanvas::drawArea ( const QRect & clip, TQPainter * painter, bool dbuf = FALSE )" +.SH "void TQCanvas::drawArea ( const TQRect & clip, TQPainter * 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: .PP .nf .br - QPrinter pr; + TQPrinter pr; .br if ( pr.setup() ) { .br @@ -293,16 +293,16 @@ e.g. to print the canvas to a printer: .fi .PP Example: canvas/canvas.cpp. -.SH "void TQCanvas::drawBackground ( TQPainter & painter, const QRect & clip )\fC [virtual protected]\fR" +.SH "void TQCanvas::drawBackground ( TQPainter & painter, const TQRect & 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. +If the graphics for an area change, you must explicitly call setChanged(const TQRect&) for the result to be visible when update() is next called. .PP See also setBackgroundColor(), setBackgroundPixmap(), and setTiles(). -.SH "void TQCanvas::drawForeground ( TQPainter & painter, const QRect & clip )\fC [virtual protected]\fR" +.SH "void TQCanvas::drawForeground ( TQPainter & painter, const TQRect & 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. +If the graphics for an area change, you must explicitly call setChanged(const TQRect&) for the result to be visible when update() is next called. .PP The default is to draw nothing. .SH "int TQCanvas::height () const" @@ -313,13 +313,13 @@ Example: canvas/canvas.cpp. Returns TRUE if the pixel position (\fIx\fR, \fIy\fR) is on the canvas; otherwise returns FALSE. .PP See also validChunk(). -.SH "bool TQCanvas::onCanvas ( const QPoint & p ) const" +.SH "bool TQCanvas::onCanvas ( const TQPoint & 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 TQCanvas::rect () const" +.SH "TQRect TQCanvas::rect () const" Returns a rectangle the size of the canvas. .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. @@ -348,11 +348,11 @@ Marks the whole canvas as changed. All views of the canvas will be entirely redr Sets the solid background to be the color \fIc\fR. .PP See also backgroundColor(), setBackgroundPixmap(), and setTiles(). -.SH "void TQCanvas::setBackgroundPixmap ( const QPixmap & p )\fC [virtual]\fR" +.SH "void TQCanvas::setBackgroundPixmap ( const TQPixmap & 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 TQCanvas::setChanged ( const QRect & area )\fC [virtual]\fR" +.SH "void TQCanvas::setChanged ( const TQRect & 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 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. @@ -373,7 +373,7 @@ l - l. 0 1 2 3 4 5 6 </center> .PP See also tile() and setTiles(). -.SH "void TQCanvas::setTiles ( QPixmap p, int h, int v, int tilewidth, int tileheight )\fC [virtual]\fR" +.SH "void TQCanvas::setTiles ( TQPixmap 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. @@ -390,7 +390,7 @@ 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 TQCanvas::setUnchanged ( const QRect & area )\fC [virtual]\fR" +.SH "void TQCanvas::setUnchanged ( const TQRect & 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 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. @@ -420,7 +420,7 @@ See also advance(). Returns TRUE if the chunk position (\fIx\fR, \fIy\fR) is on the canvas; otherwise returns FALSE. .PP See also onCanvas(). -.SH "bool TQCanvas::validChunk ( const QPoint & p ) const" +.SH "bool TQCanvas::validChunk ( const TQPoint & 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. diff --git a/doc/man/man3/tqcanvasitem.3qt b/doc/man/man3/tqcanvasitem.3qt index cb1147a8c..c54d0704a 100644 --- a/doc/man/man3/tqcanvasitem.3qt +++ b/doc/man/man3/tqcanvasitem.3qt @@ -132,10 +132,10 @@ Inherited by TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText. .BI "virtual int \fBrtti\fR () const" .br .ti -1c -.BI "virtual QRect \fBboundingRect\fR () const = 0" +.BI "virtual TQRect \fBboundingRect\fR () const = 0" .br .ti -1c -.BI "virtual QRect \fBboundingRectAdvanced\fR () const" +.BI "virtual TQRect \fBboundingRectAdvanced\fR () const" .br .ti -1c .BI "TQCanvas * \fBcanvas\fR () const" @@ -218,13 +218,13 @@ Reimplemented in TQCanvasSprite. Returns TRUE if the canvas item is in motion; otherwise returns FALSE. .PP See also setVelocity() and setAnimated(). -.SH "QRect TQCanvasItem::boundingRect () const\fC [pure virtual]\fR" +.SH "TQRect 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 TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText. -.SH "QRect TQCanvasItem::boundingRectAdvanced () const\fC [virtual]\fR" +.SH "TQRect 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(). diff --git a/doc/man/man3/tqcanvasline.3qt b/doc/man/man3/tqcanvasline.3qt index c360a76d6..44cb8c50b 100644 --- a/doc/man/man3/tqcanvasline.3qt +++ b/doc/man/man3/tqcanvasline.3qt @@ -25,10 +25,10 @@ Inherits TQCanvasPolygonalItem. .BI "void \fBsetPoints\fR ( int xa, int ya, int xb, int yb )" .br .ti -1c -.BI "QPoint \fBstartPoint\fR () const" +.BI "TQPoint \fBstartPoint\fR () const" .br .ti -1c -.BI "QPoint \fBendPoint\fR () const" +.BI "TQPoint \fBendPoint\fR () const" .br .ti -1c .BI "virtual int \fBrtti\fR () const" @@ -49,7 +49,7 @@ Constructs a line from (0,0) to (0,0) on \fIcanvas\fR. See also setPoints(). .SH "TQCanvasLine::~TQCanvasLine ()" Destroys the line. -.SH "QPoint TQCanvasLine::endPoint () const" +.SH "TQPoint TQCanvasLine::endPoint () const" Returns the end point of the line. .PP See also setPoints() and startPoint(). @@ -63,7 +63,7 @@ Reimplemented from TQCanvasPolygonalItem. 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 TQCanvasLine::startPoint () const" +.SH "TQPoint TQCanvasLine::startPoint () const" Returns the start point of the line. .PP See also setPoints() and endPoint(). diff --git a/doc/man/man3/tqcanvaspixmap.3qt b/doc/man/man3/tqcanvaspixmap.3qt index e3272218d..dd947a334 100644 --- a/doc/man/man3/tqcanvaspixmap.3qt +++ b/doc/man/man3/tqcanvaspixmap.3qt @@ -11,7 +11,7 @@ TQCanvasPixmap \- Pixmaps for TQCanvasSprites .SH SYNOPSIS \fC#include <tqcanvas.h>\fR .PP -Inherits QPixmap. +Inherits TQPixmap. .PP .SS "Public Members" .in +1c @@ -22,7 +22,7 @@ Inherits QPixmap. .BI "\fBTQCanvasPixmap\fR ( const TQImage & image )" .br .ti -1c -.BI "\fBTQCanvasPixmap\fR ( const QPixmap & pm, const QPoint & offset )" +.BI "\fBTQCanvasPixmap\fR ( const TQPixmap & pm, const TQPoint & offset )" .br .ti -1c .BI "\fB~TQCanvasPixmap\fR ()" @@ -44,7 +44,7 @@ If you want to show a single pixmap on a TQCanvas use a TQCanvasSprite with just .PP 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 TQImageIO). +The pixmap is a TQPixmap and can only be set in the constructor. There are three different constructors, one taking a TQPixmap, one a TQImage and one a file name that refers to a file in any supported file format (see TQImageIO). .PP 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 @@ -56,7 +56,7 @@ See also TQCanvasPixmapArray, TQCanvasItem, TQCanvasSprite, Graphics Classes, an 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 )" +.SH "TQCanvasPixmap::TQCanvasPixmap ( const TQPixmap & pm, const TQPoint & offset )" Constructs a TQCanvasPixmap from the pixmap \fIpm\fR using the offset \fIoffset\fR. .SH "TQCanvasPixmap::~TQCanvasPixmap ()" Destroys the pixmap. diff --git a/doc/man/man3/tqcanvaspixmaparray.3qt b/doc/man/man3/tqcanvaspixmaparray.3qt index 9bdc9e105..f7bd41879 100644 --- a/doc/man/man3/tqcanvaspixmaparray.3qt +++ b/doc/man/man3/tqcanvaspixmaparray.3qt @@ -20,10 +20,10 @@ TQCanvasPixmapArray \- Array of TQCanvasPixmaps .BI "\fBTQCanvasPixmapArray\fR ( const TQString & datafilenamepattern, int fc = 0 )" .br .ti -1c -.BI "TQCanvasPixmapArray ( TQPtrList<QPixmap> list, TQPtrList<QPoint> hotspots ) \fI(obsolete)\fR" +.BI "TQCanvasPixmapArray ( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> hotspots ) \fI(obsolete)\fR" .br .ti -1c -.BI "\fBTQCanvasPixmapArray\fR ( TQValueList<QPixmap> list, QPointArray hotspots = QPointArray ( ) )" +.BI "\fBTQCanvasPixmapArray\fR ( TQValueList<TQPixmap> list, TQPointArray hotspots = TQPointArray ( ) )" .br .ti -1c .BI "\fB~TQCanvasPixmapArray\fR ()" @@ -55,7 +55,7 @@ The TQCanvasPixmapArray class provides an array of TQCanvasPixmaps. .PP 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(). +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 TQPixmaps. 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 @@ -75,14 +75,14 @@ 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 "TQCanvasPixmapArray::TQCanvasPixmapArray ( TQPtrList<QPixmap> list, TQPtrList<QPoint> hotspots )" +.SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> 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 TQCanvasPixmapArray::TQCanvasPixmapArray( TQValueList<QPixmap>, QPointArray ) instead. +Use TQCanvasPixmapArray::TQCanvasPixmapArray( TQValueList<TQPixmap>, TQPointArray ) instead. .PP -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 ( TQValueList<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). +Constructs a TQCanvasPixmapArray from the list of TQPixmaps \fIlist\fR. The \fIhotspots\fR list has to be of the same size as \fIlist\fR. +.SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( TQValueList<TQPixmap> list, TQPointArray hotspots = TQPointArray ( ) )" +Constructs a TQCanvasPixmapArray from the list of TQPixmaps 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 "TQCanvasPixmapArray::~TQCanvasPixmapArray ()" diff --git a/doc/man/man3/tqcanvaspolygon.3qt b/doc/man/man3/tqcanvaspolygon.3qt index f9fff9ff6..4b99724bf 100644 --- a/doc/man/man3/tqcanvaspolygon.3qt +++ b/doc/man/man3/tqcanvaspolygon.3qt @@ -24,13 +24,13 @@ Inherited by TQCanvasSpline. .BI "\fB~TQCanvasPolygon\fR ()" .br .ti -1c -.BI "void \fBsetPoints\fR ( QPointArray pa )" +.BI "void \fBsetPoints\fR ( TQPointArray pa )" .br .ti -1c -.BI "QPointArray \fBpoints\fR () const" +.BI "TQPointArray \fBpoints\fR () const" .br .ti -1c -.BI "virtual QPointArray \fBareaPoints\fR () const" +.BI "virtual TQPointArray \fBareaPoints\fR () const" .br .ti -1c .BI "virtual int \fBrtti\fR () const" @@ -59,7 +59,7 @@ See also Graphics Classes and Image Processing Classes. Constructs a point-less polygon on the canvas \fIcanvas\fR. You should call setPoints() before using it further. .SH "TQCanvasPolygon::~TQCanvasPolygon ()" Destroys the polygon. -.SH "QPointArray TQCanvasPolygon::areaPoints () const\fC [virtual]\fR" +.SH "TQPointArray 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(). @@ -71,7 +71,7 @@ Draws the polygon using the painter \fIp\fR. Note that TQCanvasPolygon does not support an outline (the pen is always NoPen). .PP Reimplemented from TQCanvasPolygonalItem. -.SH "QPointArray TQCanvasPolygon::points () const" +.SH "TQPointArray TQCanvasPolygon::points () const" Returns the vertices of the polygon, not translated by the position. .PP See also setPoints() and areaPoints(). @@ -83,7 +83,7 @@ See also TQCanvasItem::rtti(). Reimplemented from TQCanvasPolygonalItem. .PP Reimplemented in TQCanvasSpline. -.SH "void TQCanvasPolygon::setPoints ( QPointArray pa )" +.SH "void TQCanvasPolygon::setPoints ( TQPointArray 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. diff --git a/doc/man/man3/tqcanvaspolygonalitem.3qt b/doc/man/man3/tqcanvaspolygonalitem.3qt index ec5d22ad0..cdb562cb2 100644 --- a/doc/man/man3/tqcanvaspolygonalitem.3qt +++ b/doc/man/man3/tqcanvaspolygonalitem.3qt @@ -24,25 +24,25 @@ Inherited by TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllip .BI "virtual \fB~TQCanvasPolygonalItem\fR ()" .br .ti -1c -.BI "virtual void \fBsetPen\fR ( QPen p )" +.BI "virtual void \fBsetPen\fR ( TQPen p )" .br .ti -1c .BI "virtual void \fBsetBrush\fR ( TQBrush b )" .br .ti -1c -.BI "QPen \fBpen\fR () const" +.BI "TQPen \fBpen\fR () const" .br .ti -1c .BI "TQBrush \fBbrush\fR () const" .br .ti -1c -.BI "virtual QPointArray \fBareaPoints\fR () const = 0" +.BI "virtual TQPointArray \fBareaPoints\fR () const = 0" .br .ti -1c -.BI "virtual QPointArray \fBareaPointsAdvanced\fR () const" +.BI "virtual TQPointArray \fBareaPointsAdvanced\fR () const" .br .ti -1c -.BI "virtual QRect \fBboundingRect\fR () const" +.BI "virtual TQRect \fBboundingRect\fR () const" .br .ti -1c .BI "virtual int \fBrtti\fR () const" @@ -84,7 +84,7 @@ The bounding rectangle is available using boundingRect(). The points bounding th .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, TQCanvasPolygonalItem objects have a black pen and no brush (the default QPen and TQBrush constructors). You can change this with setPen() and setBrush(), but note that some TQCanvasPolygonalItem subclasses only use the brush, ignoring the pen setting. +By default, TQCanvasPolygonalItem objects have a black pen and no brush (the default TQPen and TQBrush 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 @@ -96,13 +96,13 @@ See also Graphics Classes and Image Processing Classes. 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 TQCanvasPolygonalItem::areaPoints () const\fC [pure virtual]\fR" +.SH "TQPointArray 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 TQCanvasPolygon. -.SH "QPointArray TQCanvasPolygonalItem::areaPointsAdvanced () const\fC [virtual]\fR" +.SH "TQPointArray 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" +.SH "TQRect TQCanvasPolygonalItem::boundingRect () const\fC [virtual]\fR" Returns the bounding rectangle of the polygonal item, based on areaPoints(). .PP Reimplemented from TQCanvasItem. @@ -128,8 +128,8 @@ Invalidates all information about the area covered by the canvas item. The item Returns TRUE if the polygonal item's area information has not been invalidated; otherwise returns FALSE. .PP See also invalidate(). -.SH "QPen TQCanvasPolygonalItem::pen () const" -Returns the QPen used to draw the outline of the item, if any. +.SH "TQPen TQCanvasPolygonalItem::pen () const" +Returns the TQPen used to draw the outline of the item, if any. .PP See also setPen(). .SH "int TQCanvasPolygonalItem::rtti () const\fC [virtual]\fR" @@ -147,8 +147,8 @@ See also setPen(), brush(), and drawShape(). .PP Examples: .)l canvas/canvas.cpp and chart/chartform_canvas.cpp. -.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. +.SH "void TQCanvasPolygonalItem::setPen ( TQPen p )\fC [virtual]\fR" +Sets the TQPen 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 diff --git a/doc/man/man3/tqcanvasrectangle.3qt b/doc/man/man3/tqcanvasrectangle.3qt index f82ece5a9..076eb6211 100644 --- a/doc/man/man3/tqcanvasrectangle.3qt +++ b/doc/man/man3/tqcanvasrectangle.3qt @@ -19,7 +19,7 @@ Inherits TQCanvasPolygonalItem. .BI "\fBTQCanvasRectangle\fR ( TQCanvas * canvas )" .br .ti -1c -.BI "\fBTQCanvasRectangle\fR ( const QRect & r, TQCanvas * canvas )" +.BI "\fBTQCanvasRectangle\fR ( const TQRect & r, TQCanvas * canvas )" .br .ti -1c .BI "\fBTQCanvasRectangle\fR ( int x, int y, int width, int height, TQCanvas * canvas )" @@ -40,7 +40,7 @@ Inherits TQCanvasPolygonalItem. .BI "TQSize \fBsize\fR () const" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c .BI "virtual int \fBrtti\fR () const" @@ -52,7 +52,7 @@ Inherits TQCanvasPolygonalItem. .BI "virtual void \fBdrawShape\fR ( TQPainter & p )" .br .ti -1c -.BI "virtual QPointArray \fBchunks\fR () const" +.BI "virtual TQPointArray \fBchunks\fR () const" .br .in -1c .SH DESCRIPTION @@ -70,13 +70,13 @@ See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION .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 "TQCanvasRectangle::TQCanvasRectangle ( const QRect & r, TQCanvas * canvas )" +.SH "TQCanvasRectangle::TQCanvasRectangle ( const TQRect & r, TQCanvas * canvas )" Constructs a rectangle positioned and sized by \fIr\fR on \fIcanvas\fR. .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 "TQCanvasRectangle::~TQCanvasRectangle ()" Destroys the rectangle. -.SH "QPointArray TQCanvasRectangle::chunks () const\fC [virtual protected]\fR" +.SH "TQPointArray TQCanvasRectangle::chunks () const\fC [virtual protected]\fR" Simply calls TQCanvasItem::chunks(). .SH "void TQCanvasRectangle::drawShape ( TQPainter & p )\fC [virtual protected]\fR" Draws the rectangle on painter \fIp\fR. @@ -86,8 +86,8 @@ Example: canvas/canvas.cpp. Reimplemented from TQCanvasPolygonalItem. .SH "int TQCanvasRectangle::height () const" Returns the height of the rectangle. -.SH "QRect TQCanvasRectangle::rect () const" -Returns the integer-converted x(), y() position and size() of the rectangle as a QRect. +.SH "TQRect TQCanvasRectangle::rect () const" +Returns the integer-converted x(), y() position and size() of the rectangle as a TQRect. .SH "int TQCanvasRectangle::rtti () const\fC [virtual]\fR" Returns 5 (TQCanvasItem::Rtti_Rectangle). .PP diff --git a/doc/man/man3/tqcanvasspline.3qt b/doc/man/man3/tqcanvasspline.3qt index 8424e675b..700d376ed 100644 --- a/doc/man/man3/tqcanvasspline.3qt +++ b/doc/man/man3/tqcanvasspline.3qt @@ -22,10 +22,10 @@ Inherits TQCanvasPolygon. .BI "\fB~TQCanvasSpline\fR ()" .br .ti -1c -.BI "void \fBsetControlPoints\fR ( QPointArray ctrl, bool close = TRUE )" +.BI "void \fBsetControlPoints\fR ( TQPointArray ctrl, bool close = TRUE )" .br .ti -1c -.BI "QPointArray \fBcontrolPoints\fR () const" +.BI "TQPointArray \fBcontrolPoints\fR () const" .br .ti -1c .BI "bool \fBclosed\fR () const" @@ -57,7 +57,7 @@ See also setControlPoints(). Destroy the spline. .SH "bool TQCanvasSpline::closed () const" Returns TRUE if the control points are a closed set; otherwise returns FALSE. -.SH "QPointArray TQCanvasSpline::controlPoints () const" +.SH "TQPointArray TQCanvasSpline::controlPoints () const" Returns the current set of control points. .PP See also setControlPoints() and closed(). @@ -67,7 +67,7 @@ Returns 8 (TQCanvasItem::Rtti_Spline). See also TQCanvasItem::rtti(). .PP Reimplemented from TQCanvasPolygon. -.SH "void TQCanvasSpline::setControlPoints ( QPointArray ctrl, bool close = TRUE )" +.SH "void TQCanvasSpline::setControlPoints ( TQPointArray 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, ...). diff --git a/doc/man/man3/tqcanvassprite.3qt b/doc/man/man3/tqcanvassprite.3qt index 97570c3bf..b5c466670 100644 --- a/doc/man/man3/tqcanvassprite.3qt +++ b/doc/man/man3/tqcanvassprite.3qt @@ -46,7 +46,7 @@ Inherits TQCanvasItem. .BI "virtual int \fBrtti\fR () const" .br .ti -1c -.BI "virtual QRect \fBboundingRect\fR () const" +.BI "virtual TQRect \fBboundingRect\fR () const" .br .ti -1c .BI "int \fBwidth\fR () const" @@ -148,7 +148,7 @@ This is an overloaded member function, provided for convenience. It behaves esse 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 TQCanvasSprite::boundingRect () const\fC [virtual]\fR" +.SH "TQRect 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 TQCanvasItem. diff --git a/doc/man/man3/tqcanvastext.3qt b/doc/man/man3/tqcanvastext.3qt index 2ddd084b0..0e75a4726 100644 --- a/doc/man/man3/tqcanvastext.3qt +++ b/doc/man/man3/tqcanvastext.3qt @@ -52,7 +52,7 @@ Inherits TQCanvasItem. .BI "void \fBsetTextFlags\fR ( int f )" .br .ti -1c -.BI "virtual QRect \fBboundingRect\fR () const" +.BI "virtual TQRect \fBboundingRect\fR () const" .br .ti -1c .BI "virtual int \fBrtti\fR () const" @@ -83,7 +83,7 @@ Constructs a TQCanvasText with the text \fIt\fR, on canvas \fIcanvas\fR. 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 TQCanvasText::boundingRect () const\fC [virtual]\fR" +.SH "TQRect TQCanvasText::boundingRect () const\fC [virtual]\fR" Returns the bounding rectangle of the text. .PP Reimplemented from TQCanvasItem. diff --git a/doc/man/man3/tqcanvasview.3qt b/doc/man/man3/tqcanvasview.3qt index afb8ae8a4..32a46003d 100644 --- a/doc/man/man3/tqcanvasview.3qt +++ b/doc/man/man3/tqcanvasview.3qt @@ -31,13 +31,13 @@ Inherits QScrollView. .BI "void \fBsetCanvas\fR ( TQCanvas * canvas )" .br .ti -1c -.BI "const QWMatrix & \fBworldMatrix\fR () const" +.BI "const TQWMatrix & \fBworldMatrix\fR () const" .br .ti -1c -.BI "const QWMatrix & \fBinverseWorldMatrix\fR () const" +.BI "const TQWMatrix & \fBinverseWorldMatrix\fR () const" .br .ti -1c -.BI "bool \fBsetWorldMatrix\fR ( const QWMatrix & wm )" +.BI "bool \fBsetWorldMatrix\fR ( const TQWMatrix & wm )" .br .in -1c .SS "Protected Members" @@ -82,7 +82,7 @@ A transformation matrix can be used to transform the view of the canvas in vario .PP .nf .br - QWMatrix wm; + TQWMatrix wm; .br wm.scale( 2, 2 ); // Zooms in by 2 times .br @@ -108,15 +108,15 @@ The following code finds the part of the canvas that is visible in this view, i. .PP .nf .br - QRect rc = QRect( myCanvasView->contentsX(), myCanvasView->contentsY(), + TQRect rc = TQRect( myCanvasView->contentsX(), myCanvasView->contentsY(), .br myCanvasView->visibleWidth(), myCanvasView->visibleHeight() ); .br - QRect canvasRect = myCanvasView->inverseWorldMatrix().mapRect(rc); + TQRect canvasRect = myCanvasView->inverseWorldMatrix().mapRect(rc); .br .fi .PP -See also QWMatrix, TQPainter::setWorldMatrix(), Graphics Classes, and Image Processing Classes. +See also TQWMatrix, TQPainter::setWorldMatrix(), Graphics Classes, and Image Processing Classes. .PP .SH MEMBER FUNCTION DOCUMENTATION .SH "TQCanvasView::TQCanvasView ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" @@ -137,25 +137,25 @@ Repaints part of the TQCanvas that the canvas view is showing starting at \fIcx\ See also TQCanvas::setDoubleBuffering(). .PP Reimplemented from QScrollView. -.SH "const QWMatrix & TQCanvasView::inverseWorldMatrix () const" +.SH "const TQWMatrix & 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 TQCanvasView::setCanvas ( TQCanvas * canvas )" Sets the canvas that the TQCanvasView is showing to the canvas \fIcanvas\fR. -.SH "bool TQCanvasView::setWorldMatrix ( const QWMatrix & wm )" +.SH "bool TQCanvasView::setWorldMatrix ( const TQWMatrix & 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 TQCanvasView will decrease considerably. .PP Returns FALSE if \fIwm\fR is not invertable; otherwise returns TRUE. .PP -See also worldMatrix(), inverseWorldMatrix(), and QWMatrix::isInvertible(). +See also worldMatrix(), inverseWorldMatrix(), and TQWMatrix::isInvertible(). .PP Example: canvas/canvas.cpp. .SH "TQSize TQCanvasView::sizeHint () const\fC [virtual protected]\fR" Suggests a size sufficient to view the entire canvas. -.SH "const QWMatrix & TQCanvasView::worldMatrix () const" +.SH "const TQWMatrix & TQCanvasView::worldMatrix () const" Returns a reference to the canvas view's current transformation matrix. .PP See also setWorldMatrix() and inverseWorldMatrix(). diff --git a/doc/man/man3/tqcheckbox.3qt b/doc/man/man3/tqcheckbox.3qt index 73fdd767c..327555d65 100644 --- a/doc/man/man3/tqcheckbox.3qt +++ b/doc/man/man3/tqcheckbox.3qt @@ -49,10 +49,10 @@ Inherits QButton. .BI "virtual void \fBsetText\fR ( const TQString & )" .br .ti -1c -.BI "const QPixmap * \fBpixmap\fR () const" +.BI "const TQPixmap * \fBpixmap\fR () const" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & )" .br .ti -1c .BI "QKeySequence \fBaccel\fR () const" @@ -183,7 +183,7 @@ Returns TRUE if the button is toggled; otherwise returns FALSE. See the "on" pro Returns TRUE if the button is a toggle button; otherwise returns FALSE. See the "toggleButton" property for details. .SH "bool QCheckBox::isTristate () const" Returns TRUE if the checkbox is a tri-state checkbox; otherwise returns FALSE. See the "tristate" property for details. -.SH "const QPixmap * QButton::pixmap () const" +.SH "const TQPixmap * QButton::pixmap () const" Returns the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::pressed ()\fC [signal]\fR" This signal is emitted when the button is pressed down. @@ -208,7 +208,7 @@ Sets whether the button is pressed. See the "down" property for details. Sets the checkbox to the "no change" state. .PP See also tristate. -.SH "void QButton::setPixmap ( const QPixmap & )\fC [virtual]\fR" +.SH "void QButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR" Sets the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::setText ( const TQString & )\fC [virtual]\fR" Sets the text shown on the button. See the "text" property for details. @@ -259,7 +259,7 @@ This property holds whether the checkbox is checked. The default is unchecked, i.e. FALSE. .PP Set this property's value with setChecked() and get this property's value with isChecked(). -.SH "QPixmap pixmap" +.SH "TQPixmap pixmap" This property holds the pixmap shown on the button. .PP If the pixmap is monochrome (i.e. it is a TQBitmap or its depth is 1) and it does not have a mask, this property will set the pixmap to be its own mask. The purpose of this is to draw transparent bitmaps which are important for toggle buttons, for example. diff --git a/doc/man/man3/tqchecklistitem.3qt b/doc/man/man3/tqchecklistitem.3qt index cc223de90..879c5d88d 100644 --- a/doc/man/man3/tqchecklistitem.3qt +++ b/doc/man/man3/tqchecklistitem.3qt @@ -40,10 +40,10 @@ Inherits QListViewItem. .BI "\fBQCheckListItem\fR ( QListView * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QListViewItem * parent, const TQString & text, const QPixmap & p )" +.BI "\fBQCheckListItem\fR ( QListViewItem * parent, const TQString & text, const TQPixmap & p )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QListView * parent, const TQString & text, const QPixmap & p )" +.BI "\fBQCheckListItem\fR ( QListView * parent, const TQString & text, const TQPixmap & p )" .br .ti -1c .BI "\fB~QCheckListItem\fR ()" @@ -52,7 +52,7 @@ Inherits QListViewItem. .BI "virtual void \fBpaintCell\fR ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQColorGroup & cg, const QRect & r )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQColorGroup & cg, const TQRect & r )" .br .ti -1c .BI "virtual void \fBsetOn\fR ( bool b )" @@ -144,9 +144,9 @@ Constructs a checkable item with parent \fIparent\fR, which is after \fIafter\fR Constructs a checkable item with parent \fIparent\fR, text \fItext\fR and of type \fItt\fR. Note that \fItt\fR must \fInot\fR be RadioButton. Radio buttons must be children of a RadioButtonController. .SH "QCheckListItem::QCheckListItem ( QListView * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" Constructs a checkable item with parent \fIparent\fR, which is after \fIafter\fR in the parent's list of children, with text \fItext\fR and of type \fItt\fR. Note that \fItt\fR must \fInot\fR be RadioButton. Radio buttons must be children of a RadioButtonController. -.SH "QCheckListItem::QCheckListItem ( QListViewItem * parent, const TQString & text, const QPixmap & p )" +.SH "QCheckListItem::QCheckListItem ( QListViewItem * parent, const TQString & text, const TQPixmap & p )" Constructs a RadioButtonController item with parent \fIparent\fR, text \fItext\fR and pixmap \fIp\fR. -.SH "QCheckListItem::QCheckListItem ( QListView * parent, const TQString & text, const QPixmap & p )" +.SH "QCheckListItem::QCheckListItem ( QListView * parent, const TQString & text, const TQPixmap & p )" Constructs a RadioButtonController item with parent \fIparent\fR, text \fItext\fR and pixmap \fIp\fR. .SH "QCheckListItem::~QCheckListItem ()" Destroys the item, and all its children to any depth, freeing up all allocated resources. @@ -164,7 +164,7 @@ See also setTristate(). Paints the item using the painter \fIp\fR and the color group \fIcg\fR. The item is in column \fIcolumn\fR, has width \fIwidth\fR and has alignment \fIalign\fR. (See TQt::AlignmentFlags for valid alignments.) .PP Reimplemented from QListViewItem. -.SH "void QCheckListItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const QRect & r )\fC [virtual]\fR" +.SH "void QCheckListItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r )\fC [virtual]\fR" Draws the focus rectangle \fIr\fR using the color group \fIcg\fR on the painter \fIp\fR. .PP Reimplemented from QListViewItem. diff --git a/doc/man/man3/tqclipboard.3qt b/doc/man/man3/tqclipboard.3qt index fac76e43f..761819cbd 100644 --- a/doc/man/man3/tqclipboard.3qt +++ b/doc/man/man3/tqclipboard.3qt @@ -58,13 +58,13 @@ Inherits TQObject. .BI "TQImage \fBimage\fR ( Mode mode ) const" .br .ti -1c -.BI "QPixmap \fBpixmap\fR ( Mode mode ) const" +.BI "TQPixmap \fBpixmap\fR ( Mode mode ) const" .br .ti -1c .BI "void \fBsetImage\fR ( const TQImage & image, Mode mode )" .br .ti -1c -.BI "void \fBsetPixmap\fR ( const QPixmap & pixmap, Mode mode )" +.BI "void \fBsetPixmap\fR ( const TQPixmap & pixmap, Mode mode )" .br .ti -1c .BI "TQString \fBtext\fR () const" @@ -85,13 +85,13 @@ Inherits TQObject. .BI "TQImage \fBimage\fR () const" .br .ti -1c -.BI "QPixmap \fBpixmap\fR () const" +.BI "TQPixmap \fBpixmap\fR () const" .br .ti -1c .BI "void \fBsetImage\fR ( const TQImage & image )" .br .ti -1c -.BI "void \fBsetPixmap\fR ( const QPixmap & pixmap )" +.BI "void \fBsetPixmap\fR ( const TQPixmap & pixmap )" .br .in -1c .SS "Signals" @@ -136,7 +136,7 @@ Example: .br .fi .PP -TQClipboard features some convenience functions to access common data types: setText() allows the exchange of Unicode text and setPixmap() and setImage() allows the exchange of QPixmaps and TQImages between applications. The setData() function is the ultimate in flexibility: it allows you to add any TQMimeSource into the clipboard. There are corresponding getters for each of these, e.g. text(), image() and pixmap(). +TQClipboard features some convenience functions to access common data types: setText() allows the exchange of Unicode text and setPixmap() and setImage() allows the exchange of TQPixmaps and TQImages between applications. The setData() function is the ultimate in flexibility: it allows you to add any TQMimeSource into the clipboard. There are corresponding getters for each of these, e.g. text(), image() and pixmap(). .PP You can clear the clipboard by calling clear(). .SH "Platform Specific Information" @@ -214,13 +214,13 @@ This function uses the TQClipboard::image() function which takes a TQClipboard:: Returns TRUE if this clipboard object owns the clipboard data; otherwise returns FALSE. .SH "bool TQClipboard::ownsSelection () const" Returns TRUE if this clipboard object owns the mouse selection data; otherwise returns FALSE. -.SH "QPixmap TQClipboard::pixmap ( Mode mode ) const" +.SH "TQPixmap TQClipboard::pixmap ( Mode mode ) const" Returns the clipboard pixmap, or null if the clipboard does not contain a pixmap. Note that this can lose information. For example, if the image is 24-bit and the display is 8-bit, the result is converted to 8 bits, and if the image has an alpha channel, the result just has a mask. .PP The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the pixmap is retrieved from the global clipboard. If \fImode\fR is TQClipboard::Selection, the pixmap is retrieved from the global mouse selection. .PP -See also setPixmap(), image(), data(), and QPixmap::convertFromImage(). -.SH "QPixmap TQClipboard::pixmap () const" +See also setPixmap(), image(), data(), and TQPixmap::convertFromImage(). +.SH "TQPixmap TQClipboard::pixmap () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function uses the TQClipboard::pixmap() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. @@ -266,13 +266,13 @@ See also image(), setPixmap(), and setData(). This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function uses the TQClipboard::setImage() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. -.SH "void TQClipboard::setPixmap ( const QPixmap & pixmap, Mode mode )" -Copies \fIpixmap\fR into the clipboard. Note that this is slower than setImage() because it needs to convert the QPixmap to a TQImage first. +.SH "void TQClipboard::setPixmap ( const TQPixmap & pixmap, Mode mode )" +Copies \fIpixmap\fR into the clipboard. Note that this is slower than setImage() because it needs to convert the TQPixmap to a TQImage first. .PP The \fImode\fR argument is used to control which part of the system clipboard is used. If \fImode\fR is TQClipboard::Clipboard, the pixmap is stored in the global clipboard. If \fImode\fR is TQClipboard::Selection, the pixmap is stored in the global mouse selection. .PP See also pixmap(), setImage(), and setData(). -.SH "void TQClipboard::setPixmap ( const QPixmap & pixmap )" +.SH "void TQClipboard::setPixmap ( const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This function uses the TQClipboard::setPixmap() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. diff --git a/doc/man/man3/tqcolor.3qt b/doc/man/man3/tqcolor.3qt index 08c13061d..bec586161 100644 --- a/doc/man/man3/tqcolor.3qt +++ b/doc/man/man3/tqcolor.3qt @@ -227,7 +227,7 @@ Here are some examples: Pure red is H=0, S=255, V=255. A dark red, moving slight .PP Qt returns a hue value of -1 for achromatic colors. If you pass a too-big hue value, TQt forces it into range. Hue 360 or 720 is treated as 0; hue 540 is treated as 180. .PP -See also QPalette, TQColorGroup, QApplication::setColorSpec(), Color FAQ, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. +See also TQPalette, TQColorGroup, QApplication::setColorSpec(), Color FAQ, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" .SH "TQColor::Spec" The type of color specified, either RGB or HSV, e.g. in the \fCTQColor::TQColor( x, y, z, colorSpec)\fR constructor. @@ -328,7 +328,7 @@ Example: .PP .nf .br - QPixmap loadPixmap( TQString fileName ) + TQPixmap loadPixmap( TQString fileName ) .br { .br @@ -340,7 +340,7 @@ Example: .br alloc_context = TQColor::enterAllocContext(); .br - QPixmap pm( fileName ); + TQPixmap pm( fileName ); .br TQColor::leaveAllocContext(); .br @@ -452,7 +452,7 @@ Returns the number of color bit planes for the underlying window system. .PP The returned value is equal to the default pixmap depth. .PP -See also QPixmap::defaultDepth(). +See also TQPixmap::defaultDepth(). .SH "bool TQColor::operator!= ( const TQColor & c ) const" Returns TRUE if this color has a different RGB value from \fIc\fR; otherwise returns FALSE. .SH "TQColor & TQColor::operator= ( const TQColor & c )" diff --git a/doc/man/man3/tqcolorgroup.3qt b/doc/man/man3/tqcolorgroup.3qt index f28de8c37..9f2197441 100644 --- a/doc/man/man3/tqcolorgroup.3qt +++ b/doc/man/man3/tqcolorgroup.3qt @@ -9,7 +9,7 @@ .SH NAME TQColorGroup \- Group of widget colors .SH SYNOPSIS -\fC#include <ntqpalette.h>\fR +\fC#include <tqpalette.h>\fR .PP .SS "Public Members" .in +1c @@ -136,7 +136,7 @@ You modify a color group by calling the access functions setColor() and setBrush .PP There are also corresponding color() and brush() getters, and a commonly used convenience function to get each ColorRole: background(), foreground(), base(), etc. .PP -See also TQColor, QPalette, TQWidget::colorGroup, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. +See also TQColor, TQPalette, TQWidget::colorGroup, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" .SH "TQColorGroup::ColorRole" The ColorRole enum defines the different symbolic color roles used in current GUIs. diff --git a/doc/man/man3/tqcombobox.3qt b/doc/man/man3/tqcombobox.3qt index ff1346be7..fff211689 100644 --- a/doc/man/man3/tqcombobox.3qt +++ b/doc/man/man3/tqcombobox.3qt @@ -43,10 +43,10 @@ Inherits TQWidget. .BI "void \fBinsertItem\fR ( const TQString & t, int index = -1 )" .br .ti -1c -.BI "void \fBinsertItem\fR ( const QPixmap & pixmap, int index = -1 )" +.BI "void \fBinsertItem\fR ( const TQPixmap & pixmap, int index = -1 )" .br .ti -1c -.BI "void \fBinsertItem\fR ( const QPixmap & pixmap, const TQString & text, int index = -1 )" +.BI "void \fBinsertItem\fR ( const TQPixmap & pixmap, const TQString & text, int index = -1 )" .br .ti -1c .BI "void \fBremoveItem\fR ( int index )" @@ -67,16 +67,16 @@ Inherits TQWidget. .BI "TQString \fBtext\fR ( int index ) const" .br .ti -1c -.BI "const QPixmap * \fBpixmap\fR ( int index ) const" +.BI "const TQPixmap * \fBpixmap\fR ( int index ) const" .br .ti -1c .BI "void \fBchangeItem\fR ( const TQString & t, int index )" .br .ti -1c -.BI "void \fBchangeItem\fR ( const QPixmap & im, int index )" +.BI "void \fBchangeItem\fR ( const TQPixmap & im, int index )" .br .ti -1c -.BI "void \fBchangeItem\fR ( const QPixmap & im, const TQString & t, int index )" +.BI "void \fBchangeItem\fR ( const TQPixmap & im, const TQString & t, int index )" .br .ti -1c .BI "bool autoResize () const \fI(obsolete)\fR" @@ -85,7 +85,7 @@ Inherits TQWidget. .BI "virtual void setAutoResize ( bool ) \fI(obsolete)\fR" .br .ti -1c -.BI "virtual void \fBsetPalette\fR ( const QPalette & palette )" +.BI "virtual void \fBsetPalette\fR ( const TQPalette & palette )" .br .ti -1c .BI "virtual void \fBsetFont\fR ( const TQFont & font )" @@ -339,13 +339,13 @@ Returns TRUE if auto-completion is enabled; otherwise returns FALSE. See the "au Returns TRUE if auto resize is enabled; otherwise returns FALSE. See the "autoResize" property for details. .SH "void QComboBox::changeItem ( const TQString & t, int index )" Replaces the item at position \fIindex\fR with the text \fIt\fR. -.SH "void QComboBox::changeItem ( const QPixmap & im, int index )" +.SH "void QComboBox::changeItem ( const TQPixmap & im, int index )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Replaces the item at position \fIindex\fR with the pixmap \fIim\fR, unless the combobox is editable. .PP See also insertItem(). -.SH "void QComboBox::changeItem ( const QPixmap & im, const TQString & t, int index )" +.SH "void QComboBox::changeItem ( const TQPixmap & im, const TQString & t, int index )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Replaces the item at position \fIindex\fR with the pixmap \fIim\fR and the text \fIt\fR. @@ -386,11 +386,11 @@ Inserts a text item with text \fIt\fR, at position \fIindex\fR. The item will be .PP Examples: .)l chart/optionsform.cpp, fileiconview/mainwindow.cpp, helpviewer/helpwindow.cpp, lineedits/lineedits.cpp, listboxcombo/listboxcombo.cpp, regexptester/regexptester.cpp, and tictac/tictac.cpp. -.SH "void QComboBox::insertItem ( const QPixmap & pixmap, int index = -1 )" +.SH "void QComboBox::insertItem ( const TQPixmap & pixmap, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a \fIpixmap\fR item at position \fIindex\fR. The item will be appended if \fIindex\fR is negative. -.SH "void QComboBox::insertItem ( const QPixmap & pixmap, const TQString & text, int index = -1 )" +.SH "void QComboBox::insertItem ( const TQPixmap & pixmap, const TQString & text, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a \fIpixmap\fR item with additional text \fItext\fR at position \fIindex\fR. The item will be appended if \fIindex\fR is negative. @@ -440,7 +440,7 @@ See also setListBox(). Example: listboxcombo/listboxcombo.cpp. .SH "int QComboBox::maxCount () const" Returns the maximum number of items allowed in the combobox. See the "maxCount" property for details. -.SH "const QPixmap * QComboBox::pixmap ( int index ) const" +.SH "const TQPixmap * QComboBox::pixmap ( int index ) const" Returns the pixmap item at position \fIindex\fR, or 0 if the item is not a pixmap. .SH "void QComboBox::popup ()\fC [virtual]\fR" Pops up the combobox popup list. @@ -480,7 +480,7 @@ Sets the combobox to use \fInewListBox\fR instead of the current list box or pop \fBWarning:\fR QComboBox assumes that newListBox->text(n) returns non-null for 0 <= n < newListbox->count(). This assumption is necessary because of the line edit in QComboBox. .SH "void QComboBox::setMaxCount ( int )\fC [virtual]\fR" Sets the maximum number of items allowed in the combobox. See the "maxCount" property for details. -.SH "void QComboBox::setPalette ( const QPalette & palette )\fC [virtual]\fR" +.SH "void QComboBox::setPalette ( const TQPalette & palette )\fC [virtual]\fR" Sets the palette for both the combobox button and the combobox popup list to \fIpalette\fR. .PP Reimplemented from TQWidget. diff --git a/doc/man/man3/tqcontextmenuevent.3qt b/doc/man/man3/tqcontextmenuevent.3qt index a87f445a8..b309f0445 100644 --- a/doc/man/man3/tqcontextmenuevent.3qt +++ b/doc/man/man3/tqcontextmenuevent.3qt @@ -19,10 +19,10 @@ Inherits QEvent. .BI "enum \fBReason\fR { Mouse, Keyboard, Other }" .br .ti -1c -.BI "\fBQContextMenuEvent\fR ( Reason reason, const QPoint & pos, const QPoint & globalPos, int state )" +.BI "\fBQContextMenuEvent\fR ( Reason reason, const TQPoint & pos, const TQPoint & globalPos, int state )" .br .ti -1c -.BI "\fBQContextMenuEvent\fR ( Reason reason, const QPoint & pos, int state )" +.BI "\fBQContextMenuEvent\fR ( Reason reason, const TQPoint & pos, int state )" .br .ti -1c .BI "int \fBx\fR () const" @@ -37,10 +37,10 @@ Inherits QEvent. .BI "int \fBglobalY\fR () const" .br .ti -1c -.BI "const QPoint & \fBpos\fR () const" +.BI "const TQPoint & \fBpos\fR () const" .br .ti -1c -.BI "const QPoint & \fBglobalPos\fR () const" +.BI "const TQPoint & \fBglobalPos\fR () const" .br .ti -1c .BI "ButtonState \fBstate\fR () const" @@ -84,13 +84,13 @@ This enum describes the reason the ContextMenuEvent was sent. The values are: .TP \fCQContextMenuEvent::Other\fR - The event was sent by some other means (i.e. not by the mouse or keyboard). .SH MEMBER FUNCTION DOCUMENTATION -.SH "QContextMenuEvent::QContextMenuEvent ( Reason reason, const QPoint & pos, const QPoint & globalPos, int state )" +.SH "QContextMenuEvent::QContextMenuEvent ( Reason reason, const TQPoint & pos, const TQPoint & globalPos, int state )" Constructs a context menu event object with the accept parameter flag set to FALSE. .PP The \fIreason\fR parameter must be QContextMenuEvent::Mouse or QContextMenuEvent::Keyboard. .PP The \fIpos\fR parameter specifies the mouse position relative to the receiving widget. \fIglobalPos\fR is the mouse position in absolute coordinates. \fIstate\fR is the ButtonState at the time of the event. -.SH "QContextMenuEvent::QContextMenuEvent ( Reason reason, const QPoint & pos, int state )" +.SH "QContextMenuEvent::QContextMenuEvent ( Reason reason, const TQPoint & pos, int state )" Constructs a context menu event object with the accept parameter flag set to FALSE. .PP The \fIreason\fR parameter must be QContextMenuEvent::Mouse or QContextMenuEvent::Keyboard. @@ -114,7 +114,7 @@ Setting the consume flag indicates that the receiver of this event does not want The consumed flag is not set by default. .PP See also ignore() and accept(). -.SH "const QPoint & QContextMenuEvent::globalPos () const" +.SH "const TQPoint & QContextMenuEvent::globalPos () const" Returns the global position of the mouse pointer at the time of the event. .PP See also x(), y(), and pos(). @@ -142,7 +142,7 @@ See also accept(), ignore(), and consume(). Returns TRUE (which stops propagation of the event) if the receiver has blocked the event; otherwise returns FALSE. .PP See also accept(), ignore(), and consume(). -.SH "const QPoint & QContextMenuEvent::pos () const" +.SH "const TQPoint & QContextMenuEvent::pos () const" Returns the position of the mouse pointer relative to the widget that received the event. .PP See also x(), y(), and globalPos(). diff --git a/doc/man/man3/tqcursor.3qt b/doc/man/man3/tqcursor.3qt index 3b86bbbf9..11b9106eb 100644 --- a/doc/man/man3/tqcursor.3qt +++ b/doc/man/man3/tqcursor.3qt @@ -25,7 +25,7 @@ Inherits Qt. .BI "\fBQCursor\fR ( const TQBitmap & bitmap, const TQBitmap & mask, int hotX = -1, int hotY = -1 )" .br .ti -1c -.BI "\fBQCursor\fR ( const QPixmap & pixmap, int hotX = -1, int hotY = -1 )" +.BI "\fBQCursor\fR ( const TQPixmap & pixmap, int hotX = -1, int hotY = -1 )" .br .ti -1c .BI "\fBQCursor\fR ( const QCursor & c )" @@ -49,7 +49,7 @@ Inherits Qt. .BI "const TQBitmap * \fBmask\fR () const" .br .ti -1c -.BI "QPoint \fBhotSpot\fR () const" +.BI "TQPoint \fBhotSpot\fR () const" .br .ti -1c .BI "HCURSOR \fBhandle\fR () const" @@ -64,13 +64,13 @@ Inherits Qt. .SS "Static Public Members" .in +1c .ti -1c -.BI "QPoint \fBpos\fR ()" +.BI "TQPoint \fBpos\fR ()" .br .ti -1c .BI "void \fBsetPos\fR ( int x, int y )" .br .ti -1c -.BI "void \fBsetPos\fR ( const QPoint & )" +.BI "void \fBsetPos\fR ( const TQPoint & )" .br .ti -1c .BI "void \fBinitialize\fR ()" @@ -150,10 +150,10 @@ Use the global TQt color \fCcolor0\fR to draw 0-pixels and \fCcolor1\fR to draw Valid cursor sizes depend on the display hardware (or the underlying window system). We recommend using 32x32 cursors, because this size is supported on all platforms. Some platforms also support 16x16, 48x48 and 64x64 cursors. .PP See also TQBitmap::TQBitmap() and TQBitmap::setMask(). -.SH "QCursor::QCursor ( const QPixmap & pixmap, int hotX = -1, int hotY = -1 )" +.SH "QCursor::QCursor ( const TQPixmap & pixmap, int hotX = -1, int hotY = -1 )" Constructs a custom pixmap cursor. .PP -\fIpixmap\fR is the image. It is usual to give it a mask (set using QPixmap::setMask()). \fIhotX\fR and \fIhotY\fR define the cursor's hot spot. +\fIpixmap\fR is the image. It is usual to give it a mask (set using TQPixmap::setMask()). \fIhotX\fR and \fIhotY\fR define the cursor's hot spot. .PP If \fIhotX\fR is negative, it is set to the \fCpixmap().width()/2\fR. If \fIhotY\fR is negative, it is set to the \fCpixmap().height()/2\fR. .PP @@ -161,7 +161,7 @@ Valid cursor sizes depend on the display hardware (or the underlying window syst .PP Currently, only black-and-white pixmaps can be used. .PP -See also QPixmap::QPixmap() and QPixmap::setMask(). +See also TQPixmap::TQPixmap() and TQPixmap::setMask(). .SH "QCursor::QCursor ( const QCursor & c )" Constructs a copy of the cursor \fIc\fR. .SH "QCursor::QCursor ( HCURSOR handle )" @@ -180,7 +180,7 @@ See also initialize(). Returns the window system cursor handle. .PP \fBWarning:\fR Portable in principle, but if you use it you are probably about to do something non-portable. Be careful. -.SH "QPoint QCursor::hotSpot () const" +.SH "TQPoint QCursor::hotSpot () const" Returns the cursor hot spot, or (0, 0) if it is one of the standard cursors. .SH "void QCursor::initialize ()\fC [static]\fR" Internal function that initializes the predefined cursors. This function is called from the QApplication constructor. @@ -190,7 +190,7 @@ See also cleanup(). Returns the cursor bitmap mask, or 0 if it is one of the standard cursors. .SH "QCursor & QCursor::operator= ( const QCursor & c )" Assigns \fIc\fR to this cursor and returns a reference to this cursor. -.SH "QPoint QCursor::pos ()\fC [static]\fR" +.SH "TQPoint QCursor::pos ()\fC [static]\fR" Returns the position of the cursor (hot spot) in global screen coordinates. .PP You can call TQWidget::mapFromGlobal() to translate it to widget coordinates. @@ -205,7 +205,7 @@ Moves the cursor (hot spot) to the global screen position (\fIx\fR, \fIy\fR). You can call TQWidget::mapToGlobal() to translate widget coordinates to global screen coordinates. .PP See also pos(), TQWidget::mapFromGlobal(), and TQWidget::mapToGlobal(). -.SH "void QCursor::setPos ( const QPoint & )\fC [static]\fR" +.SH "void QCursor::setPos ( const TQPoint & )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .SH "void QCursor::setShape ( int shape )" Sets the cursor to the shape identified by \fIshape\fR. diff --git a/doc/man/man3/tqdatastream.3qt b/doc/man/man3/tqdatastream.3qt index b8a0e201f..238235b46 100644 --- a/doc/man/man3/tqdatastream.3qt +++ b/doc/man/man3/tqdatastream.3qt @@ -199,7 +199,7 @@ Example (read binary data from a stream): .br .fi .PP -Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include TQBrush, TQColor, TQDateTime, TQFont, QPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators. +Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators. .PP For integers it is best to always cast to a TQt integer type for writing, and to read back into the same TQt integer type. This ensures that you get integers of the size you want and insulates you from compiler and platform differences. .PP diff --git a/doc/man/man3/tqdatatable.3qt b/doc/man/man3/tqdatatable.3qt index 94ab9c879..b42c75c6f 100644 --- a/doc/man/man3/tqdatatable.3qt +++ b/doc/man/man3/tqdatatable.3qt @@ -280,7 +280,7 @@ Inherits QTable. .BI "void \fBsetSize\fR ( TQSqlCursor * sql )" .br .ti -1c -.BI "virtual void \fBpaintField\fR ( TQPainter * p, const TQSqlField * field, const QRect & cr, bool selected )" +.BI "virtual void \fBpaintField\fR ( TQPainter * p, const TQSqlField * field, const TQRect & cr, bool selected )" .br .ti -1c .BI "virtual int \fBfieldAlignment\fR ( const TQSqlField * field )" @@ -437,7 +437,7 @@ Reimplemented from QTable. Returns the number of rows in the table. See the "numRows" property for details. .PP Reimplemented from QTable. -.SH "void TQDataTable::paintField ( TQPainter * p, const TQSqlField * field, const QRect & cr, bool selected )\fC [virtual protected]\fR" +.SH "void TQDataTable::paintField ( TQPainter * p, const TQSqlField * field, const TQRect & cr, bool selected )\fC [virtual protected]\fR" Paints the \fIfield\fR on the painter \fIp\fR. The painter has already been translated to the appropriate cell's origin where the \fIfield\fR is to be rendered. \fIcr\fR describes the cell coordinates in the content coordinate system. The \fIselected\fR parameter is ignored. .PP If you want to draw custom field content you must reimplement paintField() to do the custom drawing. The default implementation renders the \fIfield\fR value as text. If the field is NULL, nullText() is displayed in the cell. If the field is Boolean, trueText() or falseText() is displayed as appropriate. diff --git a/doc/man/man3/tqdesktopwidget.3qt b/doc/man/man3/tqdesktopwidget.3qt index 1841c3bf3..7dd8d13eb 100644 --- a/doc/man/man3/tqdesktopwidget.3qt +++ b/doc/man/man3/tqdesktopwidget.3qt @@ -34,28 +34,28 @@ Inherits TQWidget. .BI "int \fBscreenNumber\fR ( TQWidget * widget = 0 ) const" .br .ti -1c -.BI "int \fBscreenNumber\fR ( const QPoint & point ) const" +.BI "int \fBscreenNumber\fR ( const TQPoint & point ) const" .br .ti -1c .BI "TQWidget * \fBscreen\fR ( int screen = -1 )" .br .ti -1c -.BI "const QRect & \fBscreenGeometry\fR ( int screen = -1 ) const" +.BI "const TQRect & \fBscreenGeometry\fR ( int screen = -1 ) const" .br .ti -1c -.BI "const QRect & \fBscreenGeometry\fR ( TQWidget * widget ) const" +.BI "const TQRect & \fBscreenGeometry\fR ( TQWidget * widget ) const" .br .ti -1c -.BI "const QRect & \fBscreenGeometry\fR ( const QPoint & p ) const" +.BI "const TQRect & \fBscreenGeometry\fR ( const TQPoint & p ) const" .br .ti -1c -.BI "const QRect & \fBavailableGeometry\fR ( int screen = -1 ) const" +.BI "const TQRect & \fBavailableGeometry\fR ( int screen = -1 ) const" .br .ti -1c -.BI "const QRect & \fBavailableGeometry\fR ( TQWidget * widget ) const" +.BI "const TQRect & \fBavailableGeometry\fR ( TQWidget * widget ) const" .br .ti -1c -.BI "const QRect & \fBavailableGeometry\fR ( const QPoint & p ) const" +.BI "const TQRect & \fBavailableGeometry\fR ( const TQPoint & p ) const" .br .in -1c .SS "Signals" @@ -93,17 +93,17 @@ If the system supports a virtual desktop, this widget will have the size of the Instead of using QDesktopWidget directly, use QApplication::desktop(). .SH "QDesktopWidget::~QDesktopWidget ()" Destroy the object and free allocated resources. -.SH "const QRect & QDesktopWidget::availableGeometry ( int screen = -1 ) const" +.SH "const TQRect & QDesktopWidget::availableGeometry ( int screen = -1 ) const" Returns the available geometry of the screen with index \fIscreen\fR. What is available will be subrect of screenGeometry() based on what the platform decides is available (for example excludes the Dock and Menubar on Mac OS X, or the taskbar on Windows). .PP See also screenNumber() and screenGeometry(). -.SH "const QRect & QDesktopWidget::availableGeometry ( TQWidget * widget ) const" +.SH "const TQRect & QDesktopWidget::availableGeometry ( TQWidget * widget ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the available geometry of the screen which contains \fIwidget\fR. .PP See also screenGeometry(). -.SH "const QRect & QDesktopWidget::availableGeometry ( const QPoint & p ) const" +.SH "const TQRect & QDesktopWidget::availableGeometry ( const TQPoint & p ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the available geometry of the screen which contains \fIp\fR. @@ -141,15 +141,15 @@ Returns a widget that represents the screen with index \fIscreen\fR. This widget If the system uses a virtual desktop, the returned widget will have the geometry of the entire virtual desktop i.e. bounding every \fIscreen\fR. .PP See also primaryScreen(), numScreens(), and isVirtualDesktop(). -.SH "const QRect & QDesktopWidget::screenGeometry ( int screen = -1 ) const" +.SH "const TQRect & QDesktopWidget::screenGeometry ( int screen = -1 ) const" Returns the geometry of the screen with index \fIscreen\fR. .PP See also screenNumber(). -.SH "const QRect & QDesktopWidget::screenGeometry ( TQWidget * widget ) const" +.SH "const TQRect & QDesktopWidget::screenGeometry ( TQWidget * widget ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the geometry of the screen which contains \fIwidget\fR. -.SH "const QRect & QDesktopWidget::screenGeometry ( const QPoint & p ) const" +.SH "const TQRect & QDesktopWidget::screenGeometry ( const TQPoint & p ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the geometry of the screen which contains \fIp\fR. @@ -157,7 +157,7 @@ Returns the geometry of the screen which contains \fIp\fR. Returns the index of the screen that contains the largest part of \fIwidget\fR, or -1 if the widget not on a screen. .PP See also primaryScreen(). -.SH "int QDesktopWidget::screenNumber ( const QPoint & point ) const" +.SH "int QDesktopWidget::screenNumber ( const TQPoint & point ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the index of the screen that contains \fIpoint\fR, or -1 if no screen contains the point. diff --git a/doc/man/man3/tqdial.3qt b/doc/man/man3/tqdial.3qt index 27613535f..52f925216 100644 --- a/doc/man/man3/tqdial.3qt +++ b/doc/man/man3/tqdial.3qt @@ -154,7 +154,7 @@ Inherits TQWidget and QRangeControl. .BI "virtual void \fBrangeChange\fR ()" .br .ti -1c -.BI "virtual void \fBrepaintScreen\fR ( const QRect * cr = 0 )" +.BI "virtual void \fBrepaintScreen\fR ( const TQRect * cr = 0 )" .br .in -1c .SH DESCRIPTION @@ -225,7 +225,7 @@ Returns the current page step. See the "pageStep" property for details. Reimplemented to ensure tick-marks are consistent with the new range. .PP Reimplemented from QRangeControl. -.SH "void QDial::repaintScreen ( const QRect * cr = 0 )\fC [virtual protected]\fR" +.SH "void QDial::repaintScreen ( const TQRect * cr = 0 )\fC [virtual protected]\fR" Paints the dial using clip region \fIcr\fR. .SH "void QDial::setLineStep ( int )" Sets the current line step. See the "lineStep" property for details. diff --git a/doc/man/man3/tqdockarea.3qt b/doc/man/man3/tqdockarea.3qt index 3297ede53..e1f18c9eb 100644 --- a/doc/man/man3/tqdockarea.3qt +++ b/doc/man/man3/tqdockarea.3qt @@ -25,7 +25,7 @@ Inherits TQWidget. .BI "\fB~QDockArea\fR ()" .br .ti -1c -.BI "void \fBmoveDockWindow\fR ( QDockWindow * w, const QPoint & p, const QRect & r, bool swap )" +.BI "void \fBmoveDockWindow\fR ( QDockWindow * w, const TQPoint & p, const TQRect & r, bool swap )" .br .ti -1c .BI "void \fBremoveDockWindow\fR ( QDockWindow * w, bool makeFloating, bool swap, bool fixNewLines = TRUE )" @@ -160,7 +160,7 @@ Returns TRUE if the dock area is empty; otherwise returns FALSE. See the "empty" Lines up the dock windows in this dock area to minimize wasted space. If \fIkeepNewLines\fR is TRUE, only space within lines is cleaned up. If \fIkeepNewLines\fR is FALSE the number of lines might be changed. .SH "void QDockArea::moveDockWindow ( QDockWindow * w, int index = -1 )" Moves the QDockWindow \fIw\fR within the dock area. If \fIw\fR is not already docked in this area, \fIw\fR is docked first. If \fIindex\fR is -1 or larger than the number of docked widgets, \fIw\fR is appended at the end, otherwise it is inserted at the position \fIindex\fR. -.SH "void QDockArea::moveDockWindow ( QDockWindow * w, const QPoint & p, const QRect & r, bool swap )" +.SH "void QDockArea::moveDockWindow ( QDockWindow * w, const TQPoint & p, const TQRect & r, bool swap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves the dock window \fIw\fR inside the dock area where \fIp\fR is the new position (in global screen coordinates), \fIr\fR is the suggested rectangle of the dock window and \fIswap\fR specifies whether or not the orientation of the docked widget needs to be changed. diff --git a/doc/man/man3/tqdragenterevent.3qt b/doc/man/man3/tqdragenterevent.3qt index f9335ef0b..379c2b4bc 100644 --- a/doc/man/man3/tqdragenterevent.3qt +++ b/doc/man/man3/tqdragenterevent.3qt @@ -16,7 +16,7 @@ Inherits TQDragMoveEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBTQDragEnterEvent\fR ( const QPoint & pos )" +.BI "\fBTQDragEnterEvent\fR ( const TQPoint & pos )" .br .in -1c .SH DESCRIPTION @@ -26,7 +26,7 @@ This event is always immediately followed by a TQDragMoveEvent, so you only need .PP See also TQDragLeaveEvent, TQDragMoveEvent, TQDropEvent, Drag And Drop Classes, and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQDragEnterEvent::TQDragEnterEvent ( const QPoint & pos )" +.SH "TQDragEnterEvent::TQDragEnterEvent ( const TQPoint & pos )" Constructs a TQDragEnterEvent entering at the given point, \fIpos\fR. .PP \fBWarning:\fR Do not create a TQDragEnterEvent yourself since these diff --git a/doc/man/man3/tqdragmoveevent.3qt b/doc/man/man3/tqdragmoveevent.3qt index edb856fb5..97ee0d4b2 100644 --- a/doc/man/man3/tqdragmoveevent.3qt +++ b/doc/man/man3/tqdragmoveevent.3qt @@ -18,16 +18,16 @@ Inherited by TQDragEnterEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBTQDragMoveEvent\fR ( const QPoint & pos, Type type = DragMove )" +.BI "\fBTQDragMoveEvent\fR ( const TQPoint & pos, Type type = DragMove )" .br .ti -1c -.BI "QRect \fBanswerRect\fR () const" +.BI "TQRect \fBanswerRect\fR () const" .br .ti -1c -.BI "void \fBaccept\fR ( const QRect & r )" +.BI "void \fBaccept\fR ( const TQRect & r )" .br .ti -1c -.BI "void \fBignore\fR ( const QRect & r )" +.BI "void \fBignore\fR ( const TQRect & r )" .br .in -1c .SH DESCRIPTION @@ -39,21 +39,21 @@ Note that this class inherits most of its functionality from TQDropEvent. .PP See also Drag And Drop Classes and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQDragMoveEvent::TQDragMoveEvent ( const QPoint & pos, Type type = DragMove )" +.SH "TQDragMoveEvent::TQDragMoveEvent ( const TQPoint & pos, Type type = DragMove )" Creates a TQDragMoveEvent for which the mouse is at point \fIpos\fR, and the event is of type \fItype\fR. .PP \fBWarning:\fR Do not create a TQDragMoveEvent yourself since these objects rely on Qt's internal state. -.SH "void TQDragMoveEvent::accept ( const QRect & r )" +.SH "void TQDragMoveEvent::accept ( const TQRect & r )" The same as accept(), but also notifies that future moves will also be acceptable if they remain within the rectangle \fIr\fR on the widget: this can improve performance, but may also be ignored by the underlying system. .PP If the rectangle is empty, then drag move events will be sent continuously. This is useful if the source is scrolling in a timer event. .PP Examples: .)l desktop/desktop.cpp and dirview/dirview.cpp. -.SH "QRect TQDragMoveEvent::answerRect () const" +.SH "TQRect TQDragMoveEvent::answerRect () const" Returns the rectangle for which the acceptance of the move event applies. -.SH "void TQDragMoveEvent::ignore ( const QRect & r )" -The opposite of accept(const QRect&), i.e. says that moves within rectangle \fIr\fR are not acceptable (will be ignored). +.SH "void TQDragMoveEvent::ignore ( const TQRect & r )" +The opposite of accept(const TQRect&), i.e. says that moves within rectangle \fIr\fR are not acceptable (will be ignored). .PP Example: dirview/dirview.cpp. diff --git a/doc/man/man3/tqdragobject.3qt b/doc/man/man3/tqdragobject.3qt index aefc06e08..4dc6db558 100644 --- a/doc/man/man3/tqdragobject.3qt +++ b/doc/man/man3/tqdragobject.3qt @@ -36,16 +36,16 @@ Inherited by TQStoredDrag, TQTextDrag, TQImageDrag, and TQIconDrag. .BI "void \fBdragLink\fR ()" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( QPixmap pm )" +.BI "virtual void \fBsetPixmap\fR ( TQPixmap pm )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( QPixmap pm, const QPoint & hotspot )" +.BI "virtual void \fBsetPixmap\fR ( TQPixmap pm, const TQPoint & hotspot )" .br .ti -1c -.BI "QPixmap \fBpixmap\fR () const" +.BI "TQPixmap \fBpixmap\fR () const" .br .ti -1c -.BI "QPoint \fBpixmapHotSpot\fR () const" +.BI "TQPoint \fBpixmapHotSpot\fR () const" .br .ti -1c .BI "TQWidget * \fBsource\fR ()" @@ -132,11 +132,11 @@ See also drag(), dragCopy(), and dragMove(). Starts a drag operation using the contents of this object, using DragMove mode. Be sure to read the constraints described in drag(). .PP See also drag(), dragCopy(), and dragLink(). -.SH "QPixmap TQDragObject::pixmap () const" +.SH "TQPixmap TQDragObject::pixmap () const" Returns the currently set pixmap (which isNull() if none is set). -.SH "QPoint TQDragObject::pixmapHotSpot () const" +.SH "TQPoint TQDragObject::pixmapHotSpot () const" Returns the currently set pixmap hotspot. -.SH "void TQDragObject::setPixmap ( QPixmap pm, const QPoint & hotspot )\fC [virtual]\fR" +.SH "void TQDragObject::setPixmap ( TQPixmap pm, const TQPoint & hotspot )\fC [virtual]\fR" Set the pixmap \fIpm\fR to display while dragging the object. The platform-specific implementation will use this where it can - so provide a small masked pixmap, and do not assume that the user will actually see it. For example, cursors on Windows 95 are of limited size. .PP The \fIhotspot\fR is the point on (or off) the pixmap that should be under the cursor as it is dragged. It is relative to the top-left pixel of the pixmap. @@ -144,7 +144,7 @@ The \fIhotspot\fR is the point on (or off) the pixmap that should be under the c \fBWarning:\fR We have seen problems with drag cursors on different graphics hardware and driver software on Windows. Setting the graphics acceleration in the display settings down one tick solved the problems in all cases. .PP Example: fileiconview/tqfileiconview.cpp. -.SH "void TQDragObject::setPixmap ( QPixmap pm )\fC [virtual]\fR" +.SH "void TQDragObject::setPixmap ( TQPixmap pm )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Uses a hotspot that positions the pixmap below and to the right of the mouse pointer. This allows the user to clearly see the point on the window which they are dragging the data onto. diff --git a/doc/man/man3/tqdropevent.3qt b/doc/man/man3/tqdropevent.3qt index 0c23fa2ef..920ea69b0 100644 --- a/doc/man/man3/tqdropevent.3qt +++ b/doc/man/man3/tqdropevent.3qt @@ -18,10 +18,10 @@ Inherited by TQDragMoveEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBTQDropEvent\fR ( const QPoint & pos, Type typ = Drop )" +.BI "\fBTQDropEvent\fR ( const TQPoint & pos, Type typ = Drop )" .br .ti -1c -.BI "const QPoint & \fBpos\fR () const" +.BI "const TQPoint & \fBpos\fR () const" .br .ti -1c .BI "bool \fBisAccepted\fR () const" @@ -63,7 +63,7 @@ Inherited by TQDragMoveEvent. .BI "TQByteArray data ( const char * f ) const \fI(obsolete)\fR" .br .ti -1c -.BI "void \fBsetPoint\fR ( const QPoint & np )" +.BI "void \fBsetPoint\fR ( const TQPoint & np )" .br .in -1c .SH DESCRIPTION @@ -90,7 +90,7 @@ This enum describes the action which a source requests that a target perform wit .PP The Link and Move actions only makes sense if the data is a reference, for example, text/uri-list file lists (see TQUriDrag). .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQDropEvent::TQDropEvent ( const QPoint & pos, Type typ = Drop )" +.SH "TQDropEvent::TQDropEvent ( const TQPoint & pos, Type typ = Drop )" Constructs a drop event that drops a drop of type \fItyp\fR on point \fIpos\fR. .SH "void TQDropEvent::accept ( bool y = TRUE )" Call this function to indicate whether the event provided data which your widget processed. Set \fIy\fR to TRUE (the default) if your widget could process the data, otherwise set \fIy\fR to FALSE. To get the data, use encodedData(), or preferably, the decode() methods of existing TQDragObject subclasses, such as TQTextDrag::decode(), or your own subclasses. @@ -140,7 +140,7 @@ Example: fileiconview/tqfileiconview.cpp. Returns TRUE if the drop target accepts the event; otherwise returns FALSE. .SH "bool TQDropEvent::isActionAccepted () const" Returns TRUE if the drop action was accepted by the drop site; otherwise returns FALSE. -.SH "const QPoint & TQDropEvent::pos () const" +.SH "const TQPoint & TQDropEvent::pos () const" Returns the position where the drop was made. .PP Example: dirview/dirview.cpp. @@ -154,7 +154,7 @@ Example: fileiconview/tqfileiconview.cpp. Reimplemented from TQMimeSource. .SH "void TQDropEvent::setAction ( Action a )" Sets the action to \fIa\fR. This is used internally, you should not need to call this in your code: the \fIsource\fR decides the action, not the target. -.SH "void TQDropEvent::setPoint ( const QPoint & np )" +.SH "void TQDropEvent::setPoint ( const TQPoint & np )" Sets the drop to happen at point \fInp\fR. You do not normally need to use this as it will be set internally before your widget receives the drop event. .SH "TQWidget * TQDropEvent::source () const" If the source of the drag operation is a widget in this application, this function returns that source, otherwise it returns 0. The source of the operation is the first parameter to drag object subclasses. diff --git a/doc/man/man3/tqfiledialog.3qt b/doc/man/man3/tqfiledialog.3qt index 3c8798f27..de55d1923 100644 --- a/doc/man/man3/tqfiledialog.3qt +++ b/doc/man/man3/tqfiledialog.3qt @@ -326,7 +326,7 @@ A preview widget is a widget that is placed inside a TQFileDialog so that the us .br TQString path = u.path(); .br - QPixmap pix( path ); + TQPixmap pix( path ); .br if ( pix.isNull() ) .br @@ -702,7 +702,7 @@ Normally you would create a preview widget that derives from both TQWidget and T .br TQString path = u.path(); .br - QPixmap pix( path ); + TQPixmap pix( path ); .br if ( pix.isNull() ) .br @@ -828,7 +828,7 @@ Normally you would create a preview widget that derives from both TQWidget and T .br TQString path = u.path(); .br - QPixmap pix( path ); + TQPixmap pix( path ); .br if ( pix.isNull() ) .br diff --git a/doc/man/man3/tqfileiconprovider.3qt b/doc/man/man3/tqfileiconprovider.3qt index 2f4a2b9e0..a72e67a8b 100644 --- a/doc/man/man3/tqfileiconprovider.3qt +++ b/doc/man/man3/tqfileiconprovider.3qt @@ -19,7 +19,7 @@ Inherits TQObject. .BI "\fBTQFileIconProvider\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "virtual const QPixmap * \fBpixmap\fR ( const TQFileInfo & info )" +.BI "virtual const TQPixmap * \fBpixmap\fR ( const TQFileInfo & info )" .br .in -1c .SH DESCRIPTION @@ -33,7 +33,7 @@ See also TQFileDialog and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQFileIconProvider::TQFileIconProvider ( TQObject * parent = 0, const char * name = 0 )" Constructs an empty file icon provider called \fIname\fR, with the parent \fIparent\fR. -.SH "const QPixmap * TQFileIconProvider::pixmap ( const TQFileInfo & info )\fC [virtual]\fR" +.SH "const TQPixmap * TQFileIconProvider::pixmap ( const TQFileInfo & info )\fC [virtual]\fR" Returns a pointer to a pixmap that should be used to signify the file with the information \fIinfo\fR. .PP If pixmap() returns 0, TQFileDialog draws the default pixmap. diff --git a/doc/man/man3/tqfontinfo.3qt b/doc/man/man3/tqfontinfo.3qt index f1e322849..81497095d 100644 --- a/doc/man/man3/tqfontinfo.3qt +++ b/doc/man/man3/tqfontinfo.3qt @@ -81,7 +81,7 @@ See also TQFont, TQFontMetrics, TQFontDatabase, Graphics Classes, and Implicitly .SH "TQFontInfo::TQFontInfo ( const TQFont & font )" Constructs a font info object for \fIfont\fR. .PP -The font must be screen-compatible, i.e. a font you use when drawing text in widgets or pixmaps, not QPicture or QPrinter. +The font must be screen-compatible, i.e. a font you use when drawing text in widgets or pixmaps, not TQPicture or TQPrinter. .PP The font info object holds the information for the font that is passed in the constructor at the time it is created, and is not updated if the font's attributes are changed later. .PP diff --git a/doc/man/man3/tqfontmetrics.3qt b/doc/man/man3/tqfontmetrics.3qt index fc5ff28c1..65aa43bc5 100644 --- a/doc/man/man3/tqfontmetrics.3qt +++ b/doc/man/man3/tqfontmetrics.3qt @@ -74,13 +74,13 @@ TQFontMetrics \- Font metrics information .BI "int \fBcharWidth\fR ( const TQString & str, int pos ) const" .br .ti -1c -.BI "QRect \fBboundingRect\fR ( const TQString & str, int len = -1 ) const" +.BI "TQRect \fBboundingRect\fR ( const TQString & str, int len = -1 ) const" .br .ti -1c -.BI "QRect \fBboundingRect\fR ( TQChar ch ) const" +.BI "TQRect \fBboundingRect\fR ( TQChar ch ) const" .br .ti -1c -.BI "QRect \fBboundingRect\fR ( int x, int y, int w, int h, int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const" +.BI "TQRect \fBboundingRect\fR ( int x, int y, int w, int h, int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const" .br .ti -1c .BI "TQSize \fBsize\fR ( int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const" @@ -142,7 +142,7 @@ See also TQFont, TQFontInfo, TQFontDatabase, Graphics Classes, and Implicitly an .SH "TQFontMetrics::TQFontMetrics ( const TQFont & font )" Constructs a font metrics object for \fIfont\fR. .PP -The font must be screen-compatible, i.e. a font you use when drawing text in widgets or pixmaps, not QPicture or QPrinter. +The font must be screen-compatible, i.e. a font you use when drawing text in widgets or pixmaps, not TQPicture or TQPrinter. .PP The font metrics object holds the information for the font that is passed in the constructor at the time it is created, and is not updated if the font's attributes are changed later. .PP @@ -164,7 +164,7 @@ See also descent(). .PP Examples: .)l drawdemo/drawdemo.cpp and scrollview/scrollview.cpp. -.SH "QRect TQFontMetrics::boundingRect ( TQChar ch ) const" +.SH "TQRect TQFontMetrics::boundingRect ( TQChar ch ) const" Returns the rectangle that is covered by ink if the character specified by \fIch\fR were to be drawn at the origin of the coordinate system. .PP Note that the bounding rectangle may extend to the left of (0, 0), e.g. for italicized fonts, and that the text output may cover \fIall\fR pixels in the bounding rectangle. For a space character the rectangle will usually be empty. @@ -176,11 +176,11 @@ Note that the rectangle usually extends both above and below the base line. See also width(). .PP Example: xform/xform.cpp. -.SH "QRect TQFontMetrics::boundingRect ( const TQString & str, int len = -1 ) const" +.SH "TQRect TQFontMetrics::boundingRect ( const TQString & str, int len = -1 ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the bounding rectangle that contains the first \fIlen\fR characters of string \fIstr\fR. -.SH "QRect TQFontMetrics::boundingRect ( int x, int y, int w, int h, int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const" +.SH "TQRect TQFontMetrics::boundingRect ( int x, int y, int w, int h, int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the bounding rectangle of the first \fIlen\fR characters of \fIstr\fR, which is the set of pixels the text would cover if drawn at (0, 0). The drawing, and hence the bounding rectangle, is constrained to the rectangle (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR). diff --git a/doc/man/man3/tqframe.3qt b/doc/man/man3/tqframe.3qt index fd067d7fc..7ff469fb3 100644 --- a/doc/man/man3/tqframe.3qt +++ b/doc/man/man3/tqframe.3qt @@ -30,7 +30,7 @@ Inherited by QGroupBox, QScrollView, QDockWindow, QGrid, QHBox, QLabel, QLCDNumb .BI "int \fBframeWidth\fR () const" .br .ti -1c -.BI "QRect \fBcontentsRect\fR () const" +.BI "TQRect \fBcontentsRect\fR () const" .br .ti -1c .BI "enum \fBShape\fR { NoFrame = 0, Box = 0x0001, Panel = 0x0002, WinPanel = 0x0003, HLine = 0x0004, VLine = 0x0005, StyledPanel = 0x0006, PopupPanel = 0x0007, MenuBarPanel = 0x0008, ToolBarPanel = 0x0009, LineEditPanel = 0x000a, TabWidgetPanel = 0x000b, GroupBoxPanel = 0x000c, MShape = 0x000f }" @@ -69,19 +69,19 @@ Inherited by QGroupBox, QScrollView, QDockWindow, QGrid, QHBox, QLabel, QLCDNumb .BI "virtual void \fBsetMidLineWidth\fR ( int )" .br .ti -1c -.BI "QRect \fBframeRect\fR () const" +.BI "TQRect \fBframeRect\fR () const" .br .ti -1c -.BI "virtual void \fBsetFrameRect\fR ( const QRect & )" +.BI "virtual void \fBsetFrameRect\fR ( const TQRect & )" .br .in -1c .SS "Properties" .in +1c .ti -1c -.BI "QRect \fBcontentsRect\fR - the rectangle inside the frame \fI(read " "only" ")\fR" +.BI "TQRect \fBcontentsRect\fR - the rectangle inside the frame \fI(read " "only" ")\fR" .br .ti -1c -.BI "QRect \fBframeRect\fR - the frame rectangle" +.BI "TQRect \fBframeRect\fR - the frame rectangle" .br .ti -1c .BI "Shadow \fBframeShadow\fR - the frame shadow value from the frame style" @@ -217,7 +217,7 @@ See also QFrame::Shadow, QFrame::style(), and TQStyle::drawPrimitive(). Constructs a frame widget with frame style NoFrame and a 1-pixel frame width. .PP The \fIparent\fR, \fIname\fR and \fIf\fR arguments are passed to the TQWidget constructor. -.SH "QRect QFrame::contentsRect () const" +.SH "TQRect QFrame::contentsRect () const" Returns the rectangle inside the frame. See the "contentsRect" property for details. .SH "void QFrame::drawContents ( TQPainter * )\fC [virtual protected]\fR" Virtual function that draws the contents of the frame. @@ -241,7 +241,7 @@ Virtual function that is called when the frame style, line width or mid-line wid This function can be reimplemented by subclasses that need to know when the frame attributes change. .PP The default implementation calls update(). -.SH "QRect QFrame::frameRect () const" +.SH "TQRect QFrame::frameRect () const" Returns the frame rectangle. See the "frameRect" property for details. .SH "Shadow QFrame::frameShadow () const" Returns the frame shadow value from the frame style. See the "frameShadow" property for details. @@ -286,7 +286,7 @@ Nothing is done if the frame rectangle is a null rectangle already. Example: life/life.cpp. .PP Reimplemented from TQWidget. -.SH "void QFrame::setFrameRect ( const QRect & )\fC [virtual]\fR" +.SH "void QFrame::setFrameRect ( const TQRect & )\fC [virtual]\fR" Sets the frame rectangle. See the "frameRect" property for details. .SH "void QFrame::setFrameShadow ( Shadow )" Sets the frame shadow value from the frame style. See the "frameShadow" property for details. @@ -312,18 +312,18 @@ Sets the width of the margin. See the "margin" property for details. .SH "void QFrame::setMidLineWidth ( int )\fC [virtual]\fR" Sets the width of the mid-line. See the "midLineWidth" property for details. .SS "Property Documentation" -.SH "QRect contentsRect" +.SH "TQRect contentsRect" This property holds the rectangle inside the frame. .PP Get this property's value with contentsRect(). .PP See also frameRect and drawContents(). -.SH "QRect frameRect" +.SH "TQRect frameRect" This property holds the frame rectangle. .PP The frame rectangle is the rectangle the frame is drawn in. By default, this is the entire widget. Setting this property does \fInot\fR cause a widget update. .PP -If this property is set to a null rectangle (for example \fCQRect(0, 0, 0, 0)\fR), then the frame rectangle is equivalent to the widget rectangle. +If this property is set to a null rectangle (for example \fCTQRect(0, 0, 0, 0)\fR), then the frame rectangle is equivalent to the widget rectangle. .PP See also contentsRect. .PP diff --git a/doc/man/man3/tqgl.3qt b/doc/man/man3/tqgl.3qt index f4ed895c3..f1cbd3aaa 100644 --- a/doc/man/man3/tqgl.3qt +++ b/doc/man/man3/tqgl.3qt @@ -1,5 +1,5 @@ '\" t -.TH QGL 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQGL 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,11 +7,11 @@ .ad l .nh .SH NAME -QGL \- Namespace for miscellaneous identifiers in the TQt OpenGL module +TQGL \- Namespace for miscellaneous identifiers in the TQt OpenGL module .SH SYNOPSIS -\fC#include <ntqgl.h>\fR +\fC#include <tqgl.h>\fR .PP -Inherited by QGLFormat, QGLContext, and QGLWidget. +Inherited by TQGLFormat, TQGLContext, and TQGLWidget. .PP .SS "Public Members" .in +1c @@ -20,57 +20,57 @@ Inherited by QGLFormat, QGLContext, and QGLWidget. .br .in -1c .SH DESCRIPTION -The QGL class is a namespace for miscellaneous identifiers in the TQt OpenGL module. +The TQGL class is a namespace for miscellaneous identifiers in the TQt OpenGL module. .PP -Normally you can ignore this class. QGLWidget and the other OpenGL<sup>*</sup> module classes inherit it, so when you make your own QGLWidget subclass you can use the identifiers in the QGL namespace without qualification. +Normally you can ignore this class. TQGLWidget and the other OpenGL<sup>*</sup> module classes inherit it, so when you make your own TQGLWidget subclass you can use the identifiers in the TQGL namespace without qualification. .PP -However, you may occasionally find yourself in situations where you need to refer to these identifiers from outside the QGL namespace's scope, e.g. in static functions. In such cases, simply write e.g. QGL::DoubleBuffer instead of just DoubleBuffer. +However, you may occasionally find yourself in situations where you need to refer to these identifiers from outside the TQGL namespace's scope, e.g. in static functions. In such cases, simply write e.g. TQGL::DoubleBuffer instead of just DoubleBuffer. .PP <sup>*</sup> OpenGL is a trademark of Silicon Graphics, Inc. in the United States and other countries. .PP See also Graphics Classes and Image Processing Classes. .SS "Member Type Documentation" -.SH "QGL::FormatOption" +.SH "TQGL::FormatOption" This enum specifies the format options. .TP -\fCQGL::DoubleBuffer\fR +\fCTQGL::DoubleBuffer\fR .TP -\fCQGL::DepthBuffer\fR +\fCTQGL::DepthBuffer\fR .TP -\fCQGL::Rgba\fR +\fCTQGL::Rgba\fR .TP -\fCQGL::AlphaChannel\fR +\fCTQGL::AlphaChannel\fR .TP -\fCQGL::AccumBuffer\fR +\fCTQGL::AccumBuffer\fR .TP -\fCQGL::StencilBuffer\fR +\fCTQGL::StencilBuffer\fR .TP -\fCQGL::StereoBuffers\fR +\fCTQGL::StereoBuffers\fR .TP -\fCQGL::DirectRendering\fR +\fCTQGL::DirectRendering\fR .TP -\fCQGL::HasOverlay\fR +\fCTQGL::HasOverlay\fR .TP -\fCQGL::SingleBuffer\fR +\fCTQGL::SingleBuffer\fR .TP -\fCQGL::NoDepthBuffer\fR +\fCTQGL::NoDepthBuffer\fR .TP -\fCQGL::ColorIndex\fR +\fCTQGL::ColorIndex\fR .TP -\fCQGL::NoAlphaChannel\fR +\fCTQGL::NoAlphaChannel\fR .TP -\fCQGL::NoAccumBuffer\fR +\fCTQGL::NoAccumBuffer\fR .TP -\fCQGL::NoStencilBuffer\fR +\fCTQGL::NoStencilBuffer\fR .TP -\fCQGL::NoStereoBuffers\fR +\fCTQGL::NoStereoBuffers\fR .TP -\fCQGL::IndirectRendering\fR +\fCTQGL::IndirectRendering\fR .TP -\fCQGL::NoOverlay\fR +\fCTQGL::NoOverlay\fR .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqgl.html +.BR http://doc.trolltech.com/tqgl.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/tqglayoutiterator.3qt b/doc/man/man3/tqglayoutiterator.3qt index 240454a94..78fcea722 100644 --- a/doc/man/man3/tqglayoutiterator.3qt +++ b/doc/man/man3/tqglayoutiterator.3qt @@ -29,7 +29,7 @@ QGLayoutIterator \- Abstract base class of internal layout iterators .SH DESCRIPTION The QGLayoutIterator class is an abstract base class of internal layout iterators. .PP -(This class is \fInot\fR OpenGL related, it just happens to start with the letters QGL...) +(This class is \fInot\fR OpenGL related, it just happens to start with the letters TQGL...) .PP Subclass this class to create a custom layout. The functions that must be implemented are next(), current(), and takeCurrent(). .PP diff --git a/doc/man/man3/tqglcolormap.3qt b/doc/man/man3/tqglcolormap.3qt index 7604e1579..2b614ad60 100644 --- a/doc/man/man3/tqglcolormap.3qt +++ b/doc/man/man3/tqglcolormap.3qt @@ -1,5 +1,5 @@ '\" t -.TH QGLColormap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQGLColormap 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,23 +7,23 @@ .ad l .nh .SH NAME -QGLColormap \- Used for installing custom colormaps into QGLWidgets +TQGLColormap \- Used for installing custom colormaps into TQGLWidgets .SH SYNOPSIS -\fC#include <ntqglcolormap.h>\fR +\fC#include <tqglcolormap.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQGLColormap\fR ()" +.BI "\fBTQGLColormap\fR ()" .br .ti -1c -.BI "\fBQGLColormap\fR ( const QGLColormap & map )" +.BI "\fBTQGLColormap\fR ( const TQGLColormap & map )" .br .ti -1c -.BI "\fB~QGLColormap\fR ()" +.BI "\fB~TQGLColormap\fR ()" .br .ti -1c -.BI "QGLColormap & \fBoperator=\fR ( const QGLColormap & map )" +.BI "TQGLColormap & \fBoperator=\fR ( const TQGLColormap & map )" .br .ti -1c .BI "bool \fBisEmpty\fR () const" @@ -57,9 +57,9 @@ QGLColormap \- Used for installing custom colormaps into QGLWidgets .br .in -1c .SH DESCRIPTION -The QGLColormap class is used for installing custom colormaps into QGLWidgets. +The TQGLColormap class is used for installing custom colormaps into TQGLWidgets. .PP -QGLColormap provides a platform independent way of specifying and installing indexed colormaps into QGLWidgets. QGLColormap is especially useful when using the OpenGL color-index mode. +TQGLColormap provides a platform independent way of specifying and installing indexed colormaps into TQGLWidgets. TQGLColormap is especially useful when using the OpenGL color-index mode. .PP Under X11 you must use an X server that supports either a \fCPseudoColor\fR or \fCDirectColor\fR visual class. If your X server currently only provides a \fCGrayScale\fR, \fCTrueColor\fR, \fCStaticColor\fR or \fCStaticGray\fR visual, you will not be able to allocate colorcells for writing. If this is the case, try setting your X server to 8 bit mode. It should then provide you with at least a \fCPseudoColor\fR visual. Note that you may experience colormap flashing if your X server is running in 8 bit mode. .PP @@ -73,7 +73,7 @@ Example of use: .br #include <ntqapplication.h> .br - #include <ntqglcolormap.h> + #include <tqglcolormap.h> .br .br int main() @@ -83,9 +83,9 @@ Example of use: QApplication a( argc, argv ); .br .br - MySuperGLWidget widget( 0 ); // A QGLWidget in color-index mode + MySuperGLWidget widget( 0 ); // A TQGLWidget in color-index mode .br - QGLColormap colormap; + TQGLColormap colormap; .br .br // This will fill the colormap with colors ranging from @@ -107,41 +107,41 @@ Example of use: .br .fi .PP -See also QGLWidget::setColormap(), QGLWidget::colormap(), Graphics Classes, and Image Processing Classes. +See also TQGLWidget::setColormap(), TQGLWidget::colormap(), Graphics Classes, and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QGLColormap::QGLColormap ()" -Construct a QGLColormap. -.SH "QGLColormap::QGLColormap ( const QGLColormap & map )" +.SH "TQGLColormap::TQGLColormap ()" +Construct a TQGLColormap. +.SH "TQGLColormap::TQGLColormap ( const TQGLColormap & map )" Construct a shallow copy of \fImap\fR. -.SH "QGLColormap::~QGLColormap ()" -Dereferences the QGLColormap and deletes it if this was the last reference to it. -.SH "void QGLColormap::detach ()" -Detaches this QGLColormap from the shared block. -.SH "TQColor QGLColormap::entryColor ( int idx ) const" +.SH "TQGLColormap::~TQGLColormap ()" +Dereferences the TQGLColormap and deletes it if this was the last reference to it. +.SH "void TQGLColormap::detach ()" +Detaches this TQGLColormap from the shared block. +.SH "TQColor TQGLColormap::entryColor ( int idx ) const" Returns the TQRgb value in the colorcell with index \fIidx\fR. -.SH "TQRgb QGLColormap::entryRgb ( int idx ) const" +.SH "TQRgb TQGLColormap::entryRgb ( int idx ) const" Returns the TQRgb value in the colorcell with index \fIidx\fR. -.SH "int QGLColormap::find ( TQRgb color ) const" +.SH "int TQGLColormap::find ( TQRgb color ) const" Returns the index of the color \fIcolor\fR. If \fIcolor\fR is not in the map, -1 is returned. -.SH "int QGLColormap::findNearest ( TQRgb color ) const" +.SH "int TQGLColormap::findNearest ( TQRgb color ) const" Returns the index of the color that is the closest match to color \fIcolor\fR. -.SH "bool QGLColormap::isEmpty () const" +.SH "bool TQGLColormap::isEmpty () const" Returns TRUE if the colormap is empty; otherwise returns FALSE. A colormap with no color values set is considered to be empty. -.SH "QGLColormap & QGLColormap::operator= ( const QGLColormap & map )" -Assign a shallow copy of \fImap\fR to this QGLColormap. -.SH "void QGLColormap::setEntries ( int count, const TQRgb * colors, int base = 0 )" +.SH "TQGLColormap & TQGLColormap::operator= ( const TQGLColormap & map )" +Assign a shallow copy of \fImap\fR to this TQGLColormap. +.SH "void TQGLColormap::setEntries ( int count, const TQRgb * colors, int base = 0 )" Set an array of cells in this colormap. \fIcount\fR is the number of colors that should be set, \fIcolors\fR is the array of colors, and \fIbase\fR is the starting index. -.SH "void QGLColormap::setEntry ( int idx, TQRgb color )" +.SH "void TQGLColormap::setEntry ( int idx, TQRgb color )" Set cell at index \fIidx\fR in the colormap to color \fIcolor\fR. -.SH "void QGLColormap::setEntry ( int idx, const TQColor & color )" +.SH "void TQGLColormap::setEntry ( int idx, const TQColor & color )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Set the cell with index \fIidx\fR in the colormap to color \fIcolor\fR. -.SH "int QGLColormap::size () const" +.SH "int TQGLColormap::size () const" Returns the number of colorcells in the colormap. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqglcolormap.html +.BR http://doc.trolltech.com/tqglcolormap.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/tqglcontext.3qt b/doc/man/man3/tqglcontext.3qt index a2651ccc5..3a584619f 100644 --- a/doc/man/man3/tqglcontext.3qt +++ b/doc/man/man3/tqglcontext.3qt @@ -1,5 +1,5 @@ '\" t -.TH QGLContext 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQGLContext 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 -QGLContext \- Encapsulates an OpenGL rendering context +TQGLContext \- Encapsulates an OpenGL rendering context .SH SYNOPSIS -\fC#include <ntqgl.h>\fR +\fC#include <tqgl.h>\fR .PP -Inherits QGL. +Inherits TQGL. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQGLContext\fR ( const QGLFormat & format, TQPaintDevice * device )" +.BI "\fBTQGLContext\fR ( const TQGLFormat & format, TQPaintDevice * device )" .br .ti -1c -.BI "virtual \fB~QGLContext\fR ()" +.BI "virtual \fB~TQGLContext\fR ()" .br .ti -1c -.BI "virtual bool \fBcreate\fR ( const QGLContext * shareContext = 0 )" +.BI "virtual bool \fBcreate\fR ( const TQGLContext * shareContext = 0 )" .br .ti -1c .BI "bool \fBisValid\fR () const" @@ -34,13 +34,13 @@ Inherits QGL. .BI "virtual void \fBreset\fR ()" .br .ti -1c -.BI "QGLFormat \fBformat\fR () const" +.BI "TQGLFormat \fBformat\fR () const" .br .ti -1c -.BI "QGLFormat \fBrequestedFormat\fR () const" +.BI "TQGLFormat \fBrequestedFormat\fR () const" .br .ti -1c -.BI "virtual void \fBsetFormat\fR ( const QGLFormat & format )" +.BI "virtual void \fBsetFormat\fR ( const TQGLFormat & format )" .br .ti -1c .BI "virtual void \fBmakeCurrent\fR ()" @@ -58,13 +58,13 @@ Inherits QGL. .SS "Static Public Members" .in +1c .ti -1c -.BI "const QGLContext * \fBcurrentContext\fR ()" +.BI "const TQGLContext * \fBcurrentContext\fR ()" .br .in -1c .SS "Protected Members" .in +1c .ti -1c -.BI "virtual bool \fBchooseContext\fR ( const QGLContext * shareContext = 0 )" +.BI "virtual bool \fBchooseContext\fR ( const TQGLContext * shareContext = 0 )" .br .ti -1c .BI "virtual void \fBdoneCurrent\fR ()" @@ -98,122 +98,122 @@ Inherits QGL. .br .in -1c .SH DESCRIPTION -The QGLContext class encapsulates an OpenGL rendering context. +The TQGLContext class encapsulates an OpenGL rendering context. .PP An OpenGL<sup>*</sup> rendering context is a complete set of OpenGL state variables. .PP -The context's format is set in the constructor or later with setFormat(). The format options that are actually set are returned by format(); the options you asked for are returned by requestedFormat(). Note that after a QGLContext object has been constructed, the actual OpenGL context must be created by explicitly calling the create() function. The makeCurrent() function makes this context the current rendering context. You can make \fIno\fR context current using doneCurrent(). The reset() function will reset the context and make it invalid. +The context's format is set in the constructor or later with setFormat(). The format options that are actually set are returned by format(); the options you asked for are returned by requestedFormat(). Note that after a TQGLContext object has been constructed, the actual OpenGL context must be created by explicitly calling the create() function. The makeCurrent() function makes this context the current rendering context. You can make \fIno\fR context current using doneCurrent(). The reset() function will reset the context and make it invalid. .PP You can examine properties of the context with, e.g. isValid(), isSharing(), initialized(), windowCreated() and overlayTransparentColor(). .PP If you're using double buffering you can swap the screen contents with the off-screen buffer using swapBuffers(). .PP -Please note that QGLContext is not thread safe. +Please note that TQGLContext is not thread safe. .PP <sup>*</sup> OpenGL is a trademark of Silicon Graphics, Inc. in the United States and other countries. .PP See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QGLContext::QGLContext ( const QGLFormat & format, TQPaintDevice * device )" +.SH "TQGLContext::TQGLContext ( const TQGLFormat & format, TQPaintDevice * device )" Constructs an OpenGL context for the paint device \fIdevice\fR, which can be a widget or a pixmap. The \fIformat\fR specifies several display options for the context. .PP If the underlying OpenGL/Window system cannot satisfy all the features requested in \fIformat\fR, the nearest subset of features will be used. After creation, the format() method will return the actual format obtained. .PP -Note that after a QGLContext object has been constructed, create() must be called explicitly to create the actual OpenGL context. The context will be invalid if it was not possible to obtain a GL context at all. +Note that after a TQGLContext object has been constructed, create() must be called explicitly to create the actual OpenGL context. The context will be invalid if it was not possible to obtain a GL context at all. .PP See also format() and isValid(). -.SH "QGLContext::~QGLContext ()\fC [virtual]\fR" +.SH "TQGLContext::~TQGLContext ()\fC [virtual]\fR" Destroys the OpenGL context and frees its resources. -.SH "bool QGLContext::chooseContext ( const QGLContext * shareContext = 0 )\fC [virtual protected]\fR" +.SH "bool TQGLContext::chooseContext ( const TQGLContext * shareContext = 0 )\fC [virtual protected]\fR" This semi-internal function is called by create(). It creates a system-dependent OpenGL handle that matches the format() of \fIshareContext\fR as closely as possible. .PP On Windows, it calls the virtual function choosePixelFormat(), which finds a matching pixel format identifier. On X11, it calls the virtual function chooseVisual() which finds an appropriate X visual. On other platforms it may work differently. -.SH "void * QGLContext::chooseMacVisual ( GDHandle device )\fC [virtual protected]\fR" +.SH "void * TQGLContext::chooseMacVisual ( GDHandle device )\fC [virtual protected]\fR" \fBMac only\fR: This virtual function tries to find a visual that matches the format using the given \fIdevice\fR handle, reducing the demands if the original request cannot be met. .PP The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has specific requirements on visual selection. .PP See also chooseContext(). -.SH "int QGLContext::choosePixelFormat ( void * dummyPfd, HDC pdc )\fC [virtual protected]\fR" +.SH "int TQGLContext::choosePixelFormat ( void * dummyPfd, HDC pdc )\fC [virtual protected]\fR" \fBWin32 only\fR This virtual function chooses a pixel format that matches the OpenGL format. Reimplement this function in a subclass if you need a custom context. .PP \fBWarning:\fR The \fIdummyPfd\fR pointer and \fIpdc\fR are used as a \fCPIXELFORMATDESCRIPTOR*\fR. We use \fCvoid\fR to avoid using Windows-specific types in our header files. .PP See also chooseContext(). -.SH "void * QGLContext::chooseVisual ()\fC [virtual protected]\fR" +.SH "void * TQGLContext::chooseVisual ()\fC [virtual protected]\fR" \fBX11 only\fR: This virtual function tries to find a visual that matches the format, reducing the demands if the original request cannot be met. .PP The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has spcific requirements on visual selection. .PP See also chooseContext(). -.SH "bool QGLContext::create ( const QGLContext * shareContext = 0 )\fC [virtual]\fR" +.SH "bool TQGLContext::create ( const TQGLContext * shareContext = 0 )\fC [virtual]\fR" Creates the GL context. Returns TRUE if it was successful in creating a valid GL rendering context on the paint device specified in the constructor; otherwise returns FALSE (i.e. the context is invalid). .PP After successful creation, format() returns the set of features of the created GL rendering context. .PP -If \fIshareContext\fR points to a valid QGLContext, this method will try to establish OpenGL display list sharing between this context and the \fIshareContext\fR. Note that this may fail if the two contexts have different formats. Use isSharing() to see if sharing succeeded. +If \fIshareContext\fR points to a valid TQGLContext, this method will try to establish OpenGL display list sharing between this context and the \fIshareContext\fR. Note that this may fail if the two contexts have different formats. Use isSharing() to see if sharing succeeded. .PP -\fBWarning:\fR Implementation note: initialization of C++ class members usually takes place in the class constructor. QGLContext is an exception because it must be simple to customize. The virtual functions chooseContext() (and chooseVisual() for X11) can be reimplemented in a subclass to select a particular context. The problem is that virtual functions are not properly called during construction (even though this is correct C++) because C++ constructs class hierarchies from the bottom up. For this reason we need a create() function. +\fBWarning:\fR Implementation note: initialization of C++ class members usually takes place in the class constructor. TQGLContext is an exception because it must be simple to customize. The virtual functions chooseContext() (and chooseVisual() for X11) can be reimplemented in a subclass to select a particular context. The problem is that virtual functions are not properly called during construction (even though this is correct C++) because C++ constructs class hierarchies from the bottom up. For this reason we need a create() function. .PP See also chooseContext(), format(), and isValid(). -.SH "const QGLContext * QGLContext::currentContext ()\fC [static]\fR" +.SH "const TQGLContext * TQGLContext::currentContext ()\fC [static]\fR" Returns the current context, i.e. the context to which any OpenGL commands will currently be directed. Returns 0 if no context is current. .PP See also makeCurrent(). -.SH "TQPaintDevice * QGLContext::device () const" +.SH "TQPaintDevice * TQGLContext::device () const" Returns the paint device set for this context. .PP -See also QGLContext::QGLContext(). -.SH "bool QGLContext::deviceIsPixmap () const\fC [protected]\fR" +See also TQGLContext::TQGLContext(). +.SH "bool TQGLContext::deviceIsPixmap () const\fC [protected]\fR" Returns TRUE if the paint device of this context is a pixmap; otherwise returns FALSE. -.SH "void QGLContext::doneCurrent ()\fC [virtual protected]\fR" -Makes no GL context the current context. Normally, you do not need to call this function; QGLContext calls it as necessary. -.SH "QGLFormat QGLContext::format () const" +.SH "void TQGLContext::doneCurrent ()\fC [virtual protected]\fR" +Makes no GL context the current context. Normally, you do not need to call this function; TQGLContext calls it as necessary. +.SH "TQGLFormat TQGLContext::format () const" Returns the frame buffer format that was obtained (this may be a subset of what was requested). .PP See also requestedFormat(). -.SH "void QGLContext::generateFontDisplayLists ( const TQFont & font, int listBase )\fC [protected]\fR" +.SH "void TQGLContext::generateFontDisplayLists ( const TQFont & font, int listBase )\fC [protected]\fR" Generates a set of 256 display lists for the 256 first characters in the font \fIfont\fR. The first list will start at index \fIlistBase\fR. .PP -See also QGLWidget::renderText(). -.SH "bool QGLContext::initialized () const\fC [protected]\fR" -Returns TRUE if this context has been initialized, i.e. if QGLWidget::initializeGL() has been performed on it; otherwise returns FALSE. +See also TQGLWidget::renderText(). +.SH "bool TQGLContext::initialized () const\fC [protected]\fR" +Returns TRUE if this context has been initialized, i.e. if TQGLWidget::initializeGL() has been performed on it; otherwise returns FALSE. .PP See also setInitialized(). -.SH "bool QGLContext::isSharing () const" +.SH "bool TQGLContext::isSharing () const" Returns TRUE if display list sharing with another context was requested in the create() call and the GL system was able to fulfill this request; otherwise returns FALSE. Note that display list sharing might not be supported between contexts with different formats. -.SH "bool QGLContext::isValid () const" +.SH "bool TQGLContext::isValid () const" Returns TRUE if a GL rendering context has been successfully created; otherwise returns FALSE. -.SH "void QGLContext::makeCurrent ()\fC [virtual]\fR" +.SH "void TQGLContext::makeCurrent ()\fC [virtual]\fR" Makes this context the current OpenGL rendering context. All GL functions you call operate on this context until another context is made current. .PP In some very rare cases the underlying call may fail. If this occurs an error message is output to stderr. -.SH "TQColor QGLContext::overlayTransparentColor () const" +.SH "TQColor TQGLContext::overlayTransparentColor () const" If this context is a valid context in an overlay plane, returns the plane's transparent color. Otherwise returns an invalid color. .PP The returned color's pixel value is the index of the transparent color in the colormap of the overlay plane. (Naturally, the color's RGB values are meaningless.) .PP -The returned TQColor object will generally work as expected only when passed as the argument to QGLWidget::qglColor() or QGLWidget::qglClearColor(). Under certain circumstances it can also be used to draw transparent graphics with a TQPainter. See the examples/opengl/overlay_x11 example for details. -.SH "QGLFormat QGLContext::requestedFormat () const" +The returned TQColor object will generally work as expected only when passed as the argument to TQGLWidget::qglColor() or TQGLWidget::qglClearColor(). Under certain circumstances it can also be used to draw transparent graphics with a TQPainter. See the examples/opengl/overlay_x11 example for details. +.SH "TQGLFormat TQGLContext::requestedFormat () const" Returns the frame buffer format that was originally requested in the constructor or setFormat(). .PP See also format(). -.SH "void QGLContext::reset ()\fC [virtual]\fR" +.SH "void TQGLContext::reset ()\fC [virtual]\fR" Resets the context and makes it invalid. .PP See also create() and isValid(). -.SH "void QGLContext::setFormat ( const QGLFormat & format )\fC [virtual]\fR" +.SH "void TQGLContext::setFormat ( const TQGLFormat & format )\fC [virtual]\fR" Sets a \fIformat\fR for this context. The context is reset. .PP Call create() to create a new GL context that tries to match the new format. .PP .nf .br - QGLContext *cx; + TQGLContext *cx; .br // ... .br - QGLFormat f; + TQGLFormat f; .br f.setStereo( TRUE ); .br @@ -230,25 +230,25 @@ Call create() to create a new GL context that tries to match the new format. .fi .PP See also format(), reset(), and create(). -.SH "void QGLContext::setInitialized ( bool on )\fC [protected]\fR" -If \fIon\fR is TRUE the context has been initialized, i.e. QGLContext::setInitialized() has been called on it. If \fIon\fR is FALSE the context has not been initialized. +.SH "void TQGLContext::setInitialized ( bool on )\fC [protected]\fR" +If \fIon\fR is TRUE the context has been initialized, i.e. TQGLContext::setInitialized() has been called on it. If \fIon\fR is FALSE the context has not been initialized. .PP See also initialized(). -.SH "void QGLContext::setWindowCreated ( bool on )\fC [protected]\fR" +.SH "void TQGLContext::setWindowCreated ( bool on )\fC [protected]\fR" If \fIon\fR is TRUE the context has had a window created for it. If \fIon\fR is FALSE no window has been created for the context. .PP See also windowCreated(). -.SH "void QGLContext::swapBuffers () const\fC [virtual]\fR" +.SH "void TQGLContext::swapBuffers () const\fC [virtual]\fR" Swaps the screen contents with an off-screen buffer. Only works if the context is in double buffer mode. .PP -See also QGLFormat::setDoubleBuffer(). -.SH "bool QGLContext::windowCreated () const\fC [protected]\fR" +See also TQGLFormat::setDoubleBuffer(). +.SH "bool TQGLContext::windowCreated () const\fC [protected]\fR" Returns TRUE if a window has been created for this context; otherwise returns FALSE. .PP See also setWindowCreated(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qglcontext.html +.BR http://doc.trolltech.com/tqglcontext.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/tqglformat.3qt b/doc/man/man3/tqglformat.3qt index b3b54fec7..0b22d19ef 100644 --- a/doc/man/man3/tqglformat.3qt +++ b/doc/man/man3/tqglformat.3qt @@ -1,5 +1,5 @@ '\" t -.TH QGLFormat 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQGLFormat 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 -QGLFormat \- The display format of an OpenGL rendering context +TQGLFormat \- The display format of an OpenGL rendering context .SH SYNOPSIS -\fC#include <ntqgl.h>\fR +\fC#include <tqgl.h>\fR .PP -Inherits QGL. +Inherits TQGL. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQGLFormat\fR ()" +.BI "\fBTQGLFormat\fR ()" .br .ti -1c -.BI "\fBQGLFormat\fR ( int options, int plane = 0 )" +.BI "\fBTQGLFormat\fR ( int options, int plane = 0 )" .br .ti -1c .BI "bool \fBdoubleBuffer\fR () const" @@ -91,16 +91,16 @@ Inherits QGL. .SS "Static Public Members" .in +1c .ti -1c -.BI "QGLFormat \fBdefaultFormat\fR ()" +.BI "TQGLFormat \fBdefaultFormat\fR ()" .br .ti -1c -.BI "void \fBsetDefaultFormat\fR ( const QGLFormat & f )" +.BI "void \fBsetDefaultFormat\fR ( const TQGLFormat & f )" .br .ti -1c -.BI "QGLFormat \fBdefaultOverlayFormat\fR ()" +.BI "TQGLFormat \fBdefaultOverlayFormat\fR ()" .br .ti -1c -.BI "void \fBsetDefaultOverlayFormat\fR ( const QGLFormat & f )" +.BI "void \fBsetDefaultOverlayFormat\fR ( const TQGLFormat & f )" .br .ti -1c .BI "bool \fBhasOpenGL\fR ()" @@ -110,7 +110,7 @@ Inherits QGL. .br .in -1c .SH DESCRIPTION -The QGLFormat class specifies the display format of an OpenGL rendering context. +The TQGLFormat class specifies the display format of an OpenGL rendering context. .PP A display format has several characteristics: .TP @@ -134,29 +134,29 @@ Presence of an overlay. .TP The plane of an overlay format. .PP -You create and tell a QGLFormat object what rendering options you want from an OpenGL<sup>*</sup> rendering context. +You create and tell a TQGLFormat object what rendering options you want from an OpenGL<sup>*</sup> rendering context. .PP -OpenGL drivers or accelerated hardware may or may not support advanced features such as alpha channel or stereographic viewing. If you request some features that the driver/hardware does not provide when you create a QGLWidget, you will get a rendering context with the nearest subset of features. +OpenGL drivers or accelerated hardware may or may not support advanced features such as alpha channel or stereographic viewing. If you request some features that the driver/hardware does not provide when you create a TQGLWidget, you will get a rendering context with the nearest subset of features. .PP -There are different ways to define the display characteristics of a rendering context. One is to create a QGLFormat and make it the default for the entire application: +There are different ways to define the display characteristics of a rendering context. One is to create a TQGLFormat and make it the default for the entire application: .PP .nf .br - QGLFormat f; + TQGLFormat f; .br f.setAlpha( TRUE ); .br f.setStereo( TRUE ); .br - QGLFormat::setDefaultFormat( f ); + TQGLFormat::setDefaultFormat( f ); .br .fi .PP -Or you can specify the desired format when creating an object of your QGLWidget subclass: +Or you can specify the desired format when creating an object of your TQGLWidget subclass: .PP .nf .br - QGLFormat f; + TQGLFormat f; .br f.setDoubleBuffer( FALSE ); // single buffer .br @@ -170,7 +170,7 @@ After the widget has been created, you can find out which of the requested featu .PP .nf .br - QGLFormat f; + TQGLFormat f; .br f.setOverlay( TRUE ); .br @@ -194,10 +194,10 @@ After the widget has been created, you can find out which of the requested featu .PP <sup>*</sup> OpenGL is a trademark of Silicon Graphics, Inc. in the United States and other countries. .PP -See also QGLContext, QGLWidget, Graphics Classes, and Image Processing Classes. +See also TQGLContext, TQGLWidget, Graphics Classes, and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QGLFormat::QGLFormat ()" -Constructs a QGLFormat object with the factory default settings: +.SH "TQGLFormat::TQGLFormat ()" +Constructs a TQGLFormat object with the factory default settings: .TP Double buffer: Enabled. .TP @@ -218,12 +218,12 @@ Direct rendering: Enabled. Overlay: Disabled. .TP Plane: 0 (i.e., normal plane). -.SH "QGLFormat::QGLFormat ( int options, int plane = 0 )" -Creates a QGLFormat object that is a copy of the current application default format. +.SH "TQGLFormat::TQGLFormat ( int options, int plane = 0 )" +Creates a TQGLFormat object that is a copy of the current application default format. .PP If \fIoptions\fR is not 0, this copy is modified by these format options. The \fIoptions\fR parameter should be FormatOption values OR'ed together. .PP -This constructor makes it easy to specify a certain desired format in classes derived from QGLWidget, for example: +This constructor makes it easy to specify a certain desired format in classes derived from TQGLWidget, for example: .PP .nf .br @@ -233,7 +233,7 @@ This constructor makes it easy to specify a certain desired format in classes de .br MyGLWidget::MyGLWidget( TQWidget* parent, const char* name ) .br - : QGLWidget( QGLFormat( StencilBuffer | AlphaChannel ), parent, name ) + : TQGLWidget( TQGLFormat( StencilBuffer | AlphaChannel ), parent, name ) .br { .br @@ -256,22 +256,22 @@ Note that there are FormatOption values to turn format settings both on and off, The \fIplane\fR parameter defaults to 0 and is the plane which this format should be associated with. Not all OpenGL implmentations supports overlay/underlay rendering planes. .PP See also defaultFormat() and setOption(). -.SH "bool QGLFormat::accum () const" +.SH "bool TQGLFormat::accum () const" Returns TRUE if the accumulation buffer is enabled; otherwise returns FALSE. The accumulation buffer is disabled by default. .PP See also setAccum(). -.SH "bool QGLFormat::alpha () const" +.SH "bool TQGLFormat::alpha () const" Returns TRUE if the alpha channel of the framebuffer is enabled; otherwise returns FALSE. The alpha channel is disabled by default. .PP See also setAlpha(). -.SH "QGLFormat QGLFormat::defaultFormat ()\fC [static]\fR" -Returns the default QGLFormat for the application. All QGLWidgets that are created use this format unless another format is specified, e.g. when they are constructed. +.SH "TQGLFormat TQGLFormat::defaultFormat ()\fC [static]\fR" +Returns the default TQGLFormat for the application. All TQGLWidgets that are created use this format unless another format is specified, e.g. when they are constructed. .PP -If no special default format has been set using setDefaultFormat(), the default format is the same as that created with QGLFormat(). +If no special default format has been set using setDefaultFormat(), the default format is the same as that created with TQGLFormat(). .PP See also setDefaultFormat(). -.SH "QGLFormat QGLFormat::defaultOverlayFormat ()\fC [static]\fR" -Returns the default QGLFormat for overlay contexts. +.SH "TQGLFormat TQGLFormat::defaultOverlayFormat ()\fC [static]\fR" +Returns the default TQGLFormat for overlay contexts. .PP The factory default overlay format is: .TP @@ -296,43 +296,43 @@ Overlay: Disabled. Plane: 1 (i.e., first overlay plane). .PP See also setDefaultFormat(). -.SH "bool QGLFormat::depth () const" +.SH "bool TQGLFormat::depth () const" Returns TRUE if the depth buffer is enabled; otherwise returns FALSE. The depth buffer is enabled by default. .PP See also setDepth(). -.SH "bool QGLFormat::directRendering () const" +.SH "bool TQGLFormat::directRendering () const" Returns TRUE if direct rendering is enabled; otherwise returns FALSE. .PP Direct rendering is enabled by default. .PP See also setDirectRendering(). -.SH "bool QGLFormat::doubleBuffer () const" +.SH "bool TQGLFormat::doubleBuffer () const" Returns TRUE if double buffering is enabled; otherwise returns FALSE. Double buffering is enabled by default. .PP See also setDoubleBuffer(). -.SH "bool QGLFormat::hasOpenGL ()\fC [static]\fR" +.SH "bool TQGLFormat::hasOpenGL ()\fC [static]\fR" Returns TRUE if the window system has any OpenGL support; otherwise returns FALSE. .PP \fBWarning:\fR This function must not be called until the QApplication object has been created. -.SH "bool QGLFormat::hasOpenGLOverlays ()\fC [static]\fR" +.SH "bool TQGLFormat::hasOpenGLOverlays ()\fC [static]\fR" Returns TRUE if the window system supports OpenGL overlays; otherwise returns FALSE. .PP \fBWarning:\fR This function must not be called until the QApplication object has been created. -.SH "bool QGLFormat::hasOverlay () const" +.SH "bool TQGLFormat::hasOverlay () const" Returns TRUE if overlay plane is enabled; otherwise returns FALSE. .PP Overlay is disabled by default. .PP See also setOverlay(). -.SH "int QGLFormat::plane () const" +.SH "int TQGLFormat::plane () const" Returns the plane of this format. The default for normal formats is 0, which means the normal plane. The default for overlay formats is 1, which is the first overlay plane. .PP See also setPlane(). -.SH "bool QGLFormat::rgba () const" +.SH "bool TQGLFormat::rgba () const" Returns TRUE if RGBA color mode is set. Returns FALSE if color index mode is set. The default color mode is RGBA. .PP See also setRgba(). -.SH "void QGLFormat::setAccum ( bool enable )" +.SH "void TQGLFormat::setAccum ( bool enable )" If \fIenable\fR is TRUE enables the accumulation buffer; otherwise disables the accumulation buffer. .PP The accumulation buffer is disabled by default. @@ -340,7 +340,7 @@ The accumulation buffer is disabled by default. The accumulation buffer is used to create blur effects and multiple exposures. .PP See also accum(). -.SH "void QGLFormat::setAlpha ( bool enable )" +.SH "void TQGLFormat::setAlpha ( bool enable )" If \fIenable\fR is TRUE enables the alpha channel; otherwise disables the alpha channel. .PP The alpha buffer is disabled by default. @@ -348,34 +348,34 @@ The alpha buffer is disabled by default. The alpha channel is typically used for implementing transparency or translucency. The A in RGBA specifies the transparency of a pixel. .PP See also alpha(). -.SH "void QGLFormat::setDefaultFormat ( const QGLFormat & f )\fC [static]\fR" -Sets a new default QGLFormat for the application to \fIf\fR. For example, to set single buffering as the default instead of double buffering, your main() might contain code like this: +.SH "void TQGLFormat::setDefaultFormat ( const TQGLFormat & f )\fC [static]\fR" +Sets a new default TQGLFormat for the application to \fIf\fR. For example, to set single buffering as the default instead of double buffering, your main() might contain code like this: .PP .nf .br QApplication a(argc, argv); .br - QGLFormat f; + TQGLFormat f; .br f.setDoubleBuffer( FALSE ); .br - QGLFormat::setDefaultFormat( f ); + TQGLFormat::setDefaultFormat( f ); .br .fi .PP See also defaultFormat(). -.SH "void QGLFormat::setDefaultOverlayFormat ( const QGLFormat & f )\fC [static]\fR" -Sets a new default QGLFormat for overlay contexts to \fIf\fR. This format is used whenever a QGLWidget is created with a format that hasOverlay() enabled. +.SH "void TQGLFormat::setDefaultOverlayFormat ( const TQGLFormat & f )\fC [static]\fR" +Sets a new default TQGLFormat for overlay contexts to \fIf\fR. This format is used whenever a TQGLWidget is created with a format that hasOverlay() enabled. .PP For example, to get a double buffered overlay context (if available), use code like this: .PP .nf .br - QGLFormat f = QGLFormat::defaultOverlayFormat(); + TQGLFormat f = TQGLFormat::defaultOverlayFormat(); .br f.setDoubleBuffer( TRUE ); .br - QGLFormat::setDefaultOverlayFormat( f ); + TQGLFormat::setDefaultOverlayFormat( f ); .br .fi .PP @@ -385,13 +385,13 @@ As usual, you can find out after widget creation whether the underlying OpenGL s .br // ...continued from above .br - MyGLWidget* myWidget = new MyGLWidget( QGLFormat( QGL::HasOverlay ), ... ); + MyGLWidget* myWidget = new MyGLWidget( TQGLFormat( TQGL::HasOverlay ), ... ); .br if ( myWidget->format().hasOverlay() ) { .br // Yes, we got an overlay, let's check _its_ format: .br - QGLContext* olContext = myWidget->overlayContext(); + TQGLContext* olContext = myWidget->overlayContext(); .br if ( olContext->format().doubleBuffer() ) .br @@ -406,7 +406,7 @@ As usual, you can find out after widget creation whether the underlying OpenGL s .fi .PP See also defaultOverlayFormat(). -.SH "void QGLFormat::setDepth ( bool enable )" +.SH "void TQGLFormat::setDepth ( bool enable )" If \fIenable\fR is TRUE enables the depth buffer; otherwise disables the depth buffer. .PP The depth buffer is enabled by default. @@ -414,7 +414,7 @@ The depth buffer is enabled by default. The purpose of a depth buffer (or Z-buffering) is to remove hidden surfaces. Pixels are assigned Z values based on the distance to the viewer. A pixel with a high Z value is closer to the viewer than a pixel with a low Z value. This information is used to decide whether to draw a pixel or not. .PP See also depth(). -.SH "void QGLFormat::setDirectRendering ( bool enable )" +.SH "void TQGLFormat::setDirectRendering ( bool enable )" If \fIenable\fR is TRUE enables direct rendering; otherwise disables direct rendering. .PP Direct rendering is enabled by default. @@ -422,31 +422,31 @@ Direct rendering is enabled by default. Enabling this option will make OpenGL bypass the underlying window system and render directly from hardware to the screen, if this is supported by the system. .PP See also directRendering(). -.SH "void QGLFormat::setDoubleBuffer ( bool enable )" +.SH "void TQGLFormat::setDoubleBuffer ( bool enable )" If \fIenable\fR is TRUE sets double buffering; otherwise sets single buffering. .PP Double buffering is enabled by default. .PP Double buffering is a technique where graphics are rendered on an off-screen buffer and not directly to the screen. When the drawing has been completed, the program calls a swapBuffers() function to exchange the screen contents with the buffer. The result is flicker-free drawing and often better performance. .PP -See also doubleBuffer(), QGLContext::swapBuffers(), and QGLWidget::swapBuffers(). -.SH "void QGLFormat::setOption ( FormatOption opt )" +See also doubleBuffer(), TQGLContext::swapBuffers(), and TQGLWidget::swapBuffers(). +.SH "void TQGLFormat::setOption ( FormatOption opt )" Sets the format option to \fIopt\fR. .PP See also testOption(). -.SH "void QGLFormat::setOverlay ( bool enable )" +.SH "void TQGLFormat::setOverlay ( bool enable )" If \fIenable\fR is TRUE enables an overlay plane; otherwise disables the overlay plane. .PP -Enabling the overlay plane will cause QGLWidget to create an additional context in an overlay plane. See the QGLWidget documentation for further information. +Enabling the overlay plane will cause TQGLWidget to create an additional context in an overlay plane. See the TQGLWidget documentation for further information. .PP See also hasOverlay(). -.SH "void QGLFormat::setPlane ( int plane )" +.SH "void TQGLFormat::setPlane ( int plane )" Sets the requested plane to \fIplane\fR. 0 is the normal plane, 1 is the first overlay plane, 2 is the second overlay plane, etc.; -1, -2, etc. are underlay planes. .PP -Note that in contrast to other format specifications, the plane specifications will be matched exactly. This means that if you specify a plane that the underlying OpenGL system cannot provide, an invalid QGLWidget will be created. +Note that in contrast to other format specifications, the plane specifications will be matched exactly. This means that if you specify a plane that the underlying OpenGL system cannot provide, an invalid TQGLWidget will be created. .PP See also plane(). -.SH "void QGLFormat::setRgba ( bool enable )" +.SH "void TQGLFormat::setRgba ( bool enable )" If \fIenable\fR is TRUE sets RGBA mode. If \fIenable\fR is FALSE sets color index mode. .PP The default color mode is RGBA. @@ -456,7 +456,7 @@ RGBA is the preferred mode for most OpenGL applications. In RGBA color mode you In color index mode you specify an index into a color lookup table. .PP See also rgba(). -.SH "void QGLFormat::setStencil ( bool enable )" +.SH "void TQGLFormat::setStencil ( bool enable )" If \fIenable\fR is TRUE enables the stencil buffer; otherwise disables the stencil buffer. .PP The stencil buffer is disabled by default. @@ -464,7 +464,7 @@ The stencil buffer is disabled by default. The stencil buffer masks certain parts of the drawing area so that masked parts are not drawn on. .PP See also stencil(). -.SH "void QGLFormat::setStereo ( bool enable )" +.SH "void TQGLFormat::setStereo ( bool enable )" If \fIenable\fR is TRUE enables stereo buffering; otherwise disables stereo buffering. .PP Stereo buffering is disabled by default. @@ -472,21 +472,21 @@ Stereo buffering is disabled by default. Stereo buffering provides extra color buffers to generate left-eye and right-eye images. .PP See also stereo(). -.SH "bool QGLFormat::stencil () const" +.SH "bool TQGLFormat::stencil () const" Returns TRUE if the stencil buffer is enabled; otherwise returns FALSE. The stencil buffer is disabled by default. .PP See also setStencil(). -.SH "bool QGLFormat::stereo () const" +.SH "bool TQGLFormat::stereo () const" Returns TRUE if stereo buffering is enabled; otherwise returns FALSE. Stereo buffering is disabled by default. .PP See also setStereo(). -.SH "bool QGLFormat::testOption ( FormatOption opt ) const" +.SH "bool TQGLFormat::testOption ( FormatOption opt ) const" Returns TRUE if format option \fIopt\fR is set; otherwise returns FALSE. .PP See also setOption(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qglformat.html +.BR http://doc.trolltech.com/tqglformat.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/tqglwidget.3qt b/doc/man/man3/tqglwidget.3qt index 305bc9730..dd4885092 100644 --- a/doc/man/man3/tqglwidget.3qt +++ b/doc/man/man3/tqglwidget.3qt @@ -1,5 +1,5 @@ '\" t -.TH QGLWidget 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQGLWidget 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 -QGLWidget \- Widget for rendering OpenGL graphics +TQGLWidget \- Widget for rendering OpenGL graphics .SH SYNOPSIS -\fC#include <ntqgl.h>\fR +\fC#include <tqgl.h>\fR .PP -Inherits TQWidget and QGL. +Inherits TQWidget and TQGL. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQGLWidget\fR ( TQWidget * parent = 0, const char * name = 0, const QGLWidget * shareWidget = 0, WFlags f = 0 )" +.BI "\fBTQGLWidget\fR ( TQWidget * parent = 0, const char * name = 0, const TQGLWidget * shareWidget = 0, WFlags f = 0 )" .br .ti -1c -.BI "\fBQGLWidget\fR ( QGLContext * context, TQWidget * parent, const char * name = 0, const QGLWidget * shareWidget = 0, WFlags f = 0 )" +.BI "\fBTQGLWidget\fR ( TQGLContext * context, TQWidget * parent, const char * name = 0, const TQGLWidget * shareWidget = 0, WFlags f = 0 )" .br .ti -1c -.BI "\fBQGLWidget\fR ( const QGLFormat & format, TQWidget * parent = 0, const char * name = 0, const QGLWidget * shareWidget = 0, WFlags f = 0 )" +.BI "\fBTQGLWidget\fR ( const TQGLFormat & format, TQWidget * parent = 0, const char * name = 0, const TQGLWidget * shareWidget = 0, WFlags f = 0 )" .br .ti -1c -.BI "\fB~QGLWidget\fR ()" +.BI "\fB~TQGLWidget\fR ()" .br .ti -1c .BI "void \fBqglColor\fR ( const TQColor & c ) const" @@ -52,13 +52,13 @@ Inherits TQWidget and QGL. .BI "virtual void \fBswapBuffers\fR ()" .br .ti -1c -.BI "QGLFormat \fBformat\fR () const" +.BI "TQGLFormat \fBformat\fR () const" .br .ti -1c -.BI "const QGLContext * \fBcontext\fR () const" +.BI "const TQGLContext * \fBcontext\fR () const" .br .ti -1c -.BI "virtual QPixmap \fBrenderPixmap\fR ( int w = 0, int h = 0, bool useContext = FALSE )" +.BI "virtual TQPixmap \fBrenderPixmap\fR ( int w = 0, int h = 0, bool useContext = FALSE )" .br .ti -1c .BI "virtual TQImage \fBgrabFrameBuffer\fR ( bool withAlpha = FALSE )" @@ -67,13 +67,13 @@ Inherits TQWidget and QGL. .BI "virtual void \fBmakeOverlayCurrent\fR ()" .br .ti -1c -.BI "const QGLContext * \fBoverlayContext\fR () const" +.BI "const TQGLContext * \fBoverlayContext\fR () const" .br .ti -1c -.BI "const QGLColormap & \fBcolormap\fR () const" +.BI "const TQGLColormap & \fBcolormap\fR () const" .br .ti -1c -.BI "void \fBsetColormap\fR ( const QGLColormap & cmap )" +.BI "void \fBsetColormap\fR ( const TQGLColormap & cmap )" .br .ti -1c .BI "void \fBrenderText\fR ( int x, int y, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )" @@ -137,11 +137,11 @@ Inherits TQWidget and QGL. .br .in -1c .SH DESCRIPTION -The QGLWidget class is a widget for rendering OpenGL graphics. +The TQGLWidget class is a widget for rendering OpenGL graphics. .PP -QGLWidget provides functionality for displaying OpenGL<sup>*</sup> graphics integrated into a TQt application. It is very simple to use. You inherit from it and use the subclass like any other TQWidget, except that instead of drawing the widget's contents using TQPainter etc. you use the standard OpenGL rendering commands. +TQGLWidget provides functionality for displaying OpenGL<sup>*</sup> graphics integrated into a TQt application. It is very simple to use. You inherit from it and use the subclass like any other TQWidget, except that instead of drawing the widget's contents using TQPainter etc. you use the standard OpenGL rendering commands. .PP -QGLWidget provides three convenient virtual functions that you can reimplement in your subclass to perform the typical OpenGL tasks: +TQGLWidget provides three convenient virtual functions that you can reimplement in your subclass to perform the typical OpenGL tasks: .TP paintGL() - Renders the OpenGL scene. Gets called whenever the widget needs to be updated. .TP @@ -149,11 +149,11 @@ resizeGL() - Sets up the OpenGL viewport, projection, etc. Gets called whenever .TP initializeGL() - Sets up the OpenGL rendering context, defines display lists, etc. Gets called once before the first time resizeGL() or paintGL() is called. .PP -Here is a rough outline of how a QGLWidget subclass might look: +Here is a rough outline of how a TQGLWidget subclass might look: .PP .nf .br - class MyGLDrawer : public QGLWidget + class MyGLDrawer : public TQGLWidget .br { .br @@ -164,7 +164,7 @@ Here is a rough outline of how a QGLWidget subclass might look: .br MyGLDrawer( TQWidget *parent, const char *name ) .br - : QGLWidget(parent, name) {} + : TQGLWidget(parent, name) {} .br .br protected: @@ -239,13 +239,13 @@ If you need to trigger a repaint from places other than paintGL() (a typical exa .PP Your widget's OpenGL rendering context is made current when paintGL(), resizeGL(), or initializeGL() is called. If you need to call the standard OpenGL API functions from other places (e.g. in your widget's constructor or in your own paint functions), you must call makeCurrent() first. .PP -QGLWidget provides functions for requesting a new display format and you can also create widgets with customized rendering contexts. +TQGLWidget provides functions for requesting a new display format and you can also create widgets with customized rendering contexts. .PP -You can also share OpenGL display lists between QGLWidgets (see the documentation of the QGLWidget constructors for details). +You can also share OpenGL display lists between TQGLWidgets (see the documentation of the TQGLWidget constructors for details). .SH "Overlays" -The QGLWidget creates a GL overlay context in addition to the normal context if overlays are supported by the underlying system. +The TQGLWidget creates a GL overlay context in addition to the normal context if overlays are supported by the underlying system. .PP -If you want to use overlays, you specify it in the format. (Note: Overlay must be requested in the format passed to the QGLWidget constructor.) Your GL widget should also implement some or all of these virtual methods: +If you want to use overlays, you specify it in the format. (Note: Overlay must be requested in the format passed to the TQGLWidget constructor.) Your GL widget should also implement some or all of these virtual methods: .TP paintOverlayGL() .TP @@ -261,33 +261,33 @@ On X servers in which the default visual is in an overlay plane, non-GL TQt wind .PP See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QGLWidget::QGLWidget ( TQWidget * parent = 0, const char * name = 0, const QGLWidget * shareWidget = 0, WFlags f = 0 )" +.SH "TQGLWidget::TQGLWidget ( TQWidget * parent = 0, const char * name = 0, const TQGLWidget * shareWidget = 0, WFlags f = 0 )" Constructs an OpenGL widget with a \fIparent\fR widget and a \fIname\fR. .PP The default format is used. The widget will be invalid if the system has no OpenGL support. .PP The \fIparent\fR, \fIname\fR and widget flag, \fIf\fR, arguments are passed to the TQWidget constructor. .PP -If the \fIshareWidget\fR parameter points to a valid QGLWidget, this widget will share OpenGL display lists with \fIshareWidget\fR. If this widget and \fIshareWidget\fR have different formats, display list sharing may fail. You can check whether display list sharing succeeded by calling isSharing(). +If the \fIshareWidget\fR parameter points to a valid TQGLWidget, this widget will share OpenGL display lists with \fIshareWidget\fR. If this widget and \fIshareWidget\fR have different formats, display list sharing may fail. You can check whether display list sharing succeeded by calling isSharing(). .PP -The initialization of OpenGL rendering state, etc. should be done by overriding the initializeGL() function, rather than in the constructor of your QGLWidget subclass. +The initialization of OpenGL rendering state, etc. should be done by overriding the initializeGL() function, rather than in the constructor of your TQGLWidget subclass. .PP -See also QGLFormat::defaultFormat(). -.SH "QGLWidget::QGLWidget ( QGLContext * context, TQWidget * parent, const char * name = 0, const QGLWidget * shareWidget = 0, WFlags f = 0 )" +See also TQGLFormat::defaultFormat(). +.SH "TQGLWidget::TQGLWidget ( TQGLContext * context, TQWidget * parent, const char * name = 0, const TQGLWidget * shareWidget = 0, WFlags f = 0 )" Constructs an OpenGL widget with parent \fIparent\fR, called \fIname\fR. .PP -The \fIcontext\fR argument is a pointer to the QGLContext that you wish to be bound to this widget. This allows you to pass in your own QGLContext sub-classes. +The \fIcontext\fR argument is a pointer to the TQGLContext that you wish to be bound to this widget. This allows you to pass in your own TQGLContext sub-classes. .PP The widget will be invalid if the system has no OpenGL support. .PP The \fIparent\fR, \fIname\fR and widget flag, \fIf\fR, arguments are passed to the TQWidget constructor. .PP -If the \fIshareWidget\fR parameter points to a valid QGLWidget, this widget will share OpenGL display lists with \fIshareWidget\fR. If this widget and \fIshareWidget\fR have different formats, display list sharing may fail. You can check whether display list sharing succeeded by calling isSharing(). +If the \fIshareWidget\fR parameter points to a valid TQGLWidget, this widget will share OpenGL display lists with \fIshareWidget\fR. If this widget and \fIshareWidget\fR have different formats, display list sharing may fail. You can check whether display list sharing succeeded by calling isSharing(). .PP -The initialization of OpenGL rendering state, etc. should be done by overriding the initializeGL() function, rather than in the constructor of your QGLWidget subclass. +The initialization of OpenGL rendering state, etc. should be done by overriding the initializeGL() function, rather than in the constructor of your TQGLWidget subclass. .PP -See also QGLFormat::defaultFormat() and isValid(). -.SH "QGLWidget::QGLWidget ( const QGLFormat & format, TQWidget * parent = 0, const char * name = 0, const QGLWidget * shareWidget = 0, WFlags f = 0 )" +See also TQGLFormat::defaultFormat() and isValid(). +.SH "TQGLWidget::TQGLWidget ( const TQGLFormat & format, TQWidget * parent = 0, const char * name = 0, const TQGLWidget * shareWidget = 0, WFlags f = 0 )" Constructs an OpenGL widget with parent \fIparent\fR, called \fIname\fR. .PP The \fIformat\fR argument specifies the desired rendering options. If the underlying OpenGL/Window system cannot satisfy all the features requested in \fIformat\fR, the nearest subset of features will be used. After creation, the format() method will return the actual format obtained. @@ -296,18 +296,18 @@ The widget will be invalid if the system has no OpenGL support. .PP The \fIparent\fR, \fIname\fR and widget flag, \fIf\fR, arguments are passed to the TQWidget constructor. .PP -If the \fIshareWidget\fR parameter points to a valid QGLWidget, this widget will share OpenGL display lists with \fIshareWidget\fR. If this widget and \fIshareWidget\fR have different formats, display list sharing may fail. You can check whether display list sharing succeeded by calling isSharing(). +If the \fIshareWidget\fR parameter points to a valid TQGLWidget, this widget will share OpenGL display lists with \fIshareWidget\fR. If this widget and \fIshareWidget\fR have different formats, display list sharing may fail. You can check whether display list sharing succeeded by calling isSharing(). .PP -The initialization of OpenGL rendering state, etc. should be done by overriding the initializeGL() function, rather than in the constructor of your QGLWidget subclass. +The initialization of OpenGL rendering state, etc. should be done by overriding the initializeGL() function, rather than in the constructor of your TQGLWidget subclass. .PP -See also QGLFormat::defaultFormat() and isValid(). -.SH "QGLWidget::~QGLWidget ()" +See also TQGLFormat::defaultFormat() and isValid(). +.SH "TQGLWidget::~TQGLWidget ()" Destroys the widget. -.SH "bool QGLWidget::autoBufferSwap () const\fC [protected]\fR" +.SH "bool TQGLWidget::autoBufferSwap () const\fC [protected]\fR" Returns TRUE if the widget is doing automatic GL buffer swapping; otherwise returns FALSE. .PP See also setAutoBufferSwap(). -.SH "const QGLColormap & QGLWidget::colormap () const" +.SH "const TQGLColormap & TQGLWidget::colormap () const" Returns the colormap for this widget. .PP Usually it is only top-level widgets that can have different colormaps installed. Asking for the colormap of a child widget will return the colormap for the child's top-level widget. @@ -315,11 +315,11 @@ Usually it is only top-level widgets that can have different colormaps installed If no colormap has been set for this widget, the TQColormap returned will be empty. .PP See also setColormap(). -.SH "const QGLContext * QGLWidget::context () const" +.SH "const TQGLContext * TQGLWidget::context () const" Returns the context of this widget. .PP It is possible that the context is not valid (see isValid()), for example, if the underlying hardware does not support the format attributes that were requested. -.SH "TQImage QGLWidget::convertToGLFormat ( const TQImage & img )\fC [static]\fR" +.SH "TQImage TQGLWidget::convertToGLFormat ( const TQImage & img )\fC [static]\fR" Converts the image \fIimg\fR into the unnamed format expected by OpenGL functions such as glTexImage2D(). The returned image is not usable as a TQImage, but TQImage::width(), TQImage::height() and TQImage::bits() may be used with OpenGL. The following few lines are from the texture example. Most of the code is irrelevant, so we just quote the relevant bits: .PP .nf @@ -333,7 +333,7 @@ We create \fItex1\fR (and another variable) for OpenGL, and load a real image in .PP .nf .br - tex1 = QGLWidget::convertToGLFormat( buf ); // flipped 32bit RGBA + tex1 = TQGLWidget::convertToGLFormat( buf ); // flipped 32bit RGBA .fi .PP A few lines later, we convert \fIbuf\fR into OpenGL format and store it in \fItex1\fR. @@ -350,82 +350,82 @@ Note the dimension restrictions for texture images as described in the glTexImag Another function in the same example uses \fItex1\fR with OpenGL. .PP Example: opengl/texture/gltexobj.cpp. -.SH "void QGLWidget::doneCurrent ()" -Makes no GL context the current context. Normally, you do not need to call this function; QGLContext calls it as necessary. However, it may be useful in multithreaded environments. -.SH "bool QGLWidget::doubleBuffer () const" +.SH "void TQGLWidget::doneCurrent ()" +Makes no GL context the current context. Normally, you do not need to call this function; TQGLContext calls it as necessary. However, it may be useful in multithreaded environments. +.SH "bool TQGLWidget::doubleBuffer () const" Returns TRUE if the contained GL rendering context has double buffering; otherwise returns FALSE. .PP -See also QGLFormat::doubleBuffer(). -.SH "QGLFormat QGLWidget::format () const" +See also TQGLFormat::doubleBuffer(). +.SH "TQGLFormat TQGLWidget::format () const" Returns the format of the contained GL rendering context. -.SH "void QGLWidget::glDraw ()\fC [virtual protected]\fR" +.SH "void TQGLWidget::glDraw ()\fC [virtual protected]\fR" Executes the virtual function paintGL(). .PP The widget's rendering context will become the current context and initializeGL() will be called if it hasn't already been called. -.SH "void QGLWidget::glInit ()\fC [virtual protected]\fR" +.SH "void TQGLWidget::glInit ()\fC [virtual protected]\fR" Initializes OpenGL for this widget's context. Calls the virtual function initializeGL(). -.SH "TQImage QGLWidget::grabFrameBuffer ( bool withAlpha = FALSE )\fC [virtual]\fR" +.SH "TQImage TQGLWidget::grabFrameBuffer ( bool withAlpha = FALSE )\fC [virtual]\fR" Returns an image of the frame buffer. If \fIwithAlpha\fR is TRUE the alpha channel is included. .PP Depending on your hardware, you can explicitly select which color buffer to grab with a glReadBuffer() call before calling this function. -.SH "void QGLWidget::initializeGL ()\fC [virtual protected]\fR" -This virtual function is called once before the first call to paintGL() or resizeGL(), and then once whenever the widget has been assigned a new QGLContext. Reimplement it in a subclass. +.SH "void TQGLWidget::initializeGL ()\fC [virtual protected]\fR" +This virtual function is called once before the first call to paintGL() or resizeGL(), and then once whenever the widget has been assigned a new TQGLContext. Reimplement it in a subclass. .PP This function should set up any required OpenGL context rendering flags, defining display lists, etc. .PP There is no need to call makeCurrent() because this has already been done when this function is called. -.SH "void QGLWidget::initializeOverlayGL ()\fC [virtual protected]\fR" +.SH "void TQGLWidget::initializeOverlayGL ()\fC [virtual protected]\fR" This virtual function is used in the same manner as initializeGL() except that it operates on the widget's overlay context instead of the widget's main context. This means that initializeOverlayGL() is called once before the first call to paintOverlayGL() or resizeOverlayGL(). Reimplement it in a subclass. .PP This function should set up any required OpenGL context rendering flags, defining display lists, etc. for the overlay context. .PP There is no need to call makeOverlayCurrent() because this has already been done when this function is called. -.SH "bool QGLWidget::isSharing () const" -Returns TRUE if display list sharing with another QGLWidget was requested in the constructor, and the GL system was able to provide it; otherwise returns FALSE. The GL system may fail to provide display list sharing if the two QGLWidgets use different formats. +.SH "bool TQGLWidget::isSharing () const" +Returns TRUE if display list sharing with another TQGLWidget was requested in the constructor, and the GL system was able to provide it; otherwise returns FALSE. The GL system may fail to provide display list sharing if the two TQGLWidgets use different formats. .PP See also format(). -.SH "bool QGLWidget::isValid () const" +.SH "bool TQGLWidget::isValid () const" Returns TRUE if the widget has a valid GL rendering context; otherwise returns FALSE. A widget will be invalid if the system has no OpenGL support. -.SH "void QGLWidget::makeCurrent ()\fC [virtual]\fR" +.SH "void TQGLWidget::makeCurrent ()\fC [virtual]\fR" Makes this widget the current widget for OpenGL operations, i.e. makes the widget's rendering context the current OpenGL rendering context. -.SH "void QGLWidget::makeOverlayCurrent ()\fC [virtual]\fR" +.SH "void TQGLWidget::makeOverlayCurrent ()\fC [virtual]\fR" Makes the overlay context of this widget current. Use this if you need to issue OpenGL commands to the overlay context outside of initializeOverlayGL(), resizeOverlayGL(), and paintOverlayGL(). .PP Does nothing if this widget has no overlay. .PP See also makeCurrent(). -.SH "const QGLContext * QGLWidget::overlayContext () const" +.SH "const TQGLContext * TQGLWidget::overlayContext () const" Returns the overlay context of this widget, or 0 if this widget has no overlay. .PP See also context(). -.SH "void QGLWidget::paintEvent ( TQPaintEvent * )\fC [virtual protected]\fR" +.SH "void TQGLWidget::paintEvent ( TQPaintEvent * )\fC [virtual protected]\fR" Handles paint events. Will cause the virtual paintGL() function to be called. .PP The widget's rendering context will become the current context and initializeGL() will be called if it hasn't already been called. .PP Reimplemented from TQWidget. -.SH "void QGLWidget::paintGL ()\fC [virtual protected]\fR" +.SH "void TQGLWidget::paintGL ()\fC [virtual protected]\fR" This virtual function is called whenever the widget needs to be painted. Reimplement it in a subclass. .PP There is no need to call makeCurrent() because this has already been done when this function is called. -.SH "void QGLWidget::paintOverlayGL ()\fC [virtual protected]\fR" +.SH "void TQGLWidget::paintOverlayGL ()\fC [virtual protected]\fR" This virtual function is used in the same manner as paintGL() except that it operates on the widget's overlay context instead of the widget's main context. This means that paintOverlayGL() is called whenever the widget's overlay needs to be painted. Reimplement it in a subclass. .PP There is no need to call makeOverlayCurrent() because this has already been done when this function is called. -.SH "void QGLWidget::qglClearColor ( const TQColor & c ) const" +.SH "void TQGLWidget::qglClearColor ( const TQColor & c ) const" Convenience function for specifying the clearing color to OpenGL. Calls glClearColor (in RGBA mode) or glClearIndex (in color-index mode) with the color \fIc\fR. Applies to the current GL context. .PP -See also qglColor(), QGLContext::currentContext(), and TQColor. -.SH "void QGLWidget::qglColor ( const TQColor & c ) const" +See also qglColor(), TQGLContext::currentContext(), and TQColor. +.SH "void TQGLWidget::qglColor ( const TQColor & c ) const" Convenience function for specifying a drawing color to OpenGL. Calls glColor3 (in RGBA mode) or glIndex (in color-index mode) with the color \fIc\fR. Applies to the current GL context. .PP -See also qglClearColor(), QGLContext::currentContext(), and TQColor. -.SH "QPixmap QGLWidget::renderPixmap ( int w = 0, int h = 0, bool useContext = FALSE )\fC [virtual]\fR" +See also qglClearColor(), TQGLContext::currentContext(), and TQColor. +.SH "TQPixmap TQGLWidget::renderPixmap ( int w = 0, int h = 0, bool useContext = FALSE )\fC [virtual]\fR" Renders the current scene on a pixmap and returns the pixmap. .PP -You can use this method on both visible and invisible QGLWidgets. +You can use this method on both visible and invisible TQGLWidgets. .PP -This method will create a pixmap and a temporary QGLContext to render on the pixmap. It will then call initializeGL(), resizeGL(), and paintGL() on this context. Finally, the widget's original GL context is restored. +This method will create a pixmap and a temporary TQGLContext to render on the pixmap. It will then call initializeGL(), resizeGL(), and paintGL() on this context. Finally, the widget's original GL context is restored. .PP The size of the pixmap will be \fIw\fR pixels wide and \fIh\fR pixels high unless one of these parameters is 0 (the default), in which case the pixmap will have the same size as the widget. .PP @@ -435,8 +435,8 @@ Overlays are not rendered onto the pixmap. .PP If the GL rendering context and the desktop have different bit depths, the result will most likely look surprising. .PP -Note that the creation of display lists, modifications of the view frustum etc. should be done from within initializeGL(). If this is not done, the temporary QGLContext will not be initialized properly, and the rendered pixmap may be incomplete/corrupted. -.SH "void QGLWidget::renderText ( int x, int y, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )" +Note that the creation of display lists, modifications of the view frustum etc. should be done from within initializeGL(). If this is not done, the temporary TQGLContext will not be initialized properly, and the rendered pixmap may be incomplete/corrupted. +.SH "void TQGLWidget::renderText ( int x, int y, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )" Renders the string \fIstr\fR into the GL context of this widget. .PP \fIx\fR and \fIy\fR are specified in window coordinates, with the origin in the upper left-hand corner of the window. If \fIfnt\fR is not specified, the currently set application font will be used to render the string. To change the color of the rendered text you can use the glColor() call (or the qglColor() convenience function), just before the renderText() call. Note that if you have GL_LIGHTING enabled, the string will not appear in the color you want. You should therefore switch lighting off before using renderText(). @@ -444,23 +444,23 @@ Renders the string \fIstr\fR into the GL context of this widget. \fIlistBase\fR specifies the index of the first display list that is generated by this function. The default value is 2000. 256 display lists will be generated, one for each of the first 256 characters in the font that is used to render the string. If several fonts are used in the same widget, the display lists for these fonts will follow the last generated list. You would normally not have to change this value unless you are using lists in the same range. The lists are deleted when the widget is destroyed. .PP Note: This function only works reliably with ASCII strings. -.SH "void QGLWidget::renderText ( double x, double y, double z, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )" +.SH "void TQGLWidget::renderText ( double x, double y, double z, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fIx\fR, \fIy\fR and \fIz\fR are specified in scene or object coordinates relative to the currently set projection and model matrices. This can be useful if you want to annotate models with text labels and have the labels move with the model as it is rotated etc. -.SH "void QGLWidget::resizeEvent ( QResizeEvent * )\fC [virtual protected]\fR" +.SH "void TQGLWidget::resizeEvent ( QResizeEvent * )\fC [virtual protected]\fR" Handles resize events. Calls the virtual function resizeGL(). .PP Reimplemented from TQWidget. -.SH "void QGLWidget::resizeGL ( int width, int height )\fC [virtual protected]\fR" +.SH "void TQGLWidget::resizeGL ( int width, int height )\fC [virtual protected]\fR" This virtual function is called whenever the widget has been resized. The new size is passed in \fIwidth\fR and \fIheight\fR. Reimplement it in a subclass. .PP There is no need to call makeCurrent() because this has already been done when this function is called. -.SH "void QGLWidget::resizeOverlayGL ( int width, int height )\fC [virtual protected]\fR" +.SH "void TQGLWidget::resizeOverlayGL ( int width, int height )\fC [virtual protected]\fR" This virtual function is used in the same manner as paintGL() except that it operates on the widget's overlay context instead of the widget's main context. This means that resizeOverlayGL() is called whenever the widget has been resized. The new size is passed in \fIwidth\fR and \fIheight\fR. Reimplement it in a subclass. .PP There is no need to call makeOverlayCurrent() because this has already been done when this function is called. -.SH "void QGLWidget::setAutoBufferSwap ( bool on )\fC [protected]\fR" +.SH "void TQGLWidget::setAutoBufferSwap ( bool on )\fC [protected]\fR" If \fIon\fR is TRUE automatic GL buffer swapping is switched on; otherwise it is switched off. .PP If \fIon\fR is TRUE and the widget is using a double-buffered format, the background and foreground GL buffers will automatically be swapped after each paintGL() call. @@ -468,26 +468,26 @@ If \fIon\fR is TRUE and the widget is using a double-buffered format, the backgr The buffer auto-swapping is on by default. .PP See also autoBufferSwap(), doubleBuffer(), and swapBuffers(). -.SH "void QGLWidget::setColormap ( const QGLColormap & cmap )" +.SH "void TQGLWidget::setColormap ( const TQGLColormap & cmap )" Set the colormap for this widget to \fIcmap\fR. Usually it is only top-level widgets that can have colormaps installed. .PP See also colormap(). -.SH "void QGLWidget::swapBuffers ()\fC [virtual]\fR" +.SH "void TQGLWidget::swapBuffers ()\fC [virtual]\fR" Swaps the screen contents with an off-screen buffer. This only works if the widget's format specifies double buffer mode. .PP Normally, there is no need to explicitly call this function because it is done automatically after each widget repaint, i.e. each time after paintGL() has been executed. .PP -See also doubleBuffer(), setAutoBufferSwap(), and QGLFormat::setDoubleBuffer(). -.SH "void QGLWidget::updateGL ()\fC [virtual slot]\fR" +See also doubleBuffer(), setAutoBufferSwap(), and TQGLFormat::setDoubleBuffer(). +.SH "void TQGLWidget::updateGL ()\fC [virtual slot]\fR" Updates the widget by calling glDraw(). -.SH "void QGLWidget::updateOverlayGL ()\fC [virtual slot]\fR" +.SH "void TQGLWidget::updateOverlayGL ()\fC [virtual slot]\fR" Updates the widget's overlay (if any). Will cause the virtual function paintOverlayGL() to be executed. .PP The widget's rendering context will become the current context and initializeGL() will be called if it hasn't already been called. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qglwidget.html +.BR http://doc.trolltech.com/tqglwidget.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/tqgridlayout.3qt b/doc/man/man3/tqgridlayout.3qt index 73dfa325a..5fb3d2a55 100644 --- a/doc/man/man3/tqgridlayout.3qt +++ b/doc/man/man3/tqgridlayout.3qt @@ -67,7 +67,7 @@ Inherits QLayout. .BI "int \fBnumCols\fR () const" .br .ti -1c -.BI "QRect \fBcellGeometry\fR ( int row, int col ) const" +.BI "TQRect \fBcellGeometry\fR ( int row, int col ) const" .br .ti -1c .BI "virtual bool \fBhasHeightForWidth\fR () const" @@ -121,7 +121,7 @@ Inherits QLayout. .BI "Corner \fBorigin\fR () const" .br .ti -1c -.BI "virtual void \fBsetGeometry\fR ( const QRect & r )" +.BI "virtual void \fBsetGeometry\fR ( const TQRect & r )" .br .in -1c .SS "Protected Members" @@ -267,7 +267,7 @@ See also addMultiCellWidget(). .PP Examples: .)l addressbook/centralwidget.cpp, layout/layout.cpp, rot13/rot13.cpp, sql/overview/form1/main.cpp, sql/overview/form2/main.cpp, t14/gamebrd.cpp, and t8/main.cpp. -.SH "QRect QGridLayout::cellGeometry ( int row, int col ) const" +.SH "TQRect QGridLayout::cellGeometry ( int row, int col ) const" Returns the geometry of the cell with row \fIrow\fR and column \fIcol\fR in the grid. Returns an invalid rectangle if \fIrow\fR or \fIcol\fR is outside the grid. .PP \fBWarning:\fR in the current version of TQt this function does not return valid results until setGeometry() has been called, i.e. after the mainWidget() is visible. @@ -338,7 +338,7 @@ See also colStretch(), addColSpacing(), and setRowStretch(). .PP Examples: .)l layout/layout.cpp, t14/gamebrd.cpp, and t8/main.cpp. -.SH "void QGridLayout::setGeometry ( const QRect & r )\fC [virtual]\fR" +.SH "void QGridLayout::setGeometry ( const TQRect & r )\fC [virtual]\fR" Resizes managed widgets within the rectangle \fIr\fR. .PP Reimplemented from QLayout. diff --git a/doc/man/man3/tqgridview.3qt b/doc/man/man3/tqgridview.3qt index 24c79d3df..3cf6c8a63 100644 --- a/doc/man/man3/tqgridview.3qt +++ b/doc/man/man3/tqgridview.3qt @@ -46,10 +46,10 @@ Inherits QScrollView. .BI "virtual void \fBsetCellHeight\fR ( int )" .br .ti -1c -.BI "QRect \fBcellRect\fR () const" +.BI "TQRect \fBcellRect\fR () const" .br .ti -1c -.BI "QRect \fBcellGeometry\fR ( int row, int column )" +.BI "TQRect \fBcellGeometry\fR ( int row, int column )" .br .ti -1c .BI "TQSize \fBgridSize\fR () const" @@ -120,14 +120,14 @@ Constructs a grid view. The \fIparent\fR, \fIname\fR and widget flag, \fIf\fR, arguments are passed to the QScrollView constructor. .SH "QGridView::~QGridView ()" Destroys the grid view. -.SH "QRect QGridView::cellGeometry ( int row, int column )" +.SH "TQRect QGridView::cellGeometry ( int row, int column )" Returns the geometry of cell (\fIrow\fR, \fIcolumn\fR) in the content coordinate system. .PP See also cellRect(). .SH "int QGridView::cellHeight () const" Returns the height of a grid row. See the "cellHeight" property for details. -.SH "QRect QGridView::cellRect () const" -Returns the geometry of a cell in a cell's coordinate system. This is a convenience function useful in paintCell(). It is equivalent to QRect( 0, 0, cellWidth(), cellHeight() ). +.SH "TQRect QGridView::cellRect () const" +Returns the geometry of a cell in a cell's coordinate system. This is a convenience function useful in paintCell(). It is equivalent to TQRect( 0, 0, cellWidth(), cellHeight() ). .PP See also cellGeometry(). .SH "int QGridView::cellWidth () const" diff --git a/doc/man/man3/tqheader.3qt b/doc/man/man3/tqheader.3qt index f254ed231..e98faa3ce 100644 --- a/doc/man/man3/tqheader.3qt +++ b/doc/man/man3/tqheader.3qt @@ -106,7 +106,7 @@ Inherits TQWidget. .BI "int \fBheaderWidth\fR () const" .br .ti -1c -.BI "QRect \fBsectionRect\fR ( int section ) const" +.BI "TQRect \fBsectionRect\fR ( int section ) const" .br .ti -1c .BI "virtual void setCellSize ( int section, int s ) \fI(obsolete)\fR" @@ -214,13 +214,13 @@ Inherits TQWidget. .SS "Protected Members" .in +1c .ti -1c -.BI "QRect \fBsRect\fR ( int index )" +.BI "TQRect \fBsRect\fR ( int index )" .br .ti -1c -.BI "virtual void \fBpaintSection\fR ( TQPainter * p, int index, const QRect & fr )" +.BI "virtual void \fBpaintSection\fR ( TQPainter * p, int index, const TQRect & fr )" .br .ti -1c -.BI "virtual void \fBpaintSectionLabel\fR ( TQPainter * p, int index, const QRect & fr )" +.BI "virtual void \fBpaintSectionLabel\fR ( TQPainter * p, int index, const TQRect & fr )" .br .in -1c .SH DESCRIPTION @@ -383,11 +383,11 @@ This signal is emitted when the user has moved the section which is displayed at Returns the header's left-most (or top-most) visible pixel. See the "offset" property for details. .SH "Orientation QHeader::orientation () const" Returns the header's orientation. See the "orientation" property for details. -.SH "void QHeader::paintSection ( TQPainter * p, int index, const QRect & fr )\fC [virtual protected]\fR" +.SH "void QHeader::paintSection ( TQPainter * p, int index, const TQRect & fr )\fC [virtual protected]\fR" Paints the section at position \fIindex\fR, inside rectangle \fIfr\fR (which uses widget coordinates) using painter \fIp\fR. .PP Calls paintSectionLabel(). -.SH "void QHeader::paintSectionLabel ( TQPainter * p, int index, const QRect & fr )\fC [virtual protected]\fR" +.SH "void QHeader::paintSectionLabel ( TQPainter * p, int index, const TQRect & fr )\fC [virtual protected]\fR" Paints the label of the section at position \fIindex\fR, inside rectangle \fIfr\fR (which uses widget coordinates) using painter \fIp\fR. .PP Called by paintSection() @@ -403,7 +403,7 @@ See also pressed(). Removes section \fIsection\fR. If the section does not exist, nothing happens. .SH "void QHeader::resizeSection ( int section, int s )" Resizes section \fIsection\fR to \fIs\fR pixels wide (or high). -.SH "QRect QHeader::sRect ( int index )\fC [protected]\fR" +.SH "TQRect QHeader::sRect ( int index )\fC [protected]\fR" Returns the rectangle covered by the section at index \fIindex\fR. .SH "int QHeader::sectionAt ( int pos ) const" Returns the index of the section which contains the position \fIpos\fR given in pixels from the left (or top). @@ -425,7 +425,7 @@ This signal is emitted when the user doubleclicks on the edge (handle) of sectio Returns the position (in pixels) at which the \fIsection\fR starts. .PP See also offset. -.SH "QRect QHeader::sectionRect ( int section ) const" +.SH "TQRect QHeader::sectionRect ( int section ) const" Returns the rectangle covered by section \fIsection\fR. .PP Example: helpsystem/tooltip.cpp. diff --git a/doc/man/man3/tqicondrag.3qt b/doc/man/man3/tqicondrag.3qt index ca838bfaf..6fd1919db 100644 --- a/doc/man/man3/tqicondrag.3qt +++ b/doc/man/man3/tqicondrag.3qt @@ -22,7 +22,7 @@ Inherits TQDragObject. .BI "virtual \fB~TQIconDrag\fR ()" .br .ti -1c -.BI "void \fBappend\fR ( const TQIconDragItem & i, const QRect & pr, const QRect & tr )" +.BI "void \fBappend\fR ( const TQIconDragItem & i, const TQRect & pr, const TQRect & tr )" .br .ti -1c .BI "virtual TQByteArray \fBencodedData\fR ( const char * mime ) const" @@ -53,7 +53,7 @@ Constructs a drag object called \fIname\fR, which is a child of \fIdragSource\fR Note that the drag object will be deleted when \fIdragSource\fR is deleted. .SH "TQIconDrag::~TQIconDrag ()\fC [virtual]\fR" Destructor. -.SH "void TQIconDrag::append ( const TQIconDragItem & i, const QRect & pr, const QRect & tr )" +.SH "void TQIconDrag::append ( const TQIconDragItem & i, const TQRect & pr, const TQRect & tr )" Append the TQIconDragItem, \fIi\fR, to the TQIconDrag object's list of items. You must also supply the geometry of the pixmap, \fIpr\fR, and the textual caption, \fItr\fR. .PP See also TQIconDragItem. diff --git a/doc/man/man3/tqiconfactory.3qt b/doc/man/man3/tqiconfactory.3qt index ecaadfb08..7b244ba73 100644 --- a/doc/man/man3/tqiconfactory.3qt +++ b/doc/man/man3/tqiconfactory.3qt @@ -20,7 +20,7 @@ TQIconFactory \- Used to create pixmaps for a TQIconSet .BI "virtual \fB~TQIconFactory\fR ()" .br .ti -1c -.BI "virtual QPixmap * \fBcreatePixmap\fR ( const TQIconSet & iconSet, TQIconSet::Size size, TQIconSet::Mode mode, TQIconSet::State state )" +.BI "virtual TQPixmap * \fBcreatePixmap\fR ( const TQIconSet & iconSet, TQIconSet::Size size, TQIconSet::Mode mode, TQIconSet::State state )" .br .ti -1c .BI "void \fBsetAutoDelete\fR ( bool autoDelete )" @@ -55,7 +55,7 @@ Destroys the object and frees any allocated resources. Returns TRUE if auto-deletion is enabled; otherwise returns FALSE. .PP See also setAutoDelete(). -.SH "QPixmap * TQIconFactory::createPixmap ( const TQIconSet & iconSet, TQIconSet::Size size, TQIconSet::Mode mode, TQIconSet::State state )\fC [virtual]\fR" +.SH "TQPixmap * TQIconFactory::createPixmap ( const TQIconSet & iconSet, TQIconSet::Size size, TQIconSet::Mode mode, TQIconSet::State state )\fC [virtual]\fR" Ceates a pixmap for \fIiconSet\fR with a certain \fIsize\fR, \fImode\fR, and \fIstate\fR. Returns 0 if the default TQIconSet algorithm should be used to create a pixmap that wasn't supplied by the user. .PP It is the caller's responsibility to delete the returned pixmap. diff --git a/doc/man/man3/tqiconset.3qt b/doc/man/man3/tqiconset.3qt index 7c8f23647..8dbee746b 100644 --- a/doc/man/man3/tqiconset.3qt +++ b/doc/man/man3/tqiconset.3qt @@ -26,10 +26,10 @@ TQIconSet \- Set of icons with different styles and sizes .BI "\fBTQIconSet\fR ()" .br .ti -1c -.BI "\fBTQIconSet\fR ( const QPixmap & pixmap, Size size = Automatic )" +.BI "\fBTQIconSet\fR ( const TQPixmap & pixmap, Size size = Automatic )" .br .ti -1c -.BI "\fBTQIconSet\fR ( const QPixmap & smallPix, const QPixmap & largePix )" +.BI "\fBTQIconSet\fR ( const TQPixmap & smallPix, const TQPixmap & largePix )" .br .ti -1c .BI "\fBTQIconSet\fR ( const TQIconSet & other )" @@ -38,22 +38,22 @@ TQIconSet \- Set of icons with different styles and sizes .BI "virtual \fB~TQIconSet\fR ()" .br .ti -1c -.BI "void \fBreset\fR ( const QPixmap & pixmap, Size size )" +.BI "void \fBreset\fR ( const TQPixmap & pixmap, Size size )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )" .br .ti -1c .BI "virtual void \fBsetPixmap\fR ( const TQString & fileName, Size size, Mode mode = Normal, State state = Off )" .br .ti -1c -.BI "QPixmap \fBpixmap\fR ( Size size, Mode mode, State state = Off ) const" +.BI "TQPixmap \fBpixmap\fR ( Size size, Mode mode, State state = Off ) const" .br .ti -1c -.BI "QPixmap pixmap ( Size size, bool enabled, State state = Off ) const \fI(obsolete)\fR" +.BI "TQPixmap pixmap ( Size size, bool enabled, State state = Off ) const \fI(obsolete)\fR" .br .ti -1c -.BI "QPixmap \fBpixmap\fR () const" +.BI "TQPixmap \fBpixmap\fR () const" .br .ti -1c .BI "bool \fBisGenerated\fR ( Size size, Mode mode, State state = Off ) const" @@ -88,11 +88,11 @@ The TQIconSet class provides a set of icons with different styles and sizes. .PP A TQIconSet can generate smaller, larger, active, and disabled pixmaps from the set of icons it is given. Such pixmaps are used by TQToolButton, QHeader, TQPopupMenu, etc. to show an icon representing a particular action. .PP -The simplest use of TQIconSet is to create one from a QPixmap and then use it, allowing TQt to work out all the required icon styles and sizes. For example: +The simplest use of TQIconSet is to create one from a TQPixmap and then use it, allowing TQt to work out all the required icon styles and sizes. For example: .PP .nf .br - TQToolButton *but = new TQToolButton( TQIconSet( QPixmap("open.xpm") ), ... ); + TQToolButton *but = new TQToolButton( TQIconSet( TQPixmap("open.xpm") ), ... ); .br .fi .PP @@ -118,7 +118,7 @@ Provide a method to set a TQIconSet, and when you draw the icon, choose whicheve .PP .nf .br - void MyWidget::drawIcon( TQPainter* p, QPoint pos ) + void MyWidget::drawIcon( TQPainter* p, TQPoint pos ) .br { .br @@ -146,7 +146,7 @@ You might also make use of the Active mode, perhaps making your widget Active wh .PP </center> .PP -See also TQIconFactory, QPixmap, TQMainWindow::usesBigPixmaps, GUI Design Handbook: Iconic Label, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also TQIconFactory, TQPixmap, TQMainWindow::usesBigPixmaps, GUI Design Handbook: Iconic Label, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SS "Member Type Documentation" .SH "TQIconSet::Mode" This enum type describes the mode for which a pixmap is intended to be used. The currently defined modes are: @@ -181,13 +181,13 @@ See also setPixmap() and pixmap(). Constructs a null icon set. .PP See also setPixmap() and reset(). -.SH "TQIconSet::TQIconSet ( const QPixmap & pixmap, Size size = Automatic )" +.SH "TQIconSet::TQIconSet ( const TQPixmap & pixmap, Size size = Automatic )" Constructs an icon set for which the Normal pixmap is \fIpixmap\fR, which is assumed to be of size \fIsize\fR. .PP The default for \fIsize\fR is Automatic, which means that TQIconSet will determine whether the pixmap is Small or Large from its pixel size. Pixmaps less than the width of a small generated icon are considered to be Small. You can use setIconSize() to set the preferred size of a generated icon. .PP See also setIconSize() and reset(). -.SH "TQIconSet::TQIconSet ( const QPixmap & smallPix, const QPixmap & largePix )" +.SH "TQIconSet::TQIconSet ( const TQPixmap & smallPix, const TQPixmap & largePix )" Creates an iconset which uses the pixmap \fIsmallPix\fR for for displaying a small icon, and the pixmap \fIlargePix\fR for displaying a large icon. .SH "TQIconSet::TQIconSet ( const TQIconSet & other )" Constructs a copy of \fIother\fR. This is very fast. @@ -217,21 +217,21 @@ Returns TRUE if the icon set is empty; otherwise returns FALSE. Assigns \fIother\fR to this icon set and returns a reference to this icon set. .PP See also detach(). -.SH "QPixmap TQIconSet::pixmap ( Size size, Mode mode, State state = Off ) const" +.SH "TQPixmap TQIconSet::pixmap ( Size size, Mode mode, State state = Off ) const" Returns a pixmap with size \fIsize\fR, mode \fImode\fR and state \fIstate\fR, generating one if necessary. Generated pixmaps are cached. -.SH "QPixmap TQIconSet::pixmap ( Size size, bool enabled, State state = Off ) const" +.SH "TQPixmap TQIconSet::pixmap ( Size size, bool enabled, State state = Off ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This is the same as pixmap(\fIsize\fR, \fIenabled\fR, \fIstate\fR). -.SH "QPixmap TQIconSet::pixmap () const" +.SH "TQPixmap TQIconSet::pixmap () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the pixmap originally provided to the constructor or to reset(). This is the Normal pixmap of unspecified Size. .PP See also reset(). -.SH "void TQIconSet::reset ( const QPixmap & pixmap, Size size )" +.SH "void TQIconSet::reset ( const TQPixmap & pixmap, Size size )" Sets this icon set to use pixmap \fIpixmap\fR for the Normal pixmap, assuming it to be of size \fIsize\fR. .PP This is equivalent to assigning TQIconSet(\fIpixmap\fR, \fIsize\fR) to this icon set. @@ -243,7 +243,7 @@ Set the preferred size for all small or large icons that are generated after thi Note that cached icons will not be regenerated, so it is recommended that you set the preferred icon sizes before generating any icon sets. Also note that the preferred icon sizes will be ignored for icon sets that have been created using both small and large pixmaps. .PP See also iconSize(). -.SH "void TQIconSet::setPixmap ( const QPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )\fC [virtual]\fR" +.SH "void TQIconSet::setPixmap ( const TQPixmap & pixmap, Size size, Mode mode = Normal, State state = Off )\fC [virtual]\fR" Sets this icon set to provide pixmap \fIpixmap\fR for size \fIsize\fR, mode \fImode\fR and state \fIstate\fR. The icon set may also use \fIpixmap\fR for generating other pixmaps if they are not explicitly set. .PP The \fIsize\fR can be one of Automatic, Large or Small. If Automatic is used, TQIconSet will determine if the pixmap is Small or Large from its pixel size. diff --git a/doc/man/man3/tqiconview.3qt b/doc/man/man3/tqiconview.3qt index da29c87fe..0bad304d0 100644 --- a/doc/man/man3/tqiconview.3qt +++ b/doc/man/man3/tqiconview.3qt @@ -67,7 +67,7 @@ Inherits QScrollView. .BI "SelectionMode \fBselectionMode\fR () const" .br .ti -1c -.BI "TQIconViewItem * \fBfindItem\fR ( const QPoint & pos ) const" +.BI "TQIconViewItem * \fBfindItem\fR ( const TQPoint & pos ) const" .br .ti -1c .BI "TQIconViewItem * \fBfindItem\fR ( const TQString & text, ComparisonFlags compare = BeginsWith ) const" @@ -91,10 +91,10 @@ Inherits QScrollView. .BI "void \fBensureItemVisible\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "TQIconViewItem * \fBfindFirstVisibleItem\fR ( const QRect & r ) const" +.BI "TQIconViewItem * \fBfindFirstVisibleItem\fR ( const TQRect & r ) const" .br .ti -1c -.BI "TQIconViewItem * \fBfindLastVisibleItem\fR ( const QRect & r ) const" +.BI "TQIconViewItem * \fBfindLastVisibleItem\fR ( const TQRect & r ) const" .br .ti -1c .BI "virtual void \fBclear\fR ()" @@ -217,13 +217,13 @@ Inherits QScrollView. .BI "void \fBclicked\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBclicked\fR ( TQIconViewItem * item, const QPoint & pos )" +.BI "void \fBclicked\fR ( TQIconViewItem * item, const TQPoint & pos )" .br .ti -1c .BI "void \fBpressed\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBpressed\fR ( TQIconViewItem * item, const QPoint & pos )" +.BI "void \fBpressed\fR ( TQIconViewItem * item, const TQPoint & pos )" .br .ti -1c .BI "void \fBdoubleClicked\fR ( TQIconViewItem * item )" @@ -232,19 +232,19 @@ Inherits QScrollView. .BI "void \fBreturnPressed\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "void \fBrightButtonClicked\fR ( TQIconViewItem * item, const QPoint & pos )" +.BI "void \fBrightButtonClicked\fR ( TQIconViewItem * item, const TQPoint & pos )" .br .ti -1c -.BI "void \fBrightButtonPressed\fR ( TQIconViewItem * item, const QPoint & pos )" +.BI "void \fBrightButtonPressed\fR ( TQIconViewItem * item, const TQPoint & pos )" .br .ti -1c -.BI "void \fBmouseButtonPressed\fR ( int button, TQIconViewItem * item, const QPoint & pos )" +.BI "void \fBmouseButtonPressed\fR ( int button, TQIconViewItem * item, const TQPoint & pos )" .br .ti -1c -.BI "void \fBmouseButtonClicked\fR ( int button, TQIconViewItem * item, const QPoint & pos )" +.BI "void \fBmouseButtonClicked\fR ( int button, TQIconViewItem * item, const TQPoint & pos )" .br .ti -1c -.BI "void \fBcontextMenuRequested\fR ( TQIconViewItem * item, const QPoint & pos )" +.BI "void \fBcontextMenuRequested\fR ( TQIconViewItem * item, const TQPoint & pos )" .br .ti -1c .BI "void \fBdropped\fR ( TQDropEvent * e, const TQValueList<TQIconDragItem> & lst )" @@ -334,7 +334,7 @@ Inherits QScrollView. .BI "virtual void \fBinsertInGrid\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "virtual void \fBdrawBackground\fR ( TQPainter * p, const QRect & r )" +.BI "virtual void \fBdrawBackground\fR ( TQPainter * p, const TQRect & r )" .br .ti -1c .BI "void \fBemitSelectionChanged\fR ( TQIconViewItem * i = 0 )" @@ -372,7 +372,7 @@ The simplest way to create a TQIconView is to create a TQIconView object and cre .br for ( uint i = 0; i < dir.count(); i++ ) { .br - (void) new TQIconViewItem( iv, dir[i], QPixmap( path + dir[i] ) ); + (void) new TQIconViewItem( iv, dir[i], TQPixmap( path + dir[i] ) ); .br } .br @@ -382,7 +382,7 @@ The simplest way to create a TQIconView is to create a TQIconView object and cre .br .fi .PP -The TQIconViewItem call passes a pointer to the TQIconView we wish to populate, along with the label text and a QPixmap. +The TQIconViewItem call passes a pointer to the TQIconView we wish to populate, along with the label text and a TQPixmap. .PP When an item is inserted the TQIconView allocates a position for it. Existing items are rearranged if autoArrange() is TRUE. The default arrangement is LeftToRight -- the TQIconView fills up the \fIleft-most\fR column from top to bottom, then moves one column \fIright\fR and fills that from top to bottom and so on. The arrangement can be modified with any of the following approaches: .TP @@ -547,7 +547,7 @@ Unselects all the items. This signal is emitted when the user clicks any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP See also mouseButtonClicked(), rightButtonClicked(), and pressed(). -.SH "void TQIconView::clicked ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::clicked ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted when the user clicks any mouse button on an icon view item. \fIitem\fR is a pointer to the item that has been clicked. @@ -555,7 +555,7 @@ This signal is emitted when the user clicks any mouse button on an icon view ite \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.) .PP See also mouseButtonClicked(), rightButtonClicked(), and pressed(). -.SH "void TQIconView::contextMenuRequested ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::contextMenuRequested ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user invokes a context menu with the right mouse button or with special system keys, with \fIitem\fR being the item under the mouse cursor or the current item, respectively. .PP \fIpos\fR is the position for the context menu in the global coordinate system. @@ -580,7 +580,7 @@ See also TQIconDrag. .PP Examples: .)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp. -.SH "void TQIconView::drawBackground ( TQPainter * p, const QRect & r )\fC [virtual protected]\fR" +.SH "void TQIconView::drawBackground ( TQPainter * p, const TQRect & r )\fC [virtual protected]\fR" This function is called to draw the rectangle \fIr\fR of the background using the painter \fIp\fR. .PP The default implementation fills \fIr\fR with the viewport's backgroundBrush(). Subclasses may reimplement this to draw custom backgrounds. @@ -605,19 +605,19 @@ Emits a signal to indicate selection changes. \fIi\fR is the TQIconViewItem that Makes sure that \fIitem\fR is entirely visible. If necessary, ensureItemVisible() scrolls the icon view. .PP See also ensureVisible(). -.SH "TQIconViewItem * TQIconView::findFirstVisibleItem ( const QRect & r ) const" +.SH "TQIconViewItem * TQIconView::findFirstVisibleItem ( const TQRect & r ) const" Finds the first item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR. .PP If you want to find all items that touch \fIr\fR, you will need to use this function and nextItem() in a loop ending at findLastVisibleItem() and test TQIconViewItem::rect() for each of these items. .PP See also findLastVisibleItem() and TQIconViewItem::rect(). -.SH "TQIconViewItem * TQIconView::findItem ( const QPoint & pos ) const" +.SH "TQIconViewItem * TQIconView::findItem ( const TQPoint & pos ) const" Returns a pointer to the item that contains point \fIpos\fR, which is given in contents coordinates, or 0 if no item contains point \fIpos\fR. .SH "TQIconViewItem * TQIconView::findItem ( const TQString & text, ComparisonFlags compare = BeginsWith ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a pointer to the first item whose text begins with \fItext\fR, or 0 if no such item could be found. Use the \fIcompare\fR flag to control the comparison behaviour. (See TQt::StringComparisonMode.) -.SH "TQIconViewItem * TQIconView::findLastVisibleItem ( const QRect & r ) const" +.SH "TQIconViewItem * TQIconView::findLastVisibleItem ( const TQRect & r ) const" Finds the last item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR. .PP See also findFirstVisibleItem(). @@ -675,13 +675,13 @@ Lays out a row of icons (if Arrangement == TopToBottom this is a column). Starts Returns the maximum length (in characters) that an item's text may have. See the "maxItemTextLength" property for details. .SH "int TQIconView::maxItemWidth () const" Returns the maximum width that an item may have. See the "maxItemWidth" property for details. -.SH "void TQIconView::mouseButtonClicked ( int button, TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::mouseButtonClicked ( int button, TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user clicks mouse button \fIbutton\fR. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.) .PP See also mouseButtonPressed(), rightButtonClicked(), and clicked(). -.SH "void TQIconView::mouseButtonPressed ( int button, TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::mouseButtonPressed ( int button, TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user presses mouse button \fIbutton\fR. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). @@ -701,7 +701,7 @@ See also onItem(). This signal is emitted when the user presses any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP See also mouseButtonPressed(), rightButtonPressed(), and clicked(). -.SH "void TQIconView::pressed ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::pressed ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted when the user presses any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. @@ -717,13 +717,13 @@ Repaints the selected items. Returns the resize mode of the icon view. See the "resizeMode" property for details. .SH "void TQIconView::returnPressed ( TQIconViewItem * item )\fC [signal]\fR" This signal is emitted if the user presses the Return or Enter key. \fIitem\fR is the currentItem() at the time of the keypress. -.SH "void TQIconView::rightButtonClicked ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::rightButtonClicked ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user clicks the right mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.) .PP See also rightButtonPressed(), mouseButtonClicked(), and clicked(). -.SH "void TQIconView::rightButtonPressed ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void TQIconView::rightButtonPressed ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user presses the right mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). diff --git a/doc/man/man3/tqiconviewitem.3qt b/doc/man/man3/tqiconviewitem.3qt index 615e1964f..83b7e23b1 100644 --- a/doc/man/man3/tqiconviewitem.3qt +++ b/doc/man/man3/tqiconviewitem.3qt @@ -28,16 +28,16 @@ Inherits Qt. .BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text )" .br .ti -1c -.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const QPixmap & icon )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const TQPixmap & icon )" .br .ti -1c -.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPixmap & icon )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const TQPixmap & icon )" .br .ti -1c -.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const QPicture & picture )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, const TQString & text, const TQPicture & picture )" .br .ti -1c -.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPicture & picture )" +.BI "\fBTQIconViewItem\fR ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const TQPicture & picture )" .br .ti -1c .BI "virtual \fB~TQIconViewItem\fR ()" @@ -55,10 +55,10 @@ Inherits Qt. .BI "virtual TQString \fBtext\fR () const" .br .ti -1c -.BI "virtual QPixmap * \fBpixmap\fR () const" +.BI "virtual TQPixmap * \fBpixmap\fR () const" .br .ti -1c -.BI "virtual QPicture * \fBpicture\fR () const" +.BI "virtual TQPicture * \fBpicture\fR () const" .br .ti -1c .BI "virtual TQString \fBkey\fR () const" @@ -109,13 +109,13 @@ Inherits Qt. .BI "virtual void \fBmoveBy\fR ( int dx, int dy )" .br .ti -1c -.BI "virtual bool \fBmove\fR ( const QPoint & pnt )" +.BI "virtual bool \fBmove\fR ( const TQPoint & pnt )" .br .ti -1c -.BI "virtual void \fBmoveBy\fR ( const QPoint & pnt )" +.BI "virtual void \fBmoveBy\fR ( const TQPoint & pnt )" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c .BI "int \fBx\fR () const" @@ -133,19 +133,19 @@ Inherits Qt. .BI "TQSize \fBsize\fR () const" .br .ti -1c -.BI "QPoint \fBpos\fR () const" +.BI "TQPoint \fBpos\fR () const" .br .ti -1c -.BI "QRect \fBtextRect\fR ( bool relative = TRUE ) const" +.BI "TQRect \fBtextRect\fR ( bool relative = TRUE ) const" .br .ti -1c -.BI "QRect \fBpixmapRect\fR ( bool relative = TRUE ) const" +.BI "TQRect \fBpixmapRect\fR ( bool relative = TRUE ) const" .br .ti -1c -.BI "bool \fBcontains\fR ( const QPoint & pnt ) const" +.BI "bool \fBcontains\fR ( const TQPoint & pnt ) const" .br .ti -1c -.BI "bool \fBintersects\fR ( const QRect & r ) const" +.BI "bool \fBintersects\fR ( const TQRect & r ) const" .br .ti -1c .BI "virtual bool \fBacceptDrop\fR ( const TQMimeSource * mime ) const" @@ -160,16 +160,16 @@ Inherits Qt. .BI "virtual void \fBsetText\fR ( const TQString & text )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & icon )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & icon )" .br .ti -1c -.BI "virtual void \fBsetPicture\fR ( const QPicture & icon )" +.BI "virtual void \fBsetPicture\fR ( const TQPicture & icon )" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & text, bool recalc, bool redraw = TRUE )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & icon, bool recalc, bool redraw = TRUE )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & icon, bool recalc, bool redraw = TRUE )" .br .ti -1c .BI "virtual void \fBsetKey\fR ( const TQString & k )" @@ -202,13 +202,13 @@ Inherits Qt. .BI "virtual void \fBdragLeft\fR ()" .br .ti -1c -.BI "void \fBsetItemRect\fR ( const QRect & r )" +.BI "void \fBsetItemRect\fR ( const TQRect & r )" .br .ti -1c -.BI "void \fBsetTextRect\fR ( const QRect & r )" +.BI "void \fBsetTextRect\fR ( const TQRect & r )" .br .ti -1c -.BI "void \fBsetPixmapRect\fR ( const QRect & r )" +.BI "void \fBsetPixmapRect\fR ( const TQRect & r )" .br .in -1c .SH DESCRIPTION @@ -270,15 +270,15 @@ Constructs a TQIconViewItem and inserts it into the icon view \fIparent\fR with Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and a default icon. .SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and a default icon, after the icon view item \fIafter\fR. -.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const QPixmap & icon )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const TQPixmap & icon )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIicon\fR as the icon. -.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPixmap & icon )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const TQPixmap & icon )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIicon\fR as the icon, after the icon view item \fIafter\fR. .PP See also setPixmap(). -.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const QPicture & picture )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, const TQString & text, const TQPicture & picture )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIpicture\fR as the icon. -.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const QPicture & picture )" +.SH "TQIconViewItem::TQIconViewItem ( TQIconView * parent, TQIconViewItem * after, const TQString & text, const TQPicture & picture )" Constructs an icon view item and inserts it into the icon view \fIparent\fR using \fItext\fR as the text and \fIpicture\fR as the icon, after the icon view item \fIafter\fR. .SH "TQIconViewItem::~TQIconViewItem ()\fC [virtual]\fR" Destroys the icon view item and tells the parent icon view that the item has been destroyed. @@ -311,7 +311,7 @@ The default implementation compares the item keys (key()) using TQString::locale .fi .PP See also key(), TQString::localeAwareCompare(), and TQString::compare(). -.SH "bool TQIconViewItem::contains ( const QPoint & pnt ) const" +.SH "bool TQIconViewItem::contains ( const TQPoint & pnt ) const" Returns TRUE if the item contains the point \fIpnt\fR (in contents coordinates); otherwise returns FALSE. .SH "bool TQIconViewItem::dragEnabled () const" Returns TRUE if the user is allowed to drag the icon view item; otherwise returns FALSE. @@ -346,7 +346,7 @@ Returns the height of the item. Returns a pointer to this item's icon view parent. .SH "int TQIconViewItem::index () const" Returns the index of this item in the icon view, or -1 if an error occurred. -.SH "bool TQIconViewItem::intersects ( const QRect & r ) const" +.SH "bool TQIconViewItem::intersects ( const TQRect & r ) const" Returns TRUE if the item intersects the rectangle \fIr\fR (in contents coordinates); otherwise returns FALSE. .SH "bool TQIconViewItem::isSelectable () const" Returns TRUE if the item is selectable; otherwise returns FALSE. @@ -364,13 +364,13 @@ Returns the key of the icon view item or text() if no key has been explicitly se See also setKey() and compare(). .SH "bool TQIconViewItem::move ( int x, int y )\fC [virtual]\fR" Moves the item to position (\fIx\fR, \fIy\fR) in the icon view (these are contents coordinates). -.SH "bool TQIconViewItem::move ( const QPoint & pnt )\fC [virtual]\fR" +.SH "bool TQIconViewItem::move ( const TQPoint & pnt )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves the item to the point \fIpnt\fR. .SH "void TQIconViewItem::moveBy ( int dx, int dy )\fC [virtual]\fR" Moves the item \fIdx\fR pixels in the x-direction and \fIdy\fR pixels in the y-direction. -.SH "void TQIconViewItem::moveBy ( const QPoint & pnt )\fC [virtual]\fR" +.SH "void TQIconViewItem::moveBy ( const TQPoint & pnt )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves the item by the x, y values in point \fIpnt\fR. @@ -400,29 +400,29 @@ Paints the focus rectangle of the item using the painter \fIp\fR and the color g Paints the item using the painter \fIp\fR and the color group \fIcg\fR. If you want the item to be drawn with a different font or color, reimplement this function, change the values of the color group or the painter's font, and then call the TQIconViewItem::paintItem() with the changed values. .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QPicture * TQIconViewItem::picture () const\fC [virtual]\fR" +.SH "TQPicture * TQIconViewItem::picture () const\fC [virtual]\fR" Returns the icon of the icon view item if it is a picture, or 0 if it is a pixmap. In the latter case use pixmap() instead. Normally you set the picture of the item with setPicture(), but sometimes it's inconvenient to call setPicture() for every item. So you can subclass TQIconViewItem, reimplement this function and return a pointer to the item's picture. If you do this, you \fImust\fR call calcRect() manually each time the size of this picture changes. .PP See also setPicture(). -.SH "QPixmap * TQIconViewItem::pixmap () const\fC [virtual]\fR" +.SH "TQPixmap * TQIconViewItem::pixmap () const\fC [virtual]\fR" Returns the icon of the icon view item if it is a pixmap, or 0 if it is a picture. In the latter case use picture() instead. Normally you set the pixmap of the item with setPixmap(), but sometimes it's inconvenient to call setPixmap() for every item. So you can subclass TQIconViewItem, reimplement this function and return a pointer to the item's pixmap. If you do this, you \fImust\fR call calcRect() manually each time the size of this pixmap changes. .PP See also setPixmap(). .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QRect TQIconViewItem::pixmapRect ( bool relative = TRUE ) const" +.SH "TQRect TQIconViewItem::pixmapRect ( bool relative = TRUE ) const" Returns the bounding rectangle of the item's icon. .PP If \fIrelative\fR is TRUE, (the default), the rectangle is relative to the origin of the item's rectangle. If \fIrelative\fR is FALSE, the returned rectangle is relative to the origin of the icon view's contents coordinate system. .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QPoint TQIconViewItem::pos () const" +.SH "TQPoint TQIconViewItem::pos () const" Returns the position of the item (in contents coordinates). .SH "TQIconViewItem * TQIconViewItem::prevItem () const" Returns a pointer to the previous item, or 0 if this is the first item in the icon view. .PP See also nextItem() and TQIconView::firstItem(). -.SH "QRect TQIconViewItem::rect () const" +.SH "TQRect TQIconViewItem::rect () const" Returns the bounding rectangle of the item (in contents coordinates). .SH "void TQIconViewItem::removeRenameBox ()\fC [virtual protected]\fR" Removes the editbox that is used for in-place renaming. @@ -450,7 +450,7 @@ Make your derived classes return their own values for rtti(), so that you can di If \fIallow\fR is TRUE, the icon view permits the user to drag the icon view item either to another position within the icon view or to somewhere outside of it. If \fIallow\fR is FALSE, the item cannot be dragged. .SH "void TQIconViewItem::setDropEnabled ( bool allow )\fC [virtual]\fR" If \fIallow\fR is TRUE, the icon view lets the user drop something on this icon view item. -.SH "void TQIconViewItem::setItemRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setItemRect ( const TQRect & r )\fC [protected]\fR" Sets the bounding rectangle of the whole item to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), textRect(), setTextRect(), pixmapRect(), and setPixmapRect(). @@ -460,17 +460,17 @@ Sets \fIk\fR as the sort key of the icon view item. By default text() is used fo See also compare(). .PP Example: fileiconview/tqfileiconview.cpp. -.SH "void TQIconViewItem::setPicture ( const QPicture & icon )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPicture ( const TQPicture & icon )\fC [virtual]\fR" Sets \fIicon\fR as the item's icon in the icon view. This function might be a no-op if you reimplement picture(). .PP See also picture(). -.SH "void TQIconViewItem::setPixmap ( const QPixmap & icon )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPixmap ( const TQPixmap & icon )\fC [virtual]\fR" Sets \fIicon\fR as the item's icon in the icon view. This function might be a no-op if you reimplement pixmap(). .PP \fBNote:\fR Pixmaps with individual dimensions larger than 300 pixels may not be displayed properly, depending on the arrangement in use. See the main class documentation for details. .PP See also pixmap(). -.SH "void TQIconViewItem::setPixmap ( const QPixmap & icon, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" +.SH "void TQIconViewItem::setPixmap ( const TQPixmap & icon, bool recalc, bool redraw = TRUE )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets \fIicon\fR as the item's icon in the icon view. If \fIrecalc\fR is TRUE, the icon view's layout is recalculated. If \fIredraw\fR is TRUE (the default), the icon view is repainted. @@ -478,7 +478,7 @@ Sets \fIicon\fR as the item's icon in the icon view. If \fIrecalc\fR is TRUE, th \fBNote:\fR Pixmaps with individual dimensions larger than 300 pixels may not be displayed properly, depending on the arrangement in use. See the main class documentation for details. .PP See also pixmap(). -.SH "void TQIconViewItem::setPixmapRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setPixmapRect ( const TQRect & r )\fC [protected]\fR" Sets the bounding rectangle of the item's icon to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), pixmapRect(), setItemRect(), and setTextRect(). @@ -525,7 +525,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Sets \fItext\fR as the text of the icon view item. If \fIrecalc\fR is TRUE, the icon view's layout is recalculated. If \fIredraw\fR is TRUE (the default), the icon view is repainted. .PP See also text(). -.SH "void TQIconViewItem::setTextRect ( const QRect & r )\fC [protected]\fR" +.SH "void TQIconViewItem::setTextRect ( const TQRect & r )\fC [protected]\fR" Sets the bounding rectangle of the item's text to \fIr\fR. This function is provided for subclasses which reimplement calcRect(), so that they can set the calculated rectangle. \fIAny other use is discouraged.\fR .PP See also calcRect(), textRect(), setItemRect(), and setPixmapRect(). @@ -537,7 +537,7 @@ Returns the text of the icon view item. Normally you set the text of the item wi See also setText(). .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QRect TQIconViewItem::textRect ( bool relative = TRUE ) const" +.SH "TQRect TQIconViewItem::textRect ( bool relative = TRUE ) const" Returns the bounding rectangle of the item's text. .PP If \fIrelative\fR is TRUE, (the default), the returned rectangle is relative to the origin of the item's rectangle. If \fIrelative\fR is FALSE, the returned rectangle is relative to the origin of the icon view's contents coordinate system. diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt index e0c83d5fe..2db8e6b9c 100644 --- a/doc/man/man3/tqimage.3qt +++ b/doc/man/man3/tqimage.3qt @@ -50,7 +50,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "TQImage & \fBoperator=\fR ( const TQImage & image )" .br .ti -1c -.BI "TQImage & \fBoperator=\fR ( const QPixmap & pixmap )" +.BI "TQImage & \fBoperator=\fR ( const TQPixmap & pixmap )" .br .ti -1c .BI "bool \fBoperator==\fR ( const TQImage & i ) const" @@ -68,7 +68,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "TQImage \fBcopy\fR ( int x, int y, int w, int h, int conversion_flags = 0 ) const" .br .ti -1c -.BI "TQImage \fBcopy\fR ( const QRect & r ) const" +.BI "TQImage \fBcopy\fR ( const TQRect & r ) const" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -83,7 +83,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "TQSize \fBsize\fR () const" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c .BI "int \fBdepth\fR () const" @@ -182,7 +182,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "TQImage \fBscaleHeight\fR ( int h ) const" .br .ti -1c -.BI "TQImage \fBxForm\fR ( const QWMatrix & matrix ) const" +.BI "TQImage \fBxForm\fR ( const TQWMatrix & matrix ) const" .br .ti -1c .BI "TQImage \fBcreateAlphaMask\fR ( int conversion_flags = 0 ) const" @@ -239,10 +239,10 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .BI "void \fBsetDotsPerMeterY\fR ( int y )" .br .ti -1c -.BI "QPoint \fBoffset\fR () const" +.BI "TQPoint \fBoffset\fR () const" .br .ti -1c -.BI "void \fBsetOffset\fR ( const QPoint & p )" +.BI "void \fBsetOffset\fR ( const TQPoint & p )" .br .ti -1c .BI "TQValueList<TQImageTextKeyLang> \fBtextList\fR () const" @@ -305,7 +305,7 @@ TQImage \- Hardware-independent pixmap representation with direct access to the .SH DESCRIPTION The TQImage class provides a hardware-independent pixmap representation with direct access to the pixel data. .PP -It is one of the two classes TQt provides for dealing with images, the other being QPixmap. TQImage is designed and optimized for I/O and for direct pixel access/manipulation. QPixmap is designed and optimized for drawing. There are (slow) functions to convert between TQImage and QPixmap: QPixmap::convertToImage() and QPixmap::convertFromImage(). +It is one of the two classes TQt provides for dealing with images, the other being TQPixmap. TQImage is designed and optimized for I/O and for direct pixel access/manipulation. TQPixmap is designed and optimized for drawing. There are (slow) functions to convert between TQImage and TQPixmap: TQPixmap::convertToImage() and TQPixmap::convertFromImage(). .PP An image has the parameters width, height and depth (bits per pixel, bpp), a color table and the actual pixels. TQImage supports 1-bpp, 8-bpp and 32-bpp image data. 1-bpp and 8-bpp images use a color lookup table; the pixel value is a color table index. .PP @@ -377,7 +377,7 @@ The TQImage class uses explicit sharing, similar to that used by TQMemArray. .PP New image formats can be added as plugins. .PP -See also TQImageIO, QPixmap, Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also TQImageIO, TQPixmap, Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SS "Member Type Documentation" .SH "TQImage::Endian" This enum type is used to describe the endianness of the CPU and graphics hardware. @@ -544,7 +544,7 @@ The returned image is always \fIw\fR by \fIh\fR pixels in size, and is copied fr If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen. .PP See also bitBlt() and TQt::ImageConversionFlags. -.SH "TQImage TQImage::copy ( const QRect & r ) const" +.SH "TQImage TQImage::copy ( const TQRect & r ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a deep copy of a sub-area of the image. @@ -565,7 +565,7 @@ This is an overloaded member function, provided for convenience. It behaves esse .SH "TQImage TQImage::createAlphaMask ( int conversion_flags = 0 ) const" Builds and returns a 1-bpp mask from the alpha buffer in this image. Returns a null image if alpha buffer mode is disabled. .PP -See QPixmap::convertFromImage() for a description of the \fIconversion_flags\fR argument. +See TQPixmap::convertFromImage() for a description of the \fIconversion_flags\fR argument. .PP The returned image has little-endian bit order, which you can convert to big-endianness using convertBitOrder(). .PP @@ -700,7 +700,7 @@ If \fIformat\fR is specified, the loader attempts to read the image using the sp .PP The TQImageIO documentation lists the supported image formats and explains how to add extra formats. .PP -See also loadFromData(), save(), imageFormat(), QPixmap::load(), and TQImageIO. +See also loadFromData(), save(), imageFormat(), TQPixmap::load(), and TQImageIO. .SH "bool TQImage::loadFromData ( const uchar * buf, uint len, const char * format = 0 )" Loads an image from the first \fIlen\fR bytes of binary data in \fIbuf\fR. Returns TRUE if the image was successfully loaded; otherwise returns FALSE. .PP @@ -708,7 +708,7 @@ If \fIformat\fR is specified, the loader attempts to read the image using the sp .PP The TQImageIO documentation lists the supported image formats and explains how to add extra formats. .PP -See also load(), save(), imageFormat(), QPixmap::loadFromData(), and TQImageIO. +See also load(), save(), imageFormat(), TQPixmap::loadFromData(), and TQImageIO. .SH "bool TQImage::loadFromData ( TQByteArray buf, const char * format = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -733,7 +733,7 @@ Notice that numColors() returns 0 for 32-bpp images because these images do not See also setNumColors() and colorTable(). .PP Example: themes/wood.cpp. -.SH "QPoint TQImage::offset () const" +.SH "TQPoint TQImage::offset () const" Returns the number of pixels by which the image is intended to be offset by when positioning relative to other images. .SH "bool TQImage::operator!= ( const TQImage & i ) const" Returns TRUE if this image and image \fIi\fR have different contents; otherwise returns FALSE. The comparison can be slow, unless there is some obvious difference, such as different widths, in which case the function will return quickly. @@ -743,14 +743,14 @@ See also operator=(). Assigns a shallow copy of \fIimage\fR to this image and returns a reference to this image. .PP See also copy(). -.SH "TQImage & TQImage::operator= ( const QPixmap & pixmap )" +.SH "TQImage & TQImage::operator= ( const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the image bits to the \fIpixmap\fR contents and returns a reference to the image. .PP If the image shares data with other images, it will first dereference the shared data. .PP -Makes a call to QPixmap::convertToImage(). +Makes a call to TQPixmap::convertToImage(). .SH "bool TQImage::operator== ( const TQImage & i ) const" Returns TRUE if this image and image \fIi\fR have the same contents; otherwise returns FALSE. The comparison can be slow, unless there is some obvious difference, such as different widths, in which case the function will return quickly. .PP @@ -798,7 +798,7 @@ Returns the pixel index at the given coordinates. If (\fIx\fR, \fIy\fR) is not valid, or if the image is not a paletted image (depth() > 8), the results are undefined. .PP See also valid() and depth(). -.SH "QRect TQImage::rect () const" +.SH "TQRect TQImage::rect () const" Returns the enclosing rectangle (0, 0, width(), height()) of the image. .PP See also width(), height(), and size(). @@ -809,7 +809,7 @@ Saves the image to the file \fIfileName\fR, using the image file format \fIforma .PP Returns TRUE if the image was successfully saved; otherwise returns FALSE. .PP -See also load(), loadFromData(), imageFormat(), QPixmap::save(), and TQImageIO. +See also load(), loadFromData(), imageFormat(), TQPixmap::save(), and TQImageIO. .SH "bool TQImage::save ( TQIODevice * device, const char * format, int quality = -1 ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -879,7 +879,7 @@ This 32-bit value is encoded as follows: The lower 24 bits are used for the red, .PP The alpha component specifies the transparency of a pixel. 0 means completely transparent and 255 means opaque. The alpha component is ignored if you do not enable alpha buffer mode. .PP -The alpha buffer is used to set a mask when a TQImage is translated to a QPixmap. +The alpha buffer is used to set a mask when a TQImage is translated to a TQPixmap. .PP See also hasAlphaBuffer() and createAlphaMask(). .SH "void TQImage::setColor ( int i, TQRgb c )" @@ -901,7 +901,7 @@ Resizes the color table to \fInumColors\fR colors. If the color table is expanded all the extra colors will be set to black (RGB 0,0,0). .PP See also numColors(), color(), setColor(), and colorTable(). -.SH "void TQImage::setOffset ( const QPoint & p )" +.SH "void TQImage::setOffset ( const TQPoint & p )" Sets the value returned by offset() to \fIp\fR. .SH "void TQImage::setPixel ( int x, int y, uint index_or_rgb )" Sets the pixel index or color at the coordinates (\fIx\fR, \fIy\fR) to \fIindex_or_rgb\fR. @@ -1029,12 +1029,12 @@ See also height(), size(), and rect(). .PP Examples: .)l canvas/canvas.cpp and opengl/texture/gltexobj.cpp. -.SH "TQImage TQImage::xForm ( const QWMatrix & matrix ) const" +.SH "TQImage TQImage::xForm ( const TQWMatrix & matrix ) const" Returns a copy of the image that is transformed using the transformation matrix, \fImatrix\fR. .PP The transformation \fImatrix\fR is internally adjusted to compensate for unwanted translation, i.e. xForm() returns the smallest image that contains all the transformed points of the original image. .PP -See also scale(), QPixmap::xForm(), QPixmap::trueMatrix(), and QWMatrix. +See also scale(), TQPixmap::xForm(), TQPixmap::trueMatrix(), and TQWMatrix. .SH RELATED FUNCTION DOCUMENTATION .SH "void bitBlt ( TQImage * dst, int dx, int dy, const TQImage * src, int sx, int sy, int sw, int sh, int conversion_flags )" Copies a block of pixels from \fIsrc\fR to \fIdst\fR. The pixels copied from source (src) are converted according to \fIconversion_flags\fR if it is incompatible with the destination (\fIdst\fR). diff --git a/doc/man/man3/tqimageconsumer.3qt b/doc/man/man3/tqimageconsumer.3qt index b5a0e9062..b0db864f2 100644 --- a/doc/man/man3/tqimageconsumer.3qt +++ b/doc/man/man3/tqimageconsumer.3qt @@ -17,13 +17,13 @@ TQImageConsumer \- Abstraction used by TQImageDecoder .BI "virtual void \fBend\fR () = 0" .br .ti -1c -.BI "virtual void \fBchanged\fR ( const QRect & ) = 0" +.BI "virtual void \fBchanged\fR ( const TQRect & ) = 0" .br .ti -1c .BI "virtual void \fBframeDone\fR () = 0" .br .ti -1c -.BI "virtual void \fBframeDone\fR ( const QPoint & offset, const QRect & rect ) = 0" +.BI "virtual void \fBframeDone\fR ( const TQPoint & offset, const TQRect & rect ) = 0" .br .ti -1c .BI "virtual void \fBsetLooping\fR ( int n ) = 0" @@ -46,7 +46,7 @@ You'd use the TQImageConsumer class, for example, if you were implementing a web .PP See also TQImageDecoder, Graphics Classes, Image Processing Classes, and Multimedia Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "void TQImageConsumer::changed ( const QRect & )\fC [pure virtual]\fR" +.SH "void TQImageConsumer::changed ( const TQRect & )\fC [pure virtual]\fR" Called when the given area of the image has changed. .SH "void TQImageConsumer::end ()\fC [pure virtual]\fR" Called when all the data from all the frames has been decoded and revealed as changed(). @@ -56,7 +56,7 @@ One of the two frameDone() functions will be called when a frame of an animated When this function is called, the current image should be displayed. .PP The decoder will not make any further changes to the image until the next call to TQImageFormat::decode(). -.SH "void TQImageConsumer::frameDone ( const QPoint & offset, const QRect & rect )\fC [pure virtual]\fR" +.SH "void TQImageConsumer::frameDone ( const TQPoint & offset, const TQRect & rect )\fC [pure virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP One of the two frameDone() functions will be called when a frame of an animated image has ended and been revealed as changed(). diff --git a/doc/man/man3/tqimagedrag.3qt b/doc/man/man3/tqimagedrag.3qt index de4be4dfd..30d3953ec 100644 --- a/doc/man/man3/tqimagedrag.3qt +++ b/doc/man/man3/tqimagedrag.3qt @@ -37,7 +37,7 @@ Inherits TQDragObject. .BI "bool \fBdecode\fR ( const TQMimeSource * e, TQImage & img )" .br .ti -1c -.BI "bool \fBdecode\fR ( const TQMimeSource * e, QPixmap & pm )" +.BI "bool \fBdecode\fR ( const TQMimeSource * e, TQPixmap & pm )" .br .in -1c .SH DESCRIPTION @@ -67,12 +67,12 @@ Attempts to decode the dropped information in mime source \fIe\fR into \fIimg\fR See also canDecode(). .PP Example: desktop/desktop.cpp. -.SH "bool TQImageDrag::decode ( const TQMimeSource * e, QPixmap & pm )\fC [static]\fR" +.SH "bool TQImageDrag::decode ( const TQMimeSource * e, TQPixmap & pm )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Attempts to decode the dropped information in mime source \fIe\fR into pixmap \fIpm\fR. Returns TRUE if successful; otherwise returns FALSE. .PP -This is a convenience function that converts to a QPixmap via a TQImage. +This is a convenience function that converts to a TQPixmap via a TQImage. .PP See also canDecode(). .SH "void TQImageDrag::setImage ( TQImage image )\fC [virtual]\fR" diff --git a/doc/man/man3/tqimageformat.3qt b/doc/man/man3/tqimageformat.3qt index 026b951ba..a183e8393 100644 --- a/doc/man/man3/tqimageformat.3qt +++ b/doc/man/man3/tqimageformat.3qt @@ -20,7 +20,7 @@ TQImageFormat \- Incremental image decoder for a specific image format .SH DESCRIPTION The TQImageFormat class is an incremental image decoder for a specific image format. .PP -By making a derived class of TQImageFormatType, which in turn creates objects that are a subclass of TQImageFormat, you can add support for more incremental image formats, allowing such formats to be sources for a TQMovie or for the first frame of the image stream to be loaded as a TQImage or QPixmap. +By making a derived class of TQImageFormatType, which in turn creates objects that are a subclass of TQImageFormat, you can add support for more incremental image formats, allowing such formats to be sources for a TQMovie or for the first frame of the image stream to be loaded as a TQImage or TQPixmap. .PP Your new subclass must reimplement the decode() function in order to process your new format. .PP diff --git a/doc/man/man3/tqimageio.3qt b/doc/man/man3/tqimageio.3qt index d47dba176..e19963090 100644 --- a/doc/man/man3/tqimageio.3qt +++ b/doc/man/man3/tqimageio.3qt @@ -111,7 +111,7 @@ TQImageIO contains a TQIODevice object that is used for image data I/O. The prog .PP Qt currently supports the following image file formats: PNG, BMP, XBM, XPM and PNM. It may also support JPEG, MNG and GIF, if specially configured during compilation. The different PNM formats are: PBM (P1 or P4), PGM (P2 or P5), and PPM (P3 or P6). .PP -You don't normally need to use this class; QPixmap::load(), QPixmap::save(), and TQImage contain sufficient functionality. +You don't normally need to use this class; TQPixmap::load(), TQPixmap::save(), and TQImage contain sufficient functionality. .PP For image files that contain sequences of images, only the first is read. See TQMovie for loading multiple images. .PP @@ -121,7 +121,7 @@ PBM, PGM, and PPM format \fIoutput\fR is always in the more condensed raw format .PP GIF support may be removed completely in a future version of Qt. We recommend using the PNG format. .PP -See also TQImage, QPixmap, TQFile, TQMovie, Graphics Classes, Image Processing Classes, and Input/Output and Networking. +See also TQImage, TQPixmap, TQFile, TQMovie, Graphics Classes, Image Processing Classes, and Input/Output and Networking. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQImageIO::TQImageIO ()" Constructs a TQImageIO object with all parameters set to zero. @@ -243,7 +243,7 @@ Example: .br TQImageIO iio; .br - QPixmap pixmap; + TQPixmap pixmap; .br iio.setFileName( "vegeburger.bmp" ); .br @@ -253,7 +253,7 @@ Example: .br .fi .PP -See also setIODevice(), setFileName(), setFormat(), write(), and QPixmap::load(). +See also setIODevice(), setFileName(), setFormat(), write(), and TQPixmap::load(). .SH "void TQImageIO::setDescription ( const TQString & description )" Sets the image description string for image handlers that support image descriptions to \fIdescription\fR. .PP @@ -337,7 +337,7 @@ Example: .br .fi .PP -See also setIODevice(), setFileName(), setFormat(), read(), and QPixmap::save(). +See also setIODevice(), setFileName(), setFormat(), read(), and TQPixmap::save(). .SH "SEE ALSO" .BR http://doc.trolltech.com/tqimageio.html diff --git a/doc/man/man3/tqlabel.3qt b/doc/man/man3/tqlabel.3qt index 7e432496b..838034f99 100644 --- a/doc/man/man3/tqlabel.3qt +++ b/doc/man/man3/tqlabel.3qt @@ -31,10 +31,10 @@ Inherits QFrame. .BI "TQString \fBtext\fR () const" .br .ti -1c -.BI "QPixmap * \fBpixmap\fR () const" +.BI "TQPixmap * \fBpixmap\fR () const" .br .ti -1c -.BI "QPicture * \fBpicture\fR () const" +.BI "TQPicture * \fBpicture\fR () const" .br .ti -1c .BI "TQMovie * \fBmovie\fR () const" @@ -85,10 +85,10 @@ Inherits QFrame. .BI "virtual void \fBsetText\fR ( const TQString & )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & )" .br .ti -1c -.BI "virtual void \fBsetPicture\fR ( const QPicture & picture )" +.BI "virtual void \fBsetPicture\fR ( const TQPicture & picture )" .br .ti -1c .BI "virtual void \fBsetMovie\fR ( const TQMovie & movie )" @@ -115,7 +115,7 @@ Inherits QFrame. .BI "int \fBindent\fR - the label's text indent in pixels" .br .ti -1c -.BI "QPixmap \fBpixmap\fR - the label's pixmap" +.BI "TQPixmap \fBpixmap\fR - the label's pixmap" .br .ti -1c .BI "bool \fBscaledContents\fR - whether the label will scale its contents to fill all available space" @@ -140,7 +140,7 @@ QLabel is used for displaying text or an image. No user interaction functionalit .PP A QLabel can contain any of the following content types: <center>.nf .TS -l - l. Content Setting Plain text Pass a TQString to setText(). Rich text Pass a TQString that contains rich text to setText(). A pixmap Pass a QPixmap to setPixmap(). A movie Pass a TQMovie to setMovie(). A number Pass an \fIint\fR or a \fIdouble\fR to setNum(), which converts the number to plain text. Nothing +l - l. Content Setting Plain text Pass a TQString to setText(). Rich text Pass a TQString that contains rich text to setText(). A pixmap Pass a TQPixmap to setPixmap(). A movie Pass a TQMovie to setMovie(). A number Pass an \fIint\fR or a \fIdouble\fR to setNum(), which converts the number to plain text. Nothing .TE .fi </center> @@ -180,7 +180,7 @@ In this example, keyboard focus is transferred to the label's buddy (the QLineEd .ce 1 .B "[Image Omitted]" .PP -See also QLineEdit, TQTextEdit, QPixmap, TQMovie, GUI Design Handbook: Label, Basic Widgets, and Text Related Classes. +See also QLineEdit, TQTextEdit, TQPixmap, TQMovie, GUI Design Handbook: Label, Basic Widgets, and Text Related Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QLabel::QLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 )" Constructs an empty label. @@ -232,9 +232,9 @@ Returns the label's text indent in pixels. See the "indent" property for details Returns a pointer to the label's movie, or 0 if no movie has been set. .PP See also setMovie(). -.SH "QPicture * QLabel::picture () const" +.SH "TQPicture * QLabel::picture () const" Returns the label's picture or 0 if the label doesn't have a picture. -.SH "QPixmap * QLabel::pixmap () const" +.SH "TQPixmap * QLabel::pixmap () const" Returns the label's pixmap. See the "pixmap" property for details. .SH "void QLabel::setAlignment ( int )\fC [virtual]\fR" Sets the alignment of the label's contents. See the "alignment" property for details. @@ -317,13 +317,13 @@ The buddy accelerator, if any, is disabled. The label resizes itself if auto-resizing is enabled. .PP See also text, TQString::setNum(), and setBuddy(). -.SH "void QLabel::setPicture ( const QPicture & picture )\fC [virtual slot]\fR" +.SH "void QLabel::setPicture ( const TQPicture & picture )\fC [virtual slot]\fR" Sets the label contents to \fIpicture\fR. Any previous content is cleared. .PP The buddy accelerator, if any, is disabled. .PP See also picture() and setBuddy(). -.SH "void QLabel::setPixmap ( const QPixmap & )\fC [virtual slot]\fR" +.SH "void QLabel::setPixmap ( const TQPixmap & )\fC [virtual slot]\fR" Sets the label's pixmap. See the "pixmap" property for details. .SH "void QLabel::setScaledContents ( bool )" Sets whether the label will scale its contents to fill all available space. See the "scaledContents" property for details. @@ -364,7 +364,7 @@ If indent is negative, or if no indent has been set, the label computes the effe See also alignment, frameWidth, and font. .PP Set this property's value with setIndent() and get this property's value with indent(). -.SH "QPixmap pixmap" +.SH "TQPixmap pixmap" This property holds the label's pixmap. .PP If no pixmap has been set this will return an invalid pixmap. diff --git a/doc/man/man3/tqlayout.3qt b/doc/man/man3/tqlayout.3qt index e7dfe53c7..95f095d69 100644 --- a/doc/man/man3/tqlayout.3qt +++ b/doc/man/man3/tqlayout.3qt @@ -93,7 +93,7 @@ Inherited by QGridLayout and QBoxLayout. .BI "virtual TQSize \fBmaximumSize\fR () const" .br .ti -1c -.BI "virtual void \fBsetGeometry\fR ( const QRect & r ) = 0" +.BI "virtual void \fBsetGeometry\fR ( const TQRect & r ) = 0" .br .ti -1c .BI "virtual QLayoutIterator \fBiterator\fR () = 0" @@ -135,7 +135,7 @@ Inherited by QGridLayout and QBoxLayout. .BI "void \fBsetSupportsMargin\fR ( bool b )" .br .ti -1c -.BI "QRect \fBalignmentRect\fR ( const QRect & r ) const" +.BI "TQRect \fBalignmentRect\fR ( const TQRect & r ) const" .br .in -1c .SH DESCRIPTION @@ -201,7 +201,7 @@ Examples: .)l customlayout/border.cpp, customlayout/card.cpp, and customlayout/flow.cpp. .PP Reimplemented in QGridLayout and QBoxLayout. -.SH "QRect QLayout::alignmentRect ( const QRect & r ) const\fC [protected]\fR" +.SH "TQRect QLayout::alignmentRect ( const TQRect & r ) const\fC [protected]\fR" Returns the rectangle that should be covered when the geometry of this layout is set to \fIr\fR, provided that this layout supports setAlignment(). .PP The result is derived from sizeHint() and expanding(). It is never larger than \fIr\fR. @@ -320,7 +320,7 @@ An enabled layout adjusts dynamically to changes; a disabled layout acts as if i By default all layouts are enabled. .PP See also isEnabled(). -.SH "void QLayout::setGeometry ( const QRect & r )\fC [pure virtual]\fR" +.SH "void QLayout::setGeometry ( const TQRect & r )\fC [pure virtual]\fR" This function is reimplemented in subclasses to perform layout. .PP The default implementation maintains the geometry() information given by rect \fIr\fR. Reimplementors must call this function. diff --git a/doc/man/man3/tqlayoutitem.3qt b/doc/man/man3/tqlayoutitem.3qt index 44abfe8d5..7a4577599 100644 --- a/doc/man/man3/tqlayoutitem.3qt +++ b/doc/man/man3/tqlayoutitem.3qt @@ -34,10 +34,10 @@ Inherited by QLayout, QSpacerItem, and TQWidgetItem. .BI "virtual TQSizePolicy::ExpandData \fBexpanding\fR () const = 0" .br .ti -1c -.BI "virtual void \fBsetGeometry\fR ( const QRect & r ) = 0" +.BI "virtual void \fBsetGeometry\fR ( const TQRect & r ) = 0" .br .ti -1c -.BI "virtual QRect \fBgeometry\fR () const = 0" +.BI "virtual TQRect \fBgeometry\fR () const = 0" .br .ti -1c .BI "virtual bool \fBisEmpty\fR () const = 0" @@ -93,7 +93,7 @@ Returns the alignment of this item. Implemented in subclasses to return the direction(s) this item" wants" to expand in (if any). .PP Reimplemented in QLayout, QSpacerItem, and TQWidgetItem. -.SH "QRect QLayoutItem::geometry () const\fC [pure virtual]\fR" +.SH "TQRect QLayoutItem::geometry () const\fC [pure virtual]\fR" Returns the rectangle covered by this layout item. .PP Example: customlayout/border.cpp. @@ -179,7 +179,7 @@ Reimplemented in QLayout, QSpacerItem, and TQWidgetItem. Sets the alignment of this item to \fIa\fR, which is a bitwise OR of the TQt::AlignmentFlags. Not all subclasses support alignment. .PP Example: chart/optionsform.cpp. -.SH "void QLayoutItem::setGeometry ( const QRect & r )\fC [pure virtual]\fR" +.SH "void QLayoutItem::setGeometry ( const TQRect & r )\fC [pure virtual]\fR" Implemented in subclasses to set this item's geometry to \fIr\fR. .PP Examples: diff --git a/doc/man/man3/tqlistbox.3qt b/doc/man/man3/tqlistbox.3qt index 941322309..6935b4a3b 100644 --- a/doc/man/man3/tqlistbox.3qt +++ b/doc/man/man3/tqlistbox.3qt @@ -46,10 +46,10 @@ Inherits QScrollView. .BI "void \fBinsertItem\fR ( const TQString & text, int index = -1 )" .br .ti -1c -.BI "void \fBinsertItem\fR ( const QPixmap & pixmap, int index = -1 )" +.BI "void \fBinsertItem\fR ( const TQPixmap & pixmap, int index = -1 )" .br .ti -1c -.BI "void \fBinsertItem\fR ( const QPixmap & pixmap, const TQString & text, int index = -1 )" +.BI "void \fBinsertItem\fR ( const TQPixmap & pixmap, const TQString & text, int index = -1 )" .br .ti -1c .BI "void \fBremoveItem\fR ( int index )" @@ -58,7 +58,7 @@ Inherits QScrollView. .BI "TQString \fBtext\fR ( int index ) const" .br .ti -1c -.BI "const QPixmap * \fBpixmap\fR ( int index ) const" +.BI "const TQPixmap * \fBpixmap\fR ( int index ) const" .br .ti -1c .BI "void \fBchangeItem\fR ( const QListBoxItem * lbi, int index )" @@ -67,10 +67,10 @@ Inherits QScrollView. .BI "void \fBchangeItem\fR ( const TQString & text, int index )" .br .ti -1c -.BI "void \fBchangeItem\fR ( const QPixmap & pixmap, int index )" +.BI "void \fBchangeItem\fR ( const TQPixmap & pixmap, int index )" .br .ti -1c -.BI "void \fBchangeItem\fR ( const QPixmap & pixmap, const TQString & text, int index )" +.BI "void \fBchangeItem\fR ( const TQPixmap & pixmap, const TQString & text, int index )" .br .ti -1c .BI "void \fBtakeItem\fR ( const QListBoxItem * item )" @@ -238,10 +238,10 @@ Inherits QScrollView. .BI "int \fBitemHeight\fR ( int index = 0 ) const" .br .ti -1c -.BI "QListBoxItem * \fBitemAt\fR ( const QPoint & p ) const" +.BI "QListBoxItem * \fBitemAt\fR ( const TQPoint & p ) const" .br .ti -1c -.BI "QRect \fBitemRect\fR ( QListBoxItem * item ) const" +.BI "TQRect \fBitemRect\fR ( QListBoxItem * item ) const" .br .ti -1c .BI "QListBoxItem * \fBfirstItem\fR () const" @@ -301,13 +301,13 @@ Inherits QScrollView. .BI "void \fBclicked\fR ( QListBoxItem * item )" .br .ti -1c -.BI "void \fBclicked\fR ( QListBoxItem * item, const QPoint & pnt )" +.BI "void \fBclicked\fR ( QListBoxItem * item, const TQPoint & pnt )" .br .ti -1c .BI "void \fBpressed\fR ( QListBoxItem * item )" .br .ti -1c -.BI "void \fBpressed\fR ( QListBoxItem * item, const QPoint & pnt )" +.BI "void \fBpressed\fR ( QListBoxItem * item, const TQPoint & pnt )" .br .ti -1c .BI "void \fBdoubleClicked\fR ( QListBoxItem * item )" @@ -316,19 +316,19 @@ Inherits QScrollView. .BI "void \fBreturnPressed\fR ( QListBoxItem * )" .br .ti -1c -.BI "void \fBrightButtonClicked\fR ( QListBoxItem *, const QPoint & )" +.BI "void \fBrightButtonClicked\fR ( QListBoxItem *, const TQPoint & )" .br .ti -1c -.BI "void \fBrightButtonPressed\fR ( QListBoxItem *, const QPoint & )" +.BI "void \fBrightButtonPressed\fR ( QListBoxItem *, const TQPoint & )" .br .ti -1c -.BI "void \fBmouseButtonPressed\fR ( int button, QListBoxItem * item, const QPoint & pos )" +.BI "void \fBmouseButtonPressed\fR ( int button, QListBoxItem * item, const TQPoint & pos )" .br .ti -1c -.BI "void \fBmouseButtonClicked\fR ( int button, QListBoxItem * item, const QPoint & pos )" +.BI "void \fBmouseButtonClicked\fR ( int button, QListBoxItem * item, const TQPoint & pos )" .br .ti -1c -.BI "void \fBcontextMenuRequested\fR ( QListBoxItem * item, const QPoint & pos )" +.BI "void \fBcontextMenuRequested\fR ( QListBoxItem * item, const TQPoint & pos )" .br .ti -1c .BI "void \fBonItem\fR ( QListBoxItem * i )" @@ -543,7 +543,7 @@ Replaces the item at position \fIindex\fR with a new list box text item with tex The operation is ignored if \fIindex\fR is out of range. .PP See also insertItem() and removeItem(). -.SH "void QListBox::changeItem ( const QPixmap & pixmap, int index )" +.SH "void QListBox::changeItem ( const TQPixmap & pixmap, int index )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Replaces the item at position \fIindex\fR with a new list box pixmap item with pixmap \fIpixmap\fR. @@ -551,7 +551,7 @@ Replaces the item at position \fIindex\fR with a new list box pixmap item with p The operation is ignored if \fIindex\fR is out of range. .PP See also insertItem() and removeItem(). -.SH "void QListBox::changeItem ( const QPixmap & pixmap, const TQString & text, int index )" +.SH "void QListBox::changeItem ( const TQPixmap & pixmap, const TQString & text, int index )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Replaces the item at position \fIindex\fR with a new list box pixmap item with pixmap \fIpixmap\fR and text \fItext\fR. @@ -573,7 +573,7 @@ Example: listbox/listbox.cpp. This signal is emitted when the user clicks any mouse button. If \fIitem\fR is not 0, the cursor is on \fIitem\fR. If \fIitem\fR is 0, the mouse cursor isn't on any item. .PP Note that you must not delete any QListBoxItem objects in slots connected to this signal. -.SH "void QListBox::clicked ( QListBoxItem * item, const QPoint & pnt )\fC [signal]\fR" +.SH "void QListBox::clicked ( QListBoxItem * item, const TQPoint & pnt )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted when the user clicks any mouse button. If \fIitem\fR is not 0, the cursor is on \fIitem\fR. If \fIitem\fR is 0, the mouse cursor isn't on any item. @@ -583,7 +583,7 @@ This signal is emitted when the user clicks any mouse button. If \fIitem\fR is n Note that you must not delete any QListBoxItem objects in slots connected to this signal. .SH "LayoutMode QListBox::columnMode () const" Returns the column layout mode for this list box. See the "columnMode" property for details. -.SH "void QListBox::contextMenuRequested ( QListBoxItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void QListBox::contextMenuRequested ( QListBoxItem * item, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user invokes a context menu with the right mouse button or with special system keys, with \fIitem\fR being the item under the mouse cursor or the current item, respectively. .PP \fIpos\fR is the position for the context menu in the global coordinate system. @@ -680,7 +680,7 @@ Inserts a new list box text item with the text \fItext\fR into the list at posit If \fIindex\fR is negative, \fItext\fR is inserted at the end of the list. .PP See also insertStrList(). -.SH "void QListBox::insertItem ( const QPixmap & pixmap, int index = -1 )" +.SH "void QListBox::insertItem ( const TQPixmap & pixmap, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a new list box pixmap item with the pixmap \fIpixmap\fR into the list at position \fIindex\fR. @@ -688,7 +688,7 @@ Inserts a new list box pixmap item with the pixmap \fIpixmap\fR into the list at If \fIindex\fR is negative, \fIpixmap\fR is inserted at the end of the list. .PP See also insertStrList(). -.SH "void QListBox::insertItem ( const QPixmap & pixmap, const TQString & text, int index = -1 )" +.SH "void QListBox::insertItem ( const TQPixmap & pixmap, const TQString & text, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a new list box pixmap item with the pixmap \fIpixmap\fR and the text \fItext\fR into the list at position \fIindex\fR. @@ -756,7 +756,7 @@ Returns a pointer to the item at position \fIindex\fR, or 0 if \fIindex\fR is ou See also index(). .PP Example: listboxcombo/listboxcombo.cpp. -.SH "QListBoxItem * QListBox::itemAt ( const QPoint & p ) const" +.SH "QListBoxItem * QListBox::itemAt ( const TQPoint & p ) const" Returns the item at point \fIp\fR, specified in viewport coordinates, or a 0 if there is no item at \fIp\fR. .PP Use contentsToViewport() to convert between widget coordinates and viewport coordinates. @@ -764,7 +764,7 @@ Use contentsToViewport() to convert between widget coordinates and viewport coor Returns the height in pixels of the item with index \fIindex\fR. \fIindex\fR defaults to 0. .PP If \fIindex\fR is too large, this function returns 0. -.SH "QRect QListBox::itemRect ( QListBoxItem * item ) const" +.SH "TQRect QListBox::itemRect ( QListBoxItem * item ) const" Returns the rectangle on the screen that \fIitem\fR occupies in viewport()'s coordinates, or an invalid rectangle if \fIitem\fR is 0 or is not currently visible. .SH "bool QListBox::itemVisible ( int index )" Returns TRUE if the item at position \fIindex\fR is at least partly visible; otherwise returns FALSE. @@ -778,13 +778,13 @@ Returns TRUE if \fIitem\fR is at least partly visible; otherwise returns FALSE. Returns the vertical pixel-coordinate in \fI*yPos\fR, of the list box item at position \fIindex\fR in the list. Returns FALSE if the item is outside the visible area. .SH "long QListBox::maxItemWidth () const" Returns the width of the widest item in the list box. -.SH "void QListBox::mouseButtonClicked ( int button, QListBoxItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void QListBox::mouseButtonClicked ( int button, QListBoxItem * item, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user clicks mouse button \fIbutton\fR. If \fIitem\fR is not 0, the cursor is on \fIitem\fR. If \fIitem\fR is 0, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differs by a pixel or two, \fIpos\fR is the position at release time.) .PP Note that you must not delete any QListBoxItem objects in slots connected to this signal. -.SH "void QListBox::mouseButtonPressed ( int button, QListBoxItem * item, const QPoint & pos )\fC [signal]\fR" +.SH "void QListBox::mouseButtonPressed ( int button, QListBoxItem * item, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user presses mouse button \fIbutton\fR. If \fIitem\fR is not 0, the cursor is on \fIitem\fR. If \fIitem\fR is 0, the mouse cursor isn't on any item. .PP \fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). @@ -810,7 +810,7 @@ This signal is emitted when the user moves the mouse cursor from an item to an e Provided for compatibility with the old QListBox. We recommend using QListBoxItem::paint() instead. .PP Repaints the cell at \fIrow\fR, \fIcol\fR using painter \fIp\fR. -.SH "const QPixmap * QListBox::pixmap ( int index ) const" +.SH "const TQPixmap * QListBox::pixmap ( int index ) const" Returns a pointer to the pixmap at position \fIindex\fR, or 0 if there is no pixmap there. .PP See also text(). @@ -818,7 +818,7 @@ See also text(). This signal is emitted when the user presses any mouse button. If \fIitem\fR is not 0, the cursor is on \fIitem\fR. If \fIitem\fR is 0, the mouse cursor isn't on any item. .PP Note that you must not delete any QListBoxItem objects in slots connected to this signal. -.SH "void QListBox::pressed ( QListBoxItem * item, const QPoint & pnt )\fC [signal]\fR" +.SH "void QListBox::pressed ( QListBoxItem * item, const TQPoint & pnt )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted when the user presses any mouse button. If \fIitem\fR is not 0, the cursor is on \fIitem\fR. If \fIitem\fR is 0, the mouse cursor isn't on any item. @@ -834,9 +834,9 @@ Removes and deletes the item at position \fIindex\fR. If \fIindex\fR is equal to See also insertItem() and clear(). .SH "void QListBox::returnPressed ( QListBoxItem * )\fC [signal]\fR" This signal is emitted when Enter or Return is pressed. The argument is currentItem(). -.SH "void QListBox::rightButtonClicked ( QListBoxItem *, const QPoint & )\fC [signal]\fR" +.SH "void QListBox::rightButtonClicked ( QListBoxItem *, const TQPoint & )\fC [signal]\fR" This signal is emitted when the right button is clicked (i.e. when it's released at the same point where it was pressed). The arguments are the relevant QListBoxItem (may be 0) and the point in global coordinates. -.SH "void QListBox::rightButtonPressed ( QListBoxItem *, const QPoint & )\fC [signal]\fR" +.SH "void QListBox::rightButtonPressed ( QListBoxItem *, const TQPoint & )\fC [signal]\fR" This signal is emitted when the right button is pressed. The arguments are the relevant QListBoxItem (may be 0) and the point in global coordinates. .SH "LayoutMode QListBox::rowMode () const" Returns the row layout mode for this list box. See the "rowMode" property for details. diff --git a/doc/man/man3/tqlistboxitem.3qt b/doc/man/man3/tqlistboxitem.3qt index 60c214497..98d89407e 100644 --- a/doc/man/man3/tqlistboxitem.3qt +++ b/doc/man/man3/tqlistboxitem.3qt @@ -28,7 +28,7 @@ Inherited by QListBoxText and QListBoxPixmap. .BI "virtual TQString \fBtext\fR () const" .br .ti -1c -.BI "virtual const QPixmap * \fBpixmap\fR () const" +.BI "virtual const TQPixmap * \fBpixmap\fR () const" .br .ti -1c .BI "virtual int \fBheight\fR ( const QListBox * lb ) const" @@ -130,7 +130,7 @@ See also height() and width(). Example: listboxcombo/listboxcombo.cpp. .PP Reimplemented in QListBoxText and QListBoxPixmap. -.SH "const QPixmap * QListBoxItem::pixmap () const\fC [virtual]\fR" +.SH "const TQPixmap * QListBoxItem::pixmap () const\fC [virtual]\fR" Returns the pixmap associated with the item, or 0 if there isn't one. .PP The default implementation returns 0. diff --git a/doc/man/man3/tqlistboxpixmap.3qt b/doc/man/man3/tqlistboxpixmap.3qt index 30e27953e..a1770ef47 100644 --- a/doc/man/man3/tqlistboxpixmap.3qt +++ b/doc/man/man3/tqlistboxpixmap.3qt @@ -16,28 +16,28 @@ Inherits QListBoxItem. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQListBoxPixmap\fR ( QListBox * listbox, const QPixmap & pixmap )" +.BI "\fBQListBoxPixmap\fR ( QListBox * listbox, const TQPixmap & pixmap )" .br .ti -1c -.BI "\fBQListBoxPixmap\fR ( const QPixmap & pixmap )" +.BI "\fBQListBoxPixmap\fR ( const TQPixmap & pixmap )" .br .ti -1c -.BI "\fBQListBoxPixmap\fR ( QListBox * listbox, const QPixmap & pixmap, QListBoxItem * after )" +.BI "\fBQListBoxPixmap\fR ( QListBox * listbox, const TQPixmap & pixmap, QListBoxItem * after )" .br .ti -1c -.BI "\fBQListBoxPixmap\fR ( QListBox * listbox, const QPixmap & pix, const TQString & text )" +.BI "\fBQListBoxPixmap\fR ( QListBox * listbox, const TQPixmap & pix, const TQString & text )" .br .ti -1c -.BI "\fBQListBoxPixmap\fR ( const QPixmap & pix, const TQString & text )" +.BI "\fBQListBoxPixmap\fR ( const TQPixmap & pix, const TQString & text )" .br .ti -1c -.BI "\fBQListBoxPixmap\fR ( QListBox * listbox, const QPixmap & pix, const TQString & text, QListBoxItem * after )" +.BI "\fBQListBoxPixmap\fR ( QListBox * listbox, const TQPixmap & pix, const TQString & text, QListBoxItem * after )" .br .ti -1c .BI "\fB~QListBoxPixmap\fR ()" .br .ti -1c -.BI "virtual const QPixmap * \fBpixmap\fR () const" +.BI "virtual const TQPixmap * \fBpixmap\fR () const" .br .ti -1c .BI "virtual int \fBheight\fR ( const QListBox * lb ) const" @@ -59,17 +59,17 @@ Items of this class are drawn with the pixmap on the left with the optional text .PP See also QListBox, QListBoxItem, and Advanced Widgets. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const QPixmap & pixmap )" +.SH "QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const TQPixmap & pixmap )" Constructs a new list box item in list box \fIlistbox\fR showing the pixmap \fIpixmap\fR. -.SH "QListBoxPixmap::QListBoxPixmap ( const QPixmap & pixmap )" +.SH "QListBoxPixmap::QListBoxPixmap ( const TQPixmap & pixmap )" Constructs a new list box item showing the pixmap \fIpixmap\fR. -.SH "QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const QPixmap & pixmap, QListBoxItem * after )" +.SH "QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const TQPixmap & pixmap, QListBoxItem * after )" Constructs a new list box item in list box \fIlistbox\fR showing the pixmap \fIpixmap\fR. The item gets inserted after the item \fIafter\fR, or at the beginning if \fIafter\fR is 0. -.SH "QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const QPixmap & pix, const TQString & text )" +.SH "QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const TQPixmap & pix, const TQString & text )" Constructs a new list box item in list box \fIlistbox\fR showing the pixmap \fIpix\fR and the text \fItext\fR. -.SH "QListBoxPixmap::QListBoxPixmap ( const QPixmap & pix, const TQString & text )" +.SH "QListBoxPixmap::QListBoxPixmap ( const TQPixmap & pix, const TQString & text )" Constructs a new list box item showing the pixmap \fIpix\fR and the text to \fItext\fR. -.SH "QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const QPixmap & pix, const TQString & text, QListBoxItem * after )" +.SH "QListBoxPixmap::QListBoxPixmap ( QListBox * listbox, const TQPixmap & pix, const TQString & text, QListBoxItem * after )" Constructs a new list box item in list box \fIlistbox\fR showing the pixmap \fIpix\fR and the string \fItext\fR. The item gets inserted after the item \fIafter\fR, or at the beginning if \fIafter\fR is 0. .SH "QListBoxPixmap::~QListBoxPixmap ()" Destroys the item. @@ -83,7 +83,7 @@ Reimplemented from QListBoxItem. Draws the pixmap using \fIpainter\fR. .PP Reimplemented from QListBoxItem. -.SH "const QPixmap * QListBoxPixmap::pixmap () const\fC [virtual]\fR" +.SH "const TQPixmap * QListBoxPixmap::pixmap () const\fC [virtual]\fR" Returns the pixmap associated with the item. .PP Reimplemented from QListBoxItem. diff --git a/doc/man/man3/tqlistview.3qt b/doc/man/man3/tqlistview.3qt index 37afa419d..f22c82ce8 100644 --- a/doc/man/man3/tqlistview.3qt +++ b/doc/man/man3/tqlistview.3qt @@ -82,10 +82,10 @@ Inherits QScrollView. .BI "int \fBcolumnAlignment\fR ( int column ) const" .br .ti -1c -.BI "QListViewItem * \fBitemAt\fR ( const QPoint & viewPos ) const" +.BI "QListViewItem * \fBitemAt\fR ( const TQPoint & viewPos ) const" .br .ti -1c -.BI "QRect \fBitemRect\fR ( const QListViewItem * i ) const" +.BI "TQRect \fBitemRect\fR ( const QListViewItem * i ) const" .br .ti -1c .BI "int \fBitemPos\fR ( const QListViewItem * item )" @@ -259,19 +259,19 @@ Inherits QScrollView. .BI "void \fBclicked\fR ( QListViewItem * item )" .br .ti -1c -.BI "void \fBclicked\fR ( QListViewItem * item, const QPoint & pnt, int c )" +.BI "void \fBclicked\fR ( QListViewItem * item, const TQPoint & pnt, int c )" .br .ti -1c .BI "void \fBpressed\fR ( QListViewItem * item )" .br .ti -1c -.BI "void \fBpressed\fR ( QListViewItem * item, const QPoint & pnt, int c )" +.BI "void \fBpressed\fR ( QListViewItem * item, const TQPoint & pnt, int c )" .br .ti -1c .BI "void doubleClicked ( QListViewItem * item ) \fI(obsolete)\fR" .br .ti -1c -.BI "void \fBdoubleClicked\fR ( QListViewItem *, const QPoint &, int )" +.BI "void \fBdoubleClicked\fR ( QListViewItem *, const TQPoint &, int )" .br .ti -1c .BI "void \fBreturnPressed\fR ( QListViewItem * )" @@ -280,19 +280,19 @@ Inherits QScrollView. .BI "void \fBspacePressed\fR ( QListViewItem * )" .br .ti -1c -.BI "void \fBrightButtonClicked\fR ( QListViewItem *, const QPoint &, int )" +.BI "void \fBrightButtonClicked\fR ( QListViewItem *, const TQPoint &, int )" .br .ti -1c -.BI "void \fBrightButtonPressed\fR ( QListViewItem *, const QPoint &, int )" +.BI "void \fBrightButtonPressed\fR ( QListViewItem *, const TQPoint &, int )" .br .ti -1c -.BI "void \fBmouseButtonPressed\fR ( int button, QListViewItem * item, const QPoint & pos, int c )" +.BI "void \fBmouseButtonPressed\fR ( int button, QListViewItem * item, const TQPoint & pos, int c )" .br .ti -1c -.BI "void \fBmouseButtonClicked\fR ( int button, QListViewItem * item, const QPoint & pos, int c )" +.BI "void \fBmouseButtonClicked\fR ( int button, QListViewItem * item, const TQPoint & pos, int c )" .br .ti -1c -.BI "void \fBcontextMenuRequested\fR ( QListViewItem * item, const QPoint & pos, int col )" +.BI "void \fBcontextMenuRequested\fR ( QListViewItem * item, const TQPoint & pos, int col )" .br .ti -1c .BI "void \fBonItem\fR ( QListViewItem * i )" @@ -382,7 +382,7 @@ Inherits QScrollView. .BI "virtual void \fBdrawContentsOffset\fR ( TQPainter * p, int ox, int oy, int cx, int cy, int cw, int ch )" .br .ti -1c -.BI "virtual void \fBpaintEmptyArea\fR ( TQPainter * p, const QRect & rect )" +.BI "virtual void \fBpaintEmptyArea\fR ( TQPainter * p, const TQRect & rect )" .br .in -1c .SS "Protected Slots" @@ -450,7 +450,7 @@ There are a variety of selection modes described in the QListView::SelectionMode .PP Because QListView offers multiple selection it must display keyboard focus and selection state separately. Therefore there are functions both to set the selection state of an item (setSelected()) and to set which item displays keyboard focus (setCurrentItem()). .PP -QListView emits two groups of signals; one group signals changes in selection/focus state and one indicates selection. The first group consists of selectionChanged() (applicable to all list views), selectionChanged(QListViewItem*) (applicable only to a Single selection list view), and currentChanged(QListViewItem*). The second group consists of doubleClicked(QListViewItem*), returnPressed(QListViewItem*), rightButtonClicked(QListViewItem*, const QPoint&, int), etc. +QListView emits two groups of signals; one group signals changes in selection/focus state and one indicates selection. The first group consists of selectionChanged() (applicable to all list views), selectionChanged(QListViewItem*) (applicable only to a Single selection list view), and currentChanged(QListViewItem*). The second group consists of doubleClicked(QListViewItem*), returnPressed(QListViewItem*), rightButtonClicked(QListViewItem*, const TQPoint&, int), etc. .PP Note that changing the state of the list view in a slot connected to a list view signal may cause unexpected side effects. If you need to change the list view's state in response to a signal, use a single shot timer with a time out of 0, and connect this timer to a slot that modifies the list view's state. .PP @@ -567,7 +567,7 @@ This signal is emitted whenever the user clicks (mouse pressed \fIand\fR mouse r \fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal. .PP Example: addressbook/centralwidget.cpp. -.SH "void QListView::clicked ( QListViewItem * item, const QPoint & pnt, int c )\fC [signal]\fR" +.SH "void QListView::clicked ( QListViewItem * item, const TQPoint & pnt, int c )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted whenever the user clicks (mouse pressed \fIand\fR mouse released) in the list view. \fIitem\fR is the clicked list view item, or 0 if the user didn't click on an item. \fIpnt\fR is the position where the user has clicked in global coordinates. If \fIitem\fR is not 0, \fIc\fR is the list view column into which the user pressed; if \fIitem\fR is 0 \fIc\fR's value is undefined. @@ -617,7 +617,7 @@ Processes the mouse release event \fIe\fR on behalf of the viewed widget. Example: dirview/dirview.cpp. .PP Reimplemented from QScrollView. -.SH "void QListView::contextMenuRequested ( QListViewItem * item, const QPoint & pos, int col )\fC [signal]\fR" +.SH "void QListView::contextMenuRequested ( QListViewItem * item, const TQPoint & pos, int col )\fC [signal]\fR" This signal is emitted when the user invokes a context menu with the right mouse button or with special system keys. If the keyboard was used \fIitem\fR is the current item; if the mouse was used, \fIitem\fR is the item under the mouse pointer or 0 if there is no item under the mouse pointer. If no item is clicked, the column index emitted is -1. .PP \fIpos\fR is the position for the context menu in the global coordinate system. @@ -646,12 +646,12 @@ Examples: Returns what action to perform when the editor loses focus during renaming. See the "defaultRenameAction" property for details. .SH "void QListView::doAutoScroll ()\fC [protected slot]\fR" This slot handles auto-scrolling when the mouse button is pressed and the mouse is outside the widget. -.SH "void QListView::doubleClicked ( QListViewItem *, const QPoint &, int )\fC [signal]\fR" +.SH "void QListView::doubleClicked ( QListViewItem *, const TQPoint &, int )\fC [signal]\fR" This signal is emitted whenever an item is double-clicked. It's emitted on the second button press, not the second button release. The arguments are the relevant QListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list). .PP \fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal. .SH "void QListView::doubleClicked ( QListViewItem * item )\fC [signal]\fR" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. (use doubleClicked( QListViewItem *, const QPoint&, int )) +\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. (use doubleClicked( QListViewItem *, const TQPoint&, int )) .PP This signal is emitted whenever an item is double-clicked. It's emitted on the second button press, not the second button release. \fIitem\fR is the list view item on which the user did the double-click. .SH "TQDragObject * QListView::dragObject ()\fC [virtual protected]\fR" @@ -720,7 +720,7 @@ Returns TRUE if an item is being renamed; otherwise returns FALSE. Returns TRUE if the list view item \fIi\fR is selected; otherwise returns FALSE. .PP See also QListViewItem::isSelected(). -.SH "QListViewItem * QListView::itemAt ( const QPoint & viewPos ) const" +.SH "QListViewItem * QListView::itemAt ( const TQPoint & viewPos ) const" Returns the list view item at \fIviewPos\fR. Note that \fIviewPos\fR is in the viewport()'s coordinate system, not in the list view's own, much larger, coordinate system. .PP itemAt() returns 0 if there is no such item. @@ -760,14 +760,14 @@ Returns the y-coordinate of \fIitem\fR in the list view's coordinate system. Thi This is a thin wrapper around QListViewItem::itemPos(). .PP See also itemAt() and itemRect(). -.SH "QRect QListView::itemRect ( const QListViewItem * i ) const" +.SH "TQRect QListView::itemRect ( const QListViewItem * i ) const" Returns the rectangle on the screen that item \fIi\fR occupies in viewport()'s coordinates, or an invalid rectangle if \fIi\fR is 0 or is not currently visible. .PP The rectangle returned does not include any children of the rectangle (i.e. it uses QListViewItem::height(), rather than QListViewItem::totalHeight()). If you want the rectangle to include children you can use something like this: .PP .nf .br - QRect r( listView->itemRect( item ) ); + TQRect r( listView->itemRect( item ) ); .br r.setHeight( (QCOORD)(TQMIN( item->totalHeight(), .br @@ -792,11 +792,11 @@ See also QListViewItem::setRenameEnabled(). Returns the last item in the list view tree. Returns 0 if there are no items in the QListView. .PP This function is slow because it traverses the entire tree to find the last item. -.SH "void QListView::mouseButtonClicked ( int button, QListViewItem * item, const QPoint & pos, int c )\fC [signal]\fR" +.SH "void QListView::mouseButtonClicked ( int button, QListViewItem * item, const TQPoint & pos, int c )\fC [signal]\fR" This signal is emitted whenever the user clicks (mouse pressed \fIand\fR mouse released) in the list view at position \fIpos\fR. \fIbutton\fR is the mouse button that the user pressed, \fIitem\fR is the clicked list view item or 0 if the user didn't click on an item. If \fIitem\fR is not 0, \fIc\fR is the list view column into which the user pressed; if \fIitem\fR is 0 \fIc\fR's value is undefined. .PP \fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal. -.SH "void QListView::mouseButtonPressed ( int button, QListViewItem * item, const QPoint & pos, int c )\fC [signal]\fR" +.SH "void QListView::mouseButtonPressed ( int button, QListViewItem * item, const TQPoint & pos, int c )\fC [signal]\fR" This signal is emitted whenever the user pressed the mouse button in the list view at position \fIpos\fR. \fIbutton\fR is the mouse button which the user pressed, \fIitem\fR is the pressed list view item or 0 if the user didn't press on an item. If \fIitem\fR is not 0, \fIc\fR is the list view column into which the user pressed; if \fIitem\fR is 0 \fIc\fR's value is undefined. .PP \fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal. @@ -804,7 +804,7 @@ This signal is emitted whenever the user pressed the mouse button in the list vi This signal is emitted when the user moves the mouse cursor onto item \fIi\fR, similar to the TQWidget::enterEvent() function. .SH "void QListView::onViewport ()\fC [signal]\fR" This signal is emitted when the user moves the mouse cursor from an item to an empty part of the list view. -.SH "void QListView::paintEmptyArea ( TQPainter * p, const QRect & rect )\fC [virtual protected]\fR" +.SH "void QListView::paintEmptyArea ( TQPainter * p, const TQRect & rect )\fC [virtual protected]\fR" Paints \fIrect\fR so that it looks like empty background using painter \fIp\fR. \fIrect\fR is in widget coordinates, ready to be fed to \fIp\fR. .PP The default function fills \fIrect\fR with the viewport()->backgroundBrush(). @@ -812,7 +812,7 @@ The default function fills \fIrect\fR with the viewport()->backgroundBrush(). This signal is emitted whenever the user presses the mouse button in a list view. \fIitem\fR is the list view item on which the user pressed the mouse button, or 0 if the user didn't press the mouse on an item. .PP \fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal. -.SH "void QListView::pressed ( QListViewItem * item, const QPoint & pnt, int c )\fC [signal]\fR" +.SH "void QListView::pressed ( QListViewItem * item, const TQPoint & pnt, int c )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted whenever the user presses the mouse button in a list view. \fIitem\fR is the list view item on which the user pressed the mouse button, or 0 if the user didn't press the mouse on an item. \fIpnt\fR is the position of the mouse cursor in global coordinates, and \fIc\fR is the column where the mouse cursor was when the user pressed the mouse button. @@ -836,9 +836,9 @@ Ensures that the header is correctly sized and positioned when the resize event Returns TRUE if all, none or the only the last column should be resized; otherwise returns FALSE. See the "resizeMode" property for details. .SH "void QListView::returnPressed ( QListViewItem * )\fC [signal]\fR" This signal is emitted when Enter or Return is pressed. The argument is the currentItem(). -.SH "void QListView::rightButtonClicked ( QListViewItem *, const QPoint &, int )\fC [signal]\fR" +.SH "void QListView::rightButtonClicked ( QListViewItem *, const TQPoint &, int )\fC [signal]\fR" This signal is emitted when the right button is clicked (i.e. when it's released). The arguments are the relevant QListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list). -.SH "void QListView::rightButtonPressed ( QListViewItem *, const QPoint &, int )\fC [signal]\fR" +.SH "void QListView::rightButtonPressed ( QListViewItem *, const TQPoint &, int )\fC [signal]\fR" This signal is emitted when the right button is pressed. The arguments are the relevant QListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list). .SH "bool QListView::rootIsDecorated () const" Returns TRUE if the list view shows open/close signs on root items; otherwise returns FALSE. See the "rootIsDecorated" property for details. diff --git a/doc/man/man3/tqlistviewitem.3qt b/doc/man/man3/tqlistviewitem.3qt index 5b46ae97a..a432851df 100644 --- a/doc/man/man3/tqlistviewitem.3qt +++ b/doc/man/man3/tqlistviewitem.3qt @@ -78,10 +78,10 @@ Inherited by QCheckListItem. .BI "virtual TQString \fBtext\fR ( int column ) const" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( int column, const QPixmap & pm )" +.BI "virtual void \fBsetPixmap\fR ( int column, const TQPixmap & pm )" .br .ti -1c -.BI "virtual const QPixmap * \fBpixmap\fR ( int column ) const" +.BI "virtual const TQPixmap * \fBpixmap\fR ( int column ) const" .br .ti -1c .BI "virtual TQString \fBkey\fR ( int column, bool ascending ) const" @@ -117,7 +117,7 @@ Inherited by QCheckListItem. .BI "virtual void \fBpaintBranches\fR ( TQPainter * p, const TQColorGroup & cg, int w, int y, int h )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQColorGroup & cg, const QRect & r )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQColorGroup & cg, const TQRect & r )" .br .ti -1c .BI "QListViewItem * \fBfirstChild\fR () const" @@ -219,7 +219,7 @@ Inherited by QCheckListItem. .BI "virtual void \fBactivate\fR ()" .br .ti -1c -.BI "bool \fBactivatedPos\fR ( QPoint & pos )" +.BI "bool \fBactivatedPos\fR ( TQPoint & pos )" .br .ti -1c .BI "virtual void \fBdropped\fR ( TQDropEvent * e )" @@ -356,7 +356,7 @@ This virtual function is called whenever the user presses the mouse on this item See also activatedPos(). .PP Reimplemented in QCheckListItem. -.SH "bool QListViewItem::activatedPos ( QPoint & pos )\fC [protected]\fR" +.SH "bool QListViewItem::activatedPos ( TQPoint & pos )\fC [protected]\fR" When called from a reimplementation of activate(), this function gives information on how the item was activated. Otherwise the behavior is undefined. .PP If activate() was caused by a mouse press, the function sets \fIpos\fR to where the user clicked and returns TRUE; otherwise it returns FALSE and does not change \fIpos\fR. @@ -539,7 +539,7 @@ See also paintBranches() and QListView::drawContentsOffset(). Example: listviews/listviews.cpp. .PP Reimplemented in QCheckListItem. -.SH "void QListViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const QRect & r )\fC [virtual]\fR" +.SH "void QListViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r )\fC [virtual]\fR" Paints a focus indicator on the rectangle \fIr\fR using painter \fIp\fR and colors \fIcg\fR. .PP \fIp\fR is already clipped. @@ -554,7 +554,7 @@ See also firstChild() and nextSibling(). .PP Examples: .)l dirview/dirview.cpp and qutlook/centralwidget.cpp. -.SH "const QPixmap * QListViewItem::pixmap ( int column ) const\fC [virtual]\fR" +.SH "const TQPixmap * QListViewItem::pixmap ( int column ) const\fC [virtual]\fR" Returns the pixmap for \fIcolumn\fR, or 0 if there is no pixmap for \fIcolumn\fR. .PP See also setText() and setPixmap(). @@ -609,7 +609,7 @@ See also height(), totalHeight(), and isOpen(). .PP Examples: .)l checklists/checklists.cpp, dirview/dirview.cpp, dirview/main.cpp, fileiconview/mainwindow.cpp, and xml/tagreader-with-features/structureparser.cpp. -.SH "void QListViewItem::setPixmap ( int column, const QPixmap & pm )\fC [virtual]\fR" +.SH "void QListViewItem::setPixmap ( int column, const TQPixmap & pm )\fC [virtual]\fR" Sets the pixmap in column \fIcolumn\fR to \fIpm\fR, if \fIpm\fR is non-null and different from the current pixmap, and if \fIcolumn\fR is non-negative. .PP See also pixmap() and setText(). diff --git a/doc/man/man3/tqmainwindow.3qt b/doc/man/man3/tqmainwindow.3qt index 5ccd2c217..191d948d7 100644 --- a/doc/man/man3/tqmainwindow.3qt +++ b/doc/man/man3/tqmainwindow.3qt @@ -229,7 +229,7 @@ Inherits TQWidget. .BI "virtual void \fBsetUpLayout\fR ()" .br .ti -1c -.BI "virtual bool \fBshowDockMenu\fR ( const QPoint & globalPos )" +.BI "virtual bool \fBshowDockMenu\fR ( const TQPoint & globalPos )" .br .ti -1c .BI "void \fBmenuAboutToShow\fR ()" @@ -332,7 +332,7 @@ Often we want to synchronize a toolbar button with a menu item. For example, if .PP .nf .br - fileOpenAction = new TQAction( QPixmap( fileopen ), "&Open...", + fileOpenAction = new TQAction( TQPixmap( fileopen ), "&Open...", .br CTRL+Key_O, this, "open" ); .br @@ -708,7 +708,7 @@ Sets up the geometry management of the window. It is called automatically when n Sets whether big pixmaps are enabled. See the "usesBigPixmaps" property for details. .SH "void TQMainWindow::setUsesTextLabel ( bool )\fC [virtual slot]\fR" Sets whether text labels for toolbar buttons are enabled. See the "usesTextLabel" property for details. -.SH "bool TQMainWindow::showDockMenu ( const QPoint & globalPos )\fC [virtual protected slot]\fR" +.SH "bool TQMainWindow::showDockMenu ( const TQPoint & globalPos )\fC [virtual protected slot]\fR" Shows the dock menu at the position \fIglobalPos\fR. The menu lists the dock windows so that they can be shown (or hidden), lined up, and possibly customized. Returns TRUE if the menu is shown; otherwise returns FALSE. .PP If you want a custom menu, reimplement this function. You can create the menu from scratch or call createDockWindowMenu() and modify the result. diff --git a/doc/man/man3/tqmemarray.3qt b/doc/man/man3/tqmemarray.3qt index 27b4f7cbb..5274cd480 100644 --- a/doc/man/man3/tqmemarray.3qt +++ b/doc/man/man3/tqmemarray.3qt @@ -13,7 +13,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .PP \fC#include <tqmemarray.h>\fR .PP -Inherited by TQByteArray and QPointArray. +Inherited by TQByteArray and TQPointArray. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqmenubar.3qt b/doc/man/man3/tqmenubar.3qt index 9cf7c3c2d..b296e0da6 100644 --- a/doc/man/man3/tqmenubar.3qt +++ b/doc/man/man3/tqmenubar.3qt @@ -64,10 +64,10 @@ Inherits QFrame and TQMenuData. .BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )" @@ -82,16 +82,16 @@ Inherits QFrame and TQMenuData. .BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )" @@ -316,7 +316,7 @@ If you need to translate accelerators, use tr() with the text and accelerator. ( .PP In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. .PP -Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. +Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a TQPixmap object instead. .PP The \fIid\fR specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative value will make TQt select a unique id for the item. .PP @@ -342,22 +342,22 @@ Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\ Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqnamespace.h. -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP @@ -398,17 +398,17 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -416,7 +416,7 @@ Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. @@ -426,7 +426,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. diff --git a/doc/man/man3/tqmenudata.3qt b/doc/man/man3/tqmenudata.3qt index 5b1144a68..8c092dd88 100644 --- a/doc/man/man3/tqmenudata.3qt +++ b/doc/man/man3/tqmenudata.3qt @@ -31,10 +31,10 @@ Inherited by TQMenuBar and TQPopupMenu. .BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )" @@ -49,16 +49,16 @@ Inherited by TQMenuBar and TQPopupMenu. .BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )" @@ -94,7 +94,7 @@ Inherited by TQMenuBar and TQPopupMenu. .BI "TQString \fBtext\fR ( int id ) const" .br .ti -1c -.BI "QPixmap * \fBpixmap\fR ( int id ) const" +.BI "TQPixmap * \fBpixmap\fR ( int id ) const" .br .ti -1c .BI "void \fBsetWhatsThis\fR ( int id, const TQString & text )" @@ -106,19 +106,19 @@ Inherited by TQMenuBar and TQPopupMenu. .BI "void \fBchangeItem\fR ( int id, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQPixmap & pixmap )" .br .ti -1c .BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQPixmap & pixmap )" .br .ti -1c .BI "void changeItem ( const TQString & text, int id ) \fI(obsolete)\fR" .br .ti -1c -.BI "void changeItem ( const QPixmap & pixmap, int id ) \fI(obsolete)\fR" +.BI "void changeItem ( const TQPixmap & pixmap, int id ) \fI(obsolete)\fR" .br .ti -1c .BI "void changeItem ( const TQIconSet & icon, const TQString & text, int id ) \fI(obsolete)\fR" @@ -226,7 +226,7 @@ If the index is invalid (for example, -1), the object itself is deactivated. Changes the text of the menu item \fIid\fR to \fItext\fR. If the item has an icon, the icon remains unchanged. .PP See also text(). -.SH "void TQMenuData::changeItem ( int id, const QPixmap & pixmap )" +.SH "void TQMenuData::changeItem ( int id, const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the pixmap of the menu item \fIid\fR to the pixmap \fIpixmap\fR. If the item has an icon, the icon is unchanged. @@ -238,7 +238,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Changes the iconset and text of the menu item \fIid\fR to the \fIicon\fR and \fItext\fR respectively. .PP See also pixmap(). -.SH "void TQMenuData::changeItem ( int id, const TQIconSet & icon, const QPixmap & pixmap )" +.SH "void TQMenuData::changeItem ( int id, const TQIconSet & icon, const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the iconset and pixmap of the menu item \fIid\fR to \fIicon\fR and \fIpixmap\fR respectively. @@ -250,7 +250,7 @@ See also pixmap(). Changes the text of the menu item \fIid\fR. If the item has an icon, the icon remains unchanged. .PP See also text(). -.SH "void TQMenuData::changeItem ( const QPixmap & pixmap, int id )" +.SH "void TQMenuData::changeItem ( const TQPixmap & pixmap, int id )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Changes the pixmap of the menu item \fIid\fR. If the item has an icon, the icon remains unchanged. @@ -356,7 +356,7 @@ If you need to translate accelerators, use tr() with the text and accelerator. ( .PP In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. .PP -Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. +Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a TQPixmap object instead. .PP The \fIid\fR specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative value will make TQt select a unique id for the item. .PP @@ -382,22 +382,22 @@ Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\ Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqnamespace.h. -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP @@ -438,17 +438,17 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -456,7 +456,7 @@ Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. @@ -466,7 +466,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -570,7 +570,7 @@ Virtual function; notifies subclasses that a popup menu item has been inserted. Virtual function; notifies subclasses that one or more items have changed state (enabled/disabled or checked/unchecked). .PP Reimplemented in TQMenuBar. -.SH "QPixmap * TQMenuData::pixmap ( int id ) const" +.SH "TQPixmap * TQMenuData::pixmap ( int id ) const" Returns the pixmap that has been set for menu item \fIid\fR, or 0 if no pixmap has been set. .PP See also changeItem(), text(), and iconSet(). diff --git a/doc/man/man3/tqmessagebox.3qt b/doc/man/man3/tqmessagebox.3qt index 62acce77a..0349f029d 100644 --- a/doc/man/man3/tqmessagebox.3qt +++ b/doc/man/man3/tqmessagebox.3qt @@ -40,10 +40,10 @@ Inherits QDialog. .BI "void \fBsetIcon\fR ( Icon )" .br .ti -1c -.BI "const QPixmap * \fBiconPixmap\fR () const" +.BI "const TQPixmap * \fBiconPixmap\fR () const" .br .ti -1c -.BI "void \fBsetIconPixmap\fR ( const QPixmap & )" +.BI "void \fBsetIconPixmap\fR ( const TQPixmap & )" .br .ti -1c .BI "TQString \fBbuttonText\fR ( int button ) const" @@ -100,10 +100,10 @@ Inherits QDialog. .BI "bool query ( const TQString & caption, const TQString & text, const TQString & yesButtonText = TQString::null, const TQString & noButtonText = TQString::null, TQWidget * parent = 0, const char * = 0 ) \fI(obsolete)\fR" .br .ti -1c -.BI "QPixmap standardIcon ( Icon icon, GUIStyle style ) \fI(obsolete)\fR" +.BI "TQPixmap standardIcon ( Icon icon, GUIStyle style ) \fI(obsolete)\fR" .br .ti -1c -.BI "QPixmap \fBstandardIcon\fR ( Icon icon )" +.BI "TQPixmap \fBstandardIcon\fR ( Icon icon )" .br .in -1c .SS "Properties" @@ -112,7 +112,7 @@ Inherits QDialog. .BI "Icon \fBicon\fR - the message box's icon" .br .ti -1c -.BI "QPixmap \fBiconPixmap\fR - the current icon" +.BI "TQPixmap \fBiconPixmap\fR - the current icon" .br .ti -1c .BI "TQString \fBtext\fR - the message box text to be displayed" @@ -408,7 +408,7 @@ Default - makes pressing Enter equivalent to clicking this button. Normally used .TP Escape - makes pressing Escape equivalent to clicking this button. Normally used with Abort, Cancel or similar. .PP -The text(), icon() and iconPixmap() functions provide access to the current text and pixmap of the message box. The setText(), setIcon() and setIconPixmap() let you change it. The difference between setIcon() and setIconPixmap() is that the former accepts a QMessageBox::Icon and can be used to set standard icons, whereas the latter accepts a QPixmap and can be used to set custom icons. +The text(), icon() and iconPixmap() functions provide access to the current text and pixmap of the message box. The setText(), setIcon() and setIconPixmap() let you change it. The difference between setIcon() and setIconPixmap() is that the former accepts a QMessageBox::Icon and can be used to set standard icons, whereas the latter accepts a TQPixmap and can be used to set custom icons. .PP setButtonText() and buttonText() provide access to the buttons. .PP @@ -604,7 +604,7 @@ If \fIparent\fR is 0, the message box becomes an application-global modal dialog See also information(), question(), and warning(). .SH "Icon QMessageBox::icon () const" Returns the message box's icon. See the "icon" property for details. -.SH "const QPixmap * QMessageBox::iconPixmap () const" +.SH "const TQPixmap * QMessageBox::iconPixmap () const" Returns the current icon. See the "iconPixmap" property for details. .SH "int QMessageBox::information ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1 = 0, int button2 = 0 )\fC [static]\fR" Opens an information message box with the caption \fIcaption\fR and the text \fItext\fR. The dialog may have up to three buttons. Each of the buttons, \fIbutton0\fR, \fIbutton1\fR and \fIbutton2\fR may be set to one of the following values: @@ -717,15 +717,15 @@ Sets the text of the message box button \fIbutton\fR to \fItext\fR. Setting the See also buttonText(). .SH "void QMessageBox::setIcon ( Icon )" Sets the message box's icon. See the "icon" property for details. -.SH "void QMessageBox::setIconPixmap ( const QPixmap & )" +.SH "void QMessageBox::setIconPixmap ( const TQPixmap & )" Sets the current icon. See the "iconPixmap" property for details. .SH "void QMessageBox::setText ( const TQString & )" Sets the message box text to be displayed. See the "text" property for details. .SH "void QMessageBox::setTextFormat ( TextFormat )" Sets the format of the text displayed by the message box. See the "textFormat" property for details. -.SH "QPixmap QMessageBox::standardIcon ( Icon icon )\fC [static]\fR" +.SH "TQPixmap QMessageBox::standardIcon ( Icon icon )\fC [static]\fR" Returns the pixmap used for a standard icon. This allows the pixmaps to be used in more complex message boxes. \fIicon\fR specifies the required icon, e.g. QMessageBox::Question, QMessageBox::Information, QMessageBox::Warning or QMessageBox::Critical. -.SH "QPixmap QMessageBox::standardIcon ( Icon icon, GUIStyle style )\fC [static]\fR" +.SH "TQPixmap QMessageBox::standardIcon ( Icon icon, GUIStyle style )\fC [static]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Returns the pixmap used for a standard icon. This allows the pixmaps to be used in more complex message boxes. \fIicon\fR specifies the required icon, e.g. QMessageBox::Information, QMessageBox::Warning or QMessageBox::Critical. @@ -803,7 +803,7 @@ The actual pixmap used for displaying the icon depends on the current GUI style. See also iconPixmap. .PP Set this property's value with setIcon() and get this property's value with icon(). -.SH "QPixmap iconPixmap" +.SH "TQPixmap iconPixmap" This property holds the current icon. .PP The icon currently used by the message box. Note that it's often hard to draw one pixmap that looks appropriate in both Motif and Windows GUI styles; you may want to draw two pixmaps. diff --git a/doc/man/man3/tqmimesourcefactory.3qt b/doc/man/man3/tqmimesourcefactory.3qt index 2b5370533..c1f5db94c 100644 --- a/doc/man/man3/tqmimesourcefactory.3qt +++ b/doc/man/man3/tqmimesourcefactory.3qt @@ -35,7 +35,7 @@ TQMimeSourceFactory \- Extensible provider of mime-typed data .BI "virtual void \fBsetImage\fR ( const TQString & abs_name, const TQImage & image )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const TQString & abs_name, const QPixmap & pixmap )" +.BI "virtual void \fBsetPixmap\fR ( const TQString & abs_name, const TQPixmap & pixmap )" .br .ti -1c .BI "virtual void \fBsetData\fR ( const TQString & abs_name, TQMimeSource * data )" @@ -198,7 +198,7 @@ See also filePath(). Sets \fIimage\fR to be the data item associated with the absolute name \fIabs_name\fR. .PP Equivalent to setData(abs_name, new TQImageDrag(image)). -.SH "void TQMimeSourceFactory::setPixmap ( const TQString & abs_name, const QPixmap & pixmap )\fC [virtual]\fR" +.SH "void TQMimeSourceFactory::setPixmap ( const TQString & abs_name, const TQPixmap & pixmap )\fC [virtual]\fR" Sets \fIpixmap\fR to be the data item associated with the absolute name \fIabs_name\fR. .SH "void TQMimeSourceFactory::setText ( const TQString & abs_name, const TQString & text )\fC [virtual]\fR" Sets \fItext\fR to be the data item associated with the absolute name \fIabs_name\fR. diff --git a/doc/man/man3/tqmouseevent.3qt b/doc/man/man3/tqmouseevent.3qt index 134f3c250..9728913fe 100644 --- a/doc/man/man3/tqmouseevent.3qt +++ b/doc/man/man3/tqmouseevent.3qt @@ -16,16 +16,16 @@ Inherits QEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQMouseEvent\fR ( Type type, const QPoint & pos, int button, int state )" +.BI "\fBQMouseEvent\fR ( Type type, const TQPoint & pos, int button, int state )" .br .ti -1c -.BI "\fBQMouseEvent\fR ( Type type, const QPoint & pos, const QPoint & globalPos, int button, int state )" +.BI "\fBQMouseEvent\fR ( Type type, const TQPoint & pos, const TQPoint & globalPos, int button, int state )" .br .ti -1c -.BI "const QPoint & \fBpos\fR () const" +.BI "const TQPoint & \fBpos\fR () const" .br .ti -1c -.BI "const QPoint & \fBglobalPos\fR () const" +.BI "const TQPoint & \fBglobalPos\fR () const" .br .ti -1c .BI "int \fBx\fR () const" @@ -77,7 +77,7 @@ The event handlers TQWidget::mousePressEvent(), TQWidget::mouseReleaseEvent(), T .PP See also TQWidget::mouseTracking, TQWidget::grabMouse(), QCursor::pos(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QMouseEvent::QMouseEvent ( Type type, const QPoint & pos, int button, int state )" +.SH "QMouseEvent::QMouseEvent ( Type type, const TQPoint & pos, int button, int state )" Constructs a mouse event object. .PP The \fItype\fR parameter must be one of QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove. @@ -85,7 +85,7 @@ The \fItype\fR parameter must be one of QEvent::MouseButtonPress, QEvent::MouseB The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event. .PP The globalPos() is initialized to QCursor::pos(), which may not be appropriate. Use the other constructor to specify the global position explicitly. -.SH "QMouseEvent::QMouseEvent ( Type type, const QPoint & pos, const QPoint & globalPos, int button, int state )" +.SH "QMouseEvent::QMouseEvent ( Type type, const TQPoint & pos, const TQPoint & globalPos, int button, int state )" Constructs a mouse event object. .PP The \fItype\fR parameter must be QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove. @@ -110,7 +110,7 @@ See also state() and TQt::ButtonState. .PP Examples: .)l dclock/dclock.cpp, life/life.cpp, and t14/cannon.cpp. -.SH "const QPoint & QMouseEvent::globalPos () const" +.SH "const TQPoint & QMouseEvent::globalPos () const" Returns the global position of the mouse pointer \fIat the time of the event\fR. This is important on asynchronous window systems like X11. Whenever you move your widgets around in response to mouse events, globalPos() may differ a lot from the current pointer position QCursor::pos(), and from TQWidget::mapToGlobal( pos() ). .PP See also globalX() and globalY(). @@ -134,7 +134,7 @@ The accept flag is set by default. See also accept(). .SH "bool QMouseEvent::isAccepted () const" Returns TRUE if the receiver of the event wants to keep the key; otherwise returns FALSE. -.SH "const QPoint & QMouseEvent::pos () const" +.SH "const TQPoint & QMouseEvent::pos () const" Returns the position of the mouse pointer relative to the widget that received the event. .PP If you move the widget as a result of the mouse event, use the global position returned by globalPos() to avoid a shaking motion. diff --git a/doc/man/man3/tqmoveevent.3qt b/doc/man/man3/tqmoveevent.3qt index be08eb8d5..b2d42b17a 100644 --- a/doc/man/man3/tqmoveevent.3qt +++ b/doc/man/man3/tqmoveevent.3qt @@ -16,13 +16,13 @@ Inherits QEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQMoveEvent\fR ( const QPoint & pos, const QPoint & oldPos )" +.BI "\fBQMoveEvent\fR ( const TQPoint & pos, const TQPoint & oldPos )" .br .ti -1c -.BI "const QPoint & \fBpos\fR () const" +.BI "const TQPoint & \fBpos\fR () const" .br .ti -1c -.BI "const QPoint & \fBoldPos\fR () const" +.BI "const TQPoint & \fBoldPos\fR () const" .br .in -1c .SH DESCRIPTION @@ -34,11 +34,11 @@ The event handler TQWidget::moveEvent() receives move events. .PP See also TQWidget::pos, TQWidget::geometry, and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QMoveEvent::QMoveEvent ( const QPoint & pos, const QPoint & oldPos )" +.SH "QMoveEvent::QMoveEvent ( const TQPoint & pos, const TQPoint & oldPos )" Constructs a move event with the new and old widget positions, \fIpos\fR and \fIoldPos\fR respectively. -.SH "const QPoint & QMoveEvent::oldPos () const" +.SH "const TQPoint & QMoveEvent::oldPos () const" Returns the old position of the widget. -.SH "const QPoint & QMoveEvent::pos () const" +.SH "const TQPoint & QMoveEvent::pos () const" Returns the new position of the widget. This excludes the window frame for top level widgets. diff --git a/doc/man/man3/tqmovie.3qt b/doc/man/man3/tqmovie.3qt index 7812b0df6..97f337f4a 100644 --- a/doc/man/man3/tqmovie.3qt +++ b/doc/man/man3/tqmovie.3qt @@ -50,10 +50,10 @@ TQMovie \- Incremental loading of animations or images, signalling as it progres .BI "void \fBsetBackgroundColor\fR ( const TQColor & c )" .br .ti -1c -.BI "const QRect & \fBgetValidRect\fR () const" +.BI "const TQRect & \fBgetValidRect\fR () const" .br .ti -1c -.BI "const QPixmap & \fBframePixmap\fR () const" +.BI "const TQPixmap & \fBframePixmap\fR () const" .br .ti -1c .BI "const TQImage & \fBframeImage\fR () const" @@ -124,7 +124,7 @@ The TQMovie class provides incremental loading of animations or images, signalli .PP The simplest way to display a TQMovie is to use a QLabel and QLabel::setMovie(). .PP -A TQMovie provides a QPixmap as the framePixmap(); connections can be made via connectResize() and connectUpdate() to receive notification of size and pixmap changes. All decoding is driven by the normal event-processing mechanisms. +A TQMovie provides a TQPixmap as the framePixmap(); connections can be made via connectResize() and connectUpdate() to receive notification of size and pixmap changes. All decoding is driven by the normal event-processing mechanisms. .PP The movie begins playing as soon as the TQMovie is created (actually, once control returns to the event loop). When the last frame in the movie has been played, it may loop back to the start if such looping is defined in the input source. .PP @@ -214,7 +214,7 @@ Note that due to the explicit sharing of TQMovie objects, these connections pers .PP Example: movies/main.cpp. .SH "void TQMovie::connectUpdate ( TQObject * receiver, const char * member )" -Connects the \fIreceiver\fR's \fImember\fR of type \fCvoid member(const QRect&)\fR so that it is signalled when an area of the framePixmap() has changed since the previous frame. +Connects the \fIreceiver\fR's \fImember\fR of type \fCvoid member(const TQRect&)\fR so that it is signalled when an area of the framePixmap() has changed since the previous frame. .PP Note that due to the explicit sharing of TQMovie objects, these connections persist until they are explicitly disconnected with disconnectUpdate() or until \fIevery\fR shared copy of the movie is deleted. .PP @@ -235,13 +235,13 @@ Returns the current frame of the movie, as a TQImage. It is not generally useful See also framePixmap(). .SH "int TQMovie::frameNumber () const" Returns the number of times EndOfFrame has been emitted since the start of the current loop of the movie. Thus, before any EndOfFrame has been emitted the value will be 0; within slots processing the first signal, frameNumber() will be 1, and so on. -.SH "const QPixmap & TQMovie::framePixmap () const" -Returns the current frame of the movie, as a QPixmap. It is not generally useful to keep a copy of this pixmap. It is better to keep a copy of the TQMovie and get the framePixmap() only when needed for drawing. +.SH "const TQPixmap & TQMovie::framePixmap () const" +Returns the current frame of the movie, as a TQPixmap. It is not generally useful to keep a copy of this pixmap. It is better to keep a copy of the TQMovie and get the framePixmap() only when needed for drawing. .PP See also frameImage(). .PP Example: movies/main.cpp. -.SH "const QRect & TQMovie::getValidRect () const" +.SH "const TQRect & TQMovie::getValidRect () const" Returns the area of the pixmap for which pixels have been generated. .SH "bool TQMovie::isNull () const" Returns TRUE if the movie is null; otherwise returns FALSE. diff --git a/doc/man/man3/tqnpinstance.3qt b/doc/man/man3/tqnpinstance.3qt index d487239cd..1c2e2dabf 100644 --- a/doc/man/man3/tqnpinstance.3qt +++ b/doc/man/man3/tqnpinstance.3qt @@ -113,7 +113,7 @@ The QNPInstance is responsible for creating an appropriate QNPWidget window if r .PP Note that there is \fIabsolutely no guarantee\fR regarding the order in which functions are called. Sometimes the browser will call newWindow() first, at other times, newStreamCreated() will be called first (assuming the \fC<EMBED>\fR tag has a SRC parameter). .PP -\fINone of Qt's GUI functionality\fR may be used until after the first call to newWindow(). This includes any use of TQPaintDevice (i.e. QPixmap, TQWidget, and all subclasses), QApplication, anything related to TQPainter (TQBrush, etc.), fonts, TQMovie, TQToolTip, etc. Useful classes which specifically \fIcan\fR be used are TQImage, TQFile, and TQBuffer. +\fINone of Qt's GUI functionality\fR may be used until after the first call to newWindow(). This includes any use of TQPaintDevice (i.e. TQPixmap, TQWidget, and all subclasses), QApplication, anything related to TQPainter (TQBrush, etc.), fonts, TQMovie, TQToolTip, etc. Useful classes which specifically \fIcan\fR be used are TQImage, TQFile, and TQBuffer. .PP This restriction can easily be accommodated by structuring your plugin so that the task of the QNPInstance is to gather data, while the task of the QNPWidget is to provide a graphical interface to that data. .SS "Member Type Documentation" diff --git a/doc/man/man3/tqpaintdevice.3qt b/doc/man/man3/tqpaintdevice.3qt index 57eb613c9..0e433dfd7 100644 --- a/doc/man/man3/tqpaintdevice.3qt +++ b/doc/man/man3/tqpaintdevice.3qt @@ -11,7 +11,7 @@ TQPaintDevice \- The base class of objects that can be painted .SH SYNOPSIS \fC#include <tqpaintdevice.h>\fR .PP -Inherited by TQWidget, QPixmap, QPicture, and QPrinter. +Inherited by TQWidget, TQPixmap, TQPicture, and TQPrinter. .PP .SS "Public Members" .in +1c @@ -145,13 +145,13 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter. .BI "void \fBbitBlt\fR ( TQPaintDevice * dst, int dx, int dy, const TQPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )" .br .ti -1c -.BI "void \fBbitBlt\fR ( TQPaintDevice * dst, const QPoint & dp, const TQPaintDevice * src, const QRect & sr, RasterOp rop )" +.BI "void \fBbitBlt\fR ( TQPaintDevice * dst, const TQPoint & dp, const TQPaintDevice * src, const TQRect & sr, RasterOp rop )" .br .in -1c .SH DESCRIPTION The TQPaintDevice class is the base class of objects that can be painted. .PP -A paint device is an abstraction of a two-dimensional space that can be drawn using a TQPainter. The drawing capabilities are implemented by the subclasses TQWidget, QPixmap, QPicture and QPrinter. +A paint device is an abstraction of a two-dimensional space that can be drawn using a TQPainter. The drawing capabilities are implemented by the subclasses TQWidget, TQPixmap, TQPicture and TQPrinter. .PP The default coordinate system of a paint device has its origin located at the top-left position. X increases to the right and Y increases downward. The unit is one pixel. There are several ways to set up a user-defined coordinate system using the painter, for example, using TQPainter::setWorldMatrix(). .PP @@ -200,7 +200,7 @@ Destroys the paint device and frees window system resources. .SH "bool TQPaintDevice::cmd ( int, TQPainter *, QPDevCmdParam * )\fC [virtual protected]\fR" Internal virtual function that interprets drawing commands from the painter. .PP -Implemented by subclasses that have no direct support for drawing graphics (external paint devices, for example, QPicture). +Implemented by subclasses that have no direct support for drawing graphics (external paint devices, for example, TQPicture). .SH "TQt::HANDLE TQPaintDevice::handle () const\fC [virtual]\fR" Returns the window system handle of the paint device, for low-level access. Using this function is not portable. .PP @@ -210,7 +210,7 @@ See also x11Display(). .SH "bool TQPaintDevice::isExtDev () const" Returns TRUE if the device is an external paint device; otherwise returns FALSE. .PP -External paint devices cannot be bitBlt()'ed from. QPicture and QPrinter are external paint devices. +External paint devices cannot be bitBlt()'ed from. TQPicture and TQPrinter are external paint devices. .SH "bool TQPaintDevice::paintingActive () const" Returns TRUE if the device is being painted, i.e. someone has called TQPainter::begin() but not yet called TQPainter::end() for this device; otherwise returns FALSE. .PP @@ -254,13 +254,13 @@ Returns TRUE if the Visual used is the default for screen \fIscreen\fR of the X .SH "int TQPaintDevice::x11AppDepth ( int screen )\fC [static]\fR" Returns the depth for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable. .PP -See also QPixmap::defaultDepth(). +See also TQPixmap::defaultDepth(). .SH "int TQPaintDevice::x11AppDepth ()\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the depth for the default screen of the X display global to the application (X11 only). Using this function is not portable. .PP -See also QPixmap::defaultDepth(). +See also TQPixmap::defaultDepth(). .SH "Display * TQPaintDevice::x11AppDisplay ()\fC [static]\fR" Returns a pointer to the X display global to the application (X11 only). Using this function is not portable. .PP @@ -314,7 +314,7 @@ Returns the default Visual of the X display for the paint device (X11 only). Usi .SH "int TQPaintDevice::x11Depth () const" Returns the depth of the X display for the paint device (X11 only). Using this function is not portable. .PP -See also QPixmap::defaultDepth(). +See also TQPixmap::defaultDepth(). .SH "Display * TQPaintDevice::x11Display () const" Returns a pointer to the X display for the paint device (X11 only). Using this function is not portable. .PP @@ -345,14 +345,14 @@ Copies a block of pixels from \fIsrc\fR to \fIdst\fR, perhaps merging each pixel .PP The most common values for \fIrop\fR are CopyROP and XorROP; the TQt::RasterOp documentation defines all the possible values. .PP -If \fIignoreMask\fR is FALSE (the default) and \fIsrc\fR is a masked QPixmap, the entire blit is masked by \fIsrc\fR->mask(). +If \fIignoreMask\fR is FALSE (the default) and \fIsrc\fR is a masked TQPixmap, the entire blit is masked by \fIsrc\fR->mask(). .PP If \fIsrc\fR, \fIdst\fR, \fIsw\fR or \fIsh\fR is 0, bitBlt() does nothing. If \fIsw\fR or \fIsh\fR is negative bitBlt() copies starting at \fIsx\fR (and respectively, \fIsy\fR) and ending at the right end (respectively, bottom) of \fIsrc\fR. .PP -\fIsrc\fR must be a TQWidget or QPixmap. You cannot blit from a QPrinter, for example. bitBlt() does nothing if you attempt to blit from an unsupported device. +\fIsrc\fR must be a TQWidget or TQPixmap. You cannot blit from a TQPrinter, for example. bitBlt() does nothing if you attempt to blit from an unsupported device. .PP bitBlt() does nothing if \fIsrc\fR has a greater depth than \fIdst\fR. If you need to for example, draw a 24-bit pixmap on an 8-bit widget, you must use drawPixmap(). -.SH "void bitBlt ( TQPaintDevice * dst, const QPoint & dp, const TQPaintDevice * src, const QRect & sr, RasterOp rop )" +.SH "void bitBlt ( TQPaintDevice * dst, const TQPoint & dp, const TQPaintDevice * src, const TQRect & sr, RasterOp rop )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Overloaded bitBlt() with the destination point \fIdp\fR and source diff --git a/doc/man/man3/tqpaintdevicemetrics.3qt b/doc/man/man3/tqpaintdevicemetrics.3qt index 16896ceaa..4d26b5cfb 100644 --- a/doc/man/man3/tqpaintdevicemetrics.3qt +++ b/doc/man/man3/tqpaintdevicemetrics.3qt @@ -56,7 +56,7 @@ Sometimes when drawing graphics it is necessary to obtain information about the .PP TQPaintDeviceMetrics contains methods to provide the width and height of a device in both pixels (width() and height()) and millimeters (widthMM() and heightMM()), the number of colors the device supports (numColors()), the number of bit planes (depth()), and the resolution of the device (logicalDpiX() and logicalDpiY()). .PP -It is not always possible for TQPaintDeviceMetrics to compute the values you ask for, particularly for external devices. The ultimate example is asking for the resolution of of a QPrinter that is set to "print to file": who knows what printer that file will end up on? +It is not always possible for TQPaintDeviceMetrics to compute the values you ask for, particularly for external devices. The ultimate example is asking for the resolution of of a TQPrinter that is set to "print to file": who knows what printer that file will end up on? .PP See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION @@ -65,7 +65,7 @@ Constructs a metric for the paint device \fIpd\fR. .SH "int TQPaintDeviceMetrics::depth () const" Returns the bit depth (number of bit planes) of the paint device. .SH "int TQPaintDeviceMetrics::height () const" -Returns the height of the paint device in default coordinate system units (e.g. pixels for QPixmap and TQWidget). +Returns the height of the paint device in default coordinate system units (e.g. pixels for TQPixmap and TQWidget). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. @@ -83,7 +83,7 @@ Examples: .SH "int TQPaintDeviceMetrics::numColors () const" Returns the number of different colors available for the paint device. Since this value is an int will not be sufficient to represent the number of colors on 32 bit displays, in which case INT_MAX is returned instead. .SH "int TQPaintDeviceMetrics::width () const" -Returns the width of the paint device in default coordinate system units (e.g. pixels for QPixmap and TQWidget). +Returns the width of the paint device in default coordinate system units (e.g. pixels for TQPixmap and TQWidget). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. diff --git a/doc/man/man3/tqpainter.3qt b/doc/man/man3/tqpainter.3qt index a77897643..c0ec5fd57 100644 --- a/doc/man/man3/tqpainter.3qt +++ b/doc/man/man3/tqpainter.3qt @@ -46,7 +46,7 @@ Inherits Qt. .BI "bool \fBisActive\fR () const" .br .ti -1c -.BI "void \fBflush\fR ( const QRegion & region, CoordinateMode cm = CoordDevice )" +.BI "void \fBflush\fR ( const TQRegion & region, CoordinateMode cm = CoordDevice )" .br .ti -1c .BI "void \fBflush\fR ()" @@ -70,10 +70,10 @@ Inherits Qt. .BI "void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c -.BI "const QPen & \fBpen\fR () const" +.BI "const TQPen & \fBpen\fR () const" .br .ti -1c -.BI "void \fBsetPen\fR ( const QPen & pen )" +.BI "void \fBsetPen\fR ( const TQPen & pen )" .br .ti -1c .BI "void \fBsetPen\fR ( PenStyle style )" @@ -94,7 +94,7 @@ Inherits Qt. .BI "void \fBsetBrush\fR ( const TQColor & color )" .br .ti -1c -.BI "QPoint pos () const \fI(obsolete)\fR" +.BI "TQPoint pos () const \fI(obsolete)\fR" .br .ti -1c .BI "const TQColor & \fBbackgroundColor\fR () const" @@ -115,13 +115,13 @@ Inherits Qt. .BI "void \fBsetRasterOp\fR ( RasterOp r )" .br .ti -1c -.BI "const QPoint & \fBbrushOrigin\fR () const" +.BI "const TQPoint & \fBbrushOrigin\fR () const" .br .ti -1c .BI "void \fBsetBrushOrigin\fR ( int x, int y )" .br .ti -1c -.BI "void \fBsetBrushOrigin\fR ( const QPoint & p )" +.BI "void \fBsetBrushOrigin\fR ( const TQPoint & p )" .br .ti -1c .BI "bool \fBhasViewXForm\fR () const" @@ -133,19 +133,19 @@ Inherits Qt. .BI "void \fBsetViewXForm\fR ( bool enable )" .br .ti -1c -.BI "QRect \fBwindow\fR () const" +.BI "TQRect \fBwindow\fR () const" .br .ti -1c -.BI "void \fBsetWindow\fR ( const QRect & r )" +.BI "void \fBsetWindow\fR ( const TQRect & r )" .br .ti -1c .BI "void \fBsetWindow\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "QRect \fBviewport\fR () const" +.BI "TQRect \fBviewport\fR () const" .br .ti -1c -.BI "void \fBsetViewport\fR ( const QRect & r )" +.BI "void \fBsetViewport\fR ( const TQRect & r )" .br .ti -1c .BI "void \fBsetViewport\fR ( int x, int y, int w, int h )" @@ -154,10 +154,10 @@ Inherits Qt. .BI "void \fBsetWorldXForm\fR ( bool enable )" .br .ti -1c -.BI "const QWMatrix & \fBworldMatrix\fR () const" +.BI "const TQWMatrix & \fBworldMatrix\fR () const" .br .ti -1c -.BI "void \fBsetWorldMatrix\fR ( const QWMatrix & m, bool combine = FALSE )" +.BI "void \fBsetWorldMatrix\fR ( const TQWMatrix & m, bool combine = FALSE )" .br .ti -1c .BI "void saveWorldMatrix () \fI(obsolete)\fR" @@ -181,28 +181,28 @@ Inherits Qt. .BI "void \fBresetXForm\fR ()" .br .ti -1c -.BI "QPoint \fBxForm\fR ( const QPoint & pv ) const" +.BI "TQPoint \fBxForm\fR ( const TQPoint & pv ) const" .br .ti -1c -.BI "QRect \fBxForm\fR ( const QRect & rv ) const" +.BI "TQRect \fBxForm\fR ( const TQRect & rv ) const" .br .ti -1c -.BI "QPointArray \fBxForm\fR ( const QPointArray & av ) const" +.BI "TQPointArray \fBxForm\fR ( const TQPointArray & av ) const" .br .ti -1c -.BI "QPointArray \fBxForm\fR ( const QPointArray & av, int index, int npoints ) const" +.BI "TQPointArray \fBxForm\fR ( const TQPointArray & av, int index, int npoints ) const" .br .ti -1c -.BI "QPoint \fBxFormDev\fR ( const QPoint & pd ) const" +.BI "TQPoint \fBxFormDev\fR ( const TQPoint & pd ) const" .br .ti -1c -.BI "QRect \fBxFormDev\fR ( const QRect & rd ) const" +.BI "TQRect \fBxFormDev\fR ( const TQRect & rd ) const" .br .ti -1c -.BI "QPointArray \fBxFormDev\fR ( const QPointArray & ad ) const" +.BI "TQPointArray \fBxFormDev\fR ( const TQPointArray & ad ) const" .br .ti -1c -.BI "QPointArray \fBxFormDev\fR ( const QPointArray & ad, int index, int npoints ) const" +.BI "TQPointArray \fBxFormDev\fR ( const TQPointArray & ad, int index, int npoints ) const" .br .ti -1c .BI "void \fBsetClipping\fR ( bool enable )" @@ -211,49 +211,49 @@ Inherits Qt. .BI "bool \fBhasClipping\fR () const" .br .ti -1c -.BI "QRegion \fBclipRegion\fR ( CoordinateMode m = CoordDevice ) const" +.BI "TQRegion \fBclipRegion\fR ( CoordinateMode m = CoordDevice ) const" .br .ti -1c -.BI "void \fBsetClipRect\fR ( const QRect & r, CoordinateMode m = CoordDevice )" +.BI "void \fBsetClipRect\fR ( const TQRect & r, CoordinateMode m = CoordDevice )" .br .ti -1c .BI "void \fBsetClipRect\fR ( int x, int y, int w, int h, CoordinateMode m = CoordDevice )" .br .ti -1c -.BI "void \fBsetClipRegion\fR ( const QRegion & rgn, CoordinateMode m = CoordDevice )" +.BI "void \fBsetClipRegion\fR ( const TQRegion & rgn, CoordinateMode m = CoordDevice )" .br .ti -1c .BI "void \fBdrawPoint\fR ( int x, int y )" .br .ti -1c -.BI "void \fBdrawPoint\fR ( const QPoint & p )" +.BI "void \fBdrawPoint\fR ( const TQPoint & p )" .br .ti -1c -.BI "void \fBdrawPoints\fR ( const QPointArray & a, int index = 0, int npoints = -1 )" +.BI "void \fBdrawPoints\fR ( const TQPointArray & a, int index = 0, int npoints = -1 )" .br .ti -1c .BI "void moveTo ( int x, int y ) \fI(obsolete)\fR" .br .ti -1c -.BI "void moveTo ( const QPoint & p ) \fI(obsolete)\fR" +.BI "void moveTo ( const TQPoint & p ) \fI(obsolete)\fR" .br .ti -1c .BI "void lineTo ( int x, int y ) \fI(obsolete)\fR" .br .ti -1c -.BI "void lineTo ( const QPoint & p ) \fI(obsolete)\fR" +.BI "void lineTo ( const TQPoint & p ) \fI(obsolete)\fR" .br .ti -1c .BI "void \fBdrawLine\fR ( int x1, int y1, int x2, int y2 )" .br .ti -1c -.BI "void \fBdrawLine\fR ( const QPoint & p1, const QPoint & p2 )" +.BI "void \fBdrawLine\fR ( const TQPoint & p1, const TQPoint & p2 )" .br .ti -1c .BI "void \fBdrawRect\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBdrawRect\fR ( const QRect & r )" +.BI "void \fBdrawRect\fR ( const TQRect & r )" .br .ti -1c .BI "void \fBdrawWinFocusRect\fR ( int x, int y, int w, int h )" @@ -262,109 +262,109 @@ Inherits Qt. .BI "void \fBdrawWinFocusRect\fR ( int x, int y, int w, int h, const TQColor & bgColor )" .br .ti -1c -.BI "void \fBdrawWinFocusRect\fR ( const QRect & r )" +.BI "void \fBdrawWinFocusRect\fR ( const TQRect & r )" .br .ti -1c -.BI "void \fBdrawWinFocusRect\fR ( const QRect & r, const TQColor & bgColor )" +.BI "void \fBdrawWinFocusRect\fR ( const TQRect & r, const TQColor & bgColor )" .br .ti -1c .BI "void \fBdrawRoundRect\fR ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 )" .br .ti -1c -.BI "void \fBdrawRoundRect\fR ( const QRect & r, int xRnd = 25, int yRnd = 25 )" +.BI "void \fBdrawRoundRect\fR ( const TQRect & r, int xRnd = 25, int yRnd = 25 )" .br .ti -1c .BI "void \fBdrawEllipse\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBdrawEllipse\fR ( const QRect & r )" +.BI "void \fBdrawEllipse\fR ( const TQRect & r )" .br .ti -1c .BI "void \fBdrawArc\fR ( int x, int y, int w, int h, int a, int alen )" .br .ti -1c -.BI "void \fBdrawArc\fR ( const QRect & r, int a, int alen )" +.BI "void \fBdrawArc\fR ( const TQRect & r, int a, int alen )" .br .ti -1c .BI "void \fBdrawPie\fR ( int x, int y, int w, int h, int a, int alen )" .br .ti -1c -.BI "void \fBdrawPie\fR ( const QRect & r, int a, int alen )" +.BI "void \fBdrawPie\fR ( const TQRect & r, int a, int alen )" .br .ti -1c .BI "void \fBdrawChord\fR ( int x, int y, int w, int h, int a, int alen )" .br .ti -1c -.BI "void \fBdrawChord\fR ( const QRect & r, int a, int alen )" +.BI "void \fBdrawChord\fR ( const TQRect & r, int a, int alen )" .br .ti -1c -.BI "void \fBdrawLineSegments\fR ( const QPointArray & a, int index = 0, int nlines = -1 )" +.BI "void \fBdrawLineSegments\fR ( const TQPointArray & a, int index = 0, int nlines = -1 )" .br .ti -1c -.BI "void \fBdrawPolyline\fR ( const QPointArray & a, int index = 0, int npoints = -1 )" +.BI "void \fBdrawPolyline\fR ( const TQPointArray & a, int index = 0, int npoints = -1 )" .br .ti -1c -.BI "void \fBdrawPolygon\fR ( const QPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )" +.BI "void \fBdrawPolygon\fR ( const TQPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )" .br .ti -1c -.BI "void \fBdrawConvexPolygon\fR ( const QPointArray & pa, int index = 0, int npoints = -1 )" +.BI "void \fBdrawConvexPolygon\fR ( const TQPointArray & pa, int index = 0, int npoints = -1 )" .br .ti -1c -.BI "void \fBdrawCubicBezier\fR ( const QPointArray & a, int index = 0 )" +.BI "void \fBdrawCubicBezier\fR ( const TQPointArray & a, int index = 0 )" .br .ti -1c -.BI "void \fBdrawPixmap\fR ( int x, int y, const QPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )" +.BI "void \fBdrawPixmap\fR ( int x, int y, const TQPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )" .br .ti -1c -.BI "void \fBdrawPixmap\fR ( const QPoint & p, const QPixmap & pm, const QRect & sr )" +.BI "void \fBdrawPixmap\fR ( const TQPoint & p, const TQPixmap & pm, const TQRect & sr )" .br .ti -1c -.BI "void \fBdrawPixmap\fR ( const QPoint & p, const QPixmap & pm )" +.BI "void \fBdrawPixmap\fR ( const TQPoint & p, const TQPixmap & pm )" .br .ti -1c -.BI "void \fBdrawPixmap\fR ( const QRect & r, const QPixmap & pm )" +.BI "void \fBdrawPixmap\fR ( const TQRect & r, const TQPixmap & pm )" .br .ti -1c .BI "void \fBdrawImage\fR ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )" .br .ti -1c -.BI "void \fBdrawImage\fR ( const QPoint &, const TQImage &, const QRect & sr, int conversionFlags = 0 )" +.BI "void \fBdrawImage\fR ( const TQPoint &, const TQImage &, const TQRect & sr, int conversionFlags = 0 )" .br .ti -1c -.BI "void \fBdrawImage\fR ( const QPoint & p, const TQImage & i, int conversion_flags = 0 )" +.BI "void \fBdrawImage\fR ( const TQPoint & p, const TQImage & i, int conversion_flags = 0 )" .br .ti -1c -.BI "void \fBdrawImage\fR ( const QRect & r, const TQImage & i )" +.BI "void \fBdrawImage\fR ( const TQRect & r, const TQImage & i )" .br .ti -1c -.BI "void \fBdrawTiledPixmap\fR ( int x, int y, int w, int h, const QPixmap & pixmap, int sx = 0, int sy = 0 )" +.BI "void \fBdrawTiledPixmap\fR ( int x, int y, int w, int h, const TQPixmap & pixmap, int sx = 0, int sy = 0 )" .br .ti -1c -.BI "void \fBdrawTiledPixmap\fR ( const QRect & r, const QPixmap & pm, const QPoint & sp )" +.BI "void \fBdrawTiledPixmap\fR ( const TQRect & r, const TQPixmap & pm, const TQPoint & sp )" .br .ti -1c -.BI "void \fBdrawTiledPixmap\fR ( const QRect & r, const QPixmap & pm )" +.BI "void \fBdrawTiledPixmap\fR ( const TQRect & r, const TQPixmap & pm )" .br .ti -1c -.BI "void drawPicture ( const QPicture & pic ) \fI(obsolete)\fR" +.BI "void drawPicture ( const TQPicture & pic ) \fI(obsolete)\fR" .br .ti -1c -.BI "void \fBdrawPicture\fR ( int x, int y, const QPicture & pic )" +.BI "void \fBdrawPicture\fR ( int x, int y, const TQPicture & pic )" .br .ti -1c -.BI "void \fBdrawPicture\fR ( const QPoint & p, const QPicture & pic )" +.BI "void \fBdrawPicture\fR ( const TQPoint & p, const TQPicture & pic )" .br .ti -1c .BI "void \fBfillRect\fR ( int x, int y, int w, int h, const TQBrush & brush )" .br .ti -1c -.BI "void \fBfillRect\fR ( const QRect & r, const TQBrush & brush )" +.BI "void \fBfillRect\fR ( const TQRect & r, const TQBrush & brush )" .br .ti -1c .BI "void \fBeraseRect\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBeraseRect\fR ( const QRect & r )" +.BI "void \fBeraseRect\fR ( const TQRect & r )" .br .ti -1c .BI "enum \fBTextDirection\fR { Auto, RTL, LTR }" @@ -373,25 +373,25 @@ Inherits Qt. .BI "void \fBdrawText\fR ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto )" .br .ti -1c -.BI "void \fBdrawText\fR ( const QPoint &, const TQString &, int len = -1, TextDirection dir = Auto )" +.BI "void \fBdrawText\fR ( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto )" .br .ti -1c .BI "void \fBdrawText\fR ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto )" .br .ti -1c -.BI "void \fBdrawText\fR ( const QPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )" +.BI "void \fBdrawText\fR ( const TQPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )" .br .ti -1c -.BI "void \fBdrawText\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, TQTextParag ** internal = 0 )" +.BI "void \fBdrawText\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQRect * br = 0, TQTextParag ** internal = 0 )" .br .ti -1c -.BI "void \fBdrawText\fR ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, TQTextParag ** internal = 0 )" +.BI "void \fBdrawText\fR ( const TQRect & r, int tf, const TQString & str, int len = -1, TQRect * brect = 0, TQTextParag ** internal = 0 )" .br .ti -1c -.BI "QRect \fBboundingRect\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )" +.BI "TQRect \fBboundingRect\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )" .br .ti -1c -.BI "QRect \fBboundingRect\fR ( const QRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )" +.BI "TQRect \fBboundingRect\fR ( const TQRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )" .br .ti -1c .BI "int \fBtabStops\fR () const" @@ -508,11 +508,11 @@ save() saves all of these settings on an internal stack, restore() pops them bac .PP The core functionality of TQPainter is drawing, and there are functions to draw most primitives: drawPoint(), drawPoints(), drawLine(), drawRect(), drawWinFocusRect(), drawRoundRect(), drawEllipse(), drawArc(), drawPie(), drawChord(), drawLineSegments(), drawPolyline(), drawPolygon(), drawConvexPolygon() and drawCubicBezier(). All of these functions take integer coordinates; there are no floating-point versions since we want drawing to be as fast as possible. .PP -There are functions to draw pixmaps/images, namely drawPixmap(), drawImage() and drawTiledPixmap(). drawPixmap() and drawImage() produce the same result, except that drawPixmap() is faster on-screen and drawImage() faster and sometimes better on QPrinter and QPicture. +There are functions to draw pixmaps/images, namely drawPixmap(), drawImage() and drawTiledPixmap(). drawPixmap() and drawImage() produce the same result, except that drawPixmap() is faster on-screen and drawImage() faster and sometimes better on TQPrinter and TQPicture. .PP Text drawing is done using drawText(), and when you need fine-grained positioning, boundingRect() tells you where a given drawText() command would draw. .PP -There is a drawPicture() function that draws the contents of an entire QPicture using this painter. drawPicture() is the only function that disregards all the painter's settings: the QPicture has its own settings. +There is a drawPicture() function that draws the contents of an entire TQPicture using this painter. drawPicture() is the only function that disregards all the painter's settings: the TQPicture has its own settings. .PP Normally, the TQPainter operates on the device's own coordinate system (usually pixels), but TQPainter has good support for coordinate transformation. See The Coordinate System for a more general overview and a simple example. .PP @@ -534,7 +534,7 @@ setTabStops() and setTabArray() can change where the tab stops are, but these ar .PP \fBWarning:\fR Note that TQPainter does not attempt to work around coordinate limitations in the underlying window system. Some platforms may behave incorrectly with coordinates as small as +/-4000. .PP -See also TQPaintDevice, TQWidget, QPixmap, QPrinter, QPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes. +See also TQPaintDevice, TQWidget, TQPixmap, TQPrinter, TQPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" .SH "TQPainter::CoordinateMode" .TP @@ -627,7 +627,7 @@ The errors that can occur are serious problems, such as these: p->begin( 0 ); // impossible - paint device cannot be 0 .br .br - QPixmap pm( 0, 0 ); + TQPixmap pm( 0, 0 ); .br p->begin( pm ); // impossible - pm.isNull(); .br @@ -675,7 +675,7 @@ Example: .br { .br - QPixmap pm(size()); + TQPixmap pm(size()); .br TQPainter p; .br @@ -692,7 +692,7 @@ Example: .fi .PP See also end(). -.SH "QRect TQPainter::boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )" +.SH "TQRect TQPainter::boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )" Returns the bounding rectangle of the aligned text that would be printed with the corresponding drawText() function using the first \fIlen\fR characters of the string if \fIlen\fR is > -1, or the whole of the string if \fIlen\fR is -1. The drawing, and hence the bounding rectangle, is constrained to the rectangle that begins at point \fI(x, y)\fR with width \fIw\fR and hight \fIh\fR, or to the rectangle required to draw the text, whichever is the larger. .PP The \fIflags\fR argument is the bitwise OR of the following flags: <center>.nf @@ -709,7 +709,7 @@ If several of the horizontal or several of the vertical alignment flags are set, The \fIintern\fR parameter should not be used. .PP See also TQt::TextFlags. -.SH "QRect TQPainter::boundingRect ( const QRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )" +.SH "TQRect TQPainter::boundingRect ( const TQRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the bounding rectangle of the aligned text that would be printed with the corresponding drawText() function using the first \fIlen\fR characters from \fIstr\fR if \fIlen\fR is > -1, or the whole of \fIstr\fR if \fIlen\fR is -1. The drawing, and hence the bounding rectangle, is constrained to the rectangle \fIr\fR, or to the rectangle required to draw the text, whichever is the larger. @@ -724,11 +724,11 @@ See also TQPainter::setBrush(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const QPoint & TQPainter::brushOrigin () const" +.SH "const TQPoint & TQPainter::brushOrigin () const" Returns the brush origin currently set. .PP See also setBrushOrigin(). -.SH "QRegion TQPainter::clipRegion ( CoordinateMode m = CoordDevice ) const" +.SH "TQRegion TQPainter::clipRegion ( CoordinateMode m = CoordDevice ) const" Returns the currently set clip region. Note that the clip region is given in physical device coordinates and \fInot\fR subject to any coordinate transformation if \fIm\fR is equal to CoordDevice (the default). If \fIm\fR equals CoordPainter the returned region is in model coordinates. .PP See also setClipRegion(), setClipRect(), setClipping(), and TQPainter::CoordinateMode. @@ -757,7 +757,7 @@ Example: .fi .PP See also drawPie() and drawChord(). -.SH "void TQPainter::drawArc ( const QRect & r, int a, int alen )" +.SH "void TQPainter::drawArc ( const TQRect & r, int a, int alen )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the arc that fits inside the rectangle \fIr\fR with start angle \fIa\fR and arc length \fIalen\fR. @@ -769,11 +769,11 @@ The chord is filled with the current brush(). The angles \fIa\fR and \fIalen\fR are 1/16th of a degree, i.e. a full circle equals 5760 (16*360). Positive values of \fIa\fR and \fIalen\fR mean counter-clockwise while negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position. .PP See also drawArc() and drawPie(). -.SH "void TQPainter::drawChord ( const QRect & r, int a, int alen )" +.SH "void TQPainter::drawChord ( const TQRect & r, int a, int alen )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a chord that fits inside the rectangle \fIr\fR with start angle \fIa\fR and arc length \fIalen\fR. -.SH "void TQPainter::drawConvexPolygon ( const QPointArray & pa, int index = 0, int npoints = -1 )" +.SH "void TQPainter::drawConvexPolygon ( const TQPointArray & pa, int index = 0, int npoints = -1 )" Draws the convex polygon defined by the \fInpoints\fR points in \fIpa\fR starting at \fIpa[index]\fR (\fIindex\fR defaults to 0). .PP If the supplied polygon is not convex, the results are undefined. @@ -783,7 +783,7 @@ On some platforms (e.g. X Window), this is faster than drawPolygon(). \fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4. .PP Example: aclock/aclock.cpp. -.SH "void TQPainter::drawCubicBezier ( const QPointArray & a, int index = 0 )" +.SH "void TQPainter::drawCubicBezier ( const TQPointArray & a, int index = 0 )" Draws a cubic Bezier curve defined by the control points in \fIa\fR, starting at \fIa[index]\fR (\fIindex\fR defaults to 0). .PP Control points after \fIa[index + 3]\fR are ignored. Nothing happens if there aren't enough control points. @@ -794,25 +794,25 @@ Draws an ellipse with center at \fI(x + w/2, y + h/2)\fR and size \fI(w, h)\fR. .PP Examples: .)l drawdemo/drawdemo.cpp, multiple/ax2.h, picture/picture.cpp, and tictac/tictac.cpp. -.SH "void TQPainter::drawEllipse ( const QRect & r )" +.SH "void TQPainter::drawEllipse ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the ellipse that fits inside rectangle \fIr\fR. .SH "void TQPainter::drawImage ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )" Draws at (\fIx\fR, \fIy\fR) the \fIsw\fR by \fIsh\fR area of pixels from (\fIsx\fR, \fIsy\fR) in \fIimage\fR, using \fIconversionFlags\fR if the image needs to be converted to a pixmap. The default value for \fIconversionFlags\fR is 0; see convertFromImage() for information about what other values do. .PP -This function may convert \fIimage\fR to a pixmap and then draw it, if device() is a QPixmap or a TQWidget, or else draw it directly, if device() is a QPrinter or QPicture. +This function may convert \fIimage\fR to a pixmap and then draw it, if device() is a TQPixmap or a TQWidget, or else draw it directly, if device() is a TQPrinter or TQPicture. .PP -Currently alpha masks of the image are ignored when painting on a QPrinter. +Currently alpha masks of the image are ignored when painting on a TQPrinter. .PP -See also drawPixmap() and QPixmap::convertFromImage(). +See also drawPixmap() and TQPixmap::convertFromImage(). .PP Example: canvas/canvas.cpp. -.SH "void TQPainter::drawImage ( const QPoint &, const TQImage &, const QRect & sr, int conversionFlags = 0 )" +.SH "void TQPainter::drawImage ( const TQPoint &, const TQImage &, const TQRect & sr, int conversionFlags = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the rectangle \fIsr\fR from the image at the given point. -.SH "void TQPainter::drawImage ( const QPoint & p, const TQImage & i, int conversion_flags = 0 )" +.SH "void TQPainter::drawImage ( const TQPoint & p, const TQImage & i, int conversion_flags = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the image \fIi\fR at point \fIp\fR. @@ -820,7 +820,7 @@ Draws the image \fIi\fR at point \fIp\fR. If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen. .PP See also TQt::ImageConversionFlags. -.SH "void TQPainter::drawImage ( const QRect & r, const TQImage & i )" +.SH "void TQPainter::drawImage ( const TQRect & r, const TQImage & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the image \fIi\fR into the rectangle \fIr\fR. The image will be scaled to fit the rectangle if image and rectangle dimensions differ. @@ -831,30 +831,30 @@ See also pen(). .PP Examples: .)l aclock/aclock.cpp, drawlines/connect.cpp, progress/progress.cpp, splitter/splitter.cpp, themes/metal.cpp, and themes/wood.cpp. -.SH "void TQPainter::drawLine ( const QPoint & p1, const QPoint & p2 )" +.SH "void TQPainter::drawLine ( const TQPoint & p1, const TQPoint & p2 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a line from point \fIp1\fR to point \fIp2\fR. -.SH "void TQPainter::drawLineSegments ( const QPointArray & a, int index = 0, int nlines = -1 )" +.SH "void TQPainter::drawLineSegments ( const TQPointArray & a, int index = 0, int nlines = -1 )" Draws \fInlines\fR separate lines from points defined in \fIa\fR, starting at \fIa[index]\fR (\fIindex\fR defaults to 0). If \fInlines\fR is -1 (the default) all points until the end of the array are used (i.e. (a.size()-index)/2 lines are drawn). .PP Draws the 1st line from \fIa[index]\fR to \fIa[index+1]\fR. Draws the 2nd line from \fIa[index+2]\fR to \fIa[index+3]\fR etc. .PP \fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4. .PP -See also drawPolyline(), drawPolygon(), and QPen. -.SH "void TQPainter::drawPicture ( int x, int y, const QPicture & pic )" +See also drawPolyline(), drawPolygon(), and TQPen. +.SH "void TQPainter::drawPicture ( int x, int y, const TQPicture & pic )" Replays the picture \fIpic\fR translated by (\fIx\fR, \fIy\fR). .PP -This function does exactly the same as QPicture::play() when called with (\fIx\fR, \fIy\fR) = (0, 0). +This function does exactly the same as TQPicture::play() when called with (\fIx\fR, \fIy\fR) = (0, 0). .PP Examples: .)l picture/picture.cpp and xform/xform.cpp. -.SH "void TQPainter::drawPicture ( const QPicture & pic )" +.SH "void TQPainter::drawPicture ( const TQPicture & pic )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use one of the other TQPainter::drawPicture() functions with a (0, 0) offset instead. -.SH "void TQPainter::drawPicture ( const QPoint & p, const QPicture & pic )" +.SH "void TQPainter::drawPicture ( const TQPoint & p, const TQPicture & pic )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws picture \fIpic\fR at point \fIp\fR. @@ -869,53 +869,53 @@ See also drawArc() and drawChord(). .PP Examples: .)l drawdemo/drawdemo.cpp, grapher/grapher.cpp, t10/cannon.cpp, and t9/cannon.cpp. -.SH "void TQPainter::drawPie ( const QRect & r, int a, int alen )" +.SH "void TQPainter::drawPie ( const TQRect & r, int a, int alen )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a pie segment that fits inside the rectangle \fIr\fR with start angle \fIa\fR and arc length \fIalen\fR. -.SH "void TQPainter::drawPixmap ( int x, int y, const QPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )" +.SH "void TQPainter::drawPixmap ( int x, int y, const TQPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )" Draws a pixmap at \fI(x, y)\fR by copying a part of \fIpixmap\fR into the paint device. .PP \fI(x, y)\fR specifies the top-left point in the paint device that is to be drawn onto. \fI(sx, sy)\fR specifies the top-left point in \fIpixmap\fR that is to be drawn. The default is (0, 0). .PP \fI(sw, sh)\fR specifies the size of the pixmap that is to be drawn. The default, (-1, -1), means all the way to the bottom right of the pixmap. .PP -Currently the mask of the pixmap or it's alpha channel are ignored when painting on a QPrinter. +Currently the mask of the pixmap or it's alpha channel are ignored when painting on a TQPrinter. .PP -See also bitBlt() and QPixmap::setMask(). +See also bitBlt() and TQPixmap::setMask(). .PP Examples: .)l grapher/grapher.cpp, picture/picture.cpp, tqdir/tqdir.cpp, qmag/qmag.cpp, showimg/showimg.cpp, t10/cannon.cpp, and xform/xform.cpp. -.SH "void TQPainter::drawPixmap ( const QPoint & p, const QPixmap & pm, const QRect & sr )" +.SH "void TQPainter::drawPixmap ( const TQPoint & p, const TQPixmap & pm, const TQRect & sr )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the rectangle \fIsr\fR of pixmap \fIpm\fR with its origin at point \fIp\fR. -.SH "void TQPainter::drawPixmap ( const QPoint & p, const QPixmap & pm )" +.SH "void TQPainter::drawPixmap ( const TQPoint & p, const TQPixmap & pm )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the pixmap \fIpm\fR with its origin at point \fIp\fR. -.SH "void TQPainter::drawPixmap ( const QRect & r, const QPixmap & pm )" +.SH "void TQPainter::drawPixmap ( const TQRect & r, const TQPixmap & pm )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the pixmap \fIpm\fR into the rectangle \fIr\fR. The pixmap is scaled to fit the rectangle, if image and rectangle size disagree. .SH "void TQPainter::drawPoint ( int x, int y )" Draws/plots a single point at \fI(x, y)\fR using the current pen. .PP -See also QPen. +See also TQPen. .PP Examples: .)l desktop/desktop.cpp and drawlines/connect.cpp. -.SH "void TQPainter::drawPoint ( const QPoint & p )" +.SH "void TQPainter::drawPoint ( const TQPoint & p )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the point \fIp\fR. -.SH "void TQPainter::drawPoints ( const QPointArray & a, int index = 0, int npoints = -1 )" +.SH "void TQPainter::drawPoints ( const TQPointArray & a, int index = 0, int npoints = -1 )" Draws/plots an array of points, \fIa\fR, using the current pen. .PP If \fIindex\fR is non-zero (the default is zero) only points from \fIindex\fR are drawn. If \fInpoints\fR is negative (the default) the rest of the points from \fIindex\fR are drawn. If \fInpoints\fR is zero or greater, \fInpoints\fR points are drawn. .PP \fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4. -.SH "void TQPainter::drawPolygon ( const QPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )" +.SH "void TQPainter::drawPolygon ( const TQPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )" Draws the polygon defined by the \fInpoints\fR points in \fIa\fR starting at \fIa[index]\fR. (\fIindex\fR defaults to 0.) .PP If \fInpoints\fR is -1 (the default) all points until the end of the array are used (i.e. a.size()-index line segments define the polygon). @@ -926,29 +926,29 @@ The polygon is filled with the current brush(). If \fIwinding\fR is TRUE, the po .PP \fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4. .PP -See also drawLineSegments(), drawPolyline(), and QPen. +See also drawLineSegments(), drawPolyline(), and TQPen. .PP Examples: .)l desktop/desktop.cpp and picture/picture.cpp. -.SH "void TQPainter::drawPolyline ( const QPointArray & a, int index = 0, int npoints = -1 )" +.SH "void TQPainter::drawPolyline ( const TQPointArray & a, int index = 0, int npoints = -1 )" Draws the polyline defined by the \fInpoints\fR points in \fIa\fR starting at \fIa[index]\fR. (\fIindex\fR defaults to 0.) .PP If \fInpoints\fR is -1 (the default) all points until the end of the array are used (i.e. a.size()-index-1 line segments are drawn). .PP \fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4. .PP -See also drawLineSegments(), drawPolygon(), and QPen. +See also drawLineSegments(), drawPolygon(), and TQPen. .PP Examples: .)l scribble/scribble.cpp and themes/metal.cpp. .SH "void TQPainter::drawRect ( int x, int y, int w, int h )" Draws a rectangle with upper left corner at \fI(x, y)\fR and with width \fIw\fR and height \fIh\fR. .PP -See also QPen and drawRoundRect(). +See also TQPen and drawRoundRect(). .PP Examples: .)l drawdemo/drawdemo.cpp, picture/picture.cpp, t10/cannon.cpp, t11/cannon.cpp, t9/cannon.cpp, tooltip/tooltip.cpp, and trivial/trivial.cpp. -.SH "void TQPainter::drawRect ( const QRect & r )" +.SH "void TQPainter::drawRect ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the rectangle \fIr\fR. @@ -959,15 +959,15 @@ The \fIxRnd\fR and \fIyRnd\fR arguments specify how rounded the corners should b .PP The width and height include all of the drawn lines. .PP -See also drawRect() and QPen. +See also drawRect() and TQPen. .PP Examples: .)l drawdemo/drawdemo.cpp and themes/wood.cpp. -.SH "void TQPainter::drawRoundRect ( const QRect & r, int xRnd = 25, int yRnd = 25 )" +.SH "void TQPainter::drawRoundRect ( const TQRect & r, int xRnd = 25, int yRnd = 25 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a rounded rectangle \fIr\fR, rounding to the x position \fIxRnd\fR and the y position \fIyRnd\fR on each corner. -.SH "void TQPainter::drawText ( const QPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )" +.SH "void TQPainter::drawText ( const TQPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )" Draws the text from position \fIpos\fR, at point \fIp\fR. If \fIlen\fR is -1 the entire string is drawn, otherwise just the first \fIlen\fR characters. The text's direction is specified by \fIdir\fR. .PP Note that the meaning of \fIy\fR is not the same for the two drawText() varieties. For overloads that take a simple \fIx\fR, \fIy\fR pair (or a point), the \fIy\fR value is the text's baseline; for overloads that take a rectangle, \fIrect.y()\fR is the top of the rectangle and the text is aligned within that rectangle in accordance with the alignment flags. @@ -982,7 +982,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Draws the given text at position \fIx\fR, \fIy\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's direction is given by \fIdir\fR. .PP See also TQPainter::TextDirection. -.SH "void TQPainter::drawText ( const QPoint &, const TQString &, int len = -1, TextDirection dir = Auto )" +.SH "void TQPainter::drawText ( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the text at the given point. @@ -992,11 +992,11 @@ See also TQPainter::TextDirection. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the text from position \fIpos\fR, at point \fI(x, y)\fR. If \fIlen\fR is -1 the entire string is drawn, otherwise just the first \fIlen\fR characters. The text's direction is specified by \fIdir\fR. -.SH "void TQPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, TQTextParag ** internal = 0 )" +.SH "void TQPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQRect * br = 0, TQTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are TQt::AlignmentFlags and TQt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only. -.SH "void TQPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, TQTextParag ** internal = 0 )" +.SH "void TQPainter::drawText ( const TQRect & r, int tf, const TQString & str, int len = -1, TQRect * brect = 0, TQTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws at most \fIlen\fR characters from \fIstr\fR in the rectangle \fIr\fR. @@ -1008,7 +1008,7 @@ Horizontal alignment defaults to AlignAuto and vertical alignment defaults to Al \fIbrect\fR (if not null) is set to the actual bounding rectangle of the output. \fIinternal\fR is, yes, internal. .PP See also boundingRect(). -.SH "void TQPainter::drawTiledPixmap ( int x, int y, int w, int h, const QPixmap & pixmap, int sx = 0, int sy = 0 )" +.SH "void TQPainter::drawTiledPixmap ( int x, int y, int w, int h, const TQPixmap & pixmap, int sx = 0, int sy = 0 )" Draws a tiled \fIpixmap\fR in the specified rectangle. .PP \fI(x, y)\fR specifies the top-left point in the paint device that is to be drawn onto; with the width and height given by \fIw\fR and \fIh\fR. \fI(sx, sy)\fR specifies the top-left point in \fIpixmap\fR that is to be drawn. The default is (0, 0). @@ -1016,11 +1016,11 @@ Draws a tiled \fIpixmap\fR in the specified rectangle. Calling drawTiledPixmap() is similar to calling drawPixmap() several times to fill (tile) an area with a pixmap, but is potentially much more efficient depending on the underlying window system. .PP See also drawPixmap(). -.SH "void TQPainter::drawTiledPixmap ( const QRect & r, const QPixmap & pm, const QPoint & sp )" +.SH "void TQPainter::drawTiledPixmap ( const TQRect & r, const TQPixmap & pm, const TQPoint & sp )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a tiled pixmap, \fIpm\fR, inside rectangle \fIr\fR with its origin at point \fIsp\fR. -.SH "void TQPainter::drawTiledPixmap ( const QRect & r, const QPixmap & pm )" +.SH "void TQPainter::drawTiledPixmap ( const TQRect & r, const TQPixmap & pm )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a tiled pixmap, \fIpm\fR, inside rectangle \fIr\fR. @@ -1044,11 +1044,11 @@ This function draws a stippled XOR rectangle that is used to indicate keyboard f \fBWarning:\fR This function draws nothing if the coordinate system has been rotated or sheared. .PP See also drawRect() and QApplication::style(). -.SH "void TQPainter::drawWinFocusRect ( const QRect & r )" +.SH "void TQPainter::drawWinFocusRect ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws rectangle \fIr\fR as a window focus rectangle. -.SH "void TQPainter::drawWinFocusRect ( const QRect & r, const TQColor & bgColor )" +.SH "void TQPainter::drawWinFocusRect ( const TQRect & r, const TQColor & bgColor )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws rectangle \fIr\fR as a window focus rectangle using background color \fIbgColor\fR. @@ -1071,7 +1071,7 @@ Note that while you mostly don't need to call end(), the destructor will do it, .br .fi .PP -Since you can't draw a QPixmap while it is being painted, it is necessary to close the active painter. +Since you can't draw a TQPixmap while it is being painted, it is necessary to close the active painter. .PP See also begin() and isActive(). .PP @@ -1082,7 +1082,7 @@ Erases the area inside \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR. Equivalent to \fCfill .PP Examples: .)l listboxcombo/listboxcombo.cpp and showimg/showimg.cpp. -.SH "void TQPainter::eraseRect ( const QRect & r )" +.SH "void TQPainter::eraseRect ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Erases the area inside the rectangle \fIr\fR. @@ -1095,11 +1095,11 @@ See also drawRect(). .PP Examples: .)l listboxcombo/listboxcombo.cpp, multiple/ax1.h, progress/progress.cpp, tqdir/tqdir.cpp, qfd/fontdisplayer.cpp, themes/metal.cpp, and themes/wood.cpp. -.SH "void TQPainter::fillRect ( const QRect & r, const TQBrush & brush )" +.SH "void TQPainter::fillRect ( const TQRect & r, const TQBrush & brush )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Fills the rectangle \fIr\fR using brush \fIbrush\fR. -.SH "void TQPainter::flush ( const QRegion & region, CoordinateMode cm = CoordDevice )" +.SH "void TQPainter::flush ( const TQRegion & region, CoordinateMode cm = CoordDevice )" Flushes any buffered drawing operations inside the region \fIregion\fR using clipping mode \fIcm\fR. .PP The flush may update the whole device if the platform does not support flushing to a specified region. @@ -1156,8 +1156,8 @@ Use drawLine() instead. .PP Draws a line from the current pen position to \fI(x, y)\fR and sets \fI(x, y)\fR to be the new current pen position. .PP -See also QPen, moveTo(), drawLine(), and pos(). -.SH "void TQPainter::lineTo ( const QPoint & p )" +See also TQPen, moveTo(), drawLine(), and pos(). +.SH "void TQPainter::lineTo ( const TQPoint & p )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a line to the point \fIp\fR. @@ -1167,18 +1167,18 @@ Draws a line to the point \fIp\fR. Sets the current pen position to \fI(x, y)\fR .PP See also lineTo() and pos(). -.SH "void TQPainter::moveTo ( const QPoint & p )" +.SH "void TQPainter::moveTo ( const TQPoint & p )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves to the point \fIp\fR. -.SH "const QPen & TQPainter::pen () const" +.SH "const TQPen & TQPainter::pen () const" Returns the painter's current pen. .PP See also setPen(). .PP Examples: .)l multiple/ax2.h, progress/progress.cpp, and themes/wood.cpp. -.SH "QPoint TQPainter::pos () const" +.SH "TQPoint TQPainter::pos () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Returns the current position of the pen. @@ -1191,7 +1191,7 @@ See also setRasterOp() and RasterOp. .SH "void TQPainter::redirect ( TQPaintDevice * pdev, TQPaintDevice * replacement )\fC [static]\fR" Redirects all paint commands for a paint device, \fIpdev\fR, to another paint device, \fIreplacement\fR, unless \fIreplacement\fR is 0. If \fIreplacement\fR is 0, the redirection for \fIpdev\fR is removed. .PP -In general, you'll probably find calling QPixmap::grabWidget() or QPixmap::grabWindow() is an easier solution. +In general, you'll probably find calling TQPixmap::grabWidget() or TQPixmap::grabWindow() is an easier solution. .SH "void TQPainter::resetXForm ()" Resets any transformations that were made using translate(), scale(), shear(), rotate(), setWorldMatrix(), setViewport() and setWindow(). .PP @@ -1240,7 +1240,7 @@ Sets the background mode of the painter to \fIm\fR, which must be either Transpa .PP Transparent mode draws stippled lines and text without setting the background pixels. Opaque mode fills these space with the current background color. .PP -Note that in order to draw a bitmap or pixmap transparently, you must use QPixmap::setMask(). +Note that in order to draw a bitmap or pixmap transparently, you must use TQPixmap::setMask(). .PP See also backgroundMode() and setBackgroundColor(). .PP @@ -1272,7 +1272,7 @@ Sets the brush origin to \fI(x, y)\fR. The brush origin specifies the (0, 0) coordinate of the painter's brush. This setting only applies to pattern brushes and pixmap brushes. .PP See also brushOrigin(). -.SH "void TQPainter::setBrushOrigin ( const QPoint & p )" +.SH "void TQPainter::setBrushOrigin ( const TQPoint & p )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the brush origin to point \fIp\fR. @@ -1285,13 +1285,13 @@ See also setClipRegion(), clipRegion(), setClipping(), and TQPainter::Coordinate .PP Examples: .)l grapher/grapher.cpp, progress/progress.cpp, showimg/showimg.cpp, splitter/splitter.cpp, and trivial/trivial.cpp. -.SH "void TQPainter::setClipRect ( const QRect & r, CoordinateMode m = CoordDevice )" +.SH "void TQPainter::setClipRect ( const TQRect & r, CoordinateMode m = CoordDevice )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the clip region to the rectangle \fIr\fR and enables clipping. The clip mode is set to \fIm\fR. .PP See also CoordinateMode. -.SH "void TQPainter::setClipRegion ( const QRegion & rgn, CoordinateMode m = CoordDevice )" +.SH "void TQPainter::setClipRegion ( const TQRegion & rgn, CoordinateMode m = CoordDevice )" Sets the clip region to \fIrgn\fR and enables clipping. The clip mode is set to \fIm\fR. .PP Note that the clip region is given in physical device coordinates and \fInot\fR subject to any coordinate transformation. @@ -1315,7 +1315,7 @@ See also font() and drawText(). .PP Examples: .)l drawdemo/drawdemo.cpp, grapher/grapher.cpp, hello/hello.cpp, picture/picture.cpp, qwerty/qwerty.cpp, t13/cannon.cpp, and xform/xform.cpp. -.SH "void TQPainter::setPen ( const QPen & pen )" +.SH "void TQPainter::setPen ( const TQPen & pen )" Sets a new painter pen. .PP The \fIpen\fR defines how to draw lines and outlines, and it also defines the text color. @@ -1329,13 +1329,13 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP Sets the painter's pen to have style \fIstyle\fR, width 0 and black color. .PP -See also pen() and QPen. +See also pen() and TQPen. .SH "void TQPainter::setPen ( const TQColor & color )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the painter's pen to have style SolidLine, width 0 and the specified \fIcolor\fR. .PP -See also pen() and QPen. +See also pen() and TQPen. .SH "void TQPainter::setRasterOp ( RasterOp r )" Sets the raster operation to \fIr\fR. The default is CopyROP. .PP @@ -1368,7 +1368,7 @@ The default viewport rectangle is the same as the device's rectangle. See the Co See also viewport(), setWindow(), setViewXForm(), setWorldMatrix(), setWorldXForm(), and xForm(). .PP Example: aclock/aclock.cpp. -.SH "void TQPainter::setViewport ( const QRect & r )" +.SH "void TQPainter::setViewport ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the painter's viewport to rectangle \fIr\fR. @@ -1383,20 +1383,20 @@ See also window(), setViewport(), setViewXForm(), setWorldMatrix(), and setWorld .PP Examples: .)l aclock/aclock.cpp and drawdemo/drawdemo.cpp. -.SH "void TQPainter::setWindow ( const QRect & r )" +.SH "void TQPainter::setWindow ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the painter's window to rectangle \fIr\fR. -.SH "void TQPainter::setWorldMatrix ( const QWMatrix & m, bool combine = FALSE )" +.SH "void TQPainter::setWorldMatrix ( const TQWMatrix & m, bool combine = FALSE )" Sets the world transformation matrix to \fIm\fR and enables world transformation. .PP If \fIcombine\fR is TRUE, then \fIm\fR is combined with the current transformation matrix, otherwise \fIm\fR replaces the current transformation matrix. .PP -If \fIm\fR is the identity matrix and \fIcombine\fR is FALSE, this function calls setWorldXForm(FALSE). (The identity matrix is the matrix where QWMatrix::m11() and QWMatrix::m22() are 1.0 and the rest are 0.0.) +If \fIm\fR is the identity matrix and \fIcombine\fR is FALSE, this function calls setWorldXForm(FALSE). (The identity matrix is the matrix where TQWMatrix::m11() and TQWMatrix::m22() are 1.0 and the rest are 0.0.) .PP World transformations are applied after the view transformations (i.e. window and viewport). .PP -The following functions can transform the coordinate system without using a QWMatrix: +The following functions can transform the coordinate system without using a TQWMatrix: .TP translate() .TP @@ -1414,7 +1414,7 @@ They operate on the painter's worldMatrix() and are implemented like this: .br { .br - QWMatrix m; + TQWMatrix m; .br m.rotate( a ); .br @@ -1424,11 +1424,11 @@ They operate on the painter's worldMatrix() and are implemented like this: .br .fi .PP -Note that you should always use \fIcombine\fR when you are drawing into a QPicture. Otherwise it may not be possible to replay the picture with additional transformations. Using translate(), scale(), etc., is safe. +Note that you should always use \fIcombine\fR when you are drawing into a TQPicture. Otherwise it may not be possible to replay the picture with additional transformations. Using translate(), scale(), etc., is safe. .PP For a brief overview of coordinate transformation, see the Coordinate System Overview. .PP -See also worldMatrix(), setWorldXForm(), setWindow(), setViewport(), setViewXForm(), xForm(), and QWMatrix. +See also worldMatrix(), setWorldXForm(), setWindow(), setViewport(), setViewXForm(), xForm(), and TQWMatrix. .PP Examples: .)l drawdemo/drawdemo.cpp and xform/xform.cpp. @@ -1477,39 +1477,39 @@ See also scale(), shear(), rotate(), resetXForm(), setWorldMatrix(), and xForm() .PP Examples: .)l action/application.cpp, application/application.cpp, t10/cannon.cpp, t9/cannon.cpp, themes/metal.cpp, themes/wood.cpp, and xform/xform.cpp. -.SH "QRect TQPainter::viewport () const" +.SH "TQRect TQPainter::viewport () const" Returns the viewport rectangle. .PP See also setViewport() and setViewXForm(). .PP Example: aclock/aclock.cpp. -.SH "QRect TQPainter::window () const" +.SH "TQRect TQPainter::window () const" Returns the window rectangle. .PP See also setWindow() and setViewXForm(). -.SH "const QWMatrix & TQPainter::worldMatrix () const" +.SH "const TQWMatrix & TQPainter::worldMatrix () const" Returns the world transformation matrix. .PP See also setWorldMatrix(). -.SH "QPoint TQPainter::xForm ( const QPoint & pv ) const" +.SH "TQPoint TQPainter::xForm ( const TQPoint & pv ) const" Returns the point \fIpv\fR transformed from model coordinates to device coordinates. .PP -See also xFormDev() and QWMatrix::map(). -.SH "QRect TQPainter::xForm ( const QRect & rv ) const" +See also xFormDev() and TQWMatrix::map(). +.SH "TQRect TQPainter::xForm ( const TQRect & rv ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the rectangle \fIrv\fR transformed from model coordinates to device coordinates. .PP If world transformation is enabled and rotation or shearing has been specified, then the bounding rectangle is returned. .PP -See also xFormDev() and QWMatrix::map(). -.SH "QPointArray TQPainter::xForm ( const QPointArray & av ) const" +See also xFormDev() and TQWMatrix::map(). +.SH "TQPointArray TQPainter::xForm ( const TQPointArray & av ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point array \fIav\fR transformed from model coordinates to device coordinates. .PP -See also xFormDev() and QWMatrix::map(). -.SH "QPointArray TQPainter::xForm ( const QPointArray & av, int index, int npoints ) const" +See also xFormDev() and TQWMatrix::map(). +.SH "TQPointArray TQPainter::xForm ( const TQPointArray & av, int index, int npoints ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point array \fIav\fR transformed from model coordinates to device coordinates. The \fIindex\fR is the first point in the array and \fInpoints\fR denotes the number of points to be transformed. If \fInpoints\fR is negative, all points from \fIav[index]\fR until the last point in the array are transformed. @@ -1520,9 +1520,9 @@ Example: .PP .nf .br - QPointArray a(10); + TQPointArray a(10); .br - QPointArray b; + TQPointArray b; .br b = painter.xForm(a, 2, 4); // b.size() == 4 .br @@ -1530,26 +1530,26 @@ Example: .br .fi .PP -See also xFormDev() and QWMatrix::map(). -.SH "QRect TQPainter::xFormDev ( const QRect & rd ) const" +See also xFormDev() and TQWMatrix::map(). +.SH "TQRect TQPainter::xFormDev ( const TQRect & rd ) const" Returns the rectangle \fIrd\fR transformed from device coordinates to model coordinates. .PP If world transformation is enabled and rotation or shearing is used, then the bounding rectangle is returned. .PP -See also xForm() and QWMatrix::map(). -.SH "QPoint TQPainter::xFormDev ( const QPoint & pd ) const" +See also xForm() and TQWMatrix::map(). +.SH "TQPoint TQPainter::xFormDev ( const TQPoint & pd ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point \fIpd\fR transformed from device coordinates to model coordinates. .PP -See also xForm() and QWMatrix::map(). -.SH "QPointArray TQPainter::xFormDev ( const QPointArray & ad ) const" +See also xForm() and TQWMatrix::map(). +.SH "TQPointArray TQPainter::xFormDev ( const TQPointArray & ad ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point array \fIad\fR transformed from device coordinates to model coordinates. .PP -See also xForm() and QWMatrix::map(). -.SH "QPointArray TQPainter::xFormDev ( const QPointArray & ad, int index, int npoints ) const" +See also xForm() and TQWMatrix::map(). +.SH "TQPointArray TQPainter::xFormDev ( const TQPointArray & ad, int index, int npoints ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point array \fIad\fR transformed from device coordinates to model coordinates. The \fIindex\fR is the first point in the array and \fInpoints\fR denotes the number of points to be transformed. If \fInpoints\fR is negative, all points from \fIad[index]\fR until the last point in the array are transformed. @@ -1560,9 +1560,9 @@ Example: .PP .nf .br - QPointArray a(10); + TQPointArray a(10); .br - QPointArray b; + TQPointArray b; .br b = painter.xFormDev(a, 1, 3); // b.size() == 3 .br @@ -1570,7 +1570,7 @@ Example: .br .fi .PP -See also xForm() and QWMatrix::map(). +See also xForm() and TQWMatrix::map(). .SH RELATED FUNCTION DOCUMENTATION .SH "void qDrawPlainRect ( TQPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const TQBrush * fill )" \fC#include <ntqdrawutil.h>\fR diff --git a/doc/man/man3/tqpaintevent.3qt b/doc/man/man3/tqpaintevent.3qt index 76917e3f2..7cdd70f49 100644 --- a/doc/man/man3/tqpaintevent.3qt +++ b/doc/man/man3/tqpaintevent.3qt @@ -16,19 +16,19 @@ Inherits QEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBTQPaintEvent\fR ( const QRegion & paintRegion, bool erased = TRUE )" +.BI "\fBTQPaintEvent\fR ( const TQRegion & paintRegion, bool erased = TRUE )" .br .ti -1c -.BI "\fBTQPaintEvent\fR ( const QRect & paintRect, bool erased = TRUE )" +.BI "\fBTQPaintEvent\fR ( const TQRect & paintRect, bool erased = TRUE )" .br .ti -1c -.BI "\fBTQPaintEvent\fR ( const QRegion & paintRegion, const QRect & paintRect, bool erased = TRUE )" +.BI "\fBTQPaintEvent\fR ( const TQRegion & paintRegion, const TQRect & paintRect, bool erased = TRUE )" .br .ti -1c -.BI "const QRect & \fBrect\fR () const" +.BI "const TQRect & \fBrect\fR () const" .br .ti -1c -.BI "const QRegion & \fBregion\fR () const" +.BI "const TQRegion & \fBregion\fR () const" .br .ti -1c .BI "bool \fBerased\fR () const" @@ -43,24 +43,24 @@ The event contains a region() that needs to be updated, and a rect() that is the .PP The erased() function returns TRUE if the region() has been cleared to the widget's background (see TQWidget::backgroundMode()), and FALSE if the region's contents are arbitrary. .PP -See also TQPainter, TQWidget::update(), TQWidget::repaint(), TQWidget::paintEvent(), TQWidget::backgroundMode, QRegion, and Event Classes. +See also TQPainter, TQWidget::update(), TQWidget::repaint(), TQWidget::paintEvent(), TQWidget::backgroundMode, TQRegion, and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQPaintEvent::TQPaintEvent ( const QRegion & paintRegion, bool erased = TRUE )" +.SH "TQPaintEvent::TQPaintEvent ( const TQRegion & paintRegion, bool erased = TRUE )" Constructs a paint event object with the region that should be updated. The region is given by \fIpaintRegion\fR. If \fIerased\fR is TRUE the region will be cleared before repainting. -.SH "TQPaintEvent::TQPaintEvent ( const QRect & paintRect, bool erased = TRUE )" +.SH "TQPaintEvent::TQPaintEvent ( const TQRect & paintRect, bool erased = TRUE )" Constructs a paint event object with the rectangle that should be updated. The region is also given by \fIpaintRect\fR. If \fIerased\fR is TRUE the region will be cleared before repainting. -.SH "TQPaintEvent::TQPaintEvent ( const QRegion & paintRegion, const QRect & paintRect, bool erased = TRUE )" +.SH "TQPaintEvent::TQPaintEvent ( const TQRegion & paintRegion, const TQRect & paintRect, bool erased = TRUE )" Constructs a paint event object with the rectangle \fIpaintRect\fR that should be updated. The region is given by \fIpaintRegion\fR. If \fIerased\fR is TRUE the region will be cleared before repainting. .SH "bool TQPaintEvent::erased () const" Returns TRUE if the paint event region (or rectangle) has been erased with the widget's background; otherwise returns FALSE. -.SH "const QRect & TQPaintEvent::rect () const" +.SH "const TQRect & TQPaintEvent::rect () const" Returns the rectangle that should be updated. .PP See also region() and TQPainter::setClipRect(). .PP Examples: .)l life/life.cpp, qfd/fontdisplayer.cpp, showimg/showimg.cpp, t10/cannon.cpp, t11/cannon.cpp, t13/cannon.cpp, and tooltip/tooltip.cpp. -.SH "const QRegion & TQPaintEvent::region () const" +.SH "const TQRegion & TQPaintEvent::region () const" Returns the region that should be updated. .PP See also rect() and TQPainter::setClipRegion(). diff --git a/doc/man/man3/tqpalette.3qt b/doc/man/man3/tqpalette.3qt index 23ddbcdaf..e6b30193f 100644 --- a/doc/man/man3/tqpalette.3qt +++ b/doc/man/man3/tqpalette.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPalette 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPalette 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 -QPalette \- Color groups for each widget state +TQPalette \- Color groups for each widget state .SH SYNOPSIS -\fC#include <ntqpalette.h>\fR +\fC#include <tqpalette.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPalette\fR ()" +.BI "\fBTQPalette\fR ()" .br .ti -1c -.BI "QPalette ( const TQColor & button ) \fI(obsolete)\fR" +.BI "TQPalette ( const TQColor & button ) \fI(obsolete)\fR" .br .ti -1c -.BI "\fBQPalette\fR ( const TQColor & button, const TQColor & background )" +.BI "\fBTQPalette\fR ( const TQColor & button, const TQColor & background )" .br .ti -1c -.BI "\fBQPalette\fR ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive )" +.BI "\fBTQPalette\fR ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive )" .br .ti -1c -.BI "\fBQPalette\fR ( const QPalette & p )" +.BI "\fBTQPalette\fR ( const TQPalette & p )" .br .ti -1c -.BI "\fB~QPalette\fR ()" +.BI "\fB~TQPalette\fR ()" .br .ti -1c -.BI "QPalette & \fBoperator=\fR ( const QPalette & p )" +.BI "TQPalette & \fBoperator=\fR ( const TQPalette & p )" .br .ti -1c .BI "enum \fBColorGroup\fR { Disabled, Active, Inactive, NColorGroups }" @@ -56,7 +56,7 @@ QPalette \- Color groups for each widget state .BI "void \fBsetBrush\fR ( TQColorGroup::ColorRole r, const TQBrush & b )" .br .ti -1c -.BI "QPalette \fBcopy\fR () const" +.BI "TQPalette \fBcopy\fR () const" .br .ti -1c .BI "const TQColorGroup & \fBactive\fR () const" @@ -77,13 +77,13 @@ QPalette \- Color groups for each widget state .BI "void \fBsetInactive\fR ( const TQColorGroup & g )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QPalette & p ) const" +.BI "bool \fBoperator==\fR ( const TQPalette & p ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QPalette & p ) const" +.BI "bool \fBoperator!=\fR ( const TQPalette & p ) const" .br .ti -1c -.BI "bool \fBisCopyOf\fR ( const QPalette & p )" +.BI "bool \fBisCopyOf\fR ( const TQPalette & p )" .br .ti -1c .BI "int \fBserialNumber\fR () const" @@ -92,14 +92,14 @@ QPalette \- Color groups for each widget state .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QPalette & p )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQPalette & p )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QPalette & p )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQPalette & p )" .br .in -1c .SH DESCRIPTION -The QPalette class contains color groups for each widget state. +The TQPalette class contains color groups for each widget state. .PP A palette consists of three color groups: \fIactive\fR, \fIdisabled\fR, and \fIinactive\fR. All widgets contain a palette, and all widgets in TQt use their palette to draw themselves. This makes the user interface easily configurable and easier to keep consistent. .PP @@ -125,130 +125,130 @@ You can copy a palette using the copy constructor and test to see if two palette .PP See also QApplication::setPalette(), TQWidget::palette, TQColorGroup, TQColor, Widget Appearance and Style, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SS "Member Type Documentation" -.SH "QPalette::ColorGroup" +.SH "TQPalette::ColorGroup" .TP -\fCQPalette::Disabled\fR +\fCTQPalette::Disabled\fR .TP -\fCQPalette::Active\fR +\fCTQPalette::Active\fR .TP -\fCQPalette::Inactive\fR +\fCTQPalette::Inactive\fR .TP -\fCQPalette::NColorGroups\fR +\fCTQPalette::NColorGroups\fR .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPalette::QPalette ()" +.SH "TQPalette::TQPalette ()" Constructs a palette that consists of color groups with only black colors. -.SH "QPalette::QPalette ( const TQColor & button )" +.SH "TQPalette::TQPalette ( const TQColor & button )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Constructs a palette from the \fIbutton\fR color. The other colors are automatically calculated, based on this color. Background will be the button color as well. -.SH "QPalette::QPalette ( const TQColor & button, const TQColor & background )" +.SH "TQPalette::TQPalette ( const TQColor & button, const TQColor & background )" Constructs a palette from a \fIbutton\fR color and a \fIbackground\fR. The other colors are automatically calculated, based on these colors. -.SH "QPalette::QPalette ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive )" +.SH "TQPalette::TQPalette ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive )" Constructs a palette that consists of the three color groups \fIactive\fR, \fIdisabled\fR and \fIinactive\fR. See the Detailed Description for definitions of the color groups and TQColorGroup::ColorRole for definitions of each color role in the three groups. .PP See also TQColorGroup and TQColorGroup::ColorRole. -.SH "QPalette::QPalette ( const QPalette & p )" +.SH "TQPalette::TQPalette ( const TQPalette & p )" Constructs a copy of \fIp\fR. .PP This constructor is fast (it uses copy-on-write). -.SH "QPalette::~QPalette ()" +.SH "TQPalette::~TQPalette ()" Destroys the palette. -.SH "const TQColorGroup & QPalette::active () const" +.SH "const TQColorGroup & TQPalette::active () const" Returns the active color group of this palette. .PP See also TQColorGroup, setActive(), inactive(), and disabled(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const TQBrush & QPalette::brush ( ColorGroup gr, TQColorGroup::ColorRole r ) const" +.SH "const TQBrush & TQPalette::brush ( ColorGroup gr, TQColorGroup::ColorRole r ) const" Returns the brush in color group \fIgr\fR, used for color role \fIr\fR. .PP See also color(), setBrush(), and TQColorGroup::ColorRole. -.SH "const TQColor & QPalette::color ( ColorGroup gr, TQColorGroup::ColorRole r ) const" +.SH "const TQColor & TQPalette::color ( ColorGroup gr, TQColorGroup::ColorRole r ) const" Returns the color in color group \fIgr\fR, used for color role \fIr\fR. .PP See also brush(), setColor(), and TQColorGroup::ColorRole. -.SH "QPalette QPalette::copy () const" +.SH "TQPalette TQPalette::copy () const" Returns a deep copy of this palette. .PP \fBWarning:\fR This is slower than the copy constructor and assignment operator and offers no benefits. -.SH "const TQColorGroup & QPalette::disabled () const" +.SH "const TQColorGroup & TQPalette::disabled () const" Returns the disabled color group of this palette. .PP See also TQColorGroup, setDisabled(), active(), and inactive(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const TQColorGroup & QPalette::inactive () const" +.SH "const TQColorGroup & TQPalette::inactive () const" Returns the inactive color group of this palette. .PP See also TQColorGroup, setInactive(), active(), and disabled(). -.SH "bool QPalette::isCopyOf ( const QPalette & p )" +.SH "bool TQPalette::isCopyOf ( const TQPalette & p )" Returns TRUE if this palette and \fIp\fR are copies of each other, i.e. one of them was created as a copy of the other and neither was subsequently modified; otherwise returns FALSE. This is much stricter than equality. .PP See also operator=() and operator==(). -.SH "bool QPalette::operator!= ( const QPalette & p ) const" +.SH "bool TQPalette::operator!= ( const TQPalette & p ) const" Returns TRUE (slowly) if this palette is different from \fIp\fR; otherwise returns FALSE (usually quickly). -.SH "QPalette & QPalette::operator= ( const QPalette & p )" +.SH "TQPalette & TQPalette::operator= ( const TQPalette & p )" Assigns \fIp\fR to this palette and returns a reference to this palette. .PP This is fast (it uses copy-on-write). .PP See also copy(). -.SH "bool QPalette::operator== ( const QPalette & p ) const" +.SH "bool TQPalette::operator== ( const TQPalette & p ) const" Returns TRUE (usually quickly) if this palette is equal to \fIp\fR; otherwise returns FALSE (slowly). -.SH "int QPalette::serialNumber () const" -Returns a number that uniquely identifies this QPalette object. The serial number is intended for caching. Its value may not be used for anything other than equality testing. +.SH "int TQPalette::serialNumber () const" +Returns a number that uniquely identifies this TQPalette object. The serial number is intended for caching. Its value may not be used for anything other than equality testing. .PP -Note that QPalette uses copy-on-write, and the serial number changes during the lazy copy operation (detach()), not during a shallow copy (copy constructor or assignment). +Note that TQPalette uses copy-on-write, and the serial number changes during the lazy copy operation (detach()), not during a shallow copy (copy constructor or assignment). .PP -See also QPixmap, QPixmapCache, and TQCache. -.SH "void QPalette::setActive ( const TQColorGroup & g )" +See also TQPixmap, TQPixmapCache, and TQCache. +.SH "void TQPalette::setActive ( const TQColorGroup & g )" Sets the Active color group to \fIg\fR. .PP See also active(), setDisabled(), setInactive(), and TQColorGroup. -.SH "void QPalette::setBrush ( ColorGroup gr, TQColorGroup::ColorRole r, const TQBrush & b )" +.SH "void TQPalette::setBrush ( ColorGroup gr, TQColorGroup::ColorRole r, const TQBrush & b )" Sets the brush in color group \fIgr\fR, used for color role \fIr\fR, to \fIb\fR. .PP See also brush(), setColor(), and TQColorGroup::ColorRole. -.SH "void QPalette::setBrush ( TQColorGroup::ColorRole r, const TQBrush & b )" +.SH "void TQPalette::setBrush ( TQColorGroup::ColorRole r, const TQBrush & b )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the brush in for color role \fIr\fR in all three color groups to \fIb\fR. .PP See also brush(), setColor(), TQColorGroup::ColorRole, active(), inactive(), and disabled(). -.SH "void QPalette::setColor ( ColorGroup gr, TQColorGroup::ColorRole r, const TQColor & c )" +.SH "void TQPalette::setColor ( ColorGroup gr, TQColorGroup::ColorRole r, const TQColor & c )" Sets the brush in color group \fIgr\fR, used for color role \fIr\fR, to the solid color \fIc\fR. .PP See also setBrush(), color(), and TQColorGroup::ColorRole. .PP Example: themes/themes.cpp. -.SH "void QPalette::setColor ( TQColorGroup::ColorRole r, const TQColor & c )" +.SH "void TQPalette::setColor ( TQColorGroup::ColorRole r, const TQColor & c )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the brush color used for color role \fIr\fR to color \fIc\fR in all three color groups. .PP See also color(), setBrush(), and TQColorGroup::ColorRole. -.SH "void QPalette::setDisabled ( const TQColorGroup & g )" +.SH "void TQPalette::setDisabled ( const TQColorGroup & g )" Sets the Disabled color group to \fIg\fR. .PP See also disabled(), setActive(), and setInactive(). -.SH "void QPalette::setInactive ( const TQColorGroup & g )" +.SH "void TQPalette::setInactive ( const TQColorGroup & g )" Sets the Inactive color group to \fIg\fR. .PP See also active(), setDisabled(), setActive(), and TQColorGroup. .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QPalette & p )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQPalette & p )" Writes the palette, \fIp\fR to the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. -.SH "TQDataStream & operator>> ( TQDataStream & s, QPalette & p )" +.SH "TQDataStream & operator>> ( TQDataStream & s, TQPalette & p )" Reads a palette from the stream, \fIs\fR into the palette \fIp\fR, and returns a reference to the stream. .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpalette.html +.BR http://doc.trolltech.com/tqpalette.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/tqpen.3qt b/doc/man/man3/tqpen.3qt index fa631e8f0..0bac205aa 100644 --- a/doc/man/man3/tqpen.3qt +++ b/doc/man/man3/tqpen.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPen 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPen 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,34 +7,34 @@ .ad l .nh .SH NAME -QPen \- Defines how a TQPainter should draw lines and outlines of shapes +TQPen \- Defines how a TQPainter should draw lines and outlines of shapes .SH SYNOPSIS -\fC#include <ntqpen.h>\fR +\fC#include <tqpen.h>\fR .PP Inherits Qt. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPen\fR ()" +.BI "\fBTQPen\fR ()" .br .ti -1c -.BI "\fBQPen\fR ( PenStyle style )" +.BI "\fBTQPen\fR ( PenStyle style )" .br .ti -1c -.BI "\fBQPen\fR ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )" +.BI "\fBTQPen\fR ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )" .br .ti -1c -.BI "\fBQPen\fR ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )" +.BI "\fBTQPen\fR ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )" .br .ti -1c -.BI "\fBQPen\fR ( const QPen & p )" +.BI "\fBTQPen\fR ( const TQPen & p )" .br .ti -1c -.BI "\fB~QPen\fR ()" +.BI "\fB~TQPen\fR ()" .br .ti -1c -.BI "QPen & \fBoperator=\fR ( const QPen & p )" +.BI "TQPen & \fBoperator=\fR ( const TQPen & p )" .br .ti -1c .BI "PenStyle \fBstyle\fR () const" @@ -67,23 +67,23 @@ Inherits Qt. .BI "void \fBsetJoinStyle\fR ( PenJoinStyle j )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QPen & p ) const" +.BI "bool \fBoperator==\fR ( const TQPen & p ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QPen & p ) const" +.BI "bool \fBoperator!=\fR ( const TQPen & p ) const" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QPen & p )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQPen & p )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QPen & p )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQPen & p )" .br .in -1c .SH DESCRIPTION -The QPen class defines how a TQPainter should draw lines and outlines of shapes. +The TQPen class defines how a TQPainter should draw lines and outlines of shapes. .PP A pen has a style, width, color, cap style and join style. .PP @@ -103,7 +103,7 @@ Example: .br TQPainter painter; .br - QPen pen( red, 2 ); // red solid line, 2 pixels wide + TQPen pen( red, 2 ); // red solid line, 2 pixels wide .br painter.begin( &anyPaintDevice ); // paint something .br @@ -133,55 +133,55 @@ A pen's color(), width(), style(), capStyle() and joinStyle() can be set in the .PP See also TQPainter, TQPainter::setPen(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPen::QPen ()" +.SH "TQPen::TQPen ()" Constructs a default black solid line pen with 0 width, which renders lines 1 pixel wide (fast diagonals). -.SH "QPen::QPen ( PenStyle style )" +.SH "TQPen::TQPen ( PenStyle style )" Constructs a black pen with 0 width (fast diagonals) and style \fIstyle\fR. .PP See also setStyle(). -.SH "QPen::QPen ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )" +.SH "TQPen::TQPen ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )" Constructs a pen with the specified \fIcolor\fR, \fIwidth\fR and \fIstyle\fR. .PP See also setWidth(), setStyle(), and setColor(). -.SH "QPen::QPen ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )" +.SH "TQPen::TQPen ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )" Constructs a pen with the specified color \fIcl\fR and width \fIw\fR. The pen style is set to \fIs\fR, the pen cap style to \fIc\fR and the pen join style to \fIj\fR. .PP A line width of 0 will produce a 1 pixel wide line using a fast algorithm for diagonals. A line width of 1 will also produce a 1 pixel wide line, but uses a slower more accurate algorithm for diagonals. For horizontal and vertical lines a line width of 0 is the same as a line width of 1. The cap and join style have no effect on 0-width lines. .PP See also setWidth(), setStyle(), and setColor(). -.SH "QPen::QPen ( const QPen & p )" +.SH "TQPen::TQPen ( const TQPen & p )" Constructs a pen that is a copy of \fIp\fR. -.SH "QPen::~QPen ()" +.SH "TQPen::~TQPen ()" Destroys the pen. -.SH "PenCapStyle QPen::capStyle () const" +.SH "PenCapStyle TQPen::capStyle () const" Returns the pen's cap style. .PP See also setCapStyle(). -.SH "const TQColor & QPen::color () const" +.SH "const TQColor & TQPen::color () const" Returns the pen color. .PP See also setColor(). .PP Example: scribble/scribble.h. -.SH "PenJoinStyle QPen::joinStyle () const" +.SH "PenJoinStyle TQPen::joinStyle () const" Returns the pen's join style. .PP See also setJoinStyle(). -.SH "bool QPen::operator!= ( const QPen & p ) const" +.SH "bool TQPen::operator!= ( const TQPen & p ) const" Returns TRUE if the pen is different from \fIp\fR; otherwise returns FALSE. .PP Two pens are different if they have different styles, widths or colors. .PP See also operator==(). -.SH "QPen & QPen::operator= ( const QPen & p )" +.SH "TQPen & TQPen::operator= ( const TQPen & p )" Assigns \fIp\fR to this pen and returns a reference to this pen. -.SH "bool QPen::operator== ( const QPen & p ) const" +.SH "bool TQPen::operator== ( const TQPen & p ) const" Returns TRUE if the pen is equal to \fIp\fR; otherwise returns FALSE. .PP Two pens are equal if they have equal styles, widths and colors. .PP See also operator!=(). -.SH "void QPen::setCapStyle ( PenCapStyle c )" +.SH "void TQPen::setCapStyle ( PenCapStyle c )" Sets the pen's cap style to \fIc\fR. .PP The default value is FlatCap. The cap style has no effect on 0-width pens. @@ -197,14 +197,14 @@ The default value is FlatCap. The cap style has no effect on 0-width pens. See also capStyle(). .PP Example: themes/wood.cpp. -.SH "void QPen::setColor ( const TQColor & c )" +.SH "void TQPen::setColor ( const TQColor & c )" Sets the pen color to \fIc\fR. .PP See also color(). .PP Examples: .)l progress/progress.cpp and scribble/scribble.h. -.SH "void QPen::setJoinStyle ( PenJoinStyle j )" +.SH "void TQPen::setJoinStyle ( PenJoinStyle j )" Sets the pen's join style to \fIj\fR. .PP The default value is MiterJoin. The join style has no effect on 0-width pens. @@ -220,7 +220,7 @@ The default value is MiterJoin. The join style has no effect on 0-width pens. See also joinStyle(). .PP Example: themes/wood.cpp. -.SH "void QPen::setStyle ( PenStyle s )" +.SH "void TQPen::setStyle ( PenStyle s )" Sets the pen style to \fIs\fR. .PP See the TQt::PenStyle documentation for a list of all the styles. @@ -232,7 +232,7 @@ See the TQt::PenStyle documentation for a list of all the styles. See also style(). .PP Example: chart/chartform_canvas.cpp. -.SH "void QPen::setWidth ( uint w )" +.SH "void TQPen::setWidth ( uint w )" Sets the pen width to \fIw\fR. .PP A line width of 0 will produce a 1 pixel wide line using a fast algorithm for diagonals. A line width of 1 will also produce a 1 pixel wide line, but uses a slower more accurate algorithm for diagonals. For horizontal and vertical lines a line width of 0 is the same as a line width of 1. The cap and join style have no effect on 0-width lines. @@ -241,28 +241,28 @@ See also width(). .PP Examples: .)l multiple/ax2.h, progress/progress.cpp, and scribble/scribble.h. -.SH "PenStyle QPen::style () const" +.SH "PenStyle TQPen::style () const" Returns the pen style. .PP See also setStyle(). -.SH "uint QPen::width () const" +.SH "uint TQPen::width () const" Returns the pen width. .PP See also setWidth(). .PP Example: scribble/scribble.h. .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QPen & p )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQPen & p )" Writes the pen \fIp\fR to the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. -.SH "TQDataStream & operator>> ( TQDataStream & s, QPen & p )" +.SH "TQDataStream & operator>> ( TQDataStream & s, TQPen & p )" Reads a pen from the stream \fIs\fR into \fIp\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpen.html +.BR http://doc.trolltech.com/tqpen.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/tqpicture.3qt b/doc/man/man3/tqpicture.3qt index 0437b3b98..841e01b5a 100644 --- a/doc/man/man3/tqpicture.3qt +++ b/doc/man/man3/tqpicture.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPicture 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPicture 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 -QPicture \- Paint device that records and replays TQPainter commands +TQPicture \- Paint device that records and replays TQPainter commands .SH SYNOPSIS -\fC#include <ntqpicture.h>\fR +\fC#include <tqpicture.h>\fR .PP Inherits TQPaintDevice. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPicture\fR ( int formatVersion = -1 )" +.BI "\fBTQPicture\fR ( int formatVersion = -1 )" .br .ti -1c -.BI "\fBQPicture\fR ( const QPicture & pic )" +.BI "\fBTQPicture\fR ( const TQPicture & pic )" .br .ti -1c -.BI "\fB~QPicture\fR ()" +.BI "\fB~TQPicture\fR ()" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -52,13 +52,13 @@ Inherits TQPaintDevice. .BI "bool \fBsave\fR ( const TQString & fileName, const char * format = 0 )" .br .ti -1c -.BI "QRect \fBboundingRect\fR () const" +.BI "TQRect \fBboundingRect\fR () const" .br .ti -1c -.BI "void \fBsetBoundingRect\fR ( const QRect & r )" +.BI "void \fBsetBoundingRect\fR ( const TQRect & r )" .br .ti -1c -.BI "QPicture & \fBoperator=\fR ( const QPicture & p )" +.BI "TQPicture & \fBoperator=\fR ( const TQPicture & p )" .br .in -1c .SS "Protected Members" @@ -70,20 +70,20 @@ Inherits TQPaintDevice. .BI "void \fBdetach\fR ()" .br .ti -1c -.BI "QPicture \fBcopy\fR () const" +.BI "TQPicture \fBcopy\fR () const" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QPicture & r )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQPicture & r )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QPicture & r )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQPicture & r )" .br .in -1c .SH DESCRIPTION -The QPicture class is a paint device that records and replays TQPainter commands. +The TQPicture class is a paint device that records and replays TQPainter commands. .PP A picture serializes painter commands to an IO device in a platform-independent format. For example, a picture created under Windows can be read on a Sun SPARC. .PP @@ -91,13 +91,13 @@ Pictures are called meta-files on some platforms. .PP Qt pictures use a proprietary binary format. Unlike native picture (meta-file) formats on many window systems, TQt pictures have no limitations regarding their contents. Everything that can be painted can also be stored in a picture, e.g. fonts, pixmaps, regions, transformed graphics, etc. .PP -QPicture is an implicitly shared class. +TQPicture is an implicitly shared class. .PP Example of how to record a picture: .PP .nf .br - QPicture pic; + TQPicture pic; .br TQPainter p; .br @@ -115,7 +115,7 @@ Example of how to replay a picture: .PP .nf .br - QPicture pic; + TQPicture pic; .br pic.load( "drawing.pic" ); // load picture .br @@ -133,10 +133,10 @@ Pictures can also be drawn using play(). Some basic data about a picture is avai .PP See also Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPicture::QPicture ( int formatVersion = -1 )" +.SH "TQPicture::TQPicture ( int formatVersion = -1 )" Constructs an empty picture. .PP -The \fIformatVersion\fR parameter may be used to \fIcreate\fR a QPicture that can be read by applications that are compiled with earlier versions of Qt. +The \fIformatVersion\fR parameter may be used to \fIcreate\fR a TQPicture that can be read by applications that are compiled with earlier versions of Qt. .TP \fIformatVersion\fR == 1 is binary compatible with TQt 1.x and later. .TP @@ -151,28 +151,28 @@ The \fIformatVersion\fR parameter may be used to \fIcreate\fR a QPicture that ca Note that the default formatVersion is -1 which signifies the current release, i.e. for TQt 3.1 a formatVersion of 5 is the same as the default formatVersion of -1. .PP Reading pictures generated by earlier versions of TQt is supported and needs no special coding; the format is automatically detected. -.SH "QPicture::QPicture ( const QPicture & pic )" +.SH "TQPicture::TQPicture ( const TQPicture & pic )" Constructs a shallow copy of \fIpic\fR. -.SH "QPicture::~QPicture ()" +.SH "TQPicture::~TQPicture ()" Destroys the picture. -.SH "QRect QPicture::boundingRect () const" +.SH "TQRect TQPicture::boundingRect () const" Returns the picture's bounding rectangle or an invalid rectangle if the picture contains no data. -.SH "QPicture QPicture::copy () const\fC [protected]\fR" +.SH "TQPicture TQPicture::copy () const\fC [protected]\fR" Returns a deep copy of the picture. -.SH "const char * QPicture::data () const" +.SH "const char * TQPicture::data () const" Returns a pointer to the picture data. The pointer is only valid until the next non-const function is called on this picture. The returned pointer is 0 if the picture contains no data. .PP See also size() and isNull(). -.SH "void QPicture::detach ()\fC [protected]\fR" +.SH "void TQPicture::detach ()\fC [protected]\fR" Detaches from shared picture data and makes sure that this picture is the only one referring to the data. .PP If multiple pictures share common data, this picture makes a copy of the data and detaches itself from the sharing mechanism. Nothing is done if there is just a single reference. -.SH "bool QPicture::isNull () const" +.SH "bool TQPicture::isNull () const" Returns TRUE if the picture contains no data; otherwise returns FALSE. -.SH "bool QPicture::load ( const TQString & fileName, const char * format = 0 )" +.SH "bool TQPicture::load ( const TQString & fileName, const char * format = 0 )" Loads a picture from the file specified by \fIfileName\fR and returns TRUE if successful; otherwise returns FALSE. .PP -By default, the file will be interpreted as being in the native QPicture format. Specifying the \fIformat\fR string is optional and is only needed for importing picture data stored in a different format. +By default, the file will be interpreted as being in the native TQPicture format. Specifying the \fIformat\fR string is optional and is only needed for importing picture data stored in a different format. .PP Currently, the only external format supported is the W3C SVG format which requires the TQt XML module. The corresponding \fIformat\fR string is "svg". .PP @@ -180,11 +180,11 @@ See also save(). .PP Examples: .)l picture/picture.cpp and xform/xform.cpp. -.SH "bool QPicture::load ( TQIODevice * dev, const char * format = 0 )" +.SH "bool TQPicture::load ( TQIODevice * dev, const char * format = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fIdev\fR is the device to use for loading. -.SH "int QPicture::metric ( int m ) const\fC [virtual protected]\fR" +.SH "int TQPicture::metric ( int m ) const\fC [virtual protected]\fR" Internal implementation of the virtual TQPaintDevice::metric() function. .PP Use the TQPaintDeviceMetrics class instead. @@ -192,45 +192,45 @@ Use the TQPaintDeviceMetrics class instead. A picture has the following hard-coded values: dpi=72, numcolors=16777216 and depth=24. .PP \fIm\fR is the metric to get. -.SH "QPicture & QPicture::operator= ( const QPicture & p )" +.SH "TQPicture & TQPicture::operator= ( const TQPicture & p )" Assigns a shallow copy of \fIp\fR to this picture and returns a reference to this picture. -.SH "bool QPicture::play ( TQPainter * painter )" +.SH "bool TQPicture::play ( TQPainter * painter )" Replays the picture using \fIpainter\fR, and returns TRUE if successful; otherwise returns FALSE. .PP This function does exactly the same as TQPainter::drawPicture() with (x, y) = (0, 0). -.SH "bool QPicture::save ( const TQString & fileName, const char * format = 0 )" +.SH "bool TQPicture::save ( const TQString & fileName, const char * format = 0 )" Saves a picture to the file specified by \fIfileName\fR and returns TRUE if successful; otherwise returns FALSE. .PP -Specifying the file \fIformat\fR string is optional. It's not recommended unless you intend to export the picture data for use by a third party reader. By default the data will be saved in the native QPicture file format. +Specifying the file \fIformat\fR string is optional. It's not recommended unless you intend to export the picture data for use by a third party reader. By default the data will be saved in the native TQPicture file format. .PP Currently, the only external format supported is the W3C SVG format which requires the TQt XML module. The corresponding \fIformat\fR string is "svg". .PP See also load(). .PP Example: picture/picture.cpp. -.SH "bool QPicture::save ( TQIODevice * dev, const char * format = 0 )" +.SH "bool TQPicture::save ( TQIODevice * dev, const char * format = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fIdev\fR is the device to use for saving. -.SH "void QPicture::setBoundingRect ( const QRect & r )" +.SH "void TQPicture::setBoundingRect ( const TQRect & r )" Sets the picture's bounding rectangle to \fIr\fR. The automatically calculated value is overriden. -.SH "void QPicture::setData ( const char * data, uint size )\fC [virtual]\fR" +.SH "void TQPicture::setData ( const char * data, uint size )\fC [virtual]\fR" Sets the picture data directly from \fIdata\fR and \fIsize\fR. This function copies the input data. .PP See also data() and size(). -.SH "uint QPicture::size () const" +.SH "uint TQPicture::size () const" Returns the size of the picture data. .PP See also data(). .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QPicture & r )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQPicture & r )" Writes picture \fIr\fR to the stream \fIs\fR and returns a reference to the stream. -.SH "TQDataStream & operator>> ( TQDataStream & s, QPicture & r )" +.SH "TQDataStream & operator>> ( TQDataStream & s, TQPicture & r )" Reads a picture from the stream \fIs\fR into picture \fIr\fR and returns a reference to the stream. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpicture.html +.BR http://doc.trolltech.com/tqpicture.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/tqpixmap.3qt b/doc/man/man3/tqpixmap.3qt index d2bd7d96c..3342e11c6 100644 --- a/doc/man/man3/tqpixmap.3qt +++ b/doc/man/man3/tqpixmap.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPixmap 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPixmap 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,9 +7,9 @@ .ad l .nh .SH NAME -QPixmap \- Off-screen, pixel-based paint device +TQPixmap \- Off-screen, pixel-based paint device .SH SYNOPSIS -\fC#include <ntqpixmap.h>\fR +\fC#include <tqpixmap.h>\fR .PP Inherits TQPaintDevice and Qt. .PP @@ -24,40 +24,40 @@ Inherited by TQBitmap and TQCanvasPixmap. .BI "enum \fBOptimization\fR { DefaultOptim, NoOptim, MemoryOptim = NoOptim, NormalOptim, BestOptim }" .br .ti -1c -.BI "\fBQPixmap\fR ()" +.BI "\fBTQPixmap\fR ()" .br .ti -1c -.BI "\fBQPixmap\fR ( const TQImage & image )" +.BI "\fBTQPixmap\fR ( const TQImage & image )" .br .ti -1c -.BI "\fBQPixmap\fR ( int w, int h, int depth = -1, Optimization optimization = DefaultOptim )" +.BI "\fBTQPixmap\fR ( int w, int h, int depth = -1, Optimization optimization = DefaultOptim )" .br .ti -1c -.BI "\fBQPixmap\fR ( const TQSize & size, int depth = -1, Optimization optimization = DefaultOptim )" +.BI "\fBTQPixmap\fR ( const TQSize & size, int depth = -1, Optimization optimization = DefaultOptim )" .br .ti -1c -.BI "\fBQPixmap\fR ( const TQString & fileName, const char * format = 0, ColorMode mode = Auto )" +.BI "\fBTQPixmap\fR ( const TQString & fileName, const char * format = 0, ColorMode mode = Auto )" .br .ti -1c -.BI "\fBQPixmap\fR ( const TQString & fileName, const char * format, int conversion_flags )" +.BI "\fBTQPixmap\fR ( const TQString & fileName, const char * format, int conversion_flags )" .br .ti -1c -.BI "\fBQPixmap\fR ( const char * xpm[] )" +.BI "\fBTQPixmap\fR ( const char * xpm[] )" .br .ti -1c -.BI "\fBQPixmap\fR ( const TQByteArray & img_data )" +.BI "\fBTQPixmap\fR ( const TQByteArray & img_data )" .br .ti -1c -.BI "\fBQPixmap\fR ( const QPixmap & pixmap )" +.BI "\fBTQPixmap\fR ( const TQPixmap & pixmap )" .br .ti -1c -.BI "\fB~QPixmap\fR ()" +.BI "\fB~TQPixmap\fR ()" .br .ti -1c -.BI "QPixmap & \fBoperator=\fR ( const QPixmap & pixmap )" +.BI "TQPixmap & \fBoperator=\fR ( const TQPixmap & pixmap )" .br .ti -1c -.BI "QPixmap & \fBoperator=\fR ( const TQImage & image )" +.BI "TQPixmap & \fBoperator=\fR ( const TQImage & image )" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -72,7 +72,7 @@ Inherited by TQBitmap and TQCanvasPixmap. .BI "TQSize \fBsize\fR () const" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c .BI "int \fBdepth\fR () const" @@ -84,7 +84,7 @@ Inherited by TQBitmap and TQCanvasPixmap. .BI "void \fBfill\fR ( const TQWidget * widget, int xofs, int yofs )" .br .ti -1c -.BI "void \fBfill\fR ( const TQWidget * widget, const QPoint & ofs )" +.BI "void \fBfill\fR ( const TQWidget * widget, const TQPoint & ofs )" .br .ti -1c .BI "void \fBresize\fR ( int w, int h )" @@ -111,7 +111,7 @@ Inherited by TQBitmap and TQCanvasPixmap. .BI "TQBitmap \fBcreateHeuristicMask\fR ( bool clipTight = TRUE ) const" .br .ti -1c -.BI "QPixmap \fBxForm\fR ( const QWMatrix & matrix ) const" +.BI "TQPixmap \fBxForm\fR ( const TQWMatrix & matrix ) const" .br .ti -1c .BI "TQImage \fBconvertToImage\fR () const" @@ -165,16 +165,16 @@ Inherited by TQBitmap and TQCanvasPixmap. .BI "int \fBdefaultDepth\fR ()" .br .ti -1c -.BI "QPixmap \fBfromMimeSource\fR ( const TQString & abs_name )" +.BI "TQPixmap \fBfromMimeSource\fR ( const TQString & abs_name )" .br .ti -1c -.BI "QPixmap \fBgrabWindow\fR ( WId window, int x = 0, int y = 0, int w = -1, int h = -1 )" +.BI "TQPixmap \fBgrabWindow\fR ( WId window, int x = 0, int y = 0, int w = -1, int h = -1 )" .br .ti -1c -.BI "QPixmap \fBgrabWidget\fR ( TQWidget * widget, int x = 0, int y = 0, int w = -1, int h = -1 )" +.BI "TQPixmap \fBgrabWidget\fR ( TQWidget * widget, int x = 0, int y = 0, int w = -1, int h = -1 )" .br .ti -1c -.BI "QWMatrix \fBtrueMatrix\fR ( const QWMatrix & matrix, int w, int h )" +.BI "TQWMatrix \fBtrueMatrix\fR ( const TQWMatrix & matrix, int w, int h )" .br .ti -1c .BI "const char * \fBimageFormat\fR ( const TQString & fileName )" @@ -189,7 +189,7 @@ Inherited by TQBitmap and TQCanvasPixmap. .SS "Protected Members" .in +1c .ti -1c -.BI "\fBQPixmap\fR ( int w, int h, const uchar * bits, bool isXbitmap )" +.BI "\fBTQPixmap\fR ( int w, int h, const uchar * bits, bool isXbitmap )" .br .ti -1c .BI "virtual int \fBmetric\fR ( int m ) const" @@ -198,21 +198,21 @@ Inherited by TQBitmap and TQCanvasPixmap. .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QPixmap & pixmap )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQPixmap & pixmap )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QPixmap & pixmap )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQPixmap & pixmap )" .br .ti -1c -.BI "void \fBcopyBlt\fR ( QPixmap * dst, int dx, int dy, const QPixmap * src, int sx, int sy, int sw, int sh )" +.BI "void \fBcopyBlt\fR ( TQPixmap * dst, int dx, int dy, const TQPixmap * src, int sx, int sy, int sw, int sh )" .br .in -1c .SH DESCRIPTION -The QPixmap class is an off-screen, pixel-based paint device. +The TQPixmap class is an off-screen, pixel-based paint device. .PP -QPixmap is one of the two classes TQt provides for dealing with images; the other is TQImage. QPixmap is designed and optimized for drawing; TQImage is designed and optimized for I/O and for direct pixel access/manipulation. There are (slow) functions to convert between TQImage and QPixmap: convertToImage() and convertFromImage(). +TQPixmap is one of the two classes TQt provides for dealing with images; the other is TQImage. TQPixmap is designed and optimized for drawing; TQImage is designed and optimized for I/O and for direct pixel access/manipulation. There are (slow) functions to convert between TQImage and TQPixmap: convertToImage() and convertFromImage(). .PP -One common use of the QPixmap class is to enable smooth updating of widgets. Whenever something complex needs to be drawn, you can use a pixmap to obtain flicker-free drawing, like this: +One common use of the TQPixmap class is to enable smooth updating of widgets. Whenever something complex needs to be drawn, you can use a pixmap to obtain flicker-free drawing, like this: .PP <ol type=1> .IP 1 @@ -224,11 +224,11 @@ Paint the pixmap. .IP 4 bitBlt() the pixmap contents onto the widget. .PP -Pixel data in a pixmap is internal and is managed by the underlying window system. Pixels can be accessed only through TQPainter functions, through bitBlt(), and by converting the QPixmap to a TQImage. +Pixel data in a pixmap is internal and is managed by the underlying window system. Pixels can be accessed only through TQPainter functions, through bitBlt(), and by converting the TQPixmap to a TQImage. .PP -You can easily display a QPixmap on the screen using QLabel::setPixmap(). For example, all the QButton subclasses support pixmap use. +You can easily display a TQPixmap on the screen using QLabel::setPixmap(). For example, all the QButton subclasses support pixmap use. .PP -The QPixmap class uses copy-on-write, so it is practical to pass QPixmap objects by value. +The TQPixmap class uses copy-on-write, so it is practical to pass TQPixmap objects by value. .PP You can retrieve the width(), height(), depth() and size() of a pixmap. The enclosing rectangle is given by rect(). Pixmaps can be filled with fill() and resized with resize(). You can create and set a mask with createHeuristicMask() and setMask(). Use selfMask() to see if the pixmap is identical to its mask. .PP @@ -236,63 +236,63 @@ In addition to loading a pixmap from file using load() you can also loadFromData .PP Note regarding Windows 95 and 98: on Windows 9x the system crashes if you create more than about 1000 pixmaps, independent of the size of the pixmaps or installed RAM. Windows NT-systems (including 2000, XP and following versions) do not have the same limitation, but depending on the graphics equipment the system will fail to allocate pixmap objects at some point (due to system running out of GDI resources). .PP -Qt tries to work around the resource limitation. If you set the pixmap optimization to QPixmap::MemoryOptim and the width of your pixmap is less than or equal to 128 pixels, TQt stores the pixmap in a way that is very memory-efficient when there are many pixmaps. +Qt tries to work around the resource limitation. If you set the pixmap optimization to TQPixmap::MemoryOptim and the width of your pixmap is less than or equal to 128 pixels, TQt stores the pixmap in a way that is very memory-efficient when there are many pixmaps. .PP If your application uses dozens or hundreds of pixmaps (for example on tool bar buttons and in popup menus), and you plan to run it on Windows 95 or Windows 98, we recommend using code like this: .PP .nf .br - QPixmap::setDefaultOptimization( QPixmap::MemoryOptim ); + TQPixmap::setDefaultOptimization( TQPixmap::MemoryOptim ); .br while ( ... ) { .br // load tool bar pixmaps etc. .br - QPixmap *pixmap = new QPixmap(fileName); + TQPixmap *pixmap = new TQPixmap(fileName); .br } .br - QPixmap::setDefaultOptimization( QPixmap::NormalOptim ); + TQPixmap::setDefaultOptimization( TQPixmap::NormalOptim ); .br .fi .PP -In general it is recommended to make as much use of QPixmap's implicit sharing and the QPixmapCache as possible. +In general it is recommended to make as much use of TQPixmap's implicit sharing and the TQPixmapCache as possible. .PP See also TQBitmap, TQImage, TQImageIO, Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SS "Member Type Documentation" -.SH "QPixmap::ColorMode" -This enum type defines the color modes that exist for converting TQImage objects to QPixmap. +.SH "TQPixmap::ColorMode" +This enum type defines the color modes that exist for converting TQImage objects to TQPixmap. .TP -\fCQPixmap::Auto\fR - Select Color or Mono on a case-by-case basis. +\fCTQPixmap::Auto\fR - Select Color or Mono on a case-by-case basis. .TP -\fCQPixmap::Color\fR - Always create colored pixmaps. +\fCTQPixmap::Color\fR - Always create colored pixmaps. .TP -\fCQPixmap::Mono\fR - Always create bitmaps. -.SH "QPixmap::Optimization" -QPixmap has the choice of optimizing for speed or memory in a few places; the best choice varies from pixmap to pixmap but can generally be derived heuristically. This enum type defines a number of optimization modes that you can set for any pixmap to tweak the speed/memory tradeoffs: +\fCTQPixmap::Mono\fR - Always create bitmaps. +.SH "TQPixmap::Optimization" +TQPixmap has the choice of optimizing for speed or memory in a few places; the best choice varies from pixmap to pixmap but can generally be derived heuristically. This enum type defines a number of optimization modes that you can set for any pixmap to tweak the speed/memory tradeoffs: .TP -\fCQPixmap::DefaultOptim\fR - Whatever QPixmap::defaultOptimization() returns. A pixmap with this optimization will have whatever the current default optimization is. If the default optimization is changed using setDefaultOptimization(), then this will not effect any pixmaps that have already been created. +\fCTQPixmap::DefaultOptim\fR - Whatever TQPixmap::defaultOptimization() returns. A pixmap with this optimization will have whatever the current default optimization is. If the default optimization is changed using setDefaultOptimization(), then this will not effect any pixmaps that have already been created. .TP -\fCQPixmap::NoOptim\fR - No optimization (currently the same as MemoryOptim). +\fCTQPixmap::NoOptim\fR - No optimization (currently the same as MemoryOptim). .TP -\fCQPixmap::MemoryOptim\fR - Optimize for minimal memory use on Windows 9x and X11 systems. +\fCTQPixmap::MemoryOptim\fR - Optimize for minimal memory use on Windows 9x and X11 systems. .TP -\fCQPixmap::NormalOptim\fR - Optimize for typical usage. Often uses more memory than MemoryOptim, and is often faster. +\fCTQPixmap::NormalOptim\fR - Optimize for typical usage. Often uses more memory than MemoryOptim, and is often faster. .TP -\fCQPixmap::BestOptim\fR - Optimize for pixmaps that are drawn very often and where performance is critical. Generally uses more memory than NormalOptim and may provide a little more speed. +\fCTQPixmap::BestOptim\fR - Optimize for pixmaps that are drawn very often and where performance is critical. Generally uses more memory than NormalOptim and may provide a little more speed. .PP We recommend using DefaultOptim. .PP .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPixmap::QPixmap ()" +.SH "TQPixmap::TQPixmap ()" Constructs a null pixmap. .PP See also isNull(). -.SH "QPixmap::QPixmap ( const TQImage & image )" +.SH "TQPixmap::TQPixmap ( const TQImage & image )" Constructs a pixmap from the TQImage \fIimage\fR. .PP See also convertFromImage(). -.SH "QPixmap::QPixmap ( int w, int h, int depth = -1, Optimization optimization = DefaultOptim )" +.SH "TQPixmap::TQPixmap ( int w, int h, int depth = -1, Optimization optimization = DefaultOptim )" Constructs a pixmap with \fIw\fR width, \fIh\fR height and \fIdepth\fR bits per pixel. The pixmap is optimized in accordance with the \fIoptimization\fR value. .PP The contents of the pixmap is uninitialized. @@ -301,18 +301,18 @@ The \fIdepth\fR can be either 1 (monochrome) or the depth of the current video m .PP If either \fIw\fR or \fIh\fR is zero, a null pixmap is constructed. .PP -See also isNull() and QPixmap::Optimization. -.SH "QPixmap::QPixmap ( const TQSize & size, int depth = -1, Optimization optimization = DefaultOptim )" +See also isNull() and TQPixmap::Optimization. +.SH "TQPixmap::TQPixmap ( const TQSize & size, int depth = -1, Optimization optimization = DefaultOptim )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Constructs a pixmap of size \fIsize\fR, \fIdepth\fR bits per pixel, optimized in accordance with the \fIoptimization\fR value. -.SH "QPixmap::QPixmap ( const TQString & fileName, const char * format = 0, ColorMode mode = Auto )" +.SH "TQPixmap::TQPixmap ( const TQString & fileName, const char * format = 0, ColorMode mode = Auto )" Constructs a pixmap from the file \fIfileName\fR. If the file does not exist or is of an unknown format, the pixmap becomes a null pixmap. .PP The \fIfileName\fR, \fIformat\fR and \fImode\fR parameters are passed on to load(). This means that the data in \fIfileName\fR is not compiled into the binary. If \fIfileName\fR contains a relative path (e.g. the filename only) the relevant file must be found relative to the runtime working directory. .PP -See also QPixmap::ColorMode, isNull(), load(), loadFromData(), save(), and imageFormat(). -.SH "QPixmap::QPixmap ( const TQString & fileName, const char * format, int conversion_flags )" +See also TQPixmap::ColorMode, isNull(), load(), loadFromData(), save(), and imageFormat(). +.SH "TQPixmap::TQPixmap ( const TQString & fileName, const char * format, int conversion_flags )" Constructs a pixmap from the file \fIfileName\fR. If the file does not exist or is of an unknown format, the pixmap becomes a null pixmap. .PP The \fIfileName\fR, \fIformat\fR and \fIconversion_flags\fR parameters are passed on to load(). This means that the data in \fIfileName\fR is not compiled into the binary. If \fIfileName\fR contains a relative path (e.g. the filename only) the relevant file must be found relative to the runtime working directory. @@ -320,7 +320,7 @@ The \fIfileName\fR, \fIformat\fR and \fIconversion_flags\fR parameters are passe If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen. .PP See also TQt::ImageConversionFlags, isNull(), load(), loadFromData(), save(), and imageFormat(). -.SH "QPixmap::QPixmap ( const char * xpm[] )" +.SH "TQPixmap::TQPixmap ( const char * xpm[] )" Constructs a pixmap from \fIxpm\fR, which must be a valid XPM image. .PP Errors are silently ignored. @@ -341,23 +341,23 @@ Note that it's possible to squeeze the XPM variable a little bit by using an unu .PP The extra \fCconst\fR makes the entire definition read-only, which is slightly more efficient (for example, when the code is in a shared library) and ROMable when the application is to be stored in ROM. .PP -In order to use that sort of declaration you must cast the variable back to \fCconst char **\fR when you create the QPixmap. -.SH "QPixmap::QPixmap ( const TQByteArray & img_data )" +In order to use that sort of declaration you must cast the variable back to \fCconst char **\fR when you create the TQPixmap. +.SH "TQPixmap::TQPixmap ( const TQByteArray & img_data )" Constructs a pixmaps by loading from \fIimg_data\fR. The data can be in any image format supported by Qt. .PP See also loadFromData(). -.SH "QPixmap::QPixmap ( const QPixmap & pixmap )" +.SH "TQPixmap::TQPixmap ( const TQPixmap & pixmap )" Constructs a pixmap that is a copy of \fIpixmap\fR. -.SH "QPixmap::QPixmap ( int w, int h, const uchar * bits, bool isXbitmap )\fC [protected]\fR" +.SH "TQPixmap::TQPixmap ( int w, int h, const uchar * bits, bool isXbitmap )\fC [protected]\fR" Constructs a monochrome pixmap, with width \fIw\fR and height \fIh\fR, that is initialized with the data in \fIbits\fR. The \fIisXbitmap\fR indicates whether the data is an X bitmap and defaults to FALSE. This constructor is protected and used by the TQBitmap class. -.SH "QPixmap::~QPixmap ()" +.SH "TQPixmap::~TQPixmap ()" Destroys the pixmap. -.SH "bool QPixmap::convertFromImage ( const TQImage & img, int conversion_flags )" +.SH "bool TQPixmap::convertFromImage ( const TQImage & img, int conversion_flags )" Converts image \fIimg\fR and sets this pixmap. Returns TRUE if successful; otherwise returns FALSE. .PP The \fIconversion_flags\fR argument is a bitwise-OR of the TQt::ImageConversionFlags. Passing 0 for \fIconversion_flags\fR sets all the default options. .PP -Note that even though a QPixmap with depth 1 behaves much like a TQBitmap, isTQBitmap() returns FALSE. +Note that even though a TQPixmap with depth 1 behaves much like a TQBitmap, isTQBitmap() returns FALSE. .PP If a pixmap with depth 1 is painted with color0 and color1 and converted to an image, the pixels painted with color0 will produce pixel index 0 in the image and those painted with color1 will produce pixel index 1. .PP @@ -365,13 +365,13 @@ See also convertToImage(), isTQBitmap(), TQImage::convertDepth(), defaultDepth() .PP Examples: .)l canvas/canvas.cpp and themes/wood.cpp. -.SH "bool QPixmap::convertFromImage ( const TQImage & image, ColorMode mode = Auto )" +.SH "bool TQPixmap::convertFromImage ( const TQImage & image, ColorMode mode = Auto )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Converts \fIimage\fR and sets this pixmap using color mode \fImode\fR. Returns TRUE if successful; otherwise returns FALSE. .PP -See also QPixmap::ColorMode. -.SH "TQImage QPixmap::convertToImage () const" +See also TQPixmap::ColorMode. +.SH "TQImage TQPixmap::convertToImage () const" Converts the pixmap to a TQImage. Returns a null image if it fails. .PP If the pixmap has 1-bit depth, the returned image will also be 1 bit deep. If the pixmap has 2- to 8-bit depth, the returned image has 8-bit depth. If the pixmap has greater than 8-bit depth, the returned image has 32-bit depth. @@ -381,7 +381,7 @@ Note that for the moment, alpha masks on monochrome images are ignored. See also convertFromImage(). .PP Example: qmag/qmag.cpp. -.SH "TQBitmap QPixmap::createHeuristicMask ( bool clipTight = TRUE ) const" +.SH "TQBitmap TQPixmap::createHeuristicMask ( bool clipTight = TRUE ) const" Creates and returns a heuristic mask for this pixmap. It works by selecting a color from one of the corners and then chipping away pixels of that color, starting at all the edges. .PP The mask may not be perfect but it should be reasonable, so you can do things such as the following: @@ -397,38 +397,38 @@ This function is slow because it involves transformation to a TQImage, non-trivi If \fIclipTight\fR is TRUE the mask is just large enough to cover the pixels; otherwise, the mask is larger than the data pixels. .PP See also TQImage::createHeuristicMask(). -.SH "int QPixmap::defaultDepth ()\fC [static]\fR" +.SH "int TQPixmap::defaultDepth ()\fC [static]\fR" Returns the default pixmap depth, i.e. the depth a pixmap gets if -1 is specified. .PP See also depth(). -.SH "Optimization QPixmap::defaultOptimization ()\fC [static]\fR" +.SH "Optimization TQPixmap::defaultOptimization ()\fC [static]\fR" Returns the default pixmap optimization setting. .PP See also setDefaultOptimization(), setOptimization(), and optimization(). -.SH "int QPixmap::depth () const" +.SH "int TQPixmap::depth () const" Returns the depth of the pixmap. .PP The pixmap depth is also called bits per pixel (bpp) or bit planes of a pixmap. A null pixmap has depth 0. .PP See also defaultDepth(), isNull(), and TQImage::convertDepth(). -.SH "void QPixmap::detach ()\fC [virtual]\fR" +.SH "void TQPixmap::detach ()\fC [virtual]\fR" This is a special-purpose function that detaches the pixmap from shared pixmap data. .PP -A pixmap is automatically detached by TQt whenever its contents is about to change. This is done in all QPixmap member functions that modify the pixmap (fill(), resize(), convertFromImage(), load(), etc.), in bitBlt() for the destination pixmap and in TQPainter::begin() on a pixmap. +A pixmap is automatically detached by TQt whenever its contents is about to change. This is done in all TQPixmap member functions that modify the pixmap (fill(), resize(), convertFromImage(), load(), etc.), in bitBlt() for the destination pixmap and in TQPainter::begin() on a pixmap. .PP It is possible to modify a pixmap without letting TQt know. You can first obtain the system-dependent handle() and then call system-specific functions (for instance, BitBlt under Windows) that modify the pixmap contents. In such cases, you can call detach() to cut the pixmap loose from other pixmaps that share data with this one. .PP detach() returns immediately if there is just a single reference or if the pixmap has not been initialized yet. -.SH "void QPixmap::fill ( const TQColor & fillColor = TQt::white )" +.SH "void TQPixmap::fill ( const TQColor & fillColor = TQt::white )" Fills the pixmap with the color \fIfillColor\fR. .PP Examples: .)l chart/setdataform.cpp, desktop/desktop.cpp, grapher/grapher.cpp, hello/hello.cpp, t10/cannon.cpp, themes/metal.cpp, and xform/xform.cpp. -.SH "void QPixmap::fill ( const TQWidget * widget, int xofs, int yofs )" +.SH "void TQPixmap::fill ( const TQWidget * widget, int xofs, int yofs )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Fills the pixmap with the \fIwidget\fR's background color or pixmap. If the background is empty, nothing is done. \fIxofs\fR, \fIyofs\fR is an offset in the widget. -.SH "void QPixmap::fill ( const TQWidget * widget, const QPoint & ofs )" +.SH "void TQPixmap::fill ( const TQWidget * widget, const TQPoint & ofs )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Fills the pixmap with the \fIwidget\fR's background color or pixmap. If the background is empty, nothing is done. @@ -445,9 +445,9 @@ Example: .br { .br - QRect ur = e->rect(); // rectangle to update + TQRect ur = e->rect(); // rectangle to update .br - QPixmap pix( ur.size() ); // Pixmap for double-buffering + TQPixmap pix( ur.size() ); // Pixmap for double-buffering .br pix.fill( this, ur.topLeft() ); // fill with widget background .br @@ -469,13 +469,13 @@ Example: } .br .fi -.SH "QPixmap QPixmap::fromMimeSource ( const TQString & abs_name )\fC [static]\fR" +.SH "TQPixmap TQPixmap::fromMimeSource ( const TQString & abs_name )\fC [static]\fR" Convenience function. Gets the data associated with the absolute name \fIabs_name\fR from the default mime source factory and decodes it to a pixmap. .PP See also TQMimeSourceFactory, TQImage::fromMimeSource(), and TQImageDrag::decode(). .PP Example: textedit/textedit.cpp. -.SH "QPixmap QPixmap::grabWidget ( TQWidget * widget, int x = 0, int y = 0, int w = -1, int h = -1 )\fC [static]\fR" +.SH "TQPixmap TQPixmap::grabWidget ( TQWidget * widget, int x = 0, int y = 0, int w = -1, int h = -1 )\fC [static]\fR" Creates a pixmap and paints \fIwidget\fR in it. .PP If the \fIwidget\fR has any children, then they are also painted in the appropriate positions. @@ -484,16 +484,16 @@ If you specify \fIx\fR, \fIy\fR, \fIw\fR or \fIh\fR, only the rectangle you spec .PP (If \fIw\fR is negative, the function copies everything to the right border of the window. If \fIh\fR is negative, the function copies everything to the bottom of the window.) .PP -If \fIwidget\fR is 0, or if the rectangle defined by \fIx\fR, \fIy\fR, the modified \fIw\fR and the modified \fIh\fR does not overlap the \fIwidget\fR->rect(), this function will return a null QPixmap. +If \fIwidget\fR is 0, or if the rectangle defined by \fIx\fR, \fIy\fR, the modified \fIw\fR and the modified \fIh\fR does not overlap the \fIwidget\fR->rect(), this function will return a null TQPixmap. .PP -This function actually asks \fIwidget\fR to paint itself (and its children to paint themselves). QPixmap::grabWindow() grabs pixels off the screen, which is a bit faster and picks up \fIexactly\fR what's on-screen. This function works by calling paintEvent() with painter redirection turned on. If there are overlaying windows, grabWindow() will see them, but not this function. +This function actually asks \fIwidget\fR to paint itself (and its children to paint themselves). TQPixmap::grabWindow() grabs pixels off the screen, which is a bit faster and picks up \fIexactly\fR what's on-screen. This function works by calling paintEvent() with painter redirection turned on. If there are overlaying windows, grabWindow() will see them, but not this function. .PP If there is overlap, it returns a pixmap of the size you want, containing a rendering of \fIwidget\fR. If the rectangle you ask for is a superset of \fIwidget\fR, the areas outside \fIwidget\fR are covered with the widget's background. .PP If an error occurs when trying to grab the widget, such as the size of the widget being too large to fit in memory, an isNull() pixmap is returned. .PP See also grabWindow(), TQPainter::redirect(), and TQWidget::paintEvent(). -.SH "QPixmap QPixmap::grabWindow ( WId window, int x = 0, int y = 0, int w = -1, int h = -1 )\fC [static]\fR" +.SH "TQPixmap TQPixmap::grabWindow ( WId window, int x = 0, int y = 0, int w = -1, int h = -1 )\fC [static]\fR" Grabs the contents of the window \fIwindow\fR and makes a pixmap out of it. Returns the pixmap. .PP The arguments \fI(x, y)\fR specify the offset in the window, whereas \fI(w, h)\fR specify the width and height of the area to be copied. @@ -513,30 +513,30 @@ The reason we use a window identifier and not a TQWidget is to enable grabbing o See also grabWidget(). .PP Example: qmag/qmag.cpp. -.SH "bool QPixmap::hasAlpha () const" +.SH "bool TQPixmap::hasAlpha () const" Returns TRUE this pixmap has an alpha channel or a mask. .PP See also hasAlphaChannel() and mask(). -.SH "bool QPixmap::hasAlphaChannel () const" +.SH "bool TQPixmap::hasAlphaChannel () const" Returns TRUE if the pixmap has an alpha channel; otherwise it returns FALSE. .PP NOTE: If the pixmap has a mask but not alpha channel, this function returns FALSE. .PP See also hasAlpha() and mask(). -.SH "int QPixmap::height () const" +.SH "int TQPixmap::height () const" Returns the height of the pixmap. .PP See also width(), size(), and rect(). .PP Examples: .)l desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, scrollview/scrollview.cpp, t10/cannon.cpp, and xform/xform.cpp. -.SH "const char * QPixmap::imageFormat ( const TQString & fileName )\fC [static]\fR" +.SH "const char * TQPixmap::imageFormat ( const TQString & fileName )\fC [static]\fR" Returns a string that specifies the image format of the file \fIfileName\fR, or 0 if the file cannot be read or if the format cannot be recognized. .PP The TQImageIO documentation lists the supported image formats. .PP See also load() and save(). -.SH "bool QPixmap::isNull () const" +.SH "bool TQPixmap::isNull () const" Returns TRUE if this is a null pixmap; otherwise returns FALSE. .PP A null pixmap has zero width, zero height and no contents. You cannot draw in a null pixmap or bitBlt() anything to it. @@ -547,9 +547,9 @@ See also resize(). .PP Examples: .)l movies/main.cpp, tqdir/tqdir.cpp, qmag/qmag.cpp, and scrollview/scrollview.cpp. -.SH "bool QPixmap::isTQBitmap () const" +.SH "bool TQPixmap::isTQBitmap () const" Returns TRUE if this is a TQBitmap; otherwise returns FALSE. -.SH "bool QPixmap::load ( const TQString & fileName, const char * format, int conversion_flags )" +.SH "bool TQPixmap::load ( const TQString & fileName, const char * format, int conversion_flags )" Loads a pixmap from the file \fIfileName\fR at runtime. Returns TRUE if successful; otherwise returns FALSE. .PP If \fIformat\fR is specified, the loader attempts to read the pixmap using the specified format. If \fIformat\fR is not specified (default), the loader reads a few bytes from the header to guess the file's format. @@ -562,7 +562,7 @@ See also loadFromData(), save(), imageFormat(), TQImage::load(), and TQImageIO. .PP Examples: .)l picture/picture.cpp, scrollview/scrollview.cpp, and xform/xform.cpp. -.SH "bool QPixmap::load ( const TQString & fileName, const char * format = 0, ColorMode mode = Auto )" +.SH "bool TQPixmap::load ( const TQString & fileName, const char * format = 0, ColorMode mode = Auto )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Loads a pixmap from the file \fIfileName\fR at runtime. @@ -571,8 +571,8 @@ If \fIformat\fR is specified, the loader attempts to read the pixmap using the s .PP The \fImode\fR is used to specify the color mode of the pixmap. .PP -See also QPixmap::ColorMode. -.SH "bool QPixmap::loadFromData ( const uchar * buf, uint len, const char * format, int conversion_flags )" +See also TQPixmap::ColorMode. +.SH "bool TQPixmap::loadFromData ( const uchar * buf, uint len, const char * format, int conversion_flags )" Loads a pixmap from the binary data in \fIbuf\fR (\fIlen\fR bytes). Returns TRUE if successful; otherwise returns FALSE. .PP If \fIformat\fR is specified, the loader attempts to read the pixmap using the specified format. If \fIformat\fR is not specified (default), the loader reads a few bytes from the header to guess the file's format. @@ -582,73 +582,73 @@ See the convertFromImage() documentation for a description of the \fIconversion_ The TQImageIO documentation lists the supported image formats and explains how to add extra formats. .PP See also load(), save(), imageFormat(), TQImage::loadFromData(), and TQImageIO. -.SH "bool QPixmap::loadFromData ( const uchar * buf, uint len, const char * format = 0, ColorMode mode = Auto )" +.SH "bool TQPixmap::loadFromData ( const uchar * buf, uint len, const char * format = 0, ColorMode mode = Auto )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Loads a pixmap from the binary data in \fIbuf\fR (\fIlen\fR bytes) using color mode \fImode\fR. Returns TRUE if successful; otherwise returns FALSE. .PP If \fIformat\fR is specified, the loader attempts to read the pixmap using the specified format. If \fIformat\fR is not specified (default), the loader reads a few bytes from the header to guess the file's format. .PP -See also QPixmap::ColorMode. -.SH "bool QPixmap::loadFromData ( const TQByteArray & buf, const char * format = 0, int conversion_flags = 0 )" +See also TQPixmap::ColorMode. +.SH "bool TQPixmap::loadFromData ( const TQByteArray & buf, const char * format = 0, int conversion_flags = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "const TQBitmap * QPixmap::mask () const" +.SH "const TQBitmap * TQPixmap::mask () const" Returns the mask bitmap, or 0 if no mask has been set. .PP See also setMask(), TQBitmap, and hasAlpha(). -.SH "int QPixmap::metric ( int m ) const\fC [virtual protected]\fR" +.SH "int TQPixmap::metric ( int m ) const\fC [virtual protected]\fR" Internal implementation of the virtual TQPaintDevice::metric() function. .PP Use the TQPaintDeviceMetrics class instead. .PP \fIm\fR is the metric to get. -.SH "QPixmap & QPixmap::operator= ( const QPixmap & pixmap )" +.SH "TQPixmap & TQPixmap::operator= ( const TQPixmap & pixmap )" Assigns the pixmap \fIpixmap\fR to this pixmap and returns a reference to this pixmap. -.SH "QPixmap & QPixmap::operator= ( const TQImage & image )" +.SH "TQPixmap & TQPixmap::operator= ( const TQImage & image )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Converts the image \fIimage\fR to a pixmap that is assigned to this pixmap. Returns a reference to the pixmap. .PP See also convertFromImage(). -.SH "Optimization QPixmap::optimization () const" +.SH "Optimization TQPixmap::optimization () const" Returns the optimization setting for this pixmap. .PP -The default optimization setting is QPixmap::NormalOptim. You can change this setting in two ways: +The default optimization setting is TQPixmap::NormalOptim. You can change this setting in two ways: .TP Call setDefaultOptimization() to set the default optimization for all new pixmaps. .TP Call setOptimization() to set the optimization for individual pixmaps. .PP See also setOptimization(), setDefaultOptimization(), and defaultOptimization(). -.SH "QRect QPixmap::rect () const" +.SH "TQRect TQPixmap::rect () const" Returns the enclosing rectangle (0,0,width(),height()) of the pixmap. .PP See also width(), height(), and size(). -.SH "void QPixmap::resize ( int w, int h )" +.SH "void TQPixmap::resize ( int w, int h )" Resizes the pixmap to \fIw\fR width and \fIh\fR height. If either \fIw\fR or \fIh\fR is 0, the pixmap becomes a null pixmap. .PP If both \fIw\fR and \fIh\fR are greater than 0, a valid pixmap is created. New pixels will be uninitialized (random) if the pixmap is expanded. .PP Examples: .)l desktop/desktop.cpp and grapher/grapher.cpp. -.SH "void QPixmap::resize ( const TQSize & size )" +.SH "void TQPixmap::resize ( const TQSize & size )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Resizes the pixmap to size \fIsize\fR. -.SH "bool QPixmap::save ( const TQString & fileName, const char * format, int quality = -1 ) const" +.SH "bool TQPixmap::save ( const TQString & fileName, const char * format, int quality = -1 ) const" Saves the pixmap to the file \fIfileName\fR using the image file format \fIformat\fR and a quality factor \fIquality\fR. \fIquality\fR must be in the range [0,100] or -1. Specify 0 to obtain small compressed files, 100 for large uncompressed files, and -1 to use the default settings. Returns TRUE if successful; otherwise returns FALSE. .PP See also load(), loadFromData(), imageFormat(), TQImage::save(), and TQImageIO. .PP Example: qmag/qmag.cpp. -.SH "bool QPixmap::save ( TQIODevice * device, const char * format, int quality = -1 ) const" +.SH "bool TQPixmap::save ( TQIODevice * device, const char * format, int quality = -1 ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function writes a QPixmap to the TQIODevice, \fIdevice\fR. This can be used, for example, to save a pixmap directly into a TQByteArray: +This function writes a TQPixmap to the TQIODevice, \fIdevice\fR. This can be used, for example, to save a pixmap directly into a TQByteArray: .PP .nf .br - QPixmap pixmap; + TQPixmap pixmap; .br TQByteArray ba; .br @@ -659,25 +659,25 @@ This function writes a QPixmap to the TQIODevice, \fIdevice\fR. This can be used pixmap.save( &buffer, "PNG" ); // writes pixmap into ba in PNG format .br .fi -.SH "bool QPixmap::selfMask () const" +.SH "bool TQPixmap::selfMask () const" Returns TRUE if the pixmap's mask is identical to the pixmap itself; otherwise returns FALSE. .PP See also mask(). -.SH "int QPixmap::serialNumber () const" -Returns a number that uniquely identifies the contents of this QPixmap object. This means that multiple QPixmap objects can have the same serial number as long as they refer to the same contents. +.SH "int TQPixmap::serialNumber () const" +Returns a number that uniquely identifies the contents of this TQPixmap object. This means that multiple TQPixmap objects can have the same serial number as long as they refer to the same contents. .PP -An example of where this is useful is for caching QPixmaps. +An example of where this is useful is for caching TQPixmaps. .PP -See also QPixmapCache. -.SH "void QPixmap::setDefaultOptimization ( Optimization optimization )\fC [static]\fR" +See also TQPixmapCache. +.SH "void TQPixmap::setDefaultOptimization ( Optimization optimization )\fC [static]\fR" Sets the default pixmap optimization. .PP All \fInew\fR pixmaps that are created will use this default optimization. You may also set optimization for individual pixmaps using the setOptimization() function. .PP -The initial default \fIoptimization\fR setting is \fCQPixmap::Normal\fR. +The initial default \fIoptimization\fR setting is \fCTQPixmap::Normal\fR. .PP See also defaultOptimization(), setOptimization(), and optimization(). -.SH "void QPixmap::setMask ( const TQBitmap & newmask )" +.SH "void TQPixmap::setMask ( const TQBitmap & newmask )" Sets a mask bitmap. .PP The \fInewmask\fR bitmap defines the clip mask for this pixmap. Every pixel in \fInewmask\fR corresponds to a pixel in this pixmap. Pixel value 1 means opaque and pixel value 0 means transparent. The mask must have the same size as this pixmap. @@ -686,9 +686,9 @@ The \fInewmask\fR bitmap defines the clip mask for this pixmap. Every pixel in \ .PP .nf .br - QPixmap alpha( "image-with-alpha.png" ); + TQPixmap alpha( "image-with-alpha.png" ); .br - QPixmap alphacopy = alpha; + TQPixmap alphacopy = alpha; .br alphacopy.setMask( *alphacopy.mask() ); .br @@ -698,7 +698,7 @@ Now, alpha and alphacopy are visually different. Setting a null mask resets the mask. .PP See also mask(), createHeuristicMask(), and TQBitmap. -.SH "void QPixmap::setOptimization ( Optimization optimization )" +.SH "void TQPixmap::setOptimization ( Optimization optimization )" Sets pixmap drawing optimization for this pixmap. .PP The \fIoptimization\fR setting affects pixmap operations, in particular drawing of transparent pixmaps (bitBlt() a pixmap with a mask set) and pixmap transformations (the xForm() function). @@ -710,40 +710,40 @@ Use the setDefaultOptimization() to change the default optimization for all new See also optimization(), setDefaultOptimization(), and defaultOptimization(). .PP Example: desktop/desktop.cpp. -.SH "TQSize QPixmap::size () const" +.SH "TQSize TQPixmap::size () const" Returns the size of the pixmap. .PP See also width(), height(), and rect(). .PP Example: movies/main.cpp. -.SH "QWMatrix QPixmap::trueMatrix ( const QWMatrix & matrix, int w, int h )\fC [static]\fR" +.SH "TQWMatrix TQPixmap::trueMatrix ( const TQWMatrix & matrix, int w, int h )\fC [static]\fR" Returns the actual matrix used for transforming a pixmap with \fIw\fR width and \fIh\fR height and matrix \fImatrix\fR. .PP When transforming a pixmap with xForm(), the transformation matrix is internally adjusted to compensate for unwanted translation, i.e. xForm() returns the smallest pixmap containing all transformed points of the original pixmap. .PP This function returns the modified matrix, which maps points correctly from the original pixmap into the new pixmap. .PP -See also xForm() and QWMatrix. -.SH "int QPixmap::width () const" +See also xForm() and TQWMatrix. +.SH "int TQPixmap::width () const" Returns the width of the pixmap. .PP See also height(), size(), and rect(). .PP Examples: .)l desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, scrollview/scrollview.cpp, and xform/xform.cpp. -.SH "QPixmap QPixmap::xForm ( const QWMatrix & matrix ) const" +.SH "TQPixmap TQPixmap::xForm ( const TQWMatrix & matrix ) const" Returns a copy of the pixmap that is transformed using \fImatrix\fR. The original pixmap is not changed. .PP The transformation \fImatrix\fR is internally adjusted to compensate for unwanted translation, i.e. xForm() returns the smallest image that contains all the transformed points of the original image. .PP -This function is slow because it involves transformation to a TQImage, non-trivial computations and a transformation back to a QPixmap. +This function is slow because it involves transformation to a TQImage, non-trivial computations and a transformation back to a TQPixmap. .PP -See also trueMatrix(), QWMatrix, TQPainter::setWorldMatrix(), and TQImage::xForm(). +See also trueMatrix(), TQWMatrix, TQPainter::setWorldMatrix(), and TQImage::xForm(). .PP Examples: .)l desktop/desktop.cpp, fileiconview/tqfileiconview.cpp, movies/main.cpp, and qmag/qmag.cpp. .SH RELATED FUNCTION DOCUMENTATION -.SH "void copyBlt ( QPixmap * dst, int dx, int dy, const QPixmap * src, int sx, int sy, int sw, int sh )" +.SH "void copyBlt ( TQPixmap * dst, int dx, int dy, const TQPixmap * src, int sx, int sy, int sw, int sh )" Copies a block of pixels from \fIsrc\fR to \fIdst\fR. The alpha channel and mask data (if any) is also copied from \fIsrc\fR. NOTE: \fIsrc\fR is \fInot\fR alpha blended or masked when copied to \fIdst\fR. Use bitBlt() or TQPainter::drawPixmap() to perform alpha blending or masked drawing. .PP \fIsx\fR, \fIsy\fR is the top-left pixel in \fIsrc\fR (0, 0 by default), \fIdx\fR, \fIdy\fR is the top-left position in \fIdst\fR and \fIsw\fR, \\sh is the size of the copied block (all of \fIsrc\fR by default). @@ -751,19 +751,19 @@ Copies a block of pixels from \fIsrc\fR to \fIdst\fR. The alpha channel and mask If \fIsrc\fR, \fIdst\fR, \fIsw\fR or \fIsh\fR is 0 (zero), copyBlt() does nothing. If \fIsw\fR or \fIsh\fR is negative, copyBlt() copies starting at \fIsx\fR (and respectively, \fIsy\fR) and ending at the right edge (and respectively, the bottom edge) of \fIsrc\fR. .PP copyBlt() does nothing if \fIsrc\fR and \fIdst\fR have different depths. -.SH "TQDataStream & operator<< ( TQDataStream & s, const QPixmap & pixmap )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQPixmap & pixmap )" Writes the pixmap \fIpixmap\fR to the stream \fIs\fR as a PNG image. .PP Note that writing the stream to a file will not produce a valid image file. .PP -See also QPixmap::save() and Format of the TQDataStream operators. -.SH "TQDataStream & operator>> ( TQDataStream & s, QPixmap & pixmap )" +See also TQPixmap::save() and Format of the TQDataStream operators. +.SH "TQDataStream & operator>> ( TQDataStream & s, TQPixmap & pixmap )" Reads a pixmap from the stream \fIs\fR into the pixmap \fIpixmap\fR. .PP -See also QPixmap::load() and Format of the TQDataStream operators. +See also TQPixmap::load() and Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpixmap.html +.BR http://doc.trolltech.com/tqpixmap.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/tqpixmapcache.3qt b/doc/man/man3/tqpixmapcache.3qt index 17c565524..df41068cc 100644 --- a/doc/man/man3/tqpixmapcache.3qt +++ b/doc/man/man3/tqpixmapcache.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPixmapCache 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPixmapCache 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,20 +7,20 @@ .ad l .nh .SH NAME -QPixmapCache \- Application-global cache for pixmaps +TQPixmapCache \- Application-global cache for pixmaps .SH SYNOPSIS -\fC#include <ntqpixmapcache.h>\fR +\fC#include <tqpixmapcache.h>\fR .PP .SS "Static Public Members" -<li class=fn>int \fBcacheLimit\fR () <li class=fn>void \fBsetCacheLimit\fR ( int n ) <li class=fn>QPixmap * \fBfind\fR ( const TQString & key ) <li class=fn>bool \fBfind\fR ( const TQString & key, QPixmap & pm ) <li class=fn>bool insert ( const TQString & key, QPixmap * pm ) \fI(obsolete)\fR <li class=fn>bool \fBinsert\fR ( const TQString & key, const QPixmap & pm ) <li class=fn>void \fBremove\fR ( const TQString & key ) <li class=fn>void \fBclear\fR () +<li class=fn>int \fBcacheLimit\fR () <li class=fn>void \fBsetCacheLimit\fR ( int n ) <li class=fn>TQPixmap * \fBfind\fR ( const TQString & key ) <li class=fn>bool \fBfind\fR ( const TQString & key, TQPixmap & pm ) <li class=fn>bool insert ( const TQString & key, TQPixmap * pm ) \fI(obsolete)\fR <li class=fn>bool \fBinsert\fR ( const TQString & key, const TQPixmap & pm ) <li class=fn>void \fBremove\fR ( const TQString & key ) <li class=fn>void \fBclear\fR () .SH DESCRIPTION -The QPixmapCache class provides an application-global cache for pixmaps. +The TQPixmapCache class provides an application-global cache for pixmaps. .PP -This class is a tool for optimized drawing with QPixmap. You can use it to store temporary pixmaps that are expensive to generate without using more storage space than cacheLimit(). Use insert() to insert pixmaps, find() to find them and clear() to empty the cache. +This class is a tool for optimized drawing with TQPixmap. You can use it to store temporary pixmaps that are expensive to generate without using more storage space than cacheLimit(). Use insert() to insert pixmaps, find() to find them and clear() to empty the cache. .PP -For example, QRadioButton has a non-trivial visual representation so we don't want to regenerate a pixmap whenever a radio button is displayed or changes state. In the function QRadioButton::drawButton(), we do not draw the radio button directly. Instead, we first check the global pixmap cache for a pixmap with the key "$qt_radio_nnn_", where \fCnnn\fR is a numerical value that specifies the the radio button state. If a pixmap is found, we bitBlt() it onto the widget and return. Otherwise, we create a new pixmap, draw the radio button in the pixmap, and finally insert the pixmap in the global pixmap cache, using the key above. The bitBlt() is ten times faster than drawing the radio button. All radio buttons in the program share the cached pixmap since QPixmapCache is application-global. +For example, QRadioButton has a non-trivial visual representation so we don't want to regenerate a pixmap whenever a radio button is displayed or changes state. In the function QRadioButton::drawButton(), we do not draw the radio button directly. Instead, we first check the global pixmap cache for a pixmap with the key "$qt_radio_nnn_", where \fCnnn\fR is a numerical value that specifies the the radio button state. If a pixmap is found, we bitBlt() it onto the widget and return. Otherwise, we create a new pixmap, draw the radio button in the pixmap, and finally insert the pixmap in the global pixmap cache, using the key above. The bitBlt() is ten times faster than drawing the radio button. All radio buttons in the program share the cached pixmap since TQPixmapCache is application-global. .PP -QPixmapCache contains no member data, only static functions to access the global pixmap cache. It creates an internal TQCache for caching the pixmaps. +TQPixmapCache contains no member data, only static functions to access the global pixmap cache. It creates an internal TQCache for caching the pixmaps. .PP The cache associates a pixmap with a string (key). If two pixmaps are inserted into the cache using equal keys, then the last pixmap will hide the first pixmap. The TQDict and TQCache classes do exactly the same. .PP @@ -30,28 +30,28 @@ See the TQCache documentation for more details about the cache mechanism. .PP See also Environment Classes, Graphics Classes, and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "int QPixmapCache::cacheLimit ()\fC [static]\fR" +.SH "int TQPixmapCache::cacheLimit ()\fC [static]\fR" Returns the cache limit (in kilobytes). .PP The default setting is 1024 kilobytes. .PP See also setCacheLimit(). -.SH "void QPixmapCache::clear ()\fC [static]\fR" +.SH "void TQPixmapCache::clear ()\fC [static]\fR" Removes all pixmaps from the cache. -.SH "QPixmap * QPixmapCache::find ( const TQString & key )\fC [static]\fR" +.SH "TQPixmap * TQPixmapCache::find ( const TQString & key )\fC [static]\fR" Returns the pixmap associated with the \fIkey\fR in the cache, or null if there is no such pixmap. .PP -\fBWarning:\fR If valid, you should copy the pixmap immediately (this is fast). Subsequent insertions into the cache could cause the pointer to become invalid. For this reason, we recommend you use find(const TQString&, QPixmap&) instead. +\fBWarning:\fR If valid, you should copy the pixmap immediately (this is fast). Subsequent insertions into the cache could cause the pointer to become invalid. For this reason, we recommend you use find(const TQString&, TQPixmap&) instead. .PP Example: .PP .nf .br - QPixmap* pp; + TQPixmap* pp; .br - QPixmap p; + TQPixmap p; .br - if ( (pp=QPixmapCache::find("my_big_image", pm)) ) { + if ( (pp=TQPixmapCache::find("my_big_image", pm)) ) { .br p = *pp; .br @@ -59,14 +59,14 @@ Example: .br p.load("bigimage.png"); .br - QPixmapCache::insert("my_big_image", new QPixmap(p)); + TQPixmapCache::insert("my_big_image", new TQPixmap(p)); .br } .br painter->drawPixmap(0, 0, p); .br .fi -.SH "bool QPixmapCache::find ( const TQString & key, QPixmap & pm )\fC [static]\fR" +.SH "bool TQPixmapCache::find ( const TQString & key, TQPixmap & pm )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Looks for a cached pixmap associated with the \fIkey\fR in the cache. If a pixmap is found, the function sets \fIpm\fR to that pixmap and returns TRUE; otherwise leaves \fIpm\fR alone and returns FALSE. @@ -75,20 +75,20 @@ Example: .PP .nf .br - QPixmap p; + TQPixmap p; .br - if ( !QPixmapCache::find("my_big_image", pm) ) { + if ( !TQPixmapCache::find("my_big_image", pm) ) { .br pm.load("bigimage.png"); .br - QPixmapCache::insert("my_big_image", pm); + TQPixmapCache::insert("my_big_image", pm); .br } .br painter->drawPixmap(0, 0, p); .br .fi -.SH "bool QPixmapCache::insert ( const TQString & key, const QPixmap & pm )\fC [static]\fR" +.SH "bool TQPixmapCache::insert ( const TQString & key, const TQPixmap & pm )\fC [static]\fR" Inserts a copy of the pixmap \fIpm\fR associated with the \fIkey\fR into the cache. .PP All pixmaps inserted by the TQt library have a key starting with" $qt", so your own pixmap keys should never begin "$qt". @@ -98,7 +98,7 @@ When a pixmap is inserted and the cache is about to exceed its limit, it removes The oldest pixmaps (least recently accessed in the cache) are deleted when more space is needed. .PP See also setCacheLimit(). -.SH "bool QPixmapCache::insert ( const TQString & key, QPixmap * pm )\fC [static]\fR" +.SH "bool TQPixmapCache::insert ( const TQString & key, TQPixmap * pm )\fC [static]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Inserts the pixmap \fIpm\fR associated with \fIkey\fR into the cache. Returns TRUE if successful, or FALSE if the pixmap is too big for the cache. @@ -109,10 +109,10 @@ If this function returns FALSE, you must delete \fIpm\fR yourself. .PP If this function returns TRUE, do not use \fIpm\fR afterwards or keep references to it because any other insertions into the cache, whether from anywhere in the application or within TQt itself, could cause the pixmap to be discarded from the cache and the pointer to become invalid. .PP -Due to these dangers, we strongly recommend that you use insert(const TQString&, const QPixmap&) instead. \fR -.SH "void QPixmapCache::remove ( const TQString & key )\fC [static]\fR" +Due to these dangers, we strongly recommend that you use insert(const TQString&, const TQPixmap&) instead. \fR +.SH "void TQPixmapCache::remove ( const TQString & key )\fC [static]\fR" Removes the pixmap associated with \fIkey\fR from the cache. -.SH "void QPixmapCache::setCacheLimit ( int n )\fC [static]\fR" +.SH "void TQPixmapCache::setCacheLimit ( int n )\fC [static]\fR" Sets the cache limit to \fIn\fR kilobytes. .PP The default setting is 1024 kilobytes. @@ -120,7 +120,7 @@ The default setting is 1024 kilobytes. See also cacheLimit(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpixmapcache.html +.BR http://doc.trolltech.com/tqpixmapcache.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/tqpngimagepacker.3qt b/doc/man/man3/tqpngimagepacker.3qt index e3a4b0025..7ff63d9da 100644 --- a/doc/man/man3/tqpngimagepacker.3qt +++ b/doc/man/man3/tqpngimagepacker.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPNGImagePacker 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPNGImagePacker 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,14 +7,14 @@ .ad l .nh .SH NAME -QPNGImagePacker \- Creates well-compressed PNG animations +TQPNGImagePacker \- Creates well-compressed PNG animations .SH SYNOPSIS -\fC#include <ntqpngio.h>\fR +\fC#include <tqpngio.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPNGImagePacker\fR ( TQIODevice * iod, int storage_depth, int conversionflags )" +.BI "\fBTQPNGImagePacker\fR ( TQIODevice * iod, int storage_depth, int conversionflags )" .br .ti -1c .BI "void \fBsetPixelAlignment\fR ( int x )" @@ -24,30 +24,30 @@ QPNGImagePacker \- Creates well-compressed PNG animations .br .in -1c .SH DESCRIPTION -The QPNGImagePacker class creates well-compressed PNG animations. +The TQPNGImagePacker class creates well-compressed PNG animations. .PP -By using transparency, QPNGImagePacker allows you to build a PNG image from a sequence of TQImages. +By using transparency, TQPNGImagePacker allows you to build a PNG image from a sequence of TQImages. .PP Images are added using packImage(). .PP See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPNGImagePacker::QPNGImagePacker ( TQIODevice * iod, int storage_depth, int conversionflags )" +.SH "TQPNGImagePacker::TQPNGImagePacker ( TQIODevice * iod, int storage_depth, int conversionflags )" Creates an image packer that writes PNG data to IO device \fIiod\fR using a \fIstorage_depth\fR bit encoding (use 8 or 32, depending on the desired quality and compression requirements). .PP If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversionflags\fR to specify how you'd prefer this to happen. .PP See also TQt::ImageConversionFlags. -.SH "bool QPNGImagePacker::packImage ( const TQImage & img )" +.SH "bool TQPNGImagePacker::packImage ( const TQImage & img )" Adds the image \fIimg\fR to the PNG animation, analyzing the differences between this and the previous image to improve compression. -.SH "void QPNGImagePacker::setPixelAlignment ( int x )" +.SH "void TQPNGImagePacker::setPixelAlignment ( int x )" Aligns pixel differences to \fIx\fR pixels. For example, using 8 can improve playback on certain hardware. Normally the default of 1-pixel alignment (i.e. no alignment) gives better compression and performance. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qpngimagepacker.html +.BR http://doc.trolltech.com/tqpngimagepacker.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/tqpoint.3qt b/doc/man/man3/tqpoint.3qt index 862870427..fedb4aef2 100644 --- a/doc/man/man3/tqpoint.3qt +++ b/doc/man/man3/tqpoint.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPoint 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPoint 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,17 +7,17 @@ .ad l .nh .SH NAME -QPoint \- Defines a point in the plane +TQPoint \- Defines a point in the plane .SH SYNOPSIS -\fC#include <ntqpoint.h>\fR +\fC#include <tqpoint.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPoint\fR ()" +.BI "\fBTQPoint\fR ()" .br .ti -1c -.BI "\fBQPoint\fR ( int xpos, int ypos )" +.BI "\fBTQPoint\fR ( int xpos, int ypos )" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -44,68 +44,68 @@ QPoint \- Defines a point in the plane .BI "QCOORD & \fBry\fR ()" .br .ti -1c -.BI "QPoint & \fBoperator+=\fR ( const QPoint & p )" +.BI "TQPoint & \fBoperator+=\fR ( const TQPoint & p )" .br .ti -1c -.BI "QPoint & \fBoperator-=\fR ( const QPoint & p )" +.BI "TQPoint & \fBoperator-=\fR ( const TQPoint & p )" .br .ti -1c -.BI "QPoint & \fBoperator*=\fR ( int c )" +.BI "TQPoint & \fBoperator*=\fR ( int c )" .br .ti -1c -.BI "QPoint & \fBoperator*=\fR ( double c )" +.BI "TQPoint & \fBoperator*=\fR ( double c )" .br .ti -1c -.BI "QPoint & \fBoperator/=\fR ( int c )" +.BI "TQPoint & \fBoperator/=\fR ( int c )" .br .ti -1c -.BI "QPoint & \fBoperator/=\fR ( double c )" +.BI "TQPoint & \fBoperator/=\fR ( double c )" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "bool \fBoperator==\fR ( const QPoint & p1, const QPoint & p2 )" +.BI "bool \fBoperator==\fR ( const TQPoint & p1, const TQPoint & p2 )" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QPoint & p1, const QPoint & p2 )" +.BI "bool \fBoperator!=\fR ( const TQPoint & p1, const TQPoint & p2 )" .br .ti -1c -.BI "const QPoint \fBoperator+\fR ( const QPoint & p1, const QPoint & p2 )" +.BI "const TQPoint \fBoperator+\fR ( const TQPoint & p1, const TQPoint & p2 )" .br .ti -1c -.BI "const QPoint \fBoperator-\fR ( const QPoint & p1, const QPoint & p2 )" +.BI "const TQPoint \fBoperator-\fR ( const TQPoint & p1, const TQPoint & p2 )" .br .ti -1c -.BI "const QPoint \fBoperator*\fR ( const QPoint & p, int c )" +.BI "const TQPoint \fBoperator*\fR ( const TQPoint & p, int c )" .br .ti -1c -.BI "const QPoint \fBoperator*\fR ( int c, const QPoint & p )" +.BI "const TQPoint \fBoperator*\fR ( int c, const TQPoint & p )" .br .ti -1c -.BI "const QPoint \fBoperator*\fR ( const QPoint & p, double c )" +.BI "const TQPoint \fBoperator*\fR ( const TQPoint & p, double c )" .br .ti -1c -.BI "const QPoint \fBoperator*\fR ( double c, const QPoint & p )" +.BI "const TQPoint \fBoperator*\fR ( double c, const TQPoint & p )" .br .ti -1c -.BI "const QPoint \fBoperator-\fR ( const QPoint & p )" +.BI "const TQPoint \fBoperator-\fR ( const TQPoint & p )" .br .ti -1c -.BI "const QPoint \fBoperator/\fR ( const QPoint & p, int c )" +.BI "const TQPoint \fBoperator/\fR ( const TQPoint & p, int c )" .br .ti -1c -.BI "const QPoint \fBoperator/\fR ( const QPoint & p, double c )" +.BI "const TQPoint \fBoperator/\fR ( const TQPoint & p, double c )" .br .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QPoint & p )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQPoint & p )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QPoint & p )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQPoint & p )" .br .in -1c .SH DESCRIPTION -The QPoint class defines a point in the plane. +The TQPoint class defines a point in the plane. .PP A point is specified by an x coordinate and a y coordinate. .PP @@ -119,25 +119,25 @@ Given a point \fIp\fR, the following statements are all equivalent: .br p.setX( p.x() + 1 ); .br - p += QPoint( 1, 0 ); + p += TQPoint( 1, 0 ); .br p.rx()++; .br .fi .PP -A QPoint can also be used as a vector. Addition and subtraction of QPoints are defined as for vectors (each component is added separately). You can divide or multiply a QPoint by an \fCint\fR or a \fCdouble\fR. The function manhattanLength() gives an inexpensive approximation of the length of the QPoint interpreted as a vector. +A TQPoint can also be used as a vector. Addition and subtraction of TQPoints are defined as for vectors (each component is added separately). You can divide or multiply a TQPoint by an \fCint\fR or a \fCdouble\fR. The function manhattanLength() gives an inexpensive approximation of the length of the TQPoint interpreted as a vector. .PP Example: .PP .nf .br - //QPoint oldPos is defined somewhere else + //TQPoint oldPos is defined somewhere else .br MyWidget::mouseMoveEvent( QMouseEvent *e ) .br { .br - QPoint vector = e->pos() - oldPos; + TQPoint vector = e->pos() - oldPos; .br if ( vector.manhattanLength() > 3 ) .br @@ -147,33 +147,33 @@ Example: .br .fi .PP -QPoints can be compared for equality or inequality, and they can be written to and read from a QStream. +TQPoints can be compared for equality or inequality, and they can be written to and read from a QStream. .PP -See also QPointArray, TQSize, QRect, Graphics Classes, and Image Processing Classes. +See also TQPointArray, TQSize, TQRect, Graphics Classes, and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPoint::QPoint ()" +.SH "TQPoint::TQPoint ()" Constructs a point with coordinates (0, 0) (isNull() returns TRUE). -.SH "QPoint::QPoint ( int xpos, int ypos )" +.SH "TQPoint::TQPoint ( int xpos, int ypos )" Constructs a point with x value \fIxpos\fR and y value \fIypos\fR. -.SH "bool QPoint::isNull () const" +.SH "bool TQPoint::isNull () const" Returns TRUE if both the x value and the y value are 0; otherwise returns FALSE. -.SH "int QPoint::manhattanLength () const" +.SH "int TQPoint::manhattanLength () const" Returns the sum of the absolute values of x() and y(), traditionally known as the "Manhattan length" of the vector from the origin to the point. The tradition arises because such distances apply to travelers who can only travel on a rectangular grid, like the streets of Manhattan. .PP This is a useful, and quick to calculate, approximation to the true length: sqrt(pow(x(),2)+pow(y(),2)). -.SH "QPoint & QPoint::operator*= ( int c )" +.SH "TQPoint & TQPoint::operator*= ( int c )" Multiplies this point's x and y by \fIc\fR, and returns a reference to this point. .PP Example: .PP .nf .br - QPoint p( -1, 4 ); + TQPoint p( -1, 4 ); .br p *= 2; // p becomes (-2,8) .br .fi -.SH "QPoint & QPoint::operator*= ( double c )" +.SH "TQPoint & TQPoint::operator*= ( double c )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Multiplies this point's x and y by \fIc\fR, and returns a reference to this point. @@ -182,54 +182,54 @@ Example: .PP .nf .br - QPoint p( -1, 4 ); + TQPoint p( -1, 4 ); .br p *= 2.5; // p becomes (-3,10) .br .fi .PP Note that the result is truncated because points are held as integers. -.SH "QPoint & QPoint::operator+= ( const QPoint & p )" +.SH "TQPoint & TQPoint::operator+= ( const TQPoint & p )" Adds point \fIp\fR to this point and returns a reference to this point. .PP Example: .PP .nf .br - QPoint p( 3, 7 ); + TQPoint p( 3, 7 ); .br - QPoint q( -1, 4 ); + TQPoint q( -1, 4 ); .br p += q; // p becomes (2,11) .br .fi -.SH "QPoint & QPoint::operator-= ( const QPoint & p )" +.SH "TQPoint & TQPoint::operator-= ( const TQPoint & p )" Subtracts point \fIp\fR from this point and returns a reference to this point. .PP Example: .PP .nf .br - QPoint p( 3, 7 ); + TQPoint p( 3, 7 ); .br - QPoint q( -1, 4 ); + TQPoint q( -1, 4 ); .br p -= q; // p becomes (4,3) .br .fi -.SH "QPoint & QPoint::operator/= ( int c )" +.SH "TQPoint & TQPoint::operator/= ( int c )" Divides both x and y by \fIc\fR, and returns a reference to this point. .PP Example: .PP .nf .br - QPoint p( -2, 8 ); + TQPoint p( -2, 8 ); .br p /= 2; // p becomes (-1,4) .br .fi -.SH "QPoint & QPoint::operator/= ( double c )" +.SH "TQPoint & TQPoint::operator/= ( double c )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Divides both x and y by \fIc\fR, and returns a reference to this point. @@ -238,14 +238,14 @@ Example: .PP .nf .br - QPoint p( -3, 10 ); + TQPoint p( -3, 10 ); .br p /= 2.5; // p becomes (-1,4) .br .fi .PP Note that the result is truncated because points are held as integers. -.SH "QCOORD & QPoint::rx ()" +.SH "QCOORD & TQPoint::rx ()" Returns a reference to the x coordinate of the point. .PP Using a reference makes it possible to directly manipulate x. @@ -254,14 +254,14 @@ Example: .PP .nf .br - QPoint p( 1, 2 ); + TQPoint p( 1, 2 ); .br p.rx()--; // p becomes (0, 2) .br .fi .PP See also ry(). -.SH "QCOORD & QPoint::ry ()" +.SH "QCOORD & TQPoint::ry ()" Returns a reference to the y coordinate of the point. .PP Using a reference makes it possible to directly manipulate y. @@ -270,33 +270,33 @@ Example: .PP .nf .br - QPoint p( 1, 2 ); + TQPoint p( 1, 2 ); .br p.ry()++; // p becomes (1, 3) .br .fi .PP See also rx(). -.SH "void QPoint::setX ( int x )" +.SH "void TQPoint::setX ( int x )" Sets the x coordinate of the point to \fIx\fR. .PP See also x() and setY(). .PP Example: t14/cannon.cpp. -.SH "void QPoint::setY ( int y )" +.SH "void TQPoint::setY ( int y )" Sets the y coordinate of the point to \fIy\fR. .PP See also y() and setX(). .PP Example: t14/cannon.cpp. -.SH "int QPoint::x () const" +.SH "int TQPoint::x () const" Returns the x coordinate of the point. .PP See also setX() and y(). .PP Examples: .)l canvas/canvas.cpp, chart/canvasview.cpp, dirview/dirview.cpp, fileiconview/tqfileiconview.cpp, helpsystem/tooltip.cpp, life/life.cpp, and t14/cannon.cpp. -.SH "int QPoint::y () const" +.SH "int TQPoint::y () const" Returns the y coordinate of the point. .PP See also setY() and x(). @@ -304,55 +304,55 @@ See also setY() and x(). Examples: .)l canvas/canvas.cpp, chart/canvasview.cpp, fileiconview/tqfileiconview.cpp, helpsystem/tooltip.cpp, life/life.cpp, t14/cannon.cpp, and themes/wood.cpp. .SH RELATED FUNCTION DOCUMENTATION -.SH "bool operator!= ( const QPoint & p1, const QPoint & p2 )" +.SH "bool operator!= ( const TQPoint & p1, const TQPoint & p2 )" Returns TRUE if \fIp1\fR and \fIp2\fR are not equal; otherwise returns FALSE. -.SH "const QPoint operator* ( const QPoint & p, int c )" -Returns the QPoint formed by multiplying both components of \fIp\fR by \fIc\fR. -.SH "const QPoint operator* ( int c, const QPoint & p )" +.SH "const TQPoint operator* ( const TQPoint & p, int c )" +Returns the TQPoint formed by multiplying both components of \fIp\fR by \fIc\fR. +.SH "const TQPoint operator* ( int c, const TQPoint & p )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns the QPoint formed by multiplying both components of \fIp\fR by \fIc\fR. -.SH "const QPoint operator* ( const QPoint & p, double c )" +Returns the TQPoint formed by multiplying both components of \fIp\fR by \fIc\fR. +.SH "const TQPoint operator* ( const TQPoint & p, double c )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns the QPoint formed by multiplying both components of \fIp\fR by \fIc\fR. +Returns the TQPoint formed by multiplying both components of \fIp\fR by \fIc\fR. .PP Note that the result is truncated because points are held as integers. -.SH "const QPoint operator* ( double c, const QPoint & p )" +.SH "const TQPoint operator* ( double c, const TQPoint & p )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns the QPoint formed by multiplying both components of \fIp\fR by \fIc\fR. +Returns the TQPoint formed by multiplying both components of \fIp\fR by \fIc\fR. .PP Note that the result is truncated because points are held as integers. -.SH "const QPoint operator+ ( const QPoint & p1, const QPoint & p2 )" +.SH "const TQPoint operator+ ( const TQPoint & p1, const TQPoint & p2 )" Returns the sum of \fIp1\fR and \fIp2\fR; each component is added separately. -.SH "const QPoint operator- ( const QPoint & p1, const QPoint & p2 )" +.SH "const TQPoint operator- ( const TQPoint & p1, const TQPoint & p2 )" Returns \fIp2\fR subtracted from \fIp1\fR; each component is subtracted separately. -.SH "const QPoint operator- ( const QPoint & p )" +.SH "const TQPoint operator- ( const TQPoint & p )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns the QPoint formed by changing the sign of both components of \fIp\fR, equivalent to \fCQPoint(0,0) - p\fR. -.SH "const QPoint operator/ ( const QPoint & p, int c )" -Returns the QPoint formed by dividing both components of \fIp\fR by \fIc\fR. -.SH "const QPoint operator/ ( const QPoint & p, double c )" +Returns the TQPoint formed by changing the sign of both components of \fIp\fR, equivalent to \fCTQPoint(0,0) - p\fR. +.SH "const TQPoint operator/ ( const TQPoint & p, int c )" +Returns the TQPoint formed by dividing both components of \fIp\fR by \fIc\fR. +.SH "const TQPoint operator/ ( const TQPoint & p, double c )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns the QPoint formed by dividing both components of \fIp\fR by \fIc\fR. +Returns the TQPoint formed by dividing both components of \fIp\fR by \fIc\fR. .PP Note that the result is truncated because points are held as integers. -.SH "TQDataStream & operator<< ( TQDataStream & s, const QPoint & p )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQPoint & p )" Writes point \fIp\fR to the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. -.SH "bool operator== ( const QPoint & p1, const QPoint & p2 )" +.SH "bool operator== ( const TQPoint & p1, const TQPoint & p2 )" Returns TRUE if \fIp1\fR and \fIp2\fR are equal; otherwise returns FALSE. -.SH "TQDataStream & operator>> ( TQDataStream & s, QPoint & p )" -Reads a QPoint from the stream \fIs\fR into point \fIp\fR and returns a reference to the stream. +.SH "TQDataStream & operator>> ( TQDataStream & s, TQPoint & p )" +Reads a TQPoint from the stream \fIs\fR into point \fIp\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpoint.html +.BR http://doc.trolltech.com/tqpoint.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/tqpointarray.3qt b/doc/man/man3/tqpointarray.3qt index 62e468b1d..1131431d5 100644 --- a/doc/man/man3/tqpointarray.3qt +++ b/doc/man/man3/tqpointarray.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPointArray 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPointArray 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,58 +7,58 @@ .ad l .nh .SH NAME -QPointArray \- Array of points +TQPointArray \- Array of points .SH SYNOPSIS -\fC#include <ntqpointarray.h>\fR +\fC#include <tqpointarray.h>\fR .PP -Inherits TQMemArray<QPoint>. +Inherits TQMemArray<TQPoint>. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPointArray\fR ()" +.BI "\fBTQPointArray\fR ()" .br .ti -1c -.BI "\fB~QPointArray\fR ()" +.BI "\fB~TQPointArray\fR ()" .br .ti -1c -.BI "\fBQPointArray\fR ( int size )" +.BI "\fBTQPointArray\fR ( int size )" .br .ti -1c -.BI "\fBQPointArray\fR ( const QPointArray & a )" +.BI "\fBTQPointArray\fR ( const TQPointArray & a )" .br .ti -1c -.BI "\fBQPointArray\fR ( const QRect & r, bool closed = FALSE )" +.BI "\fBTQPointArray\fR ( const TQRect & r, bool closed = FALSE )" .br .ti -1c -.BI "QPointArray & \fBoperator=\fR ( const QPointArray & a )" +.BI "TQPointArray & \fBoperator=\fR ( const TQPointArray & a )" .br .ti -1c -.BI "QPointArray \fBcopy\fR () const" +.BI "TQPointArray \fBcopy\fR () const" .br .ti -1c .BI "void \fBtranslate\fR ( int dx, int dy )" .br .ti -1c -.BI "QRect \fBboundingRect\fR () const" +.BI "TQRect \fBboundingRect\fR () const" .br .ti -1c .BI "void \fBpoint\fR ( uint index, int * x, int * y ) const" .br .ti -1c -.BI "QPoint \fBpoint\fR ( uint index ) const" +.BI "TQPoint \fBpoint\fR ( uint index ) const" .br .ti -1c .BI "void \fBsetPoint\fR ( uint index, int x, int y )" .br .ti -1c -.BI "void \fBsetPoint\fR ( uint i, const QPoint & p )" +.BI "void \fBsetPoint\fR ( uint i, const TQPoint & p )" .br .ti -1c .BI "bool \fBputPoints\fR ( int index, int nPoints, int firstx, int firsty, ... )" .br .ti -1c -.BI "bool \fBputPoints\fR ( int index, int nPoints, const QPointArray & from, int fromIndex = 0 )" +.BI "bool \fBputPoints\fR ( int index, int nPoints, const TQPointArray & from, int fromIndex = 0 )" .br .ti -1c .BI "void \fBmakeArc\fR ( int x, int y, int w, int h, int a1, int a2 )" @@ -67,41 +67,41 @@ Inherits TQMemArray<QPoint>. .BI "void \fBmakeEllipse\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBmakeArc\fR ( int x, int y, int w, int h, int a1, int a2, const QWMatrix & xf )" +.BI "void \fBmakeArc\fR ( int x, int y, int w, int h, int a1, int a2, const TQWMatrix & xf )" .br .ti -1c -.BI "QPointArray \fBcubicBezier\fR () const" +.BI "TQPointArray \fBcubicBezier\fR () const" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QPointArray & a )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQPointArray & a )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QPointArray & a )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQPointArray & a )" .br .in -1c .SH DESCRIPTION -The QPointArray class provides an array of points. +The TQPointArray class provides an array of points. .PP -A QPointArray is an array of QPoint objects. In addition to the functions provided by TQMemArray, QPointArray provides some point-specific functions. +A TQPointArray is an array of TQPoint objects. In addition to the functions provided by TQMemArray, TQPointArray provides some point-specific functions. .PP For convenient reading and writing of the point data use setPoints(), putPoints(), point(), and setPoint(). .PP -For geometry operations use boundingRect() and translate(). There is also the QWMatrix::map() function for more general transformations of QPointArrays. You can also create arcs and ellipses with makeArc() and makeEllipse(). +For geometry operations use boundingRect() and translate(). There is also the TQWMatrix::map() function for more general transformations of TQPointArrays. You can also create arcs and ellipses with makeArc() and makeEllipse(). .PP -Among others, QPointArray is used by TQPainter::drawLineSegments(), TQPainter::drawPolyline(), TQPainter::drawPolygon() and TQPainter::drawCubicBezier(). +Among others, TQPointArray is used by TQPainter::drawLineSegments(), TQPainter::drawPolyline(), TQPainter::drawPolygon() and TQPainter::drawCubicBezier(). .PP Note that because this class is a TQMemArray, copying an array and modifying the copy modifies the original as well, i.e. a shallow copy. If you need a deep copy use copy() or detach(), for example: .PP .nf .br - void drawGiraffe( const QPointArray & r, TQPainter * p ) + void drawGiraffe( const TQPointArray & r, TQPainter * p ) .br { .br - QPointArray tmp = r; + TQPointArray tmp = r; .br tmp.detach(); .br @@ -115,43 +115,43 @@ Note that because this class is a TQMemArray, copying an array and modifying the .PP If you forget the tmp.detach(), the const array will be modified. .PP -See also TQPainter, QWMatrix, TQMemArray, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also TQPainter, TQWMatrix, TQMemArray, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPointArray::QPointArray ()" +.SH "TQPointArray::TQPointArray ()" Constructs a null point array. .PP See also isNull(). -.SH "QPointArray::QPointArray ( int size )" +.SH "TQPointArray::TQPointArray ( int size )" Constructs a point array with room for \fIsize\fR points. Makes a null array if \fIsize\fR == 0. .PP See also resize() and isNull(). -.SH "QPointArray::QPointArray ( const QPointArray & a )" +.SH "TQPointArray::TQPointArray ( const TQPointArray & a )" Constructs a shallow copy of the point array \fIa\fR. .PP See also copy() and detach(). -.SH "QPointArray::QPointArray ( const QRect & r, bool closed = FALSE )" +.SH "TQPointArray::TQPointArray ( const TQRect & r, bool closed = FALSE )" Constructs a point array from the rectangle \fIr\fR. .PP If \fIclosed\fR is FALSE, then the point array just contains the following four points in the listed order: r.topLeft(), r.topRight(), r.bottomRight() and r.bottomLeft(). .PP If \fIclosed\fR is TRUE, then a fifth point is set to r.topLeft(). -.SH "QPointArray::~QPointArray ()" +.SH "TQPointArray::~TQPointArray ()" Destroys the point array. -.SH "QRect QPointArray::boundingRect () const" -Returns the bounding rectangle of the points in the array, or QRect(0,0,0,0) if the array is empty. -.SH "QPointArray QPointArray::copy () const" +.SH "TQRect TQPointArray::boundingRect () const" +Returns the bounding rectangle of the points in the array, or TQRect(0,0,0,0) if the array is empty. +.SH "TQPointArray TQPointArray::copy () const" Creates a deep copy of the array. .PP See also detach(). -.SH "QPointArray QPointArray::cubicBezier () const" +.SH "TQPointArray TQPointArray::cubicBezier () const" Returns the Bezier points for the four control points in this array. -.SH "void QPointArray::makeArc ( int x, int y, int w, int h, int a1, int a2 )" -Sets the points of the array to those describing an arc of an ellipse with size, width \fIw\fR by height \fIh\fR, and position (\fIx\fR, \fIy\fR), starting from angle \fIa1\fR and spanning by angle \fIa2\fR. The resulting array has sufficient resolution for pixel accuracy (see the overloaded function which takes an additional QWMatrix parameter). +.SH "void TQPointArray::makeArc ( int x, int y, int w, int h, int a1, int a2 )" +Sets the points of the array to those describing an arc of an ellipse with size, width \fIw\fR by height \fIh\fR, and position (\fIx\fR, \fIy\fR), starting from angle \fIa1\fR and spanning by angle \fIa2\fR. The resulting array has sufficient resolution for pixel accuracy (see the overloaded function which takes an additional TQWMatrix parameter). .PP Angles are specified in 16ths of a degree, i.e. a full circle equals 5760 (16*360). Positive values mean counter-clockwise, whereas negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position. .PP See the angle diagram. -.SH "void QPointArray::makeArc ( int x, int y, int w, int h, int a1, int a2, const QWMatrix & xf )" +.SH "void TQPointArray::makeArc ( int x, int y, int w, int h, int a1, int a2, const TQWMatrix & xf )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the points of the array to those describing an arc of an ellipse with width \fIw\fR and height \fIh\fR and position (\fIx\fR, \fIy\fR), starting from angle \fIa1\fR, and spanning angle by \fIa2\fR, and transformed by the matrix \fIxf\fR. The resulting array has sufficient resolution for pixel accuracy. @@ -159,23 +159,23 @@ Sets the points of the array to those describing an arc of an ellipse with width Angles are specified in 16ths of a degree, i.e. a full circle equals 5760 (16*360). Positive values mean counter-clockwise, whereas negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position. .PP See the angle diagram. -.SH "void QPointArray::makeEllipse ( int x, int y, int w, int h )" +.SH "void TQPointArray::makeEllipse ( int x, int y, int w, int h )" Sets the points of the array to those describing an ellipse with size, width \fIw\fR by height \fIh\fR, and position (\fIx\fR, \fIy\fR). .PP The returned array has sufficient resolution for use as pixels. -.SH "QPointArray & QPointArray::operator= ( const QPointArray & a )" +.SH "TQPointArray & TQPointArray::operator= ( const TQPointArray & a )" Assigns a shallow copy of \fIa\fR to this point array and returns a reference to this point array. .PP Equivalent to assign(a). .PP See also copy() and detach(). -.SH "void QPointArray::point ( uint index, int * x, int * y ) const" +.SH "void TQPointArray::point ( uint index, int * x, int * y ) const" Reads the coordinates of the point at position \fIindex\fR within the array and writes them into \fI*x\fR and \fI*y\fR. -.SH "QPoint QPointArray::point ( uint index ) const" +.SH "TQPoint TQPointArray::point ( uint index ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point at position \fIindex\fR within the array. -.SH "bool QPointArray::putPoints ( int index, int nPoints, int firstx, int firsty, ... )" +.SH "bool TQPointArray::putPoints ( int index, int nPoints, int firstx, int firsty, ... )" Copies \fInPoints\fR points from the variable argument list into this point array from position \fIindex\fR, and resizes the point array if \fCindex+nPoints\fR exceeds the size of the array. .PP Returns TRUE if successful, or FALSE if the array could not be resized (typically due to lack of memory). @@ -184,9 +184,9 @@ The example code creates an array with three points (4,5), (6,7) and (8,9), by e .PP .nf .br - QPointArray a( 1 ); + TQPointArray a( 1 ); .br - a[0] = QPoint( 4, 5 ); + a[0] = TQPoint( 4, 5 ); .br a.putPoints( 1, 2, 6,7, 8,9 ); // index == 1, points == 2 .br @@ -196,7 +196,7 @@ This has the same result, but here putPoints overwrites rather than extends: .PP .nf .br - QPointArray a( 3 ); + TQPointArray a( 3 ); .br a.putPoints( 0, 3, 4,5, 0,0, 8,9 ); .br @@ -207,20 +207,20 @@ This has the same result, but here putPoints overwrites rather than extends: The points are given as a sequence of integers, starting with \fIfirstx\fR then \fIfirsty\fR, and so on. .PP See also resize(). -.SH "bool QPointArray::putPoints ( int index, int nPoints, const QPointArray & from, int fromIndex = 0 )" +.SH "bool TQPointArray::putPoints ( int index, int nPoints, const TQPointArray & from, int fromIndex = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version of the function copies \fInPoints\fR from \fIfrom\fR into this array, starting at \fIindex\fR in this array and \fIfromIndex\fR in \fIfrom\fR. \fIfromIndex\fR is 0 by default. .PP .nf .br - QPointArray a; + TQPointArray a; .br a.putPoints( 0, 3, 1,2, 0,0, 5,6 ); .br // a is now the three-point array ( 1,2, 0,0, 5,6 ); .br - QPointArray b; + TQPointArray b; .br b.putPoints( 0, 3, 4,4, 5,5, 6,6 ); .br @@ -231,28 +231,28 @@ This version of the function copies \fInPoints\fR from \fIfrom\fR into this arra // a is now ( 1,2, 0,0, 4,4, 5,5, 6,6 ); .br .fi -.SH "void QPointArray::setPoint ( uint index, int x, int y )" +.SH "void TQPointArray::setPoint ( uint index, int x, int y )" Sets the point at position \fIindex\fR in the array to \fI(x, y)\fR. .PP Example: themes/wood.cpp. -.SH "void QPointArray::setPoint ( uint i, const QPoint & p )" +.SH "void TQPointArray::setPoint ( uint i, const TQPoint & p )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the point at array index \fIi\fR to \fIp\fR. -.SH "void QPointArray::translate ( int dx, int dy )" +.SH "void TQPointArray::translate ( int dx, int dy )" Translates all points in the array by \fI(dx, dy)\fR. .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QPointArray & a )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQPointArray & a )" Writes the point array, \fIa\fR to the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. -.SH "TQDataStream & operator>> ( TQDataStream & s, QPointArray & a )" +.SH "TQDataStream & operator>> ( TQDataStream & s, TQPointArray & a )" Reads a point array, \fIa\fR from the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpointarray.html +.BR http://doc.trolltech.com/tqpointarray.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/tqpopupmenu.3qt b/doc/man/man3/tqpopupmenu.3qt index 48e603fd3..ef8b119ff 100644 --- a/doc/man/man3/tqpopupmenu.3qt +++ b/doc/man/man3/tqpopupmenu.3qt @@ -22,7 +22,7 @@ Inherits QFrame and TQMenuData. .BI "\fB~TQPopupMenu\fR ()" .br .ti -1c -.BI "void \fBpopup\fR ( const QPoint & pos, int indexAtPoint = -1 )" +.BI "void \fBpopup\fR ( const TQPoint & pos, int indexAtPoint = -1 )" .br .ti -1c .BI "virtual void \fBupdateItem\fR ( int id )" @@ -37,7 +37,7 @@ Inherits QFrame and TQMenuData. .BI "int \fBexec\fR ()" .br .ti -1c -.BI "int \fBexec\fR ( const QPoint & pos, int indexAtPoint = 0 )" +.BI "int \fBexec\fR ( const TQPoint & pos, int indexAtPoint = 0 )" .br .ti -1c .BI "virtual void \fBsetActiveItem\fR ( int i )" @@ -46,7 +46,7 @@ Inherits QFrame and TQMenuData. .BI "int \fBidAt\fR ( int index ) const" .br .ti -1c -.BI "int \fBidAt\fR ( const QPoint & pos ) const" +.BI "int \fBidAt\fR ( const TQPoint & pos ) const" .br .ti -1c .BI "int \fBinsertTearOffHandle\fR ( int id = -1, int index = -1 )" @@ -76,10 +76,10 @@ Inherits QFrame and TQMenuData. .BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )" @@ -94,16 +94,16 @@ Inherits QFrame and TQMenuData. .BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c -.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" .br .ti -1c .BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )" @@ -139,7 +139,7 @@ Inherits QFrame and TQMenuData. .BI "TQString \fBtext\fR ( int id ) const" .br .ti -1c -.BI "QPixmap * \fBpixmap\fR ( int id ) const" +.BI "TQPixmap * \fBpixmap\fR ( int id ) const" .br .ti -1c .BI "void \fBsetWhatsThis\fR ( int id, const TQString & text )" @@ -151,13 +151,13 @@ Inherits QFrame and TQMenuData. .BI "void \fBchangeItem\fR ( int id, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQPixmap & pixmap )" .br .ti -1c .BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQString & text )" .br .ti -1c -.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const QPixmap & pixmap )" +.BI "void \fBchangeItem\fR ( int id, const TQIconSet & icon, const TQPixmap & pixmap )" .br .ti -1c .BI "bool \fBisItemEnabled\fR ( int id ) const" @@ -283,7 +283,7 @@ Examples: Changes the text of the menu item \fIid\fR to \fItext\fR. If the item has an icon, the icon remains unchanged. .PP See also text(). -.SH "void TQMenuData::changeItem ( int id, const QPixmap & pixmap )" +.SH "void TQMenuData::changeItem ( int id, const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the pixmap of the menu item \fIid\fR to the pixmap \fIpixmap\fR. If the item has an icon, the icon is unchanged. @@ -295,7 +295,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Changes the iconset and text of the menu item \fIid\fR to the \fIicon\fR and \fItext\fR respectively. .PP See also pixmap(). -.SH "void TQMenuData::changeItem ( int id, const TQIconSet & icon, const QPixmap & pixmap )" +.SH "void TQMenuData::changeItem ( int id, const TQIconSet & icon, const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Changes the iconset and pixmap of the menu item \fIid\fR to \fIicon\fR and \fIpixmap\fR respectively. @@ -339,7 +339,7 @@ See also TQStyle::drawControl(). .SH "int TQPopupMenu::exec ()" Executes this popup synchronously. .PP -This is equivalent to \fCexec(mapToGlobal(QPoint(0,0)))\fR. In most situations you'll want to specify the position yourself, for example at the current mouse position: +This is equivalent to \fCexec(mapToGlobal(TQPoint(0,0)))\fR. In most situations you'll want to specify the position yourself, for example at the current mouse position: .PP .nf .br @@ -350,13 +350,13 @@ or aligned to a widget: .PP .nf .br - exec(somewidget.mapToGlobal(QPoint(0,0))); + exec(somewidget.mapToGlobal(TQPoint(0,0))); .br .fi .PP Examples: .)l fileiconview/tqfileiconview.cpp, menu/menu.cpp, and scribble/scribble.cpp. -.SH "int TQPopupMenu::exec ( const QPoint & pos, int indexAtPoint = 0 )" +.SH "int TQPopupMenu::exec ( const TQPoint & pos, int indexAtPoint = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Executes this popup synchronously. @@ -378,7 +378,7 @@ or aligned to a widget: .PP .nf .br - exec( somewidget.mapToGlobal(QPoint(0, 0)) ); + exec( somewidget.mapToGlobal(TQPoint(0, 0)) ); .br .fi .PP @@ -399,7 +399,7 @@ Returns the identifier of the menu item at position \fIindex\fR in the internal See also TQMenuData::setId() and TQMenuData::indexOf(). .PP Example: scrollview/scrollview.cpp. -.SH "int TQPopupMenu::idAt ( const QPoint & pos ) const" +.SH "int TQPopupMenu::idAt ( const TQPoint & pos ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the id of the item at \fIpos\fR, or -1 if there is no item there or if it is a separator. @@ -444,7 +444,7 @@ If you need to translate accelerators, use tr() with the text and accelerator. ( .PP In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. .PP -Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a QPixmap object instead. +Some insert functions take a TQIconSet parameter to specify the little menu item icon. Note that you can always pass a TQPixmap object instead. .PP The \fIid\fR specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative value will make TQt select a unique id for the item. .PP @@ -470,22 +470,22 @@ Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\ Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqnamespace.h. -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP @@ -526,17 +526,17 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. .PP -To look best when being highlighted as a menu item, the pixmap should provide a mask (see QPixmap::mask()). +To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()). .PP Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -544,7 +544,7 @@ Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, optional id \fIid Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with pixmap \fIpixmap\fR, submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. @@ -554,7 +554,7 @@ The \fIpopup\fR must be deleted by the programmer or by its parent widget. It is Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0). .PP See also removeItem(), changeItem(), setAccel(), and connectItem(). -.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const QPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" +.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, TQPopupMenu * popup, int id = -1, int index = -1 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR submenu \fIpopup\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. @@ -660,11 +660,11 @@ Returns the parameter of the activation signal of item \fIid\fR. If no parameter has been specified for this item with setItemParameter(), the value defaults to \fIid\fR. .PP See also connectItem(), disconnectItem(), and setItemParameter(). -.SH "QPixmap * TQMenuData::pixmap ( int id ) const" +.SH "TQPixmap * TQMenuData::pixmap ( int id ) const" Returns the pixmap that has been set for menu item \fIid\fR, or 0 if no pixmap has been set. .PP See also changeItem(), text(), and iconSet(). -.SH "void TQPopupMenu::popup ( const QPoint & pos, int indexAtPoint = -1 )" +.SH "void TQPopupMenu::popup ( const TQPoint & pos, int indexAtPoint = -1 )" Displays the popup menu so that the item number \fIindexAtPoint\fR will be at the specified \fIglobal\fR position \fIpos\fR. To translate a widget's local coordinates into global coordinates, use TQWidget::mapToGlobal(). .PP When positioning a popup with exec() or popup(), bear in mind that you cannot rely on the popup menu's current size(). For performance reasons, the popup adapts its size only when necessary, so in many cases, the size before and after the show is different. Instead, use sizeHint(). It calculates the proper size depending on the menu's current contents. diff --git a/doc/man/man3/tqprinter.3qt b/doc/man/man3/tqprinter.3qt index 8ff9088ff..aca49c390 100644 --- a/doc/man/man3/tqprinter.3qt +++ b/doc/man/man3/tqprinter.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPrinter 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPrinter 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,9 +7,9 @@ .ad l .nh .SH NAME -QPrinter \- Paint device that paints on a printer +TQPrinter \- Paint device that paints on a printer .SH SYNOPSIS -\fC#include <ntqprinter.h>\fR +\fC#include <tqprinter.h>\fR .PP Inherits TQPaintDevice. .PP @@ -19,10 +19,10 @@ Inherits TQPaintDevice. .BI "enum \fBPrinterMode\fR { ScreenResolution, PrinterResolution, HighResolution, Compatible }" .br .ti -1c -.BI "\fBQPrinter\fR ( PrinterMode m = ScreenResolution )" +.BI "\fBTQPrinter\fR ( PrinterMode m = ScreenResolution )" .br .ti -1c -.BI "\fB~QPrinter\fR ()" +.BI "\fB~TQPrinter\fR ()" .br .ti -1c .BI "enum \fBOrientation\fR { Portrait, Landscape }" @@ -194,27 +194,27 @@ Inherits TQPaintDevice. .br .in -1c .SH DESCRIPTION -The QPrinter class is a paint device that paints on a printer. +The TQPrinter class is a paint device that paints on a printer. .PP On Windows it uses the built-in printer drivers. On X11 it generates postscript and sends that to lpr, lp, or another print command. .PP -QPrinter is used in much the same way as TQWidget and QPixmap are used. The big difference is that you must keep track of the pages. +TQPrinter is used in much the same way as TQWidget and TQPixmap are used. The big difference is that you must keep track of the pages. .PP -QPrinter supports a number of settable parameters, most of which can be changed by the end user when the application calls QPrinter::setup(). +TQPrinter supports a number of settable parameters, most of which can be changed by the end user when the application calls TQPrinter::setup(). .PP The most important parameters are: .TP -setOrientation() tells QPrinter which page orientation to use (virtual). +setOrientation() tells TQPrinter which page orientation to use (virtual). .TP -setPageSize() tells QPrinter what page size to expect from the printer. +setPageSize() tells TQPrinter what page size to expect from the printer. .TP -setResolution() tells QPrinter what resolution you wish the printer to provide (in dpi). +setResolution() tells TQPrinter what resolution you wish the printer to provide (in dpi). .TP -setFullPage() tells QPrinter whether you want to deal with the full page or just with the part the printer can draw on. The default is FALSE, so that by default you should be able to paint on (0,0). If TRUE the origin of the coordinate system will be in the top left corner of the paper and most probably the printer will not be able to paint something there due to it's physical margins. +setFullPage() tells TQPrinter whether you want to deal with the full page or just with the part the printer can draw on. The default is FALSE, so that by default you should be able to paint on (0,0). If TRUE the origin of the coordinate system will be in the top left corner of the paper and most probably the printer will not be able to paint something there due to it's physical margins. .TP -setNumCopies() tells QPrinter how many copies of the document it should print. +setNumCopies() tells TQPrinter how many copies of the document it should print. .TP -setMinMax() tells QPrinter and QPrintDialog what the allowed range for fromPage() and toPage() are. +setMinMax() tells TQPrinter and QPrintDialog what the allowed range for fromPage() and toPage() are. .PP Except where noted, you can only call the set functions before setup(), or between TQPainter::end() and setup(). (Some may take effect between setup() and begin(), or between begin() and end(), but that's strictly undocumented and such behaviour may differ depending on platform.) .PP @@ -233,13 +233,13 @@ fromPage() and toPage() indicate what pages the application program should print paperSource() tells the application progam which paper source to print from. .IP .PP -You can of course call these functions to establish defaults before you ask the user through QPrinter::setup(). +You can of course call these functions to establish defaults before you ask the user through TQPrinter::setup(). .PP -Once you start printing, calling newPage() is essential. You will probably also need to look at the TQPaintDeviceMetrics for the printer (see the print function in the Application walk-through). In previous versions, paint device metrics were valid only after the QPrinter has been set up, i.e. after setup() has returned successfully. This is no longer the case and paint device metrics can be requested safely before set up. +Once you start printing, calling newPage() is essential. You will probably also need to look at the TQPaintDeviceMetrics for the printer (see the print function in the Application walk-through). In previous versions, paint device metrics were valid only after the TQPrinter has been set up, i.e. after setup() has returned successfully. This is no longer the case and paint device metrics can be requested safely before set up. .PP If you want to abort the print job, abort() will try its best to stop printing. It may cancel the entire job or just some of it. .PP -If your current locale converts "," to ".", you will need to set a locale (via the standard C setlocale() function) that doen't do this before using QPrinter. The "C" locale works well for this. +If your current locale converts "," to ".", you will need to set a locale (via the standard C setlocale() function) that doen't do this before using TQPrinter. The "C" locale works well for this. .PP The TrueType font embedding for Qt's postscript driver uses code by David Chappell of Trinity College Computing Center. .PP @@ -257,184 +257,184 @@ Last revised 11 July 1995. .PP See also Graphics Classes and Image Processing Classes. .SS "Member Type Documentation" -.SH "QPrinter::ColorMode" -This enum type is used to indicate whether QPrinter should print in color or not. +.SH "TQPrinter::ColorMode" +This enum type is used to indicate whether TQPrinter should print in color or not. .TP -\fCQPrinter::Color\fR - print in color if available, otherwise in grayscale. +\fCTQPrinter::Color\fR - print in color if available, otherwise in grayscale. .TP -\fCQPrinter::GrayScale\fR - print in grayscale, even on color printers. Might be a little faster than Color. This is the default. -.SH "QPrinter::Orientation" +\fCTQPrinter::GrayScale\fR - print in grayscale, even on color printers. Might be a little faster than Color. This is the default. +.SH "TQPrinter::Orientation" This enum type (not to be confused with TQt::Orientation) is used to specify each page's orientation. .TP -\fCQPrinter::Portrait\fR - the page's height is greater than its width (the default). +\fCTQPrinter::Portrait\fR - the page's height is greater than its width (the default). .TP -\fCQPrinter::Landscape\fR - the page's width is greater than its height. +\fCTQPrinter::Landscape\fR - the page's width is greater than its height. .PP -This type interacts with QPrinter::PageSize and QPrinter::setFullPage() to determine the final size of the page available to the application. -.SH "QPrinter::PageOrder" -This enum type is used by QPrinter to tell the application program how to print. +This type interacts with TQPrinter::PageSize and TQPrinter::setFullPage() to determine the final size of the page available to the application. +.SH "TQPrinter::PageOrder" +This enum type is used by TQPrinter to tell the application program how to print. .TP -\fCQPrinter::FirstPageFirst\fR - the lowest-numbered page should be printed first. +\fCTQPrinter::FirstPageFirst\fR - the lowest-numbered page should be printed first. .TP -\fCQPrinter::LastPageFirst\fR - the highest-numbered page should be printed first. -.SH "QPrinter::PageSize" -This enum type specifies what paper size QPrinter should use. QPrinter does not check that the paper size is available; it just uses this information, together with QPrinter::Orientation and QPrinter::setFullPage(), to determine the printable area (see TQPaintDeviceMetrics). +\fCTQPrinter::LastPageFirst\fR - the highest-numbered page should be printed first. +.SH "TQPrinter::PageSize" +This enum type specifies what paper size TQPrinter should use. TQPrinter does not check that the paper size is available; it just uses this information, together with TQPrinter::Orientation and TQPrinter::setFullPage(), to determine the printable area (see TQPaintDeviceMetrics). .PP The defined sizes (with setFullPage(TRUE)) are: .TP -\fCQPrinter::A0\fR - 841 x 1189 mm This value is not supported on windows. +\fCTQPrinter::A0\fR - 841 x 1189 mm This value is not supported on windows. .TP -\fCQPrinter::A1\fR - 594 x 841 mm This value is not supported on windows. +\fCTQPrinter::A1\fR - 594 x 841 mm This value is not supported on windows. .TP -\fCQPrinter::A2\fR - 420 x 594 mm +\fCTQPrinter::A2\fR - 420 x 594 mm .TP -\fCQPrinter::A3\fR - 297 x 420 mm +\fCTQPrinter::A3\fR - 297 x 420 mm .TP -\fCQPrinter::A4\fR - 210 x 297 mm, 8.26 x 11.7 inches +\fCTQPrinter::A4\fR - 210 x 297 mm, 8.26 x 11.7 inches .TP -\fCQPrinter::A5\fR - 148 x 210 mm +\fCTQPrinter::A5\fR - 148 x 210 mm .TP -\fCQPrinter::A6\fR - 105 x 148 mm +\fCTQPrinter::A6\fR - 105 x 148 mm .TP -\fCQPrinter::A7\fR - 74 x 105 mm +\fCTQPrinter::A7\fR - 74 x 105 mm .TP -\fCQPrinter::A8\fR - 52 x 74 mm +\fCTQPrinter::A8\fR - 52 x 74 mm .TP -\fCQPrinter::A9\fR - 37 x 52 mm +\fCTQPrinter::A9\fR - 37 x 52 mm .TP -\fCQPrinter::B0\fR - 1030 x 1456 mm +\fCTQPrinter::B0\fR - 1030 x 1456 mm .TP -\fCQPrinter::B1\fR - 728 x 1030 mm +\fCTQPrinter::B1\fR - 728 x 1030 mm .TP -\fCQPrinter::B10\fR - 32 x 45 mm +\fCTQPrinter::B10\fR - 32 x 45 mm .TP -\fCQPrinter::B2\fR - 515 x 728 mm +\fCTQPrinter::B2\fR - 515 x 728 mm .TP -\fCQPrinter::B3\fR - 364 x 515 mm +\fCTQPrinter::B3\fR - 364 x 515 mm .TP -\fCQPrinter::B4\fR - 257 x 364 mm +\fCTQPrinter::B4\fR - 257 x 364 mm .TP -\fCQPrinter::B5\fR - 182 x 257 mm, 7.17 x 10.13 inches +\fCTQPrinter::B5\fR - 182 x 257 mm, 7.17 x 10.13 inches .TP -\fCQPrinter::B6\fR - 128 x 182 mm +\fCTQPrinter::B6\fR - 128 x 182 mm .TP -\fCQPrinter::B7\fR - 91 x 128 mm +\fCTQPrinter::B7\fR - 91 x 128 mm .TP -\fCQPrinter::B8\fR - 64 x 91 mm +\fCTQPrinter::B8\fR - 64 x 91 mm .TP -\fCQPrinter::B9\fR - 45 x 64 mm +\fCTQPrinter::B9\fR - 45 x 64 mm .TP -\fCQPrinter::C5E\fR - 163 x 229 mm +\fCTQPrinter::C5E\fR - 163 x 229 mm .TP -\fCQPrinter::Comm10E\fR - 105 x 241 mm, US Common #10 Envelope +\fCTQPrinter::Comm10E\fR - 105 x 241 mm, US Common #10 Envelope .TP -\fCQPrinter::DLE\fR - 110 x 220 mm +\fCTQPrinter::DLE\fR - 110 x 220 mm .TP -\fCQPrinter::Executive\fR - 7.5 x 10 inches, 191 x 254 mm +\fCTQPrinter::Executive\fR - 7.5 x 10 inches, 191 x 254 mm .TP -\fCQPrinter::Folio\fR - 210 x 330 mm +\fCTQPrinter::Folio\fR - 210 x 330 mm .TP -\fCQPrinter::Ledger\fR - 432 x 279 mm +\fCTQPrinter::Ledger\fR - 432 x 279 mm .TP -\fCQPrinter::Legal\fR - 8.5 x 14 inches, 216 x 356 mm +\fCTQPrinter::Legal\fR - 8.5 x 14 inches, 216 x 356 mm .TP -\fCQPrinter::Letter\fR - 8.5 x 11 inches, 216 x 279 mm +\fCTQPrinter::Letter\fR - 8.5 x 11 inches, 216 x 279 mm .TP -\fCQPrinter::Tabloid\fR - 279 x 432 mm +\fCTQPrinter::Tabloid\fR - 279 x 432 mm .TP -\fCQPrinter::Custom\fR +\fCTQPrinter::Custom\fR .TP -\fCQPrinter::NPageSize\fR - (internal) +\fCTQPrinter::NPageSize\fR - (internal) .PP With setFullPage(FALSE) (the default), the metrics will be a bit smaller; how much depends on the printer in use. -.SH "QPrinter::PaperSource" -This enum type specifies what paper source QPrinter is to use. QPrinter does not check that the paper source is available; it just uses this information to try and set the paper source. Whether it will set the paper source depends on whether the printer has that particular source. +.SH "TQPrinter::PaperSource" +This enum type specifies what paper source TQPrinter is to use. TQPrinter does not check that the paper source is available; it just uses this information to try and set the paper source. Whether it will set the paper source depends on whether the printer has that particular source. .PP Note: this is currently only implemented for Windows. .TP -\fCQPrinter::OnlyOne\fR +\fCTQPrinter::OnlyOne\fR .TP -\fCQPrinter::Lower\fR +\fCTQPrinter::Lower\fR .TP -\fCQPrinter::Middle\fR +\fCTQPrinter::Middle\fR .TP -\fCQPrinter::Manual\fR +\fCTQPrinter::Manual\fR .TP -\fCQPrinter::Envelope\fR +\fCTQPrinter::Envelope\fR .TP -\fCQPrinter::EnvelopeManual\fR +\fCTQPrinter::EnvelopeManual\fR .TP -\fCQPrinter::Auto\fR +\fCTQPrinter::Auto\fR .TP -\fCQPrinter::Tractor\fR +\fCTQPrinter::Tractor\fR .TP -\fCQPrinter::SmallFormat\fR +\fCTQPrinter::SmallFormat\fR .TP -\fCQPrinter::LargeFormat\fR +\fCTQPrinter::LargeFormat\fR .TP -\fCQPrinter::LargeCapacity\fR +\fCTQPrinter::LargeCapacity\fR .TP -\fCQPrinter::Cassette\fR +\fCTQPrinter::Cassette\fR .TP -\fCQPrinter::FormSource\fR -.SH "QPrinter::PrintRange" +\fCTQPrinter::FormSource\fR +.SH "TQPrinter::PrintRange" This enum is used to specify which print range the application should use to print. .TP -\fCQPrinter::AllPages\fR - All pages should be printed +\fCTQPrinter::AllPages\fR - All pages should be printed .TP -\fCQPrinter::Selection\fR - Only the selection should be printed. +\fCTQPrinter::Selection\fR - Only the selection should be printed. .TP -\fCQPrinter::PageRange\fR - From page, to page option. +\fCTQPrinter::PageRange\fR - From page, to page option. .PP See also setPrintRange() and printRange(). -.SH "QPrinter::PrinterMode" +.SH "TQPrinter::PrinterMode" This enum describes the mode the printer should work in. It basically presets a certain resolution and working mode. .TP -\fCQPrinter::ScreenResolution\fR - Sets the resolution of the print device to the screen resolution. This has the big advantage that the results obtained when painting on the printer will match more or less exactly the visible output on the screen. It is the easiest to use, as font metrics on the screen and on the printer are the same. This is the default value. ScreenResolution will produce a lower quality output than HighResolution and should only be used for drafts. +\fCTQPrinter::ScreenResolution\fR - Sets the resolution of the print device to the screen resolution. This has the big advantage that the results obtained when painting on the printer will match more or less exactly the visible output on the screen. It is the easiest to use, as font metrics on the screen and on the printer are the same. This is the default value. ScreenResolution will produce a lower quality output than HighResolution and should only be used for drafts. .TP -\fCQPrinter::PrinterResolution\fR - Use the physical resolution of the printer on Windows. On Unix, set the postscript resolution to 72 dpi. +\fCTQPrinter::PrinterResolution\fR - Use the physical resolution of the printer on Windows. On Unix, set the postscript resolution to 72 dpi. .TP -\fCQPrinter::HighResolution\fR - Use printer resolution on windows, set the resolution of the postscript driver to 600dpi. +\fCTQPrinter::HighResolution\fR - Use printer resolution on windows, set the resolution of the postscript driver to 600dpi. .TP -\fCQPrinter::Compatible\fR - Almost the same as PrinterResolution, but keeps some peculiarities of the TQt 2.x printer driver. This is useful for applications ported from TQt 2.x to TQt 3.x. -.SH "QPrinter::PrinterOption" +\fCTQPrinter::Compatible\fR - Almost the same as PrinterResolution, but keeps some peculiarities of the TQt 2.x printer driver. This is useful for applications ported from TQt 2.x to TQt 3.x. +.SH "TQPrinter::PrinterOption" This enum describes various printer options that appear in the printer setup dialog. It is used to enable and disable these options in the setup dialog. .TP -\fCQPrinter::PrintToFile\fR - Describes if print to file should be enabled. +\fCTQPrinter::PrintToFile\fR - Describes if print to file should be enabled. .TP -\fCQPrinter::PrintSelection\fR - Describes if printing selections should be enabled. +\fCTQPrinter::PrintSelection\fR - Describes if printing selections should be enabled. .TP -\fCQPrinter::PrintPageRange\fR - Describes if printing page ranges (from, to) should be enabled +\fCTQPrinter::PrintPageRange\fR - Describes if printing page ranges (from, to) should be enabled .PP See also setOptionEnabled() and isOptionEnabled(). .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPrinter::QPrinter ( PrinterMode m = ScreenResolution )" +.SH "TQPrinter::TQPrinter ( PrinterMode m = ScreenResolution )" Constructs a printer paint device with mode \fIm\fR. .PP -See also QPrinter::PrinterMode. -.SH "QPrinter::~QPrinter ()" +See also TQPrinter::PrinterMode. +.SH "TQPrinter::~TQPrinter ()" Destroys the printer paint device and cleans up. -.SH "bool QPrinter::abort ()" +.SH "bool TQPrinter::abort ()" Aborts the print job. Returns TRUE if successful; otherwise returns FALSE. .PP See also aborted(). -.SH "bool QPrinter::aborted () const" +.SH "bool TQPrinter::aborted () const" Returns TRUE if the print job was aborted; otherwise returns FALSE. .PP See also abort(). -.SH "ColorMode QPrinter::colorMode () const" +.SH "ColorMode TQPrinter::colorMode () const" Returns the current color mode. The default color mode is Color. .PP See also setColorMode(). -.SH "TQString QPrinter::creator () const" +.SH "TQString TQPrinter::creator () const" Returns the name of the application that created the document. .PP See also setCreator(). -.SH "TQString QPrinter::docName () const" +.SH "TQString TQPrinter::docName () const" Returns the document name. .PP See also setDocName(). -.SH "int QPrinter::fromPage () const" +.SH "int TQPrinter::fromPage () const" Returns the from-page setting. The default value is 0. .PP If fromPage() and toPage() both return 0 this signifies 'print the whole document'. @@ -442,68 +442,68 @@ If fromPage() and toPage() both return 0 this signifies 'print the whole documen The programmer is responsible for reading this setting and printing accordingly. .PP See also setFromTo() and toPage(). -.SH "bool QPrinter::fullPage () const" +.SH "bool TQPrinter::fullPage () const" Returns TRUE if the origin of the printer's coordinate system is at the corner of the sheet and FALSE if it is at the edge of the printable area. .PP See setFullPage() for details and caveats. .PP See also setFullPage(), PageSize, and TQPaintDeviceMetrics. -.SH "bool QPrinter::isOptionEnabled ( PrinterOption option )" +.SH "bool TQPrinter::isOptionEnabled ( PrinterOption option )" Returns TRUE if the printer option with identifier \fIoption\fR is enabled; otherwise returns FALSE. .PP See also setOptionEnabled(). -.SH "TQSize QPrinter::margins () const" +.SH "TQSize TQPrinter::margins () const" Returns the width of the left margin and the height of the top margin of the printer. On Unix, this is a best-effort guess, not based on perfect knowledge. .PP If you have called setFullPage( TRUE ), margins().width() may be treated as the smallest sane left margin you can use, and margins().height() as the smallest sane top margin you can use. .PP -If you have called setFullPage( FALSE ) (this is the default), margins() is automatically subtracted from the pageSize() by QPrinter. +If you have called setFullPage( FALSE ) (this is the default), margins() is automatically subtracted from the pageSize() by TQPrinter. .PP See also setFullPage(), TQPaintDeviceMetrics, and PageSize. -.SH "void QPrinter::margins ( uint * top, uint * left, uint * bottom, uint * right ) const" +.SH "void TQPrinter::margins ( uint * top, uint * left, uint * bottom, uint * right ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets \fItop\fR, \fIleft\fR, \fIbottom\fR and \fIright\fR to the margins of the printer. On Unix, this is a best-effort guess, not based on perfect knowledge. .PP If you have called setFullPage( TRUE ), the four values specify the smallest sane margins you can use. .PP -If you have called setFullPage( FALSE ) (this is the default), the margins are automatically subtracted from the pageSize() by QPrinter. +If you have called setFullPage( FALSE ) (this is the default), the margins are automatically subtracted from the pageSize() by TQPrinter. .PP See also setFullPage(), TQPaintDeviceMetrics, and PageSize. -.SH "int QPrinter::maxPage () const" +.SH "int TQPrinter::maxPage () const" Returns the max-page setting. A user can't choose a higher page number than maxPage() when they select a print range. The default value is 0. .PP See also minPage(), setMinMax(), and setFromTo(). -.SH "int QPrinter::minPage () const" +.SH "int TQPrinter::minPage () const" Returns the min-page setting, i.e. the lowest page number a user is allowed to choose. The default value is 0. .PP See also maxPage(), setMinMax(), and setFromTo(). -.SH "bool QPrinter::newPage ()" +.SH "bool TQPrinter::newPage ()" Advances to a new page on the printer. Returns TRUE if successful; otherwise returns FALSE. .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -.SH "int QPrinter::numCopies () const" +.SH "int TQPrinter::numCopies () const" Returns the number of copies to be printed. The default value is 1. .PP This value will return the number of times the application is required to print in order to match the number specified in the printer setup dialog. This has been done since some printer drivers are not capable of buffering up the copies and the application in those cases have to make an explicit call to the print code for each copy. .PP See also setNumCopies(). -.SH "Orientation QPrinter::orientation () const" -Returns the orientation setting. The default value is QPrinter::Portrait. +.SH "Orientation TQPrinter::orientation () const" +Returns the orientation setting. The default value is TQPrinter::Portrait. .PP See also setOrientation(). -.SH "TQString QPrinter::outputFileName () const" +.SH "TQString TQPrinter::outputFileName () const" Returns the name of the output file. There is no default file name. .PP See also setOutputFileName() and setOutputToFile(). -.SH "bool QPrinter::outputToFile () const" +.SH "bool TQPrinter::outputToFile () const" Returns TRUE if the output should be written to a file, or FALSE if the output should be sent directly to the printer. The default setting is FALSE. .PP This function is currently only supported under X11 and Mac OS X. .PP See also setOutputToFile() and setOutputFileName(). -.SH "PageOrder QPrinter::pageOrder () const" +.SH "PageOrder TQPrinter::pageOrder () const" Returns the current page order. .PP The default page order is FirstPageFirst. @@ -511,31 +511,31 @@ The default page order is FirstPageFirst. Bugs and limitations: .TP This value is not kept in sync with the Windows or Mac OS X printer dialogs. -.SH "PageSize QPrinter::pageSize () const" +.SH "PageSize TQPrinter::pageSize () const" Returns the printer page size. The default value is system-dependent. .PP See also setPageSize(). -.SH "PaperSource QPrinter::paperSource () const" +.SH "PaperSource TQPrinter::paperSource () const" Returns the currently set paper source of the printer. .PP See also setPaperSource(). -.SH "TQString QPrinter::printProgram () const" +.SH "TQString TQPrinter::printProgram () const" Returns the name of the program that sends the print output to the printer. .PP -The default is to return a null string; meaning that QPrinter will try to be smart in a system-dependent way. On X11 only, you can set it to something different to use a specific print program. +The default is to return a null string; meaning that TQPrinter will try to be smart in a system-dependent way. On X11 only, you can set it to something different to use a specific print program. .PP On Windows, this function returns the name of the printer device driver. .PP See also setPrintProgram() and setPrinterSelectionOption(). -.SH "PrintRange QPrinter::printRange () const" -Returns the PageRange of the QPrinter. After the print setup dialog has been opened, this function returns the value selected by the user. +.SH "PrintRange TQPrinter::printRange () const" +Returns the PageRange of the TQPrinter. After the print setup dialog has been opened, this function returns the value selected by the user. .PP See also setPrintRange(). -.SH "TQString QPrinter::printerName () const" +.SH "TQString TQPrinter::printerName () const" Returns the printer name. This value is initially set to the name of the default printer. .PP See also setPrinterName(). -.SH "TQString QPrinter::printerSelectionOption () const" +.SH "TQString TQPrinter::printerSelectionOption () const" Returns the printer options selection string. This is useful only if the print command has been explicitly set. .PP The default value (a null string) implies that the printer should be selected in a system-dependent manner. @@ -543,23 +543,23 @@ The default value (a null string) implies that the printer should be selected in Any other value implies that the given value should be used. .PP See also setPrinterSelectionOption(). -.SH "int QPrinter::resolution () const\fC [virtual]\fR" +.SH "int TQPrinter::resolution () const\fC [virtual]\fR" Returns the current assumed resolution of the printer, as set by setResolution() or by the printer subsystem. .PP See also setResolution(). -.SH "void QPrinter::setColorMode ( ColorMode newColorMode )\fC [virtual]\fR" +.SH "void TQPrinter::setColorMode ( ColorMode newColorMode )\fC [virtual]\fR" Sets the printer's color mode to \fInewColorMode\fR, which can be either Color or GrayScale (the default). .PP See also colorMode(). -.SH "void QPrinter::setCreator ( const TQString & creator )\fC [virtual]\fR" +.SH "void TQPrinter::setCreator ( const TQString & creator )\fC [virtual]\fR" Sets the name of the application that created the document to \fIcreator\fR. .PP This function is only applicable to the X11 version of Qt. If no creator name is specified, the creator will be set to "Qt" followed by some version number. .PP See also creator(). -.SH "void QPrinter::setDocName ( const TQString & name )\fC [virtual]\fR" +.SH "void TQPrinter::setDocName ( const TQString & name )\fC [virtual]\fR" Sets the document name to \fIname\fR. -.SH "void QPrinter::setFromTo ( int fromPage, int toPage )\fC [virtual]\fR" +.SH "void TQPrinter::setFromTo ( int fromPage, int toPage )\fC [virtual]\fR" Sets the from-page and to-page settings to \fIfromPage\fR and \fItoPage\fR respectively. .PP The from-page and to-page settings specify what pages to print. @@ -569,10 +569,10 @@ If fromPage() and toPage() both return 0 this signifies 'print the whole documen This function is useful mostly to set a default value that the user can override in the print dialog when you call setup(). .PP See also fromPage(), toPage(), setMinMax(), and setup(). -.SH "void QPrinter::setFullPage ( bool fp )\fC [virtual]\fR" -Sets QPrinter to have the origin of the coordinate system at the top-left corner of the paper if \fIfp\fR is TRUE, or where it thinks the top-left corner of the printable area is if \fIfp\fR is FALSE. +.SH "void TQPrinter::setFullPage ( bool fp )\fC [virtual]\fR" +Sets TQPrinter to have the origin of the coordinate system at the top-left corner of the paper if \fIfp\fR is TRUE, or where it thinks the top-left corner of the printable area is if \fIfp\fR is FALSE. .PP -The default is FALSE. You can (probably) print on (0,0), and TQPaintDeviceMetrics will report something smaller than the size indicated by PageSize. (Note that QPrinter may be wrong on Unix systems - it does not have perfect knowledge of the physical printer.) +The default is FALSE. You can (probably) print on (0,0), and TQPaintDeviceMetrics will report something smaller than the size indicated by PageSize. (Note that TQPrinter may be wrong on Unix systems - it does not have perfect knowledge of the physical printer.) .PP If you set \fIfp\fR to TRUE, TQPaintDeviceMetrics will report the exact same size as indicated by PageSize, but you cannot print on all of that - you must take care of the output margins yourself. .PP @@ -580,39 +580,39 @@ See also PageSize, setPageSize(), TQPaintDeviceMetrics, and fullPage(). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -.SH "void QPrinter::setMargins ( uint top, uint left, uint bottom, uint right )" +.SH "void TQPrinter::setMargins ( uint top, uint left, uint bottom, uint right )" Sets the printer margins to the sizes specified in \fItop\fR, \fIleft\fR, \fIbottom\fR and \fIright\fR. .PP This function currently only has an effect on Unix systems. .PP See also margins(). -.SH "void QPrinter::setMinMax ( int minPage, int maxPage )\fC [virtual]\fR" +.SH "void TQPrinter::setMinMax ( int minPage, int maxPage )\fC [virtual]\fR" Sets the min-page and max-page settings to \fIminPage\fR and \fImaxPage\fR respectively. .PP The min-page and max-page restrict the from-page and to-page settings. When the printer setup dialog appears, the user cannot select a from page or a to page that are outside the range specified by min and max pages. .PP See also minPage(), maxPage(), setFromTo(), and setup(). -.SH "void QPrinter::setNumCopies ( int numCopies )\fC [virtual]\fR" +.SH "void TQPrinter::setNumCopies ( int numCopies )\fC [virtual]\fR" Sets the number of copies to be printed to \fInumCopies\fR. .PP The printer driver reads this setting and prints the specified number of copies. .PP See also numCopies() and setup(). -.SH "void QPrinter::setOptionEnabled ( PrinterOption option, bool enable )" +.SH "void TQPrinter::setOptionEnabled ( PrinterOption option, bool enable )" Enables the printer option with the identifier \fIoption\fR if \fIenable\fR is TRUE, and disables option \fIoption\fR if \fIenable\fR is FALSE. .PP See also isOptionEnabled(). -.SH "void QPrinter::setOrientation ( Orientation orientation )\fC [virtual]\fR" +.SH "void TQPrinter::setOrientation ( Orientation orientation )\fC [virtual]\fR" Sets the print orientation to \fIorientation\fR. .PP -The orientation can be either QPrinter::Portrait or QPrinter::Landscape. +The orientation can be either TQPrinter::Portrait or TQPrinter::Landscape. .PP -The printer driver reads this setting and prints using the specified orientation. On Windows this setting won't take effect until the printer dialog is shown (using QPrinter::setup()). +The printer driver reads this setting and prints using the specified orientation. On Windows this setting won't take effect until the printer dialog is shown (using TQPrinter::setup()). .PP Windows only! This option can be changed while printing and will take effect from the next call to newPage() .PP See also orientation(). -.SH "void QPrinter::setOutputFileName ( const TQString & fileName )\fC [virtual]\fR" +.SH "void TQPrinter::setOutputFileName ( const TQString & fileName )\fC [virtual]\fR" Sets the name of the output file to \fIfileName\fR. .PP Setting a null or empty name (0 or "") disables output to a file, i.e. calls setOutputToFile(FALSE). Setting a non-empty name enables output to a file, i.e. calls setOutputToFile(TRUE). @@ -620,7 +620,7 @@ Setting a null or empty name (0 or "") disables output to a file, i.e. calls set This function is currently only supported under X11. .PP See also outputFileName() and setOutputToFile(). -.SH "void QPrinter::setOutputToFile ( bool enable )\fC [virtual]\fR" +.SH "void TQPrinter::setOutputToFile ( bool enable )\fC [virtual]\fR" Specifies whether the output should be written to a file or sent directly to the printer. .PP Will output to a file if \fIenable\fR is TRUE, or will output directly to the printer if \fIenable\fR is FALSE. @@ -628,17 +628,17 @@ Will output to a file if \fIenable\fR is TRUE, or will output directly to the pr This function is currently only supported under X11 and Mac OS X. .PP See also outputToFile() and setOutputFileName(). -.SH "void QPrinter::setPageOrder ( PageOrder newPageOrder )\fC [virtual]\fR" +.SH "void TQPrinter::setPageOrder ( PageOrder newPageOrder )\fC [virtual]\fR" Sets the page order to \fInewPageOrder\fR. .PP -The page order can be QPrinter::FirstPageFirst or QPrinter::LastPageFirst. The application programmer is responsible for reading the page order and printing accordingly. +The page order can be TQPrinter::FirstPageFirst or TQPrinter::LastPageFirst. The application programmer is responsible for reading the page order and printing accordingly. .PP This function is useful mostly for setting a default value that the user can override in the print dialog when you call setup(). .PP Bugs and limitations: .TP This value is not kept in sync with the Windows or Mac OS X printer dialogs. -.SH "void QPrinter::setPageSize ( PageSize newPageSize )\fC [virtual]\fR" +.SH "void TQPrinter::setPageSize ( PageSize newPageSize )\fC [virtual]\fR" Sets the printer page size to \fInewPageSize\fR if that size is supported. The result if undefined if \fInewPageSize\fR is not supported. .PP The default page size is system-dependent. @@ -646,23 +646,23 @@ The default page size is system-dependent. This function is useful mostly for setting a default value that the user can override in the print dialog when you call setup(). .PP See also pageSize(), PageSize, setFullPage(), and setResolution(). -.SH "void QPrinter::setPaperSource ( PaperSource source )\fC [virtual]\fR" +.SH "void TQPrinter::setPaperSource ( PaperSource source )\fC [virtual]\fR" Sets the paper source setting to \fIsource\fR. .PP Windows only! This option can be changed while printing and will take effect from the next call to newPage() .PP See also paperSource(). -.SH "void QPrinter::setPrintProgram ( const TQString & printProg )\fC [virtual]\fR" +.SH "void TQPrinter::setPrintProgram ( const TQString & printProg )\fC [virtual]\fR" Sets the name of the program that should do the print job to \fIprintProg\fR. .PP On X11, this function sets the program to call with the PostScript output. On other platforms, it has no effect. .PP See also printProgram(). -.SH "void QPrinter::setPrintRange ( PrintRange range )" +.SH "void TQPrinter::setPrintRange ( PrintRange range )" Sets the default selected page range to be used when the print setup dialog is opened to \fIrange\fR. If the PageRange specified by \fIrange\fR is currently disabled the function does nothing. .PP See also printRange(). -.SH "void QPrinter::setPrinterName ( const TQString & name )\fC [virtual]\fR" +.SH "void TQPrinter::setPrinterName ( const TQString & name )\fC [virtual]\fR" Sets the printer name to \fIname\fR. .PP The default printer will be used if no printer name is set. @@ -670,32 +670,32 @@ The default printer will be used if no printer name is set. Under X11, the \fCPRINTER\fR environment variable defines the default printer. Under any other window system, the window system defines the default printer. .PP See also printerName(). -.SH "void QPrinter::setPrinterSelectionOption ( const TQString & option )\fC [virtual]\fR" +.SH "void TQPrinter::setPrinterSelectionOption ( const TQString & option )\fC [virtual]\fR" Sets the printer to use \fIoption\fR to select the printer. \fIoption\fR is null by default (which implies that TQt should be smart enough to guess correctly), but it can be set to other values to use a specific printer selection option. .PP If the printer selection option is changed while the printer is active, the current print job may or may not be affected. .PP See also printerSelectionOption(). -.SH "void QPrinter::setResolution ( int dpi )\fC [virtual]\fR" +.SH "void TQPrinter::setResolution ( int dpi )\fC [virtual]\fR" Requests that the printer prints at \fIdpi\fR or as near to \fIdpi\fR as possible. .PP This setting affects the coordinate system as returned by, for example, TQPaintDeviceMetrics and TQPainter::viewport(). .PP -The value depends on the \fCPrintingMode\fR used in the QPrinter constructor. By default, the dpi value of the screen is used. +The value depends on the \fCPrintingMode\fR used in the TQPrinter constructor. By default, the dpi value of the screen is used. .PP This function must be called before setup() to have an effect on all platforms. .PP See also resolution() and setPageSize(). -.SH "void QPrinter::setWinPageSize ( short winPageSize )" +.SH "void TQPrinter::setWinPageSize ( short winPageSize )" Windows only, using this function is not portable! Sets the windows page size value that is used by the \fCDEVMODE\fR struct. The \fIwinPageSize\fR value must be one of the DMPAPER_ defines from wingdi.h. -.SH "bool QPrinter::setup ( TQWidget * parent = 0 )" +.SH "bool TQPrinter::setup ( TQWidget * parent = 0 )" Opens a printer setup dialog, with parent \fIparent\fR, and asks the user to specify which printer they wish to use and what settings it should have. .PP Returns TRUE if the user pressed "OK" to print, or FALSE if the user canceled the operation. .PP Examples: .)l action/application.cpp, application/application.cpp, drawdemo/drawdemo.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -.SH "int QPrinter::toPage () const" +.SH "int TQPrinter::toPage () const" Returns the to-page setting. The default value is 0. .PP If fromPage() and toPage() both return 0 this signifies 'print the whole document'. @@ -703,13 +703,13 @@ If fromPage() and toPage() both return 0 this signifies 'print the whole documen The programmer is responsible for reading this setting and printing accordingly. .PP See also setFromTo() and fromPage(). -.SH "short QPrinter::winPageSize () const" +.SH "short TQPrinter::winPageSize () const" Returns the Windows page size value as used by the \fCDEVMODE\fR struct (Windows only). Using this function is not portable. .PP Use pageSize() to get the PageSize, e.g. 'A4', 'Letter', etc. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqprinter.html +.BR http://doc.trolltech.com/tqprinter.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/tqpushbutton.3qt b/doc/man/man3/tqpushbutton.3qt index 20ffb02a3..7ac93748c 100644 --- a/doc/man/man3/tqpushbutton.3qt +++ b/doc/man/man3/tqpushbutton.3qt @@ -82,10 +82,10 @@ Inherits QButton. .BI "virtual void \fBsetText\fR ( const TQString & )" .br .ti -1c -.BI "const QPixmap * \fBpixmap\fR () const" +.BI "const TQPixmap * \fBpixmap\fR () const" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & )" .br .ti -1c .BI "QKeySequence \fBaccel\fR () const" @@ -230,7 +230,7 @@ Constructs a push button called \fIname\fR with the parent \fIparent\fR and the .SH "QPushButton::QPushButton ( const TQIconSet & icon, const TQString & text, TQWidget * parent, const char * name = 0 )" Constructs a push button with an \fIicon\fR and a \fItext\fR. .PP -Note that you can also pass a QPixmap object as an icon (thanks to the implicit type conversion provided by C++). +Note that you can also pass a TQPixmap object as an icon (thanks to the implicit type conversion provided by C++). .PP The \fIparent\fR and \fIname\fR arguments are sent to the TQWidget constructor. .SH "QPushButton::~QPushButton ()" @@ -274,7 +274,7 @@ Returns TRUE if the push button has a menu button on it; otherwise returns FALSE Returns TRUE if the button is toggled; otherwise returns FALSE. See the "on" property for details. .SH "bool QButton::isToggleButton () const" Returns TRUE if the button is a toggle button; otherwise returns FALSE. See the "toggleButton" property for details. -.SH "const QPixmap * QButton::pixmap () const" +.SH "const TQPixmap * QButton::pixmap () const" Returns the pixmap shown on the button. See the "pixmap" property for details. .SH "TQPopupMenu * QPushButton::popup () const" Returns the button's associated popup menu or 0 if no popup menu has been set. @@ -309,7 +309,7 @@ Sets the icon set on the push button. See the "iconSet" property for details. \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .SH "void QPushButton::setOn ( bool )\fC [virtual slot]\fR" Sets whether the push button is toggled. See the "on" property for details. -.SH "void QButton::setPixmap ( const QPixmap & )\fC [virtual]\fR" +.SH "void QButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR" Sets the pixmap shown on the button. See the "pixmap" property for details. .SH "void QPushButton::setPopup ( TQPopupMenu * popup )" Associates the popup menu \fIpopup\fR with this push button. This turns the button into a menu button. @@ -417,7 +417,7 @@ This property should only be set for toggle push buttons. The default value is F See also on, toggle(), toggled(), and toggleButton. .PP Set this property's value with setOn(). -.SH "QPixmap pixmap" +.SH "TQPixmap pixmap" This property holds the pixmap shown on the button. .PP If the pixmap is monochrome (i.e. it is a TQBitmap or its depth is 1) and it does not have a mask, this property will set the pixmap to be its own mask. The purpose of this is to draw transparent bitmaps which are important for toggle buttons, for example. diff --git a/doc/man/man3/tqradiobutton.3qt b/doc/man/man3/tqradiobutton.3qt index a06b81f42..3bd8f0833 100644 --- a/doc/man/man3/tqradiobutton.3qt +++ b/doc/man/man3/tqradiobutton.3qt @@ -40,10 +40,10 @@ Inherits QButton. .BI "virtual void \fBsetText\fR ( const TQString & )" .br .ti -1c -.BI "const QPixmap * \fBpixmap\fR () const" +.BI "const TQPixmap * \fBpixmap\fR () const" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & )" .br .ti -1c .BI "QKeySequence \fBaccel\fR () const" @@ -165,7 +165,7 @@ Returns TRUE if the button is an exclusive toggle; otherwise returns FALSE. See Returns TRUE if the button is toggled; otherwise returns FALSE. See the "on" property for details. .SH "bool QButton::isToggleButton () const" Returns TRUE if the button is a toggle button; otherwise returns FALSE. See the "toggleButton" property for details. -.SH "const QPixmap * QButton::pixmap () const" +.SH "const TQPixmap * QButton::pixmap () const" Returns the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::pressed ()\fC [signal]\fR" This signal is emitted when the button is pressed down. @@ -186,7 +186,7 @@ Sets whether autoRepeat is enabled. See the "autoRepeat" property for details. Sets whether the radio button is checked to \fIcheck\fR. See the "checked" property for details. .SH "void QButton::setDown ( bool )\fC [virtual]\fR" Sets whether the button is pressed. See the "down" property for details. -.SH "void QButton::setPixmap ( const QPixmap & )\fC [virtual]\fR" +.SH "void QButton::setPixmap ( const TQPixmap & )\fC [virtual]\fR" Sets the pixmap shown on the button. See the "pixmap" property for details. .SH "void QButton::setText ( const TQString & )\fC [virtual]\fR" Sets the text shown on the button. See the "text" property for details. @@ -235,7 +235,7 @@ This property holds whether the radio button is checked. This property will not effect any other radio buttons unless they have been placed in the same QButtonGroup. The default value is FALSE (unchecked). .PP Set this property's value with setChecked() and get this property's value with isChecked(). -.SH "QPixmap pixmap" +.SH "TQPixmap pixmap" This property holds the pixmap shown on the button. .PP If the pixmap is monochrome (i.e. it is a TQBitmap or its depth is 1) and it does not have a mask, this property will set the pixmap to be its own mask. The purpose of this is to draw transparent bitmaps which are important for toggle buttons, for example. diff --git a/doc/man/man3/tqrect.3qt b/doc/man/man3/tqrect.3qt index 0701ed63b..7b153d5c6 100644 --- a/doc/man/man3/tqrect.3qt +++ b/doc/man/man3/tqrect.3qt @@ -1,5 +1,5 @@ '\" t -.TH QRect 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQRect 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,23 +7,23 @@ .ad l .nh .SH NAME -QRect \- Defines a rectangle in the plane +TQRect \- Defines a rectangle in the plane .SH SYNOPSIS -\fC#include <ntqrect.h>\fR +\fC#include <tqrect.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQRect\fR ()" +.BI "\fBTQRect\fR ()" .br .ti -1c -.BI "\fBQRect\fR ( const QPoint & topLeft, const QPoint & bottomRight )" +.BI "\fBTQRect\fR ( const TQPoint & topLeft, const TQPoint & bottomRight )" .br .ti -1c -.BI "\fBQRect\fR ( const QPoint & topLeft, const TQSize & size )" +.BI "\fBTQRect\fR ( const TQPoint & topLeft, const TQSize & size )" .br .ti -1c -.BI "\fBQRect\fR ( int left, int top, int width, int height )" +.BI "\fBTQRect\fR ( int left, int top, int width, int height )" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -35,7 +35,7 @@ QRect \- Defines a rectangle in the plane .BI "bool \fBisValid\fR () const" .br .ti -1c -.BI "QRect \fBnormalize\fR () const" +.BI "TQRect \fBnormalize\fR () const" .br .ti -1c .BI "int \fBleft\fR () const" @@ -86,31 +86,31 @@ QRect \- Defines a rectangle in the plane .BI "void \fBsetY\fR ( int y )" .br .ti -1c -.BI "void \fBsetTopLeft\fR ( const QPoint & p )" +.BI "void \fBsetTopLeft\fR ( const TQPoint & p )" .br .ti -1c -.BI "void \fBsetBottomRight\fR ( const QPoint & p )" +.BI "void \fBsetBottomRight\fR ( const TQPoint & p )" .br .ti -1c -.BI "void \fBsetTopRight\fR ( const QPoint & p )" +.BI "void \fBsetTopRight\fR ( const TQPoint & p )" .br .ti -1c -.BI "void \fBsetBottomLeft\fR ( const QPoint & p )" +.BI "void \fBsetBottomLeft\fR ( const TQPoint & p )" .br .ti -1c -.BI "QPoint \fBtopLeft\fR () const" +.BI "TQPoint \fBtopLeft\fR () const" .br .ti -1c -.BI "QPoint \fBbottomRight\fR () const" +.BI "TQPoint \fBbottomRight\fR () const" .br .ti -1c -.BI "QPoint \fBtopRight\fR () const" +.BI "TQPoint \fBtopRight\fR () const" .br .ti -1c -.BI "QPoint \fBbottomLeft\fR () const" +.BI "TQPoint \fBbottomLeft\fR () const" .br .ti -1c -.BI "QPoint \fBcenter\fR () const" +.BI "TQPoint \fBcenter\fR () const" .br .ti -1c .BI "void \fBrect\fR ( int * x, int * y, int * w, int * h ) const" @@ -131,19 +131,19 @@ QRect \- Defines a rectangle in the plane .BI "void \fBmoveBottom\fR ( int pos )" .br .ti -1c -.BI "void \fBmoveTopLeft\fR ( const QPoint & p )" +.BI "void \fBmoveTopLeft\fR ( const TQPoint & p )" .br .ti -1c -.BI "void \fBmoveBottomRight\fR ( const QPoint & p )" +.BI "void \fBmoveBottomRight\fR ( const TQPoint & p )" .br .ti -1c -.BI "void \fBmoveTopRight\fR ( const QPoint & p )" +.BI "void \fBmoveTopRight\fR ( const TQPoint & p )" .br .ti -1c -.BI "void \fBmoveBottomLeft\fR ( const QPoint & p )" +.BI "void \fBmoveBottomLeft\fR ( const TQPoint & p )" .br .ti -1c -.BI "void \fBmoveCenter\fR ( const QPoint & p )" +.BI "void \fBmoveCenter\fR ( const TQPoint & p )" .br .ti -1c .BI "void \fBmoveBy\fR ( int dx, int dy )" @@ -176,19 +176,19 @@ QRect \- Defines a rectangle in the plane .BI "void \fBsetSize\fR ( const TQSize & s )" .br .ti -1c -.BI "QRect \fBoperator|\fR ( const QRect & r ) const" +.BI "TQRect \fBoperator|\fR ( const TQRect & r ) const" .br .ti -1c -.BI "QRect \fBoperator&\fR ( const QRect & r ) const" +.BI "TQRect \fBoperator&\fR ( const TQRect & r ) const" .br .ti -1c -.BI "QRect & \fBoperator|=\fR ( const QRect & r )" +.BI "TQRect & \fBoperator|=\fR ( const TQRect & r )" .br .ti -1c -.BI "QRect & \fBoperator&=\fR ( const QRect & r )" +.BI "TQRect & \fBoperator&=\fR ( const TQRect & r )" .br .ti -1c -.BI "bool \fBcontains\fR ( const QPoint & p, bool proper = FALSE ) const" +.BI "bool \fBcontains\fR ( const TQPoint & p, bool proper = FALSE ) const" .br .ti -1c .BI "bool \fBcontains\fR ( int x, int y ) const" @@ -197,35 +197,35 @@ QRect \- Defines a rectangle in the plane .BI "bool \fBcontains\fR ( int x, int y, bool proper ) const" .br .ti -1c -.BI "bool \fBcontains\fR ( const QRect & r, bool proper = FALSE ) const" +.BI "bool \fBcontains\fR ( const TQRect & r, bool proper = FALSE ) const" .br .ti -1c -.BI "QRect \fBunite\fR ( const QRect & r ) const" +.BI "TQRect \fBunite\fR ( const TQRect & r ) const" .br .ti -1c -.BI "QRect \fBintersect\fR ( const QRect & r ) const" +.BI "TQRect \fBintersect\fR ( const TQRect & r ) const" .br .ti -1c -.BI "bool \fBintersects\fR ( const QRect & r ) const" +.BI "bool \fBintersects\fR ( const TQRect & r ) const" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "bool \fBoperator==\fR ( const QRect & r1, const QRect & r2 )" +.BI "bool \fBoperator==\fR ( const TQRect & r1, const TQRect & r2 )" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QRect & r1, const QRect & r2 )" +.BI "bool \fBoperator!=\fR ( const TQRect & r1, const TQRect & r2 )" .br .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QRect & r )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQRect & r )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QRect & r )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQRect & r )" .br .in -1c .SH DESCRIPTION -The QRect class defines a rectangle in the plane. +The TQRect class defines a rectangle in the plane. .PP A rectangle is internally represented as an upper-left corner and a bottom-right corner, but it is normally expressed as an upper-left corner and a size. .PP @@ -237,79 +237,79 @@ Generally, \fIwidth = right - left + 1\fR and \fIheight = bottom - top + 1\fR. W .PP The default coordinate system has origin (0, 0) in the top-left corner. The positive direction of the y axis is down, and the positive x axis is from left to right. .PP -A QRect can be constructed with a set of left, top, width and height integers, from two QPoints or from a QPoint and a TQSize. After creation the dimensions can be changed, e.g. with setLeft(), setRight(), setTop() and setBottom(), or by setting sizes, e.g. setWidth(), setHeight() and setSize(). The dimensions can also be changed with the move functions, e.g. moveBy(), moveCenter(), moveBottomRight(), etc. You can also add coordinates to a rectangle with addCoords(). +A TQRect can be constructed with a set of left, top, width and height integers, from two TQPoints or from a TQPoint and a TQSize. After creation the dimensions can be changed, e.g. with setLeft(), setRight(), setTop() and setBottom(), or by setting sizes, e.g. setWidth(), setHeight() and setSize(). The dimensions can also be changed with the move functions, e.g. moveBy(), moveCenter(), moveBottomRight(), etc. You can also add coordinates to a rectangle with addCoords(). .PP -You can test to see if a QRect contains a specific point with contains(). You can also test to see if two QRects intersect with intersects() (see also intersect()). To get the bounding rectangle of two QRects use unite(). +You can test to see if a TQRect contains a specific point with contains(). You can also test to see if two TQRects intersect with intersects() (see also intersect()). To get the bounding rectangle of two TQRects use unite(). .PP -See also QPoint, TQSize, Graphics Classes, and Image Processing Classes. +See also TQPoint, TQSize, Graphics Classes, and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QRect::QRect ()" +.SH "TQRect::TQRect ()" Constructs an invalid rectangle. -.SH "QRect::QRect ( const QPoint & topLeft, const QPoint & bottomRight )" +.SH "TQRect::TQRect ( const TQPoint & topLeft, const TQPoint & bottomRight )" Constructs a rectangle with \fItopLeft\fR as the top-left corner and \fIbottomRight\fR as the bottom-right corner. -.SH "QRect::QRect ( const QPoint & topLeft, const TQSize & size )" +.SH "TQRect::TQRect ( const TQPoint & topLeft, const TQSize & size )" Constructs a rectangle with \fItopLeft\fR as the top-left corner and \fIsize\fR as the rectangle size. -.SH "QRect::QRect ( int left, int top, int width, int height )" +.SH "TQRect::TQRect ( int left, int top, int width, int height )" Constructs a rectangle with the \fItop\fR, \fIleft\fR corner and \fIwidth\fR and \fIheight\fR. .PP Example (creates three identical rectangles): .PP .nf .br - QRect r1( QPoint(100,200), QPoint(110,215) ); + TQRect r1( TQPoint(100,200), TQPoint(110,215) ); .br - QRect r2( QPoint(100,200), TQSize(11,16) ); + TQRect r2( TQPoint(100,200), TQSize(11,16) ); .br - QRect r3( 100, 200, 11, 16 ); + TQRect r3( 100, 200, 11, 16 ); .br .fi -.SH "void QRect::addCoords ( int xp1, int yp1, int xp2, int yp2 )" +.SH "void TQRect::addCoords ( int xp1, int yp1, int xp2, int yp2 )" Adds \fIxp1\fR, \fIyp1\fR, \fIxp2\fR and \fIyp2\fR respectively to the existing coordinates of the rectangle. .PP Examples: .)l multiple/ax1.h and multiple/ax2.h. -.SH "int QRect::bottom () const" +.SH "int TQRect::bottom () const" Returns the bottom coordinate of the rectangle. .PP See also setBottom(), top(), bottomLeft(), and bottomRight(). .PP Examples: .)l action/application.cpp, application/application.cpp, desktop/desktop.cpp, helpviewer/helpwindow.cpp, qfd/fontdisplayer.cpp, scribble/scribble.cpp, and themes/wood.cpp. -.SH "QPoint QRect::bottomLeft () const" +.SH "TQPoint TQRect::bottomLeft () const" Returns the bottom-left position of the rectangle. .PP See also setBottomLeft(), moveBottomLeft(), topRight(), bottom(), and left(). .PP Example: tictac/tictac.cpp. -.SH "QPoint QRect::bottomRight () const" +.SH "TQPoint TQRect::bottomRight () const" Returns the bottom-right position of the rectangle. .PP See also setBottomRight(), moveBottomRight(), topLeft(), right(), and bottom(). .PP Example: tictac/tictac.cpp. -.SH "QPoint QRect::center () const" +.SH "TQPoint TQRect::center () const" Returns the center point of the rectangle. .PP See also moveCenter(), topLeft(), bottomRight(), topRight(), and bottomLeft(). .PP Example: tooltip/tooltip.cpp. -.SH "bool QRect::contains ( const QPoint & p, bool proper = FALSE ) const" +.SH "bool TQRect::contains ( const TQPoint & p, bool proper = FALSE ) const" Returns TRUE if the point \fIp\fR is inside or on the edge of the rectangle; otherwise returns FALSE. .PP If \fIproper\fR is TRUE, this function returns TRUE only if \fIp\fR is inside (not on the edge). .PP Example: t14/cannon.cpp. -.SH "bool QRect::contains ( int x, int y ) const" +.SH "bool TQRect::contains ( int x, int y ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the point \fIx\fR, \fIy\fR is inside this rectangle; otherwise returns FALSE. -.SH "bool QRect::contains ( int x, int y, bool proper ) const" +.SH "bool TQRect::contains ( int x, int y, bool proper ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the point \fIx\fR, \fIy\fR is inside this rectangle; otherwise returns FALSE. .PP If \fIproper\fR is TRUE, this function returns TRUE only if the point is entirely inside (not on the edge). -.SH "bool QRect::contains ( const QRect & r, bool proper = FALSE ) const" +.SH "bool TQRect::contains ( const TQRect & r, bool proper = FALSE ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the rectangle \fIr\fR is inside this rectangle; otherwise returns FALSE. @@ -317,30 +317,30 @@ Returns TRUE if the rectangle \fIr\fR is inside this rectangle; otherwise return If \fIproper\fR is TRUE, this function returns TRUE only if \fIr\fR is entirely inside (not on the edge). .PP See also unite(), intersect(), and intersects(). -.SH "void QRect::coords ( int * xp1, int * yp1, int * xp2, int * yp2 ) const" +.SH "void TQRect::coords ( int * xp1, int * yp1, int * xp2, int * yp2 ) const" Extracts the rectangle parameters as the top-left point \fI*xp1\fR, \fI*yp1\fR and the bottom-right point \fI*xp2\fR, \fI*yp2\fR. .PP See also setCoords() and rect(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "int QRect::height () const" +.SH "int TQRect::height () const" Returns the height of the rectangle. The height includes both the top and bottom edges, i.e. height = bottom - top + 1. .PP See also width(), size(), and setHeight(). .PP Examples: .)l aclock/aclock.cpp, desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, themes/metal.cpp, themes/wood.cpp, and xform/xform.cpp. -.SH "QRect QRect::intersect ( const QRect & r ) const" +.SH "TQRect TQRect::intersect ( const TQRect & r ) const" Returns the intersection of this rectangle and rectangle \fIr\fR. \fCr.intersect(s)\fR is equivalent to \fCr&s\fR. -.SH "bool QRect::intersects ( const QRect & r ) const" +.SH "bool TQRect::intersects ( const TQRect & r ) const" Returns TRUE if this rectangle intersects with rectangle \fIr\fR (there is at least one pixel that is within both rectangles); otherwise returns FALSE. .PP See also intersect() and contains(). .PP Examples: .)l t11/cannon.cpp, t12/cannon.cpp, t13/cannon.cpp, and t14/cannon.cpp. -.SH "bool QRect::isEmpty () const" +.SH "bool TQRect::isEmpty () const" Returns TRUE if the rectangle is empty; otherwise returns FALSE. .PP An empty rectangle has a left() > right() or top() > bottom(). @@ -348,7 +348,7 @@ An empty rectangle has a left() > right() or top() > bottom(). An empty rectangle is not valid. \fCisEmpty() == !isValid()\fR .PP See also isNull(), isValid(), and normalize(). -.SH "bool QRect::isNull () const" +.SH "bool TQRect::isNull () const" Returns TRUE if the rectangle is a null rectangle; otherwise returns FALSE. .PP A null rectangle has both the width and the height set to 0, that is right() == left() - 1 and bottom() == top() - 1. @@ -360,7 +360,7 @@ A null rectangle is also empty. A null rectangle is not valid. .PP See also isEmpty() and isValid(). -.SH "bool QRect::isValid () const" +.SH "bool TQRect::isValid () const" Returns TRUE if the rectangle is valid; otherwise returns FALSE. .PP A valid rectangle has a left() <= right() and top() <= bottom(). @@ -373,65 +373,65 @@ See also isNull(), isEmpty(), and normalize(). .PP Examples: .)l themes/metal.cpp and tooltip/tooltip.cpp. -.SH "int QRect::left () const" +.SH "int TQRect::left () const" Returns the left coordinate of the rectangle. Identical to x(). .PP See also setLeft(), right(), topLeft(), and bottomLeft(). .PP Examples: .)l aclock/aclock.cpp, desktop/desktop.cpp, i18n/main.cpp, scribble/scribble.cpp, tictac/tictac.cpp, and xform/xform.cpp. -.SH "void QRect::moveBottom ( int pos )" +.SH "void TQRect::moveBottom ( int pos )" Sets the bottom position of the rectangle to \fIpos\fR, leaving the size unchanged. .PP See also bottom(), setBottom(), moveLeft(), moveTop(), and moveRight(). -.SH "void QRect::moveBottomLeft ( const QPoint & p )" +.SH "void TQRect::moveBottomLeft ( const TQPoint & p )" Sets the bottom-left position of the rectangle to \fIp\fR, leaving the size unchanged. .PP See also bottomLeft(), setBottomLeft(), moveTopLeft(), moveBottomRight(), and moveTopRight(). .PP Example: t10/cannon.cpp. -.SH "void QRect::moveBottomRight ( const QPoint & p )" +.SH "void TQRect::moveBottomRight ( const TQPoint & p )" Sets the bottom-right position of the rectangle to \fIp\fR, leaving the size unchanged. .PP See also bottomRight(), setBottomRight(), moveTopLeft(), moveTopRight(), and moveBottomLeft(). -.SH "void QRect::moveBy ( int dx, int dy )" +.SH "void TQRect::moveBy ( int dx, int dy )" Moves the rectangle \fIdx\fR along the x axis and \fIdy\fR along the y axis, relative to the current position. Positive values move the rectangle to the right and down. .PP See also moveTopLeft(). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, themes/wood.cpp, and xform/xform.cpp. -.SH "void QRect::moveCenter ( const QPoint & p )" +.SH "void TQRect::moveCenter ( const TQPoint & p )" Sets the center point of the rectangle to \fIp\fR, leaving the size unchanged. .PP See also center(), moveTopLeft(), moveBottomRight(), moveTopRight(), and moveBottomLeft(). .PP Examples: .)l t11/cannon.cpp and t12/cannon.cpp. -.SH "void QRect::moveLeft ( int pos )" +.SH "void TQRect::moveLeft ( int pos )" Sets the left position of the rectangle to \fIpos\fR, leaving the size unchanged. .PP See also left(), setLeft(), moveTop(), moveRight(), and moveBottom(). -.SH "void QRect::moveRight ( int pos )" +.SH "void TQRect::moveRight ( int pos )" Sets the right position of the rectangle to \fIpos\fR, leaving the size unchanged. .PP See also right(), setRight(), moveLeft(), moveTop(), and moveBottom(). -.SH "void QRect::moveTop ( int pos )" +.SH "void TQRect::moveTop ( int pos )" Sets the top position of the rectangle to \fIpos\fR, leaving the size unchanged. .PP See also top(), setTop(), moveLeft(), moveRight(), and moveBottom(). -.SH "void QRect::moveTopLeft ( const QPoint & p )" +.SH "void TQRect::moveTopLeft ( const TQPoint & p )" Sets the top-left position of the rectangle to \fIp\fR, leaving the size unchanged. .PP See also topLeft(), setTopLeft(), moveBottomRight(), moveTopRight(), and moveBottomLeft(). .PP Examples: .)l helpsystem/tooltip.cpp and xform/xform.cpp. -.SH "void QRect::moveTopRight ( const QPoint & p )" +.SH "void TQRect::moveTopRight ( const TQPoint & p )" Sets the top-right position of the rectangle to \fIp\fR, leaving the size unchanged. .PP See also topRight(), setTopRight(), moveTopLeft(), moveBottomRight(), and moveBottomLeft(). -.SH "QRect QRect::normalize () const" +.SH "TQRect TQRect::normalize () const" Returns a normalized rectangle, i.e. a rectangle that has a non-negative width and height. .PP It swaps left and right if left() > right(), and swaps top and bottom if top() > bottom(). @@ -439,77 +439,77 @@ It swaps left and right if left() > right(), and swaps top and bottom if top() > See also isValid(). .PP Example: scribble/scribble.cpp. -.SH "QRect QRect::operator& ( const QRect & r ) const" +.SH "TQRect TQRect::operator& ( const TQRect & r ) const" Returns the intersection of this rectangle and rectangle \fIr\fR. .PP Returns an empty rectangle if there is no intersection. .PP See also operator&=(), operator|(), isEmpty(), intersects(), and contains(). -.SH "QRect & QRect::operator&= ( const QRect & r )" +.SH "TQRect & TQRect::operator&= ( const TQRect & r )" Intersects this rectangle with rectangle \fIr\fR. -.SH "QRect QRect::operator| ( const QRect & r ) const" +.SH "TQRect TQRect::operator| ( const TQRect & r ) const" Returns the bounding rectangle of this rectangle and rectangle \fIr\fR. .PP The bounding rectangle of a nonempty rectangle and an empty or invalid rectangle is defined to be the nonempty rectangle. .PP See also operator|=(), operator&(), intersects(), and contains(). -.SH "QRect & QRect::operator|= ( const QRect & r )" +.SH "TQRect & TQRect::operator|= ( const TQRect & r )" Unites this rectangle with rectangle \fIr\fR. -.SH "QCOORD & QRect::rBottom ()" +.SH "QCOORD & TQRect::rBottom ()" Returns a reference to the bottom coordinate of the rectangle. .PP See also rLeft(), rTop(), and rRight(). -.SH "QCOORD & QRect::rLeft ()" +.SH "QCOORD & TQRect::rLeft ()" Returns a reference to the left coordinate of the rectangle. .PP See also rTop(), rRight(), and rBottom(). -.SH "QCOORD & QRect::rRight ()" +.SH "QCOORD & TQRect::rRight ()" Returns a reference to the right coordinate of the rectangle. .PP See also rLeft(), rTop(), and rBottom(). -.SH "QCOORD & QRect::rTop ()" +.SH "QCOORD & TQRect::rTop ()" Returns a reference to the top coordinate of the rectangle. .PP See also rLeft(), rRight(), and rBottom(). -.SH "void QRect::rect ( int * x, int * y, int * w, int * h ) const" +.SH "void TQRect::rect ( int * x, int * y, int * w, int * h ) const" Extracts the rectangle parameters as the position \fI*x\fR, \fI*y\fR and width \fI*w\fR and height \fI*h\fR. .PP See also setRect() and coords(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "int QRect::right () const" +.SH "int TQRect::right () const" Returns the right coordinate of the rectangle. .PP See also setRight(), left(), topRight(), and bottomRight(). .PP Examples: .)l action/application.cpp, application/application.cpp, customlayout/flow.cpp, desktop/desktop.cpp, scribble/scribble.cpp, t11/cannon.cpp, and themes/wood.cpp. -.SH "void QRect::setBottom ( int pos )" +.SH "void TQRect::setBottom ( int pos )" Sets the bottom edge of the rectangle to \fIpos\fR. May change the height, but will never change the top edge of the rectangle. .PP See also bottom(), setTop(), and setHeight(). .PP Example: scribble/scribble.cpp. -.SH "void QRect::setBottomLeft ( const QPoint & p )" +.SH "void TQRect::setBottomLeft ( const TQPoint & p )" Set the bottom-left corner of the rectangle to \fIp\fR. May change the size, but will the never change the top-right corner of the rectangle. .PP See also bottomLeft(), moveBottomLeft(), setTopLeft(), setBottomRight(), and setTopRight(). -.SH "void QRect::setBottomRight ( const QPoint & p )" +.SH "void TQRect::setBottomRight ( const TQPoint & p )" Set the bottom-right corner of the rectangle to \fIp\fR. May change the size, but will the never change the top-left corner of the rectangle. .PP See also bottomRight(), moveBottomRight(), setTopLeft(), setTopRight(), and setBottomLeft(). -.SH "void QRect::setCoords ( int xp1, int yp1, int xp2, int yp2 )" +.SH "void TQRect::setCoords ( int xp1, int yp1, int xp2, int yp2 )" Sets the coordinates of the rectangle's top-left corner to \fI(xp1, yp1)\fR, and the coordinates of its bottom-right corner to \fI(xp2, yp2)\fR. .PP See also coords() and setRect(). -.SH "void QRect::setHeight ( int h )" +.SH "void TQRect::setHeight ( int h )" Sets the height of the rectangle to \fIh\fR. The top edge is not moved, but the bottom edge may be moved. .PP See also height(), setTop(), setBottom(), and setSize(). .PP Example: desktop/desktop.cpp. -.SH "void QRect::setLeft ( int pos )" +.SH "void TQRect::setLeft ( int pos )" Sets the left edge of the rectangle to \fIpos\fR. May change the width, but will never change the right edge of the rectangle. .PP Identical to setX(). @@ -517,25 +517,25 @@ Identical to setX(). See also left(), setTop(), and setWidth(). .PP Example: scribble/scribble.cpp. -.SH "void QRect::setRect ( int x, int y, int w, int h )" +.SH "void TQRect::setRect ( int x, int y, int w, int h )" Sets the coordinates of the rectangle's top-left corner to \fI(x, y)\fR, and its size to \fI(w, h)\fR. .PP See also rect() and setCoords(). .PP Example: themes/wood.cpp. -.SH "void QRect::setRight ( int pos )" +.SH "void TQRect::setRight ( int pos )" Sets the right edge of the rectangle to \fIpos\fR. May change the width, but will never change the left edge of the rectangle. .PP See also right(), setLeft(), and setWidth(). .PP Example: scribble/scribble.cpp. -.SH "void QRect::setSize ( const TQSize & s )" +.SH "void TQRect::setSize ( const TQSize & s )" Sets the size of the rectangle to \fIs\fR. The top-left corner is not moved. .PP See also size(), setWidth(), and setHeight(). .PP Example: xform/xform.cpp. -.SH "void QRect::setTop ( int pos )" +.SH "void TQRect::setTop ( int pos )" Sets the top edge of the rectangle to \fIpos\fR. May change the height, but will never change the bottom edge of the rectangle. .PP Identical to setY(). @@ -543,79 +543,79 @@ Identical to setY(). See also top(), setBottom(), and setHeight(). .PP Example: scribble/scribble.cpp. -.SH "void QRect::setTopLeft ( const QPoint & p )" +.SH "void TQRect::setTopLeft ( const TQPoint & p )" Set the top-left corner of the rectangle to \fIp\fR. May change the size, but will the never change the bottom-right corner of the rectangle. .PP See also topLeft(), moveTopLeft(), setBottomRight(), setTopRight(), and setBottomLeft(). -.SH "void QRect::setTopRight ( const QPoint & p )" +.SH "void TQRect::setTopRight ( const TQPoint & p )" Set the top-right corner of the rectangle to \fIp\fR. May change the size, but will the never change the bottom-left corner of the rectangle. .PP See also topRight(), moveTopRight(), setTopLeft(), setBottomRight(), and setBottomLeft(). -.SH "void QRect::setWidth ( int w )" +.SH "void TQRect::setWidth ( int w )" Sets the width of the rectangle to \fIw\fR. The right edge is changed, but not the left edge. .PP See also width(), setLeft(), setRight(), and setSize(). .PP Example: desktop/desktop.cpp. -.SH "void QRect::setX ( int x )" +.SH "void TQRect::setX ( int x )" Sets the x position of the rectangle (its left end) to \fIx\fR. May change the width, but will never change the right edge of the rectangle. .PP Identical to setLeft(). .PP See also x() and setY(). -.SH "void QRect::setY ( int y )" +.SH "void TQRect::setY ( int y )" Sets the y position of the rectangle (its top) to \fIy\fR. May change the height, but will never change the bottom edge of the rectangle. .PP Identical to setTop(). .PP See also y() and setX(). -.SH "TQSize QRect::size () const" +.SH "TQSize TQRect::size () const" Returns the size of the rectangle. .PP See also width() and height(). .PP Examples: .)l desktop/desktop.cpp, movies/main.cpp, and t10/cannon.cpp. -.SH "int QRect::top () const" +.SH "int TQRect::top () const" Returns the top coordinate of the rectangle. Identical to y(). .PP See also setTop(), bottom(), topLeft(), and topRight(). .PP Examples: .)l aclock/aclock.cpp, desktop/desktop.cpp, scribble/scribble.cpp, themes/wood.cpp, tictac/tictac.cpp, and xform/xform.cpp. -.SH "QPoint QRect::topLeft () const" +.SH "TQPoint TQRect::topLeft () const" Returns the top-left position of the rectangle. .PP See also setTopLeft(), moveTopLeft(), bottomRight(), left(), and top(). .PP Examples: .)l helpsystem/tooltip.cpp, t10/cannon.cpp, and tictac/tictac.cpp. -.SH "QPoint QRect::topRight () const" +.SH "TQPoint TQRect::topRight () const" Returns the top-right position of the rectangle. .PP See also setTopRight(), moveTopRight(), bottomLeft(), top(), and right(). .PP Example: tictac/tictac.cpp. -.SH "QRect QRect::unite ( const QRect & r ) const" +.SH "TQRect TQRect::unite ( const TQRect & r ) const" Returns the bounding rectangle of this rectangle and rectangle \fIr\fR. \fCr.unite(s)\fR is equivalent to \fCr|s\fR. .PP Examples: .)l t11/cannon.cpp, t12/cannon.cpp, and xform/xform.cpp. -.SH "int QRect::width () const" +.SH "int TQRect::width () const" Returns the width of the rectangle. The width includes both the left and right edges, i.e. width = right - left + 1. .PP See also height(), size(), and setHeight(). .PP Examples: .)l aclock/aclock.cpp, customlayout/border.cpp, desktop/desktop.cpp, movies/main.cpp, themes/metal.cpp, themes/wood.cpp, and xform/xform.cpp. -.SH "int QRect::x () const" +.SH "int TQRect::x () const" Returns the left coordinate of the rectangle. Identical to left(). .PP See also left(), y(), and setX(). .PP Examples: .)l customlayout/border.cpp, desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, t12/cannon.cpp, themes/metal.cpp, and themes/wood.cpp. -.SH "int QRect::y () const" +.SH "int TQRect::y () const" Returns the top coordinate of the rectangle. Identical to top(). .PP See also top(), x(), and setY(). @@ -623,21 +623,21 @@ See also top(), x(), and setY(). Examples: .)l desktop/desktop.cpp, movies/main.cpp, scribble/scribble.cpp, t12/cannon.cpp, t14/cannon.cpp, themes/metal.cpp, and themes/wood.cpp. .SH RELATED FUNCTION DOCUMENTATION -.SH "bool operator!= ( const QRect & r1, const QRect & r2 )" +.SH "bool operator!= ( const TQRect & r1, const TQRect & r2 )" Returns TRUE if \fIr1\fR and \fIr2\fR are different; otherwise returns FALSE. -.SH "TQDataStream & operator<< ( TQDataStream & s, const QRect & r )" -Writes the QRect, \fIr\fR, to the stream \fIs\fR, and returns a reference to the stream. +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQRect & r )" +Writes the TQRect, \fIr\fR, to the stream \fIs\fR, and returns a reference to the stream. .PP See also Format of the TQDataStream operators. -.SH "bool operator== ( const QRect & r1, const QRect & r2 )" +.SH "bool operator== ( const TQRect & r1, const TQRect & r2 )" Returns TRUE if \fIr1\fR and \fIr2\fR are equal; otherwise returns FALSE. -.SH "TQDataStream & operator>> ( TQDataStream & s, QRect & r )" -Reads a QRect from the stream \fIs\fR into rect \fIr\fR and returns a reference to the stream. +.SH "TQDataStream & operator>> ( TQDataStream & s, TQRect & r )" +Reads a TQRect from the stream \fIs\fR into rect \fIr\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqrect.html +.BR http://doc.trolltech.com/tqrect.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/tqregion.3qt b/doc/man/man3/tqregion.3qt index 427b399e5..c88f2760b 100644 --- a/doc/man/man3/tqregion.3qt +++ b/doc/man/man3/tqregion.3qt @@ -1,5 +1,5 @@ '\" t -.TH QRegion 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQRegion 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,9 +7,9 @@ .ad l .nh .SH NAME -QRegion \- Clip region for a painter +TQRegion \- Clip region for a painter .SH SYNOPSIS -\fC#include <ntqregion.h>\fR +\fC#include <tqregion.h>\fR .PP .SS "Public Members" .in +1c @@ -17,28 +17,28 @@ QRegion \- Clip region for a painter .BI "enum \fBRegionType\fR { Rectangle, Ellipse }" .br .ti -1c -.BI "\fBQRegion\fR ()" +.BI "\fBTQRegion\fR ()" .br .ti -1c -.BI "\fBQRegion\fR ( int x, int y, int w, int h, RegionType t = Rectangle )" +.BI "\fBTQRegion\fR ( int x, int y, int w, int h, RegionType t = Rectangle )" .br .ti -1c -.BI "\fBQRegion\fR ( const QRect & r, RegionType t = Rectangle )" +.BI "\fBTQRegion\fR ( const TQRect & r, RegionType t = Rectangle )" .br .ti -1c -.BI "\fBQRegion\fR ( const QPointArray & a, bool winding = FALSE )" +.BI "\fBTQRegion\fR ( const TQPointArray & a, bool winding = FALSE )" .br .ti -1c -.BI "\fBQRegion\fR ( const QRegion & r )" +.BI "\fBTQRegion\fR ( const TQRegion & r )" .br .ti -1c -.BI "\fBQRegion\fR ( const TQBitmap & bm )" +.BI "\fBTQRegion\fR ( const TQBitmap & bm )" .br .ti -1c -.BI "\fB~QRegion\fR ()" +.BI "\fB~TQRegion\fR ()" .br .ti -1c -.BI "QRegion & \fBoperator=\fR ( const QRegion & r )" +.BI "TQRegion & \fBoperator=\fR ( const TQRegion & r )" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -47,67 +47,67 @@ QRegion \- Clip region for a painter .BI "bool \fBisEmpty\fR () const" .br .ti -1c -.BI "bool \fBcontains\fR ( const QPoint & p ) const" +.BI "bool \fBcontains\fR ( const TQPoint & p ) const" .br .ti -1c -.BI "bool \fBcontains\fR ( const QRect & r ) const" +.BI "bool \fBcontains\fR ( const TQRect & r ) const" .br .ti -1c .BI "void \fBtranslate\fR ( int dx, int dy )" .br .ti -1c -.BI "QRegion \fBunite\fR ( const QRegion & r ) const" +.BI "TQRegion \fBunite\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "QRegion \fBintersect\fR ( const QRegion & r ) const" +.BI "TQRegion \fBintersect\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "QRegion \fBsubtract\fR ( const QRegion & r ) const" +.BI "TQRegion \fBsubtract\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "QRegion \fBeor\fR ( const QRegion & r ) const" +.BI "TQRegion \fBeor\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "QRect \fBboundingRect\fR () const" +.BI "TQRect \fBboundingRect\fR () const" .br .ti -1c -.BI "TQMemArray<QRect> \fBrects\fR () const" +.BI "TQMemArray<TQRect> \fBrects\fR () const" .br .ti -1c -.BI "const QRegion \fBoperator|\fR ( const QRegion & r ) const" +.BI "const TQRegion \fBoperator|\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "const QRegion \fBoperator+\fR ( const QRegion & r ) const" +.BI "const TQRegion \fBoperator+\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "const QRegion \fBoperator&\fR ( const QRegion & r ) const" +.BI "const TQRegion \fBoperator&\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "const QRegion \fBoperator-\fR ( const QRegion & r ) const" +.BI "const TQRegion \fBoperator-\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "const QRegion \fBoperator^\fR ( const QRegion & r ) const" +.BI "const TQRegion \fBoperator^\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "QRegion & \fBoperator|=\fR ( const QRegion & r )" +.BI "TQRegion & \fBoperator|=\fR ( const TQRegion & r )" .br .ti -1c -.BI "QRegion & \fBoperator+=\fR ( const QRegion & r )" +.BI "TQRegion & \fBoperator+=\fR ( const TQRegion & r )" .br .ti -1c -.BI "QRegion & \fBoperator&=\fR ( const QRegion & r )" +.BI "TQRegion & \fBoperator&=\fR ( const TQRegion & r )" .br .ti -1c -.BI "QRegion & \fBoperator-=\fR ( const QRegion & r )" +.BI "TQRegion & \fBoperator-=\fR ( const TQRegion & r )" .br .ti -1c -.BI "QRegion & \fBoperator^=\fR ( const QRegion & r )" +.BI "TQRegion & \fBoperator^=\fR ( const TQRegion & r )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QRegion & r ) const" +.BI "bool \fBoperator==\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QRegion & r ) const" +.BI "bool \fBoperator!=\fR ( const TQRegion & r ) const" .br .ti -1c .BI "HRGN \fBhandle\fR () const" @@ -116,20 +116,20 @@ QRegion \- Clip region for a painter .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QRegion & r )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQRegion & r )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QRegion & r )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQRegion & r )" .br .in -1c .SH DESCRIPTION -The QRegion class specifies a clip region for a painter. +The TQRegion class specifies a clip region for a painter. .PP -QRegion is used with TQPainter::setClipRegion() to limit the paint area to what needs to be painted. There is also a TQWidget::repaint() that takes a QRegion parameter. QRegion is the best tool for reducing flicker. +TQRegion is used with TQPainter::setClipRegion() to limit the paint area to what needs to be painted. There is also a TQWidget::repaint() that takes a TQRegion parameter. TQRegion is the best tool for reducing flicker. .PP A region can be created from a rectangle, an ellipse, a polygon or a bitmap. Complex regions may be created by combining simple regions using unite(), intersect(), subtract() or eor() (exclusive or). You can move a region using translate(). .PP -You can test whether a region isNull(), isEmpty() or if it contains() a QPoint or QRect. The bounding rectangle is given by boundingRect(). +You can test whether a region isNull(), isEmpty() or if it contains() a TQPoint or TQRect. The bounding rectangle is given by boundingRect(). .PP The function rects() gives a decomposition of the region into rectangles. .PP @@ -143,13 +143,13 @@ Example of using complex regions: .br TQPainter p; // our painter .br - QRegion r1( QRect(100,100,200,80), // r1 = elliptic region + TQRegion r1( TQRect(100,100,200,80), // r1 = elliptic region .br - QRegion::Ellipse ); + TQRegion::Ellipse ); .br - QRegion r2( QRect(100,120,90,30) ); // r2 = rectangular region + TQRegion r2( TQRect(100,120,90,30) ); // r2 = rectangular region .br - QRegion r3 = r1.intersect( r2 ); // r3 = intersection + TQRegion r3 = r1.intersect( r2 ); // r3 = intersection .br p.begin( this ); // start painting widget .br @@ -163,60 +163,60 @@ Example of using complex regions: .br .fi .PP -QRegion is an implicitly shared class. +TQRegion is an implicitly shared class. .PP \fBWarning:\fR Due to window system limitations, the whole coordinate space for a region is limited to the points between -32767 and 32767 on Mac OS X and Windows 95/98/ME. .PP See also TQPainter::setClipRegion(), TQPainter::setClipRect(), Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" -.SH "QRegion::RegionType" +.SH "TQRegion::RegionType" Specifies the shape of the region to be created. .TP -\fCQRegion::Rectangle\fR - the region covers the entire rectangle. +\fCTQRegion::Rectangle\fR - the region covers the entire rectangle. .TP -\fCQRegion::Ellipse\fR - the region is an ellipse inside the rectangle. +\fCTQRegion::Ellipse\fR - the region is an ellipse inside the rectangle. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QRegion::QRegion ()" +.SH "TQRegion::TQRegion ()" Constructs a null region. .PP See also isNull(). -.SH "QRegion::QRegion ( int x, int y, int w, int h, RegionType t = Rectangle )" +.SH "TQRegion::TQRegion ( int x, int y, int w, int h, RegionType t = Rectangle )" Constructs a rectangular or elliptic region. .PP If \fIt\fR is Rectangle, the region is the filled rectangle (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR). If \fIt\fR is Ellipse, the region is the filled ellipse with center at (\fIx\fR + \fIw\fR / 2, \fIy\fR + \fIh\fR / 2) and size (\fIw\fR ,\fIh\fR ). -.SH "QRegion::QRegion ( const QRect & r, RegionType t = Rectangle )" +.SH "TQRegion::TQRegion ( const TQRect & r, RegionType t = Rectangle )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Create a region based on the rectange \fIr\fR with region type \fIt\fR. .PP If the rectangle is invalid a null region will be created. .PP -See also QRegion::RegionType. -.SH "QRegion::QRegion ( const QPointArray & a, bool winding = FALSE )" +See also TQRegion::RegionType. +.SH "TQRegion::TQRegion ( const TQPointArray & a, bool winding = FALSE )" Constructs a polygon region from the point array \fIa\fR. .PP If \fIwinding\fR is TRUE, the polygon region is filled using the winding algorithm, otherwise the default even-odd fill algorithm is used. .PP This constructor may create complex regions that will slow down painting when used. -.SH "QRegion::QRegion ( const QRegion & r )" +.SH "TQRegion::TQRegion ( const TQRegion & r )" Constructs a new region which is equal to region \fIr\fR. -.SH "QRegion::QRegion ( const TQBitmap & bm )" +.SH "TQRegion::TQRegion ( const TQBitmap & bm )" Constructs a region from the bitmap \fIbm\fR. .PP The resulting region consists of the pixels in bitmap \fIbm\fR that are \fCcolor1\fR, as if each pixel was a 1 by 1 rectangle. .PP -This constructor may create complex regions that will slow down painting when used. Note that drawing masked pixmaps can be done much faster using QPixmap::setMask(). -.SH "QRegion::~QRegion ()" +This constructor may create complex regions that will slow down painting when used. Note that drawing masked pixmaps can be done much faster using TQPixmap::setMask(). +.SH "TQRegion::~TQRegion ()" Destroys the region. -.SH "QRect QRegion::boundingRect () const" -Returns the bounding rectangle of this region. An empty region gives a rectangle that is QRect::isNull(). -.SH "bool QRegion::contains ( const QPoint & p ) const" +.SH "TQRect TQRegion::boundingRect () const" +Returns the bounding rectangle of this region. An empty region gives a rectangle that is TQRect::isNull(). +.SH "bool TQRegion::contains ( const TQPoint & p ) const" Returns TRUE if the region contains the point \fIp\fR; otherwise returns FALSE. -.SH "bool QRegion::contains ( const QRect & r ) const" +.SH "bool TQRegion::contains ( const TQRect & r ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the region overlaps the rectangle \fIr\fR; otherwise returns FALSE. -.SH "QRegion QRegion::eor ( const QRegion & r ) const" +.SH "TQRegion TQRegion::eor ( const TQRegion & r ) const" Returns a region which is the exclusive or (XOR) of this region and \fIr\fR. .PP <center> @@ -226,9 +226,9 @@ Returns a region which is the exclusive or (XOR) of this region and \fIr\fR. </center> .PP The figure shows the exclusive or of two elliptical regions. -.SH "HRGN QRegion::handle () const" +.SH "HRGN TQRegion::handle () const" Returns the region's handle. -.SH "QRegion QRegion::intersect ( const QRegion & r ) const" +.SH "TQRegion TQRegion::intersect ( const TQRegion & r ) const" Returns a region which is the intersection of this region and \fIr\fR. .PP <center> @@ -238,18 +238,18 @@ Returns a region which is the intersection of this region and \fIr\fR. </center> .PP The figure shows the intersection of two elliptical regions. -.SH "bool QRegion::isEmpty () const" +.SH "bool TQRegion::isEmpty () const" Returns TRUE if the region is empty; otherwise returns FALSE. An empty region is a region that contains no points. .PP Example: .PP .nf .br - QRegion r1( 10, 10, 20, 20 ); + TQRegion r1( 10, 10, 20, 20 ); .br - QRegion r2( 40, 40, 20, 20 ); + TQRegion r2( 40, 40, 20, 20 ); .br - QRegion r3; + TQRegion r3; .br r1.isNull(); // FALSE .br @@ -274,63 +274,63 @@ Example: .fi .PP See also isNull(). -.SH "bool QRegion::isNull () const" +.SH "bool TQRegion::isNull () const" Returns TRUE if the region is a null region; otherwise returns FALSE. .PP A null region is a region that has not been initialized. A null region is always empty. .PP See also isEmpty(). -.SH "bool QRegion::operator!= ( const QRegion & r ) const" +.SH "bool TQRegion::operator!= ( const TQRegion & r ) const" Returns TRUE if the region is different from \fIr\fR; otherwise returns FALSE. -.SH "const QRegion QRegion::operator& ( const QRegion & r ) const" +.SH "const TQRegion TQRegion::operator& ( const TQRegion & r ) const" Applies the intersect() function to this region and \fIr\fR. \fCr1&r2\fR is equivalent to \fCr1.intersect(r2)\fR .PP See also intersect(). -.SH "QRegion & QRegion::operator&= ( const QRegion & r )" +.SH "TQRegion & TQRegion::operator&= ( const TQRegion & r )" Applies the intersect() function to this region and \fIr\fR and assigns the result to this region. \fCr1&=r2\fR is equivalent to \fCr1=r1.intersect(r2)\fR .PP See also intersect(). -.SH "const QRegion QRegion::operator+ ( const QRegion & r ) const" +.SH "const TQRegion TQRegion::operator+ ( const TQRegion & r ) const" Applies the unite() function to this region and \fIr\fR. \fCr1+r2\fR is equivalent to \fCr1.unite(r2)\fR .PP See also unite() and operator|(). -.SH "QRegion & QRegion::operator+= ( const QRegion & r )" +.SH "TQRegion & TQRegion::operator+= ( const TQRegion & r )" Applies the unite() function to this region and \fIr\fR and assigns the result to this region. \fCr1+=r2\fR is equivalent to \fCr1=r1.unite(r2)\fR .PP See also intersect(). -.SH "const QRegion QRegion::operator- ( const QRegion & r ) const" +.SH "const TQRegion TQRegion::operator- ( const TQRegion & r ) const" Applies the subtract() function to this region and \fIr\fR. \fCr1-r2\fR is equivalent to \fCr1.subtract(r2)\fR .PP See also subtract(). -.SH "QRegion & QRegion::operator-= ( const QRegion & r )" +.SH "TQRegion & TQRegion::operator-= ( const TQRegion & r )" Applies the subtract() function to this region and \fIr\fR and assigns the result to this region. \fCr1-=r2\fR is equivalent to \fCr1=r1.subtract(r2)\fR .PP See also subtract(). -.SH "QRegion & QRegion::operator= ( const QRegion & r )" +.SH "TQRegion & TQRegion::operator= ( const TQRegion & r )" Assigns \fIr\fR to this region and returns a reference to the region. -.SH "bool QRegion::operator== ( const QRegion & r ) const" +.SH "bool TQRegion::operator== ( const TQRegion & r ) const" Returns TRUE if the region is equal to \fIr\fR; otherwise returns FALSE. -.SH "const QRegion QRegion::operator^ ( const QRegion & r ) const" +.SH "const TQRegion TQRegion::operator^ ( const TQRegion & r ) const" Applies the eor() function to this region and \fIr\fR. \fCr1^r2\fR is equivalent to \fCr1.eor(r2)\fR .PP See also eor(). -.SH "QRegion & QRegion::operator^= ( const QRegion & r )" +.SH "TQRegion & TQRegion::operator^= ( const TQRegion & r )" Applies the eor() function to this region and \fIr\fR and assigns the result to this region. \fCr1^=r2\fR is equivalent to \fCr1=r1.eor(r2)\fR .PP See also eor(). -.SH "const QRegion QRegion::operator| ( const QRegion & r ) const" +.SH "const TQRegion TQRegion::operator| ( const TQRegion & r ) const" Applies the unite() function to this region and \fIr\fR. \fCr1|r2\fR is equivalent to \fCr1.unite(r2)\fR .PP See also unite() and operator+(). -.SH "QRegion & QRegion::operator|= ( const QRegion & r )" +.SH "TQRegion & TQRegion::operator|= ( const TQRegion & r )" Applies the unite() function to this region and \fIr\fR and assigns the result to this region. \fCr1|=r2\fR is equivalent to \fCr1=r1.unite(r2)\fR .PP See also unite(). -.SH "TQMemArray<QRect> QRegion::rects () const" +.SH "TQMemArray<TQRect> TQRegion::rects () const" Returns an array of non-overlapping rectangles that make up the region. .PP The union of all the rectangles is equal to the original region. -.SH "QRegion QRegion::subtract ( const QRegion & r ) const" +.SH "TQRegion TQRegion::subtract ( const TQRegion & r ) const" Returns a region which is \fIr\fR subtracted from this region. .PP <center> @@ -340,9 +340,9 @@ Returns a region which is \fIr\fR subtracted from this region. </center> .PP The figure shows the result when the ellipse on the right is subtracted from the ellipse on the left. (\fCleft-right\fR ) -.SH "void QRegion::translate ( int dx, int dy )" +.SH "void TQRegion::translate ( int dx, int dy )" Translates (moves) the region \fIdx\fR along the X axis and \fIdy\fR along the Y axis. -.SH "QRegion QRegion::unite ( const QRegion & r ) const" +.SH "TQRegion TQRegion::unite ( const TQRegion & r ) const" Returns a region which is the union of this region and \fIr\fR. .PP <center> @@ -353,17 +353,17 @@ Returns a region which is the union of this region and \fIr\fR. .PP The figure shows the union of two elliptical regions. .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QRegion & r )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQRegion & r )" Writes the region \fIr\fR to the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. -.SH "TQDataStream & operator>> ( TQDataStream & s, QRegion & r )" +.SH "TQDataStream & operator>> ( TQDataStream & s, TQRegion & r )" Reads a region from the stream \fIs\fR into \fIr\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqregion.html +.BR http://doc.trolltech.com/tqregion.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/tqscrollbar.3qt b/doc/man/man3/tqscrollbar.3qt index 3cdd4bc9c..ab64ac032 100644 --- a/doc/man/man3/tqscrollbar.3qt +++ b/doc/man/man3/tqscrollbar.3qt @@ -43,7 +43,7 @@ Inherits TQWidget and QRangeControl. .BI "bool \fBdraggingSlider\fR () const" .br .ti -1c -.BI "virtual void \fBsetPalette\fR ( const QPalette & p )" +.BI "virtual void \fBsetPalette\fR ( const TQPalette & p )" .br .ti -1c .BI "int \fBminValue\fR () const" @@ -76,7 +76,7 @@ Inherits TQWidget and QRangeControl. .BI "int \fBsliderStart\fR () const" .br .ti -1c -.BI "QRect \fBsliderRect\fR () const" +.BI "TQRect \fBsliderRect\fR () const" .br .in -1c .SS "Public Slots" @@ -244,7 +244,7 @@ Sets the scroll bar's minimum value. See the "minValue" property for details. Sets the orientation of the scroll bar. See the "orientation" property for details. .SH "void QScrollBar::setPageStep ( int )" Sets the page step. See the "pageStep" property for details. -.SH "void QScrollBar::setPalette ( const QPalette & p )\fC [virtual]\fR" +.SH "void QScrollBar::setPalette ( const TQPalette & p )\fC [virtual]\fR" Reimplements the virtual function TQWidget::setPalette(). .PP Sets the background color to the mid color for Motif style scroll bars using palette \fIp\fR. @@ -262,7 +262,7 @@ This signal is emitted even when tracking is turned off. See also tracking, valueChanged(), nextLine(), prevLine(), nextPage(), and prevPage(). .SH "void QScrollBar::sliderPressed ()\fC [signal]\fR" This signal is emitted when the user presses the slider with the mouse. -.SH "QRect QScrollBar::sliderRect () const" +.SH "TQRect QScrollBar::sliderRect () const" Returns the scroll bar slider rectangle. .PP See also sliderStart(). diff --git a/doc/man/man3/tqscrollview.3qt b/doc/man/man3/tqscrollview.3qt index 9d8520af7..55f564f02 100644 --- a/doc/man/man3/tqscrollview.3qt +++ b/doc/man/man3/tqscrollview.3qt @@ -108,7 +108,7 @@ Inherited by TQCanvasView, QTable, QGridView, TQIconView, QListBox, QListView, a .BI "void \fBupdateContents\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBupdateContents\fR ( const QRect & r )" +.BI "void \fBupdateContents\fR ( const TQRect & r )" .br .ti -1c .BI "void \fBupdateContents\fR ()" @@ -117,7 +117,7 @@ Inherited by TQCanvasView, QTable, QGridView, TQIconView, QListBox, QListView, a .BI "void \fBrepaintContents\fR ( int x, int y, int w, int h, bool erase = TRUE )" .br .ti -1c -.BI "void \fBrepaintContents\fR ( const QRect & r, bool erase = TRUE )" +.BI "void \fBrepaintContents\fR ( const TQRect & r, bool erase = TRUE )" .br .ti -1c .BI "void \fBrepaintContents\fR ( bool erase = TRUE )" @@ -129,10 +129,10 @@ Inherited by TQCanvasView, QTable, QGridView, TQIconView, QListBox, QListView, a .BI "void \fBviewportToContents\fR ( int vx, int vy, int & x, int & y ) const" .br .ti -1c -.BI "QPoint \fBcontentsToViewport\fR ( const QPoint & p ) const" +.BI "TQPoint \fBcontentsToViewport\fR ( const TQPoint & p ) const" .br .ti -1c -.BI "QPoint \fBviewportToContents\fR ( const QPoint & vp ) const" +.BI "TQPoint \fBviewportToContents\fR ( const TQPoint & vp ) const" .br .ti -1c .BI "void \fBenableClipper\fR ( bool y )" @@ -569,7 +569,7 @@ This signal is emitted just before the contents are moved to position \fI(x, y)\ See also contentsX and contentsY. .SH "void QScrollView::contentsToViewport ( int x, int y, int & vx, int & vy ) const" Translates a point (\fIx\fR, \fIy\fR) in the contents to a point (\fIvx\fR, \fIvy\fR) on the viewport() widget. -.SH "QPoint QScrollView::contentsToViewport ( const QPoint & p ) const" +.SH "TQPoint QScrollView::contentsToViewport ( const TQPoint & p ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point \fIp\fR translated to a point on the viewport() widget. @@ -694,7 +694,7 @@ Removes the \fIchild\fR widget from the scrolled area. Note that this happens au Calls repaint() on a rectangle defined by \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR, translated appropriately. If the rectangle is not visible, nothing is repainted. If \fIerase\fR is TRUE the background is cleared using the background color. .PP See also updateContents(). -.SH "void QScrollView::repaintContents ( const QRect & r, bool erase = TRUE )" +.SH "void QScrollView::repaintContents ( const TQRect & r, bool erase = TRUE )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Repaints the contents of rectangle \fIr\fR. If \fIerase\fR is TRUE the background is cleared using the background color. @@ -780,7 +780,7 @@ See also setMargins(). Calls update() on a rectangle defined by \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR, translated appropriately. If the rectangle is not visible, nothing is repainted. .PP See also repaintContents(). -.SH "void QScrollView::updateContents ( const QRect & r )" +.SH "void QScrollView::updateContents ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Updates the contents in rectangle \fIr\fR @@ -821,7 +821,7 @@ The viewport size depends on \fI(x, y)\fR (the size of the contents), the size o This function permits widgets that can trade vertical and horizontal space for each other to control scroll bar appearance better. For example, a word processor or web browser can control the width of the right margin accurately, whether or not there needs to be a vertical scroll bar. .SH "void QScrollView::viewportToContents ( int vx, int vy, int & x, int & y ) const" Translates a point (\fIvx\fR, \fIvy\fR) on the viewport() widget to a point (\fIx\fR, \fIy\fR) in the contents. -.SH "QPoint QScrollView::viewportToContents ( const QPoint & vp ) const" +.SH "TQPoint QScrollView::viewportToContents ( const TQPoint & vp ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point on the viewport \fIvp\fR translated to a point in the contents. diff --git a/doc/man/man3/tqsimplerichtext.3qt b/doc/man/man3/tqsimplerichtext.3qt index 30e1fc782..6b4208e96 100644 --- a/doc/man/man3/tqsimplerichtext.3qt +++ b/doc/man/man3/tqsimplerichtext.3qt @@ -44,19 +44,19 @@ QSimpleRichText \- Small displayable piece of rich text .BI "void \fBadjustSize\fR ()" .br .ti -1c -.BI "void \fBdraw\fR ( TQPainter * p, int x, int y, const QRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const" +.BI "void \fBdraw\fR ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const" .br .ti -1c -.BI "void draw ( TQPainter * p, int x, int y, const QRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const \fI(obsolete)\fR" +.BI "void draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const \fI(obsolete)\fR" .br .ti -1c .BI "TQString \fBcontext\fR () const" .br .ti -1c -.BI "TQString \fBanchorAt\fR ( const QPoint & pos ) const" +.BI "TQString \fBanchorAt\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "bool \fBinText\fR ( const QPoint & pos ) const" +.BI "bool \fBinText\fR ( const TQPoint & pos ) const" .br .in -1c .SH DESCRIPTION @@ -104,18 +104,18 @@ Destroys the rich text object, freeing memory. Adjusts the richt text object to a reasonable size. .PP See also setWidth(). -.SH "TQString QSimpleRichText::anchorAt ( const QPoint & pos ) const" +.SH "TQString QSimpleRichText::anchorAt ( const TQPoint & pos ) const" Returns the anchor at the requested position, \fIpos\fR. An empty string is returned if no anchor is specified for this position. .SH "TQString QSimpleRichText::context () const" Returns the context of the rich text object. If no context has been specified in the constructor, a null string is returned. The context is the path to use to look up relative links, such as image tags and anchor references. -.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const QRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const" +.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const" Draws the formatted text with painter \fIp\fR, at position (\fIx\fR, \fIy\fR), clipped to \fIclipRect\fR. The clipping rectangle is given in the rich text object's coordinates translated by (\fIx\fR, \fIy\fR). Passing an null rectangle results in no clipping. Colors from the color group \fIcg\fR are used as needed, and if not 0, \fI*paper\fR is used as the background brush. .PP Note that the display code is highly optimized to reduce flicker, so passing a brush for \fIpaper\fR is preferable to simply clearing the area to be painted and then calling this without a brush. .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const QRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const" +.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use the version with clipRect instead. The region version has problems with larger documents on some platforms (on X11 regions internally are represented with 16bit coordinates). @@ -126,14 +126,14 @@ See also setWidth(). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -.SH "bool QSimpleRichText::inText ( const QPoint & pos ) const" +.SH "bool QSimpleRichText::inText ( const TQPoint & pos ) const" Returns TRUE if \fIpos\fR is within a text line of the rich text object; otherwise returns FALSE. .SH "void QSimpleRichText::setDefaultFont ( const TQFont & f )" Sets the default font for the rich text object to \fIf\fR .SH "void QSimpleRichText::setWidth ( TQPainter * p, int w )" Sets the width of the rich text object to \fIw\fR pixels, recalculating the layout as if it were to be drawn with painter \fIp\fR. .PP -Passing a painter is useful when you intend drawing on devices other than the screen, for example a QPrinter. +Passing a painter is useful when you intend drawing on devices other than the screen, for example a TQPrinter. .PP See also height() and adjustSize(). .PP diff --git a/doc/man/man3/tqsize.3qt b/doc/man/man3/tqsize.3qt index b71bc08c4..f7c1561a3 100644 --- a/doc/man/man3/tqsize.3qt +++ b/doc/man/man3/tqsize.3qt @@ -131,7 +131,7 @@ The coordinate type is QCOORD (defined in \fC<ntqwindowdefs.h>\fR as \fCint\fR). .PP The size can be set in the constructor and changed with setWidth() and setHeight(), or using operator+=(), operator-=(), operator*=() and operator/=(), etc. You can swap the width and height with transpose(). You can get a size which holds the maximum height and width of two sizes using expandedTo(), and the minimum height and width of two sizes using boundedTo(). .PP -See also QPoint, QRect, Graphics Classes, and Image Processing Classes. +See also TQPoint, TQRect, Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" .SH "TQSize::ScaleMode" This enum type defines the different ways of scaling a size. diff --git a/doc/man/man3/tqslider.3qt b/doc/man/man3/tqslider.3qt index 564e73b70..a6382be60 100644 --- a/doc/man/man3/tqslider.3qt +++ b/doc/man/man3/tqslider.3qt @@ -43,13 +43,13 @@ Inherits TQWidget and QRangeControl. .BI "bool \fBtracking\fR () const" .br .ti -1c -.BI "virtual void \fBsetPalette\fR ( const QPalette & p )" +.BI "virtual void \fBsetPalette\fR ( const TQPalette & p )" .br .ti -1c .BI "int \fBsliderStart\fR () const" .br .ti -1c -.BI "QRect \fBsliderRect\fR () const" +.BI "TQRect \fBsliderRect\fR () const" .br .ti -1c .BI "virtual void \fBsetTickmarks\fR ( TickSetting )" @@ -242,7 +242,7 @@ Sets the current minimum value of the slider. See the "minValue" property for de Sets the slider's orientation. See the "orientation" property for details. .SH "void QSlider::setPageStep ( int )" Sets the current page step. See the "pageStep" property for details. -.SH "void QSlider::setPalette ( const QPalette & p )\fC [virtual]\fR" +.SH "void QSlider::setPalette ( const TQPalette & p )\fC [virtual]\fR" Reimplements the virtual function TQWidget::setPalette(). .PP Sets the background color to the mid color for Motif style sliders using palette \fIp\fR. @@ -271,7 +271,7 @@ Sets the current slider value. See the "value" property for details. This signal is emitted when the slider is dragged, with the new slider \fIvalue\fR as its argument. .SH "void QSlider::sliderPressed ()\fC [signal]\fR" This signal is emitted when the user presses the slider with the mouse. -.SH "QRect QSlider::sliderRect () const" +.SH "TQRect QSlider::sliderRect () const" Returns the slider handle rectangle. (This is the visual marker that the user can move.) .SH "void QSlider::sliderReleased ()\fC [signal]\fR" This signal is emitted when the user releases the slider with the mouse. diff --git a/doc/man/man3/tqspaceritem.3qt b/doc/man/man3/tqspaceritem.3qt index c0d0da43e..e7ab8037c 100644 --- a/doc/man/man3/tqspaceritem.3qt +++ b/doc/man/man3/tqspaceritem.3qt @@ -37,7 +37,7 @@ Inherits QLayoutItem. .BI "virtual bool \fBisEmpty\fR () const" .br .ti -1c -.BI "virtual void \fBsetGeometry\fR ( const QRect & r )" +.BI "virtual void \fBsetGeometry\fR ( const TQRect & r )" .br .in -1c .SH DESCRIPTION @@ -73,7 +73,7 @@ Reimplemented from QLayoutItem. Returns the minimum size of this spacer item. .PP Reimplemented from QLayoutItem. -.SH "void QSpacerItem::setGeometry ( const QRect & r )\fC [virtual]\fR" +.SH "void QSpacerItem::setGeometry ( const TQRect & r )\fC [virtual]\fR" Stores the spacer item's rect \fIr\fR so that it can be returned by geometry(). .PP Reimplemented from QLayoutItem. diff --git a/doc/man/man3/tqspinbox.3qt b/doc/man/man3/tqspinbox.3qt index 381cc2544..96e11adab 100644 --- a/doc/man/man3/tqspinbox.3qt +++ b/doc/man/man3/tqspinbox.3qt @@ -85,10 +85,10 @@ Inherits TQWidget and QRangeControl. .BI "int \fBvalue\fR () const" .br .ti -1c -.BI "QRect \fBupRect\fR () const" +.BI "TQRect \fBupRect\fR () const" .br .ti -1c -.BI "QRect \fBdownRect\fR () const" +.BI "TQRect \fBdownRect\fR () const" .br .in -1c .SS "Public Slots" @@ -300,7 +300,7 @@ Returns the current button symbol mode. See the "buttonSymbols" property for det Returns the spin box's text with no prefix(), suffix() or leading or trailing whitespace. See the "cleanText" property for details. .SH "TQString QSpinBox::currentValueText ()\fC [protected]\fR" Returns the full text calculated from the current value, including any prefix and suffix. If there is special value text and the value is minValue() the specialValueText() is returned. -.SH "QRect QSpinBox::downRect () const" +.SH "TQRect QSpinBox::downRect () const" Returns the geometry of the "down" button. .SH "QLineEdit * QSpinBox::editor () const\fC [protected]\fR" Returns a pointer to the embedded QLineEdit. @@ -384,7 +384,7 @@ Returns the suffix of the spin box. See the "suffix" property for details. Returns the spin box's text, including any prefix() and suffix(). See the "text" property for details. .SH "void QSpinBox::textChanged ()\fC [protected slot]\fR" This slot is called whenever the user edits the spin box's text. -.SH "QRect QSpinBox::upRect () const" +.SH "TQRect QSpinBox::upRect () const" Returns the geometry of the "up" button. .SH "void QSpinBox::updateDisplay ()\fC [virtual protected]\fR" Updates the contents of the embedded QLineEdit to reflect the current value using mapValueToText(). Also enables/disables the up/down push buttons accordingly. diff --git a/doc/man/man3/tqsplashscreen.3qt b/doc/man/man3/tqsplashscreen.3qt index 6c4d8bbc8..b4c40bbab 100644 --- a/doc/man/man3/tqsplashscreen.3qt +++ b/doc/man/man3/tqsplashscreen.3qt @@ -16,16 +16,16 @@ Inherits TQWidget. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSplashScreen\fR ( const QPixmap & pixmap = QPixmap ( ), WFlags f = 0 )" +.BI "\fBQSplashScreen\fR ( const TQPixmap & pixmap = TQPixmap ( ), WFlags f = 0 )" .br .ti -1c .BI "virtual \fB~QSplashScreen\fR ()" .br .ti -1c -.BI "void \fBsetPixmap\fR ( const QPixmap & pixmap )" +.BI "void \fBsetPixmap\fR ( const TQPixmap & pixmap )" .br .ti -1c -.BI "QPixmap * \fBpixmap\fR () const" +.BI "TQPixmap * \fBpixmap\fR () const" .br .ti -1c .BI "void \fBfinish\fR ( TQWidget * mainWin )" @@ -74,7 +74,7 @@ The most common usage is to show a splash screen before the main widget is displ .br QApplication app( argc, argv ); .br - QPixmap pixmap( "splash.png" ); + TQPixmap pixmap( "splash.png" ); .br QSplashScreen *splash = new QSplashScreen( pixmap ); .br @@ -104,7 +104,7 @@ The user can hide the splash screen by clicking on it with the mouse. Since the .PP .nf .br - QPixmap pixmap( "splash.png" ); + TQPixmap pixmap( "splash.png" ); .br QSplashScreen *splash = new QSplashScreen( pixmap ); .br @@ -126,7 +126,7 @@ The user can hide the splash screen by clicking on it with the mouse. Since the .PP See also Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSplashScreen::QSplashScreen ( const QPixmap & pixmap = QPixmap ( ), WFlags f = 0 )" +.SH "QSplashScreen::QSplashScreen ( const TQPixmap & pixmap = TQPixmap ( ), WFlags f = 0 )" Construct a splash screen that will display the \fIpixmap\fR. .PP There should be no need to set the widget flags, \fIf\fR, except perhaps WDestructiveClose or WStyle_StaysOnTop. @@ -148,11 +148,11 @@ See also TQt::AlignmentFlags and clear(). This signal is emitted when the message on the splash screen changes. \fImessage\fR is the new message and is a null-string when the message has been removed. .PP See also message() and clear(). -.SH "QPixmap * QSplashScreen::pixmap () const" +.SH "TQPixmap * QSplashScreen::pixmap () const" Returns the pixmap that is used in the splash screen. The image does not have any of the text drawn by message() calls. .SH "void QSplashScreen::repaint ()" This overrides TQWidget::repaint(). It differs from the standard repaint function in that it also calls QApplication::flush() to ensure the updates are displayed, even when there is no event loop present. -.SH "void QSplashScreen::setPixmap ( const QPixmap & pixmap )" +.SH "void QSplashScreen::setPixmap ( const TQPixmap & pixmap )" Sets the pixmap that will be used as the splash screen's image to \fIpixmap\fR. diff --git a/doc/man/man3/tqsqlfield.3qt b/doc/man/man3/tqsqlfield.3qt index f2dd8c441..fb6f2201b 100644 --- a/doc/man/man3/tqsqlfield.3qt +++ b/doc/man/man3/tqsqlfield.3qt @@ -70,7 +70,7 @@ Field data values are stored as QVariants. Using an incompatible type is not per .br TQSqlField f( "myfield", QVariant::Int ); .br - f.setValue( QPixmap() ); // will not work + f.setValue( TQPixmap() ); // will not work .br .fi .PP diff --git a/doc/man/man3/tqstyle.3qt b/doc/man/man3/tqstyle.3qt index c4badfa90..8f2ccd002 100644 --- a/doc/man/man3/tqstyle.3qt +++ b/doc/man/man3/tqstyle.3qt @@ -36,16 +36,16 @@ Inherited by QCommonStyle. .BI "virtual void \fBunPolish\fR ( QApplication * )" .br .ti -1c -.BI "virtual void \fBpolish\fR ( QPalette & )" +.BI "virtual void \fBpolish\fR ( TQPalette & )" .br .ti -1c .BI "virtual void \fBpolishPopupMenu\fR ( TQPopupMenu * ) = 0" .br .ti -1c -.BI "virtual QRect \fBitemRect\fR ( TQPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const" +.BI "virtual TQRect \fBitemRect\fR ( TQPainter * p, const TQRect & r, int flags, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1 ) const" .br .ti -1c -.BI "virtual void \fBdrawItem\fR ( TQPainter * p, const QRect & r, int flags, const TQColorGroup & g, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const" +.BI "virtual void \fBdrawItem\fR ( TQPainter * p, const TQRect & r, int flags, const TQColorGroup & g, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const" .br .ti -1c .BI "enum \fBPrimitiveElement\fR { PE_ButtonCommand, PE_ButtonDefault, PE_ButtonBevel, PE_ButtonTool, PE_ButtonDropDown, PE_FocusRect, PE_ArrowUp, PE_ArrowDown, PE_ArrowRight, PE_ArrowLeft, PE_SpinWidgetUp, PE_SpinWidgetDown, PE_SpinWidgetPlus, PE_SpinWidgetMinus, PE_Indicator, PE_IndicatorMask, PE_ExclusiveIndicator, PE_ExclusiveIndicatorMask, PE_DockWindowHandle, PE_DockWindowSeparator, PE_DockWindowResizeHandle, PE_Splitter, PE_Panel, PE_PanelPopup, PE_PanelMenuBar, PE_PanelDockWindow, PE_TabBarBase, PE_HeaderSection, PE_HeaderArrow, PE_StatusBarSection, PE_GroupBoxFrame, PE_Separator, PE_SizeGrip, PE_CheckMark, PE_ScrollBarAddLine, PE_ScrollBarSubLine, PE_ScrollBarAddPage, PE_ScrollBarSubPage, PE_ScrollBarSlider, PE_ScrollBarFirst, PE_ScrollBarLast, PE_ProgressBarChunk, PE_PanelLineEdit, PE_PanelTabWidget, PE_WindowFrame, PE_CheckListController, PE_CheckListIndicator, PE_CheckListExclusiveIndicator, PE_PanelGroupBox, PE_RubberBand, PE_CustomBase = 0xf000000 }" @@ -54,22 +54,22 @@ Inherited by QCommonStyle. .BI "enum \fBStyleFlags\fR { Style_Default = 0x00000000, Style_Enabled = 0x00000001, Style_Raised = 0x00000002, Style_Sunken = 0x00000004, Style_Off = 0x00000008, Style_NoChange = 0x00000010, Style_On = 0x00000020, Style_Down = 0x00000040, Style_Horizontal = 0x00000080, Style_HasFocus = 0x00000100, Style_Top = 0x00000200, Style_Bottom = 0x00000400, Style_FocusAtBorder = 0x00000800, Style_AutoRaise = 0x00001000, Style_MouseOver = 0x00002000, Style_Up = 0x00004000, Style_Selected = 0x00008000, Style_Active = 0x00010000, Style_ButtonDefault = 0x00020000 }" .br .ti -1c -.BI "virtual void \fBdrawPrimitive\fR ( PrimitiveElement pe, TQPainter * p, const QRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawPrimitive\fR ( PrimitiveElement pe, TQPainter * p, const TQRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c .BI "enum \fBControlElement\fR { CE_PushButton, CE_PushButtonLabel, CE_CheckBox, CE_CheckBoxLabel, CE_RadioButton, CE_RadioButtonLabel, CE_TabBarTab, CE_TabBarLabel, CE_ProgressBarGroove, CE_ProgressBarContents, CE_ProgressBarLabel, CE_PopupMenuItem, CE_MenuBarItem, CE_ToolButtonLabel, CE_MenuBarEmptyArea, CE_PopupMenuScroller, CE_DockWindowEmptyArea, CE_PopupMenuVerticalExtra, CE_PopupMenuHorizontalExtra, CE_ToolBoxTab, CE_HeaderLabel, CE_CustomBase = 0xf0000000 }" .br .ti -1c -.BI "virtual void \fBdrawControl\fR ( ControlElement element, TQPainter * p, const TQWidget * widget, const QRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawControl\fR ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c -.BI "virtual void \fBdrawControlMask\fR ( ControlElement element, TQPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawControlMask\fR ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c .BI "enum \fBSubRect\fR { SR_PushButtonContents, SR_PushButtonFocusRect, SR_CheckBoxIndicator, SR_CheckBoxContents, SR_CheckBoxFocusRect, SR_RadioButtonIndicator, SR_RadioButtonContents, SR_RadioButtonFocusRect, SR_ComboBoxFocusRect, SR_SliderFocusRect, SR_DockWindowHandleRect, SR_ProgressBarGroove, SR_ProgressBarContents, SR_ProgressBarLabel, SR_ToolButtonContents, SR_DialogButtonAccept, SR_DialogButtonReject, SR_DialogButtonApply, SR_DialogButtonHelp, SR_DialogButtonAll, SR_DialogButtonAbort, SR_DialogButtonIgnore, SR_DialogButtonRetry, SR_DialogButtonCustom, SR_ToolBoxTabContents, SR_CustomBase = 0xf0000000 }" .br .ti -1c -.BI "virtual QRect \fBsubRect\fR ( SubRect subrect, const TQWidget * widget ) const = 0" +.BI "virtual TQRect \fBsubRect\fR ( SubRect subrect, const TQWidget * widget ) const = 0" .br .ti -1c .BI "enum \fBComplexControl\fR { CC_SpinWidget, CC_ComboBox, CC_ScrollBar, CC_Slider, CC_ToolButton, CC_TitleBar, CC_ListView, CC_CustomBase = 0xf0000000 }" @@ -78,16 +78,16 @@ Inherited by QCommonStyle. .BI "enum \fBSubControl\fR { SC_None = 0x00000000, SC_ScrollBarAddLine = 0x00000001, SC_ScrollBarSubLine = 0x00000002, SC_ScrollBarAddPage = 0x00000004, SC_ScrollBarSubPage = 0x00000008, SC_ScrollBarFirst = 0x00000010, SC_ScrollBarLast = 0x00000020, SC_ScrollBarSlider = 0x00000040, SC_ScrollBarGroove = 0x00000080, SC_SpinWidgetUp = 0x00000001, SC_SpinWidgetDown = 0x00000002, SC_SpinWidgetFrame = 0x00000004, SC_SpinWidgetEditField = 0x00000008, SC_SpinWidgetButtonField = 0x00000010, SC_ComboBoxFrame = 0x00000001, SC_ComboBoxEditField = 0x00000002, SC_ComboBoxArrow = 0x00000004, SC_ComboBoxListBoxPopup = 0x00000008, SC_SliderGroove = 0x00000001, SC_SliderHandle = 0x00000002, SC_SliderTickmarks = 0x00000004, SC_ToolButton = 0x00000001, SC_ToolButtonMenu = 0x00000002, SC_TitleBarLabel = 0x00000001, SC_TitleBarSysMenu = 0x00000002, SC_TitleBarMinButton = 0x00000004, SC_TitleBarMaxButton = 0x00000008, SC_TitleBarCloseButton = 0x00000010, SC_TitleBarNormalButton = 0x00000020, SC_TitleBarShadeButton = 0x00000040, SC_TitleBarUnshadeButton = 0x00000080, SC_ListView = 0x00000001, SC_ListViewBranch = 0x00000002, SC_ListViewExpand = 0x00000004, SC_All = 0xffffffff }" .br .ti -1c -.BI "virtual void \fBdrawComplexControl\fR ( ComplexControl control, TQPainter * p, const TQWidget * widget, const QRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawComplexControl\fR ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c -.BI "virtual void \fBdrawComplexControlMask\fR ( ComplexControl control, TQPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawComplexControlMask\fR ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c -.BI "virtual QRect \fBquerySubControlMetrics\fR ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual TQRect \fBquerySubControlMetrics\fR ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c -.BI "virtual SubControl \fBquerySubControl\fR ( ComplexControl control, const TQWidget * widget, const QPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual SubControl \fBquerySubControl\fR ( ComplexControl control, const TQWidget * widget, const TQPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c .BI "enum \fBPixelMetric\fR { PM_ButtonMargin, PM_ButtonDefaultIndicator, PM_MenuButtonIndicator, PM_ButtonShiftHorizontal, PM_ButtonShiftVertical, PM_DefaultFrameWidth, PM_SpinBoxFrameWidth, PM_MaximumDragDistance, PM_ScrollBarExtent, PM_ScrollBarSliderMin, PM_SliderThickness, PM_SliderControlThickness, PM_SliderLength, PM_SliderTickmarkOffset, PM_SliderSpaceAvailable, PM_DockWindowSeparatorExtent, PM_DockWindowHandleExtent, PM_DockWindowFrameWidth, PM_MenuBarFrameWidth, PM_TabBarTabOverlap, PM_TabBarTabHSpace, PM_TabBarTabVSpace, PM_TabBarBaseHeight, PM_TabBarBaseOverlap, PM_ProgressBarChunkWidth, PM_SplitterWidth, PM_TitleBarHeight, PM_IndicatorWidth, PM_IndicatorHeight, PM_ExclusiveIndicatorWidth, PM_ExclusiveIndicatorHeight, PM_PopupMenuScrollerHeight, PM_CheckListButtonSize, PM_CheckListControllerSize, PM_PopupMenuFrameHorizontalExtra, PM_PopupMenuFrameVerticalExtra, PM_DialogButtonsSeparator, PM_DialogButtonsButtonWidth, PM_DialogButtonsButtonHeight, PM_MDIFrameWidth, PM_MDIMinimizedWidth, PM_HeaderMargin, PM_HeaderMarkSize, PM_HeaderGripMargin, PM_TabBarTabShiftHorizontal, PM_TabBarTabShiftVertical, PM_TabBarScrollButtonWidth, PM_MenuBarItemSpacing, PM_ToolBarItemSpacing, PM_CustomBase = 0xf0000000 }" @@ -111,7 +111,7 @@ Inherited by QCommonStyle. .BI "enum \fBStylePixmap\fR { SP_TitleBarMinButton, SP_TitleBarMaxButton, SP_TitleBarCloseButton, SP_TitleBarNormalButton, SP_TitleBarShadeButton, SP_TitleBarUnshadeButton, SP_DockWindowCloseButton, SP_MessageBoxInformation, SP_MessageBoxWarning, SP_MessageBoxCritical, SP_MessageBoxQuestion, SP_CustomBase = 0xf0000000 }" .br .ti -1c -.BI "virtual QPixmap \fBstylePixmap\fR ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual TQPixmap \fBstylePixmap\fR ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c .BI "int defaultFrameWidth () const \fI(obsolete)\fR" @@ -126,10 +126,10 @@ Inherited by QCommonStyle. .SS "Static Public Members" .in +1c .ti -1c -.BI "QRect \fBvisualRect\fR ( const QRect & logical, const TQWidget * w )" +.BI "TQRect \fBvisualRect\fR ( const TQRect & logical, const TQWidget * w )" .br .ti -1c -.BI "QRect \fBvisualRect\fR ( const QRect & logical, const QRect & bounding )" +.BI "TQRect \fBvisualRect\fR ( const TQRect & logical, const TQRect & bounding )" .br .in -1c .SH DESCRIPTION @@ -780,7 +780,7 @@ Constructs a TQStyle. Destroys the style and frees all allocated resources. .SH "int TQStyle::defaultFrameWidth () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "void TQStyle::drawComplexControl ( ComplexControl control, TQPainter * p, const TQWidget * widget, const QRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawComplexControl ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" Draws the ComplexControl \fIcontrol\fR using the painter \fIp\fR in the area \fIr\fR. Colors are used from the color group \fIcg\fR. The \fIsub\fR argument specifies which SubControls to draw. Multiple SubControls can be OR'ed together. The \fIsubActive\fR argument specifies which SubControl is active. .PP The rect \fIr\fR should be in logical coordinates. Reimplementations of this function should use visualRect() to change the logical coordinates into screen coordinates when using drawPrimitive() and drawControl(). @@ -803,13 +803,13 @@ opt.listViewItem() </center> .PP See also ComplexControl and SubControl. -.SH "void TQStyle::drawComplexControlMask ( ComplexControl control, TQPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawComplexControlMask ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" Draw a bitmask for the ComplexControl \fIcontrol\fR using the painter \fIp\fR in the area \fIr\fR. See drawComplexControl() for an explanation of the use of the \fIwidget\fR and \fIopt\fR arguments. .PP The rect \fIr\fR should be in logical coordinates. Reimplementations of this function should use visualRect() to change the logical corrdinates into screen coordinates when using drawPrimitive() and drawControl(). .PP See also drawComplexControl() and ComplexControl. -.SH "void TQStyle::drawControl ( ControlElement element, TQPainter * p, const TQWidget * widget, const QRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawControl ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" Draws the ControlElement \fIelement\fR using the painter \fIp\fR in the area \fIr\fR. Colors are used from the color group \fIcg\fR. .PP The rect \fIr\fR should be in screen coordinates. @@ -869,17 +869,17 @@ opt.arrowType() When the tool button only contains an arrow, \fIt\fR is the arro </center> .PP See also ControlElement and StyleFlags. -.SH "void TQStyle::drawControlMask ( ControlElement element, TQPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawControlMask ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" Draw a bitmask for the ControlElement \fIelement\fR using the painter \fIp\fR in the area \fIr\fR. See drawControl() for an explanation of the use of the \fIwidget\fR and \fIopt\fR arguments. .PP The rect \fIr\fR should be in screen coordinates. .PP See also drawControl() and ControlElement. -.SH "void TQStyle::drawItem ( TQPainter * p, const QRect & r, int flags, const TQColorGroup & g, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const\fC [virtual]\fR" +.SH "void TQStyle::drawItem ( TQPainter * p, const TQRect & r, int flags, const TQColorGroup & g, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const\fC [virtual]\fR" Draws the \fItext\fR or \fIpixmap\fR in rectangle \fIr\fR using painter \fIp\fR and color group \fIg\fR. The pen color is specified with \fIpenColor\fR. The \fIenabled\fR bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the item is drawn. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned and wrapped according to the alignment \fIflags\fR (see TQt::AlignmentFlags). .PP By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored. -.SH "void TQStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const QRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const TQRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" Draws the style PrimitiveElement \fIpe\fR using the painter \fIp\fR in the area \fIr\fR. Colors are used from the color group \fIcg\fR. .PP The rect \fIr\fR should be in screen coordinates. @@ -928,7 +928,7 @@ For all other PrimitiveElements, \fIopt\fR is unused. See also StyleFlags. .PP Example: themes/wood.cpp. -.SH "QRect TQStyle::itemRect ( TQPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR" +.SH "TQRect TQStyle::itemRect ( TQPainter * p, const TQRect & r, int flags, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR" Returns the appropriate area (see below) within rectangle \fIr\fR in which to draw the \fItext\fR or \fIpixmap\fR using painter \fIp\fR. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned in accordance with the alignment \fIflags\fR (see TQt::AlignmentFlags). The \fIenabled\fR bool indicates whether or not the item is enabled. .PP If \fIr\fR is larger than the area needed to render the \fItext\fR the rectangle that is returned will be offset within \fIr\fR in accordance with the alignment \fIflags\fR. For example if \fIflags\fR is AlignCenter the returned rectangle will be centered within \fIr\fR. If \fIr\fR is smaller than the area needed the rectangle that is returned will be \fIlarger\fR than \fIr\fR (the smallest rectangle large enough to render the \fItext\fR or \fIpixmap\fR). @@ -959,21 +959,21 @@ This is an overloaded member function, provided for convenience. It behaves esse Late initialization of the QApplication object. .PP See also unPolish(). -.SH "void TQStyle::polish ( QPalette & )\fC [virtual]\fR" +.SH "void TQStyle::polish ( TQPalette & )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP The style may have certain requirements for color palettes. In this function it has the chance to change the palette according to these requirements. .PP -See also QPalette and QApplication::setPalette(). +See also TQPalette and QApplication::setPalette(). .SH "void TQStyle::polishPopupMenu ( TQPopupMenu * )\fC [pure virtual]\fR" Polishes the popup menu according to the GUI style. This usually means setting the mouse tracking (TQPopupMenu::setMouseTracking()) and whether the menu is checkable by default (TQPopupMenu::setCheckable()). -.SH "SubControl TQStyle::querySubControl ( ComplexControl control, const TQWidget * widget, const QPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "SubControl TQStyle::querySubControl ( ComplexControl control, const TQWidget * widget, const TQPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" Returns the SubControl for \fIwidget\fR at the point \fIpos\fR. The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. The widget can be cast to the appropriate type based on the value of \fIcontrol\fR. The \fIopt\fR argument can be used to pass extra information required when drawing the ComplexControl. Note that \fIopt\fR may be the default value even for ComplexControls that can make use of the extra options. See drawComplexControl() for an explanation of the \fIwidget\fR and \fIopt\fR arguments. .PP Note that \fIpos\fR is passed in screen coordinates. When using querySubControlMetrics() to check for hits and misses, use visualRect() to change the logical coordinates into screen coordinates. .PP See also drawComplexControl(), ComplexControl, SubControl, and querySubControlMetrics(). -.SH "QRect TQStyle::querySubControlMetrics ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "TQRect TQStyle::querySubControlMetrics ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" Returns the rect for the SubControl \fIsubcontrol\fR for \fIwidget\fR in logical coordinates. .PP The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. The widget can be cast to the appropriate type based on the value of \fIcontrol\fR. The \fIopt\fR argument can be used to pass extra information required when drawing the ComplexControl. Note that \fIopt\fR may be the default value even for ComplexControls that can make use of the extra options. See drawComplexControl() for an explanation of the \fIwidget\fR and \fIopt\fR arguments. @@ -998,7 +998,7 @@ opt.menuItem() Returns the style hint \fIstylehint\fR for \fIwidget\fR. Currently, \fIwidget\fR, \fIopt\fR, and \fIreturnData\fR are unused; they're included to allow for future enhancements. .PP For an explanation of the return value see StyleHint. -.SH "QPixmap TQStyle::stylePixmap ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "TQPixmap TQStyle::stylePixmap ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" Returns a pixmap for \fIstylepixmap\fR. .PP The \fIopt\fR argument can be used to pass extra information required when drawing the ControlElement. Note that \fIopt\fR may be the default value even for StylePixmaps that can make use of the extra options. Currently, the \fIopt\fR argument is unused. @@ -1013,7 +1013,7 @@ l - l. StylePixmap Widget Cast SP_TitleBarMinButton (const TQWidget *) SP_TitleB </center> .PP See also StylePixmap. -.SH "QRect TQStyle::subRect ( SubRect subrect, const TQWidget * widget ) const\fC [pure virtual]\fR" +.SH "TQRect TQStyle::subRect ( SubRect subrect, const TQWidget * widget ) const\fC [pure virtual]\fR" Returns the sub-area \fIsubrect\fR for the \fIwidget\fR in logical coordinates. .PP The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. The widget can be cast to the appropriate type based on the value of \fIsubrect\fR. See the table below for the appropriate \fIwidget\fR casts: @@ -1052,11 +1052,11 @@ This is an overloaded member function, provided for convenience. It behaves esse Undoes the application polish. .PP See also polish(). -.SH "QRect TQStyle::visualRect ( const QRect & logical, const TQWidget * w )\fC [static]\fR" +.SH "TQRect TQStyle::visualRect ( const TQRect & logical, const TQWidget * w )\fC [static]\fR" Returns the rect \fIlogical\fR in screen coordinates. The bounding rect for widget \fIw\fR is used to perform the translation. This function is provided to aid style implementors in supporting right-to-left mode. .PP See also QApplication::reverseLayout(). -.SH "QRect TQStyle::visualRect ( const QRect & logical, const QRect & bounding )\fC [static]\fR" +.SH "TQRect TQStyle::visualRect ( const TQRect & logical, const TQRect & bounding )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the rect \fIlogical\fR in screen coordinates. The rect \fIbounding\fR is used to perform the translation. This function is provided to aid style implementors in supporting right-to-left mode. diff --git a/doc/man/man3/tqstyleoption.3qt b/doc/man/man3/tqstyleoption.3qt index 05964ac21..e51c82131 100644 --- a/doc/man/man3/tqstyleoption.3qt +++ b/doc/man/man3/tqstyleoption.3qt @@ -53,7 +53,7 @@ TQStyleOption \- Optional parameters for TQStyle functions .BI "\fBTQStyleOption\fR ( TQt::ArrowType a )" .br .ti -1c -.BI "\fBTQStyleOption\fR ( const QRect & r )" +.BI "\fBTQStyleOption\fR ( const TQRect & r )" .br .ti -1c .BI "\fBTQStyleOption\fR ( TQWidget * w )" @@ -104,7 +104,7 @@ TQStyleOption \- Optional parameters for TQStyle functions .BI "TQt::ArrowType \fBarrowType\fR () const" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c .BI "TQWidget * \fBwidget\fR () const" @@ -156,8 +156,8 @@ Pass a QListViewItem, \fIi\fR. Pass a QCheckListItem, \fIi\fR. .SH "TQStyleOption::TQStyleOption ( TQt::ArrowType a )" Pass an TQt::ArrowType, \fIa\fR. -.SH "TQStyleOption::TQStyleOption ( const QRect & r )" -Pass a QRect, \fIr\fR. +.SH "TQStyleOption::TQStyleOption ( const TQRect & r )" +Pass a TQRect, \fIr\fR. .SH "TQStyleOption::TQStyleOption ( TQWidget * w )" Pass a TQWidget, \fIw\fR. .SH "TQt::ArrowType TQStyleOption::arrowType () const" @@ -186,7 +186,7 @@ Returns the maximum width of the menu item check area if the appropriate constru Returns a menu item if the appropriate constructor was called; otherwise the return value is undefined. .SH "int TQStyleOption::midLineWidth () const" Returns the mid-line width if the appropriate constructor was called; otherwise the return value is undefined. -.SH "QRect TQStyleOption::rect () const" +.SH "TQRect TQStyleOption::rect () const" Returns a rectangle if the appropriate constructor was called; otherwise the return value is undefined. .SH "QTab * TQStyleOption::tab () const" Returns a QTabBar tab if the appropriate constructor was called; otherwise the return value is undefined. diff --git a/doc/man/man3/tqt.3qt b/doc/man/man3/tqt.3qt index eae6a2b29..631bac95b 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, TQBrush, TQCanvasItem, QCursor, TQPainter, QEvent, TQIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, QPen, TQStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, TQThread, TQToolTip, and QWhatsThis. +Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, QCursor, TQPainter, QEvent, TQIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, TQPen, TQStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, TQThread, TQToolTip, and QWhatsThis. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqtab.3qt b/doc/man/man3/tqtab.3qt index a72656ca5..251022f72 100644 --- a/doc/man/man3/tqtab.3qt +++ b/doc/man/man3/tqtab.3qt @@ -40,10 +40,10 @@ Inherits Qt. .BI "TQIconSet * \fBiconSet\fR () const" .br .ti -1c -.BI "void \fBsetRect\fR ( const QRect & rect )" +.BI "void \fBsetRect\fR ( const TQRect & rect )" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c .BI "void \fBsetEnabled\fR ( bool enable )" @@ -79,16 +79,16 @@ Return the TQIconSet of the QTab. Return the QTab's identifier. .SH "bool QTab::isEnabled () const" Returns TRUE if the QTab is enabled; otherwise returns FALSE. -.SH "QRect QTab::rect () const" -Return the QRect for the QTab. +.SH "TQRect QTab::rect () const" +Return the TQRect for the QTab. .SH "void QTab::setEnabled ( bool enable )" If \fIenable\fR is TRUE enable the QTab, otherwise disable it. .SH "void QTab::setIconSet ( const TQIconSet & icon )" Sets the tab's iconset to \fIicon\fR .SH "void QTab::setIdentifier ( int i )" Set the identifier for the QTab to \fIi\fR. Each QTab's identifier within a QTabBar must be unique. -.SH "void QTab::setRect ( const QRect & rect )" -Set the QTab QRect to \fIrect\fR. +.SH "void QTab::setRect ( const TQRect & rect )" +Set the QTab TQRect to \fIrect\fR. .SH "void QTab::setText ( const TQString & text )" Sets the text of the tab to \fItext\fR. .SH "TQString QTab::text () const" diff --git a/doc/man/man3/tqtabbar.3qt b/doc/man/man3/tqtabbar.3qt index 8291e2010..131f58759 100644 --- a/doc/man/man3/tqtabbar.3qt +++ b/doc/man/man3/tqtabbar.3qt @@ -67,7 +67,7 @@ Inherits TQWidget. .BI "virtual void \fBlayoutTabs\fR ()" .br .ti -1c -.BI "virtual QTab * \fBselectTab\fR ( const QPoint & p ) const" +.BI "virtual QTab * \fBselectTab\fR ( const TQPoint & p ) const" .br .ti -1c .BI "void \fBremoveToolTip\fR ( int index )" @@ -118,7 +118,7 @@ Inherits TQWidget. .BI "virtual void \fBpaint\fR ( TQPainter * p, QTab * t, bool selected ) const" .br .ti -1c -.BI "virtual void \fBpaintLabel\fR ( TQPainter * p, const QRect & br, QTab * t, bool has_focus ) const" +.BI "virtual void \fBpaintLabel\fR ( TQPainter * p, const TQRect & br, QTab * t, bool has_focus ) const" .br .ti -1c .BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * e )" @@ -214,13 +214,13 @@ Repaints the tab row. All the painting is done by paint(); paintEvent() only dec See also paint(). .PP Reimplemented from TQWidget. -.SH "void QTabBar::paintLabel ( TQPainter * p, const QRect & br, QTab * t, bool has_focus ) const\fC [virtual protected]\fR" +.SH "void QTabBar::paintLabel ( TQPainter * p, const TQRect & br, QTab * t, bool has_focus ) const\fC [virtual protected]\fR" Paints the label of tab \fIt\fR centered in rectangle \fIbr\fR using painter \fIp\fR. A focus indication is drawn if \fIhas_focus\fR is TRUE. .SH "void QTabBar::removeTab ( QTab * t )\fC [virtual]\fR" Removes tab \fIt\fR from the tab control, and deletes the tab. .SH "void QTabBar::removeToolTip ( int index )" Removes the tool tip for the tab at index position \fIindex\fR. -.SH "QTab * QTabBar::selectTab ( const QPoint & p ) const\fC [virtual]\fR" +.SH "QTab * QTabBar::selectTab ( const TQPoint & p ) const\fC [virtual]\fR" This virtual function is called by the mouse event handlers to determine which tab is pressed. The default implementation returns a pointer to the tab whose bounding rectangle contains \fIp\fR, if exactly one tab's bounding rectangle contains \fIp\fR. Otherwise it returns 0. .PP See also mousePressEvent() and mouseReleaseEvent(). diff --git a/doc/man/man3/tqtable.3qt b/doc/man/man3/tqtable.3qt index ef46969a3..42d62234a 100644 --- a/doc/man/man3/tqtable.3qt +++ b/doc/man/man3/tqtable.3qt @@ -48,7 +48,7 @@ Inherited by TQDataTable. .BI "virtual void \fBsetText\fR ( int row, int col, const TQString & text )" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( int row, int col, const QPixmap & pix )" +.BI "virtual void \fBsetPixmap\fR ( int row, int col, const TQPixmap & pix )" .br .ti -1c .BI "virtual QTableItem * \fBitem\fR ( int row, int col ) const" @@ -57,13 +57,13 @@ Inherited by TQDataTable. .BI "virtual TQString \fBtext\fR ( int row, int col ) const" .br .ti -1c -.BI "virtual QPixmap \fBpixmap\fR ( int row, int col ) const" +.BI "virtual TQPixmap \fBpixmap\fR ( int row, int col ) const" .br .ti -1c .BI "virtual void \fBclearCell\fR ( int row, int col )" .br .ti -1c -.BI "virtual QRect \fBcellGeometry\fR ( int row, int col ) const" +.BI "virtual TQRect \fBcellGeometry\fR ( int row, int col ) const" .br .ti -1c .BI "virtual int \fBcolumnWidth\fR ( int col ) const" @@ -165,16 +165,16 @@ Inherited by TQDataTable. .BI "virtual void \fBclearCellWidget\fR ( int row, int col )" .br .ti -1c -.BI "virtual QRect \fBcellRect\fR ( int row, int col ) const" +.BI "virtual TQRect \fBcellRect\fR ( int row, int col ) const" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const QRect & cr, bool selected )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const TQRect & cr, bool selected )" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const QRect & cr, bool selected, const TQColorGroup & cg )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const TQRect & cr, bool selected, const TQColorGroup & cg )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const QRect & cr )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQRect & cr )" .br .ti -1c .BI "bool \fBisReadOnly\fR () const" @@ -333,13 +333,13 @@ Inherited by TQDataTable. .BI "void \fBcurrentChanged\fR ( int row, int col )" .br .ti -1c -.BI "void \fBclicked\fR ( int row, int col, int button, const QPoint & mousePos )" +.BI "void \fBclicked\fR ( int row, int col, int button, const TQPoint & mousePos )" .br .ti -1c -.BI "void \fBdoubleClicked\fR ( int row, int col, int button, const QPoint & mousePos )" +.BI "void \fBdoubleClicked\fR ( int row, int col, int button, const TQPoint & mousePos )" .br .ti -1c -.BI "void \fBpressed\fR ( int row, int col, int button, const QPoint & mousePos )" +.BI "void \fBpressed\fR ( int row, int col, int button, const TQPoint & mousePos )" .br .ti -1c .BI "void \fBselectionChanged\fR ()" @@ -348,7 +348,7 @@ Inherited by TQDataTable. .BI "void \fBvalueChanged\fR ( int row, int col )" .br .ti -1c -.BI "void \fBcontextMenuRequested\fR ( int row, int col, const QPoint & pos )" +.BI "void \fBcontextMenuRequested\fR ( int row, int col, const TQPoint & pos )" .br .ti -1c .BI "void \fBdropped\fR ( TQDropEvent * e )" @@ -631,10 +631,10 @@ See also adjustColumn(). This function is called to start in-place editing of the cell at \fIrow\fR, \fIcol\fR. Editing is achieved by creating an editor (createEditor() is called) and setting the cell's editor with setCellWidget() to the newly created editor. (After editing is complete endEdit() will be called to replace the cell's content with the editor's content.) If \fIreplace\fR is TRUE the editor will start empty; otherwise it will be initialized with the cell's content (if any), i.e. the user will be modifying the original cell content. .PP See also endEdit(). -.SH "QRect QTable::cellGeometry ( int row, int col ) const\fC [virtual]\fR" +.SH "TQRect QTable::cellGeometry ( int row, int col ) const\fC [virtual]\fR" Returns the bounding rectangle of the cell at \fIrow\fR, \fIcol\fR in content coordinates. -.SH "QRect QTable::cellRect ( int row, int col ) const\fC [virtual]\fR" -Returns the geometry of cell \fIrow\fR, \fIcol\fR in the cell's coordinate system. This is a convenience function useful in paintCell(). It is equivalent to QRect( QPoint(0,0), cellGeometry( row, col).size() ); +.SH "TQRect QTable::cellRect ( int row, int col ) const\fC [virtual]\fR" +Returns the geometry of cell \fIrow\fR, \fIcol\fR in the cell's coordinate system. This is a convenience function useful in paintCell(). It is equivalent to TQRect( TQPoint(0,0), cellGeometry( row, col).size() ); .PP See also cellGeometry(). .PP @@ -663,7 +663,7 @@ See also cellWidget() and setCellWidget(). Clears all selections and repaints the appropriate regions if \fIrepaint\fR is TRUE. .PP See also removeSelection(). -.SH "void QTable::clicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR" +.SH "void QTable::clicked ( int row, int col, int button, const TQPoint & mousePos )\fC [signal]\fR" This signal is emitted when mouse button \fIbutton\fR is clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR. .PP See also TQt::ButtonState. @@ -713,7 +713,7 @@ Reimplemented from QScrollView. This event handler is called when the user ends a drag and drop by dropping something onto \fIthis\fR QTable and thus triggers the drop event, \fIe\fR. .PP Reimplemented from QScrollView. -.SH "void QTable::contextMenuRequested ( int row, int col, const QPoint & pos )\fC [signal]\fR" +.SH "void QTable::contextMenuRequested ( int row, int col, const TQPoint & pos )\fC [signal]\fR" This signal is emitted when the user invokes a context menu with the right mouse button (or with a system-specific keypress). The cell where the event took place is at \fIrow\fR, \fIcol\fR. \fIpos\fR is the position where the context menu will appear in the global coordinate system. This signal is always emitted, even if the contents of the cell are disabled. .SH "TQWidget * QTable::createEditor ( int row, int col, bool initFromCell ) const\fC [virtual protected]\fR" This function returns the widget which should be used as an editor for the contents of the cell at \fIrow\fR, \fIcol\fR. @@ -770,7 +770,7 @@ Example: chart/setdataform.cpp. Returns the number of the current selection or -1 if there is no current selection. .PP See also numSelections. -.SH "void QTable::doubleClicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR" +.SH "void QTable::doubleClicked ( int row, int col, int button, const TQPoint & mousePos )\fC [signal]\fR" This signal is emitted when mouse button \fIbutton\fR is double-clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR. .PP See also TQt::ButtonState. @@ -930,7 +930,7 @@ Returns the number of rows in the table. See the "numRows" property for details. Reimplemented in TQDataTable. .SH "int QTable::numSelections () const" Returns the number of selections. See the "numSelections" property for details. -.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const QRect & cr, bool selected, const TQColorGroup & cg )\fC [virtual]\fR" +.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const TQRect & cr, bool selected, const TQColorGroup & cg )\fC [virtual]\fR" Paints the cell at \fIrow\fR, \fIcol\fR on the painter \fIp\fR. The painter has already been translated to the cell's origin. \fIcr\fR describes the cell coordinates in the content coordinate system. .PP If \fIselected\fR is TRUE the cell is highlighted. @@ -952,7 +952,7 @@ Note that the painter is not clipped by default in order to get maximum efficien p->setClipping( FALSE ); .br .fi -.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const QRect & cr, bool selected )\fC [virtual]\fR" +.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const TQRect & cr, bool selected )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Use the other paintCell() function. This function is only included for backwards compatibilty. @@ -960,17 +960,17 @@ Use the other paintCell() function. This function is only included for backwards This function fills the \fIcw\fR pixels wide and \fIch\fR pixels high rectangle starting at position \fIcx\fR, \fIcy\fR with the background color using the painter \fIp\fR. .PP paintEmptyArea() is invoked by drawContents() to erase or fill unused areas. -.SH "void QTable::paintFocus ( TQPainter * p, const QRect & cr )\fC [virtual]\fR" +.SH "void QTable::paintFocus ( TQPainter * p, const TQRect & cr )\fC [virtual]\fR" Draws the focus rectangle of the current cell (see currentRow(), currentColumn()). .PP The painter \fIp\fR is already translated to the cell's origin, while \fIcr\fR specifies the cell's geometry in content coordinates. -.SH "QPixmap QTable::pixmap ( int row, int col ) const\fC [virtual]\fR" +.SH "TQPixmap QTable::pixmap ( int row, int col ) const\fC [virtual]\fR" Returns the pixmap set for the cell at \fIrow\fR, \fIcol\fR, or a null-pixmap if the cell contains no pixmap. .PP See also setPixmap(). .PP Example: chart/setdataform.cpp. -.SH "void QTable::pressed ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR" +.SH "void QTable::pressed ( int row, int col, int button, const TQPoint & mousePos )\fC [signal]\fR" This signal is emitted when mouse button \fIbutton\fR is pressed. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR. .PP See also TQt::ButtonState. @@ -1133,7 +1133,7 @@ Example: regexptester/regexptester.cpp. Sets the number of columns in the table to \fIr\fR. See the "numCols" property for details. .SH "void QTable::setNumRows ( int r )\fC [virtual slot]\fR" Sets the number of rows in the table to \fIr\fR. See the "numRows" property for details. -.SH "void QTable::setPixmap ( int row, int col, const QPixmap & pix )\fC [virtual]\fR" +.SH "void QTable::setPixmap ( int row, int col, const TQPixmap & pix )\fC [virtual]\fR" Sets the pixmap in the cell at \fIrow\fR, \fIcol\fR to \fIpix\fR. .PP If the cell does not contain a table item a QTableItem is created with an EditType of \fCOnTyping\fR, otherwise the existing table item's pixmap (if any) is replaced with \fIpix\fR. diff --git a/doc/man/man3/tqtableitem.3qt b/doc/man/man3/tqtableitem.3qt index 9ffef04ff..563a3908d 100644 --- a/doc/man/man3/tqtableitem.3qt +++ b/doc/man/man3/tqtableitem.3qt @@ -27,19 +27,19 @@ Inherited by QComboTableItem and QCheckTableItem. .BI "\fBQTableItem\fR ( QTable * table, EditType et, const TQString & text )" .br .ti -1c -.BI "\fBQTableItem\fR ( QTable * table, EditType et, const TQString & text, const QPixmap & p )" +.BI "\fBQTableItem\fR ( QTable * table, EditType et, const TQString & text, const TQPixmap & p )" .br .ti -1c .BI "virtual \fB~QTableItem\fR ()" .br .ti -1c -.BI "virtual QPixmap \fBpixmap\fR () const" +.BI "virtual TQPixmap \fBpixmap\fR () const" .br .ti -1c .BI "virtual TQString \fBtext\fR () const" .br .ti -1c -.BI "virtual void \fBsetPixmap\fR ( const QPixmap & p )" +.BI "virtual void \fBsetPixmap\fR ( const TQPixmap & p )" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & str )" @@ -99,7 +99,7 @@ Inherited by QComboTableItem and QCheckTableItem. .BI "int \fBcol\fR () const" .br .ti -1c -.BI "virtual void \fBpaint\fR ( TQPainter * p, const TQColorGroup & cg, const QRect & cr, bool selected )" +.BI "virtual void \fBpaint\fR ( TQPainter * p, const TQColorGroup & cg, const TQRect & cr, bool selected )" .br .ti -1c .BI "virtual void \fBsetEnabled\fR ( bool b )" @@ -215,7 +215,7 @@ Creates a table item that is a child of table \fItable\fR with text \fItext\fR. The table item will use a QLineEdit for its editor, will not word-wrap and will occupy a single cell. Insert the table item into a table with QTable::setItem(). .PP The table takes ownership of the table item, so a table item should not be inserted into more than one table at a time. -.SH "QTableItem::QTableItem ( QTable * table, EditType et, const TQString & text, const QPixmap & p )" +.SH "QTableItem::QTableItem ( QTable * table, EditType et, const TQString & text, const TQPixmap & p )" Creates a table item that is a child of table \fItable\fR with text \fItext\fR and pixmap \fIp\fR. The item has the EditType \fIet\fR. .PP The table item will display the pixmap to the left of the text. It will use a QLineEdit for editing the text, will not word-wrap and will occupy a single cell. Insert the table item into a table with QTable::setItem(). @@ -294,7 +294,7 @@ See also setReplaceable() and EditType. This virtual function returns the key that should be used for sorting. The default implementation returns the text() of the relevant item. .PP See also QTable::sorting. -.SH "void QTableItem::paint ( TQPainter * p, const TQColorGroup & cg, const QRect & cr, bool selected )\fC [virtual]\fR" +.SH "void QTableItem::paint ( TQPainter * p, const TQColorGroup & cg, const TQRect & cr, bool selected )\fC [virtual]\fR" This virtual function is used to paint the contents of an item using the painter \fIp\fR in the rectangular area \fIcr\fR using the color group \fIcg\fR. .PP If \fIselected\fR is TRUE the cell is displayed in a way that indicates that it is highlighted. @@ -316,7 +316,7 @@ Note that the painter is not clipped by default in order to get maximum efficien .fi .PP Example: table/statistics/statistics.cpp. -.SH "QPixmap QTableItem::pixmap () const\fC [virtual]\fR" +.SH "TQPixmap QTableItem::pixmap () const\fC [virtual]\fR" Returns the table item's pixmap or a null pixmap if no pixmap has been set. .PP See also setPixmap() and text(). @@ -377,7 +377,7 @@ If \fIb\fR is TRUE, the table item is enabled; if \fIb\fR is FALSE the table ite A disabled item doesn't respond to user interaction. .PP See also isEnabled(). -.SH "void QTableItem::setPixmap ( const QPixmap & p )\fC [virtual]\fR" +.SH "void QTableItem::setPixmap ( const TQPixmap & p )\fC [virtual]\fR" Sets pixmap \fIp\fR to be this item's pixmap. .PP Note that setPixmap() does not update the cell the table item belongs to. Use QTable::updateCell() to repaint the cell's contents. diff --git a/doc/man/man3/tqtabletevent.3qt b/doc/man/man3/tqtabletevent.3qt index 8d866f9b2..52d6cb942 100644 --- a/doc/man/man3/tqtabletevent.3qt +++ b/doc/man/man3/tqtabletevent.3qt @@ -19,10 +19,10 @@ Inherits QEvent. .BI "enum \fBTabletDevice\fR { NoDevice = -1, Puck, Stylus, Eraser }" .br .ti -1c -.BI "\fBQTabletEvent\fR ( Type t, const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )" +.BI "\fBQTabletEvent\fR ( Type t, const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )" .br .ti -1c -.BI "QTabletEvent ( const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId ) \fI(obsolete)\fR" +.BI "QTabletEvent ( const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId ) \fI(obsolete)\fR" .br .ti -1c .BI "int \fBpressure\fR () const" @@ -34,10 +34,10 @@ Inherits QEvent. .BI "int \fByTilt\fR () const" .br .ti -1c -.BI "const QPoint & \fBpos\fR () const" +.BI "const TQPoint & \fBpos\fR () const" .br .ti -1c -.BI "const QPoint & \fBglobalPos\fR () const" +.BI "const TQPoint & \fBglobalPos\fR () const" .br .ti -1c .BI "int \fBx\fR () const" @@ -91,13 +91,13 @@ This enum defines what type of device is generating the event. .TP \fCQTabletEvent::Eraser\fR - An Eraser (the broad end of the pen). .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTabletEvent::QTabletEvent ( Type t, const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )" +.SH "QTabletEvent::QTabletEvent ( Type t, const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )" Construct a tablet event of type \fIt\fR. The position of when the event occurred is given int \fIpos\fR and \fIglobalPos\fR. \fIdevice\fR contains the device type, \fIpressure\fR contains the pressure exerted on the \fIdevice\fR, \fIxTilt\fR and \fIyTilt\fR contain \fIdevice\fR's degree of tilt from the X and Y axis respectively. The \fIuId\fR contains an event id. .PP On Irix, \fIglobalPos\fR will contain the high-resolution coordinates received from the tablet device driver, instead of from the windowing system. .PP See also pos(), globalPos(), device(), pressure(), xTilt(), and yTilt(). -.SH "QTabletEvent::QTabletEvent ( const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )" +.SH "QTabletEvent::QTabletEvent ( const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Constructs a tablet event object. The position when the event occurred is is given in \fIpos\fR and \fIglobalPos\fR. \fIdevice\fR contains the device type, \fIpressure\fR contains the pressure exerted on the \fIdevice\fR, \fIxTilt\fR and \fIyTilt\fR contain the \fIdevice\fR's degrees of tilt from the X and Y axis respectively. The \fIuId\fR contains an event id. @@ -117,7 +117,7 @@ See also ignore(). Returns the type of device that generated the event. Useful if you want one end of the pen to do something different than the other. .PP See also TabletDevice. -.SH "const QPoint & QTabletEvent::globalPos () const" +.SH "const TQPoint & QTabletEvent::globalPos () const" Returns the global position of the device \fIat the time of the event\fR. This is important on asynchronous windows systems like X11; whenever you move your widgets around in response to mouse events, globalPos() can differ significantly from the current position QCursor::pos(). .PP See also globalX() and globalY(). @@ -139,7 +139,7 @@ The accept flag is set by default. See also accept(). .SH "int QTabletEvent::isAccepted () const" Returns TRUE if the receiver of the event handles the tablet event; otherwise returns FALSE. -.SH "const QPoint & QTabletEvent::pos () const" +.SH "const TQPoint & QTabletEvent::pos () const" Returns the position of the device, relative to the widget that received the event. .PP If you move widgets around in response to mouse events, use globalPos() instead of this function. diff --git a/doc/man/man3/tqtextedit.3qt b/doc/man/man3/tqtextedit.3qt index 8a485c423..cf041bf7b 100644 --- a/doc/man/man3/tqtextedit.3qt +++ b/doc/man/man3/tqtextedit.3qt @@ -78,13 +78,13 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "int \fBlength\fR () const" .br .ti -1c -.BI "QRect \fBparagraphRect\fR ( int para ) const" +.BI "TQRect \fBparagraphRect\fR ( int para ) const" .br .ti -1c -.BI "int \fBparagraphAt\fR ( const QPoint & pos ) const" +.BI "int \fBparagraphAt\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "int \fBcharAt\fR ( const QPoint & pos, int * para ) const" +.BI "int \fBcharAt\fR ( const TQPoint & pos, int * para ) const" .br .ti -1c .BI "int \fBparagraphLength\fR ( int para ) const" @@ -129,10 +129,10 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "int \fBtabStopWidth\fR () const" .br .ti -1c -.BI "TQString \fBanchorAt\fR ( const QPoint & pos )" +.BI "TQString \fBanchorAt\fR ( const TQPoint & pos )" .br .ti -1c -.BI "TQString \fBanchorAt\fR ( const QPoint & pos, AnchorAttribute attr )" +.BI "TQString \fBanchorAt\fR ( const TQPoint & pos, AnchorAttribute attr )" .br .ti -1c .BI "bool \fBisReadOnly\fR () const" @@ -327,7 +327,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "virtual void \fBensureCursorVisible\fR ()" .br .ti -1c -.BI "virtual void \fBplaceCursor\fR ( const QPoint & pos, TQTextCursor * c = 0 )" +.BI "virtual void \fBplaceCursor\fR ( const TQPoint & pos, TQTextCursor * c = 0 )" .br .ti -1c .BI "virtual void \fBmoveCursor\fR ( CursorAction action, bool select )" @@ -504,7 +504,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "TQTextCursor * \fBtextCursor\fR () const" .br .ti -1c -.BI "virtual TQPopupMenu * \fBcreatePopupMenu\fR ( const QPoint & pos )" +.BI "virtual TQPopupMenu * \fBcreatePopupMenu\fR ( const TQPoint & pos )" .br .ti -1c .BI "virtual TQPopupMenu * createPopupMenu () \fI(obsolete)\fR" @@ -783,9 +783,9 @@ Constructs an empty TQTextEdit called \fIname\fR, with parent \fIparent\fR. Returns the alignment of the current paragraph. .PP See also setAlignment(). -.SH "TQString TQTextEdit::anchorAt ( const QPoint & pos, AnchorAttribute attr )" +.SH "TQString TQTextEdit::anchorAt ( const TQPoint & pos, AnchorAttribute attr )" If there is an anchor at position \fIpos\fR (in contents coordinates), the text for attribute \fIattr\fR is returned, otherwise TQString::null is returned. -.SH "TQString TQTextEdit::anchorAt ( const QPoint & pos )" +.SH "TQString TQTextEdit::anchorAt ( const TQPoint & pos )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP If there is an anchor at position \fIpos\fR (in contents coordinates), its \fChref\fR is returned, otherwise TQString::null is returned. @@ -800,7 +800,7 @@ Returns the enabled set of auto formatting features. See the "autoFormatting" pr Returns TRUE if the current format is bold; otherwise returns FALSE. .PP See also setBold(). -.SH "int TQTextEdit::charAt ( const QPoint & pos, int * para ) const" +.SH "int TQTextEdit::charAt ( const TQPoint & pos, int * para ) const" Returns the index of the character (relative to its paragraph) at position \fIpos\fR (in contents coordinates). If \fIpara\fR is not 0, \fI*para\fR is set to the character's paragraph. .SH "void TQTextEdit::clear ()\fC [virtual slot]\fR" Deletes all the text in the text edit. @@ -835,7 +835,7 @@ When text is selected this signal will be emitted with \fIyes\fR set to TRUE. If If \fIyes\fR is TRUE then copy() can be used to copy the selection to the clipboard. If \fIyes\fR is FALSE then copy() does nothing. .PP See also selectionChanged(). -.SH "TQPopupMenu * TQTextEdit::createPopupMenu ( const QPoint & pos )\fC [virtual protected]\fR" +.SH "TQPopupMenu * TQTextEdit::createPopupMenu ( const TQPoint & pos )\fC [virtual protected]\fR" This function is called to create a right mouse button popup menu at the document position \fIpos\fR. If you want to create a custom popup menu, reimplement this function and return the created popup menu. Ownership of the popup menu is transferred to the caller. .PP \fBWarning:\fR The TQPopupMenu ID values 0-7 are reserved, and they map to the standard operations. When inserting items into your custom popup menu, be sure to specify ID values larger than 7. @@ -846,7 +846,7 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP This function is called to create a right mouse button popup menu. If you want to create a custom popup menu, reimplement this function and return the created popup menu. Ownership of the popup menu is transferred to the caller. .PP -This function is only called if createPopupMenu( const QPoint & ) returns 0. +This function is only called if createPopupMenu( const TQPoint & ) returns 0. .SH "void TQTextEdit::currentAlignmentChanged ( int a )\fC [signal]\fR" This signal is emitted if the alignment of the current paragraph has changed. .PP @@ -1016,7 +1016,7 @@ See also modified. Moves the text cursor according to \fIaction\fR. This is normally used by some key event handler. \fIselect\fR specifies whether the text between the current cursor position and the new position should be selected. .SH "TQBrush TQTextEdit::paper () const" Returns the background (paper) brush. See the "paper" property for details. -.SH "int TQTextEdit::paragraphAt ( const QPoint & pos ) const" +.SH "int TQTextEdit::paragraphAt ( const TQPoint & pos ) const" Returns the paragraph which is at position \fIpos\fR (in contents coordinates). .SH "TQColor TQTextEdit::paragraphBackgroundColor ( int para ) const" Returns the background color of the paragraph \fIpara\fR or an invalid color if \fIpara\fR is out of range or the paragraph has no background set @@ -1024,7 +1024,7 @@ Returns the background color of the paragraph \fIpara\fR or an invalid color if Returns the length of the paragraph \fIpara\fR (i.e. the number of characters), or -1 if there is no paragraph with index \fIpara\fR. .PP This function ignores newlines. -.SH "QRect TQTextEdit::paragraphRect ( int para ) const" +.SH "TQRect TQTextEdit::paragraphRect ( int para ) const" Returns the rectangle of the paragraph \fIpara\fR in contents coordinates, or an invalid rectangle if \fIpara\fR is out of range. .SH "int TQTextEdit::paragraphs () const" Returns the number of paragraphs in the text; an empty textedit is always considered to have one paragraph, so 1 is returned in this case. @@ -1040,7 +1040,7 @@ Pastes the text with format \fIsubtype\fR from the clipboard into the text edit If there is no text with format \fIsubtype\fR in the clipboard nothing happens. .PP See also paste(), cut(), and TQTextEdit::copy(). -.SH "void TQTextEdit::placeCursor ( const QPoint & pos, TQTextCursor * c = 0 )\fC [virtual slot]\fR" +.SH "void TQTextEdit::placeCursor ( const TQPoint & pos, TQTextCursor * c = 0 )\fC [virtual slot]\fR" Places the cursor \fIc\fR at the character which is closest to position \fIpos\fR (in contents coordinates). If \fIc\fR is 0, the default text cursor is used. .PP See also setCursorPosition(). diff --git a/doc/man/man3/tqtoolbutton.3qt b/doc/man/man3/tqtoolbutton.3qt index 6b3f8bbf1..608b2ea2b 100644 --- a/doc/man/man3/tqtoolbutton.3qt +++ b/doc/man/man3/tqtoolbutton.3qt @@ -112,7 +112,7 @@ Inherits QButton. .BI "bool \fBon\fR - whether this tool button is on" .br .ti -1c -.BI "QPixmap \fBpixmap\fR - the pixmap of the button \fI(read " "only" ")\fR" +.BI "TQPixmap \fBpixmap\fR - the pixmap of the button \fI(read " "only" ")\fR" .br .ti -1c .BI "int \fBpopupDelay\fR - the time delay between pressing the button and the appearance of the associated popup menu in milliseconds" @@ -270,7 +270,7 @@ This property has no effect on non-toggling buttons. The default is FALSE (i.e. See also toggleButton and toggle(). .PP Set this property's value with setOn(). -.SH "QPixmap pixmap" +.SH "TQPixmap pixmap" This property holds the pixmap of the button. .PP The pixmap property has no meaning for tool buttons. Use the iconSet property instead. diff --git a/doc/man/man3/tqtooltip.3qt b/doc/man/man3/tqtooltip.3qt index 98138cfcc..efc66404f 100644 --- a/doc/man/man3/tqtooltip.3qt +++ b/doc/man/man3/tqtooltip.3qt @@ -37,16 +37,16 @@ Inherits Qt. .BI "void \fBremove\fR ( TQWidget * widget )" .br .ti -1c -.BI "void \fBadd\fR ( TQWidget * widget, const QRect & rect, const TQString & text )" +.BI "void \fBadd\fR ( TQWidget * widget, const TQRect & rect, const TQString & text )" .br .ti -1c -.BI "void \fBadd\fR ( TQWidget * widget, const QRect & rect, const TQString & text, TQToolTipGroup * group, const TQString & groupText )" +.BI "void \fBadd\fR ( TQWidget * widget, const TQRect & rect, const TQString & text, TQToolTipGroup * group, const TQString & groupText )" .br .ti -1c -.BI "void \fBremove\fR ( TQWidget * widget, const QRect & rect )" +.BI "void \fBremove\fR ( TQWidget * widget, const TQRect & rect )" .br .ti -1c -.BI "TQString \fBtextFor\fR ( TQWidget * widget, const QPoint & pos = QPoint ( ) )" +.BI "TQString \fBtextFor\fR ( TQWidget * widget, const TQPoint & pos = TQPoint ( ) )" .br .ti -1c .BI "void \fBhide\fR ()" @@ -58,10 +58,10 @@ Inherits Qt. .BI "void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c -.BI "QPalette \fBpalette\fR ()" +.BI "TQPalette \fBpalette\fR ()" .br .ti -1c -.BI "void \fBsetPalette\fR ( const QPalette & palette )" +.BI "void \fBsetPalette\fR ( const TQPalette & palette )" .br .ti -1c .BI "void setEnabled ( bool enable ) \fI(obsolete)\fR" @@ -82,19 +82,19 @@ Inherits Qt. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBmaybeTip\fR ( const QPoint & p ) = 0" +.BI "virtual void \fBmaybeTip\fR ( const TQPoint & p ) = 0" .br .ti -1c -.BI "void \fBtip\fR ( const QRect & rect, const TQString & text )" +.BI "void \fBtip\fR ( const TQRect & rect, const TQString & text )" .br .ti -1c -.BI "void \fBtip\fR ( const QRect & rect, const TQString & text, const TQString & groupText )" +.BI "void \fBtip\fR ( const TQRect & rect, const TQString & text, const TQString & groupText )" .br .ti -1c -.BI "void \fBtip\fR ( const QRect & rect, const TQString & text, const QRect & geometry )" +.BI "void \fBtip\fR ( const TQRect & rect, const TQString & text, const TQRect & geometry )" .br .ti -1c -.BI "void \fBtip\fR ( const QRect & rect, const TQString & text, const TQString & groupText, const QRect & geometry )" +.BI "void \fBtip\fR ( const TQRect & rect, const TQString & text, const TQString & groupText, const TQRect & geometry )" .br .ti -1c .BI "void \fBclear\fR ()" @@ -202,11 +202,11 @@ Adds a tool tip to \fIwidget\fR and to tool tip group \fIgroup\fR. \fItext\fR is the text shown in the tool tip and \fIlongText\fR is the text emitted from \fIgroup\fR. .PP Normally, \fIlongText\fR is shown in a status bar or similar. -.SH "void TQToolTip::add ( TQWidget * widget, const QRect & rect, const TQString & text )\fC [static]\fR" +.SH "void TQToolTip::add ( TQWidget * widget, const TQRect & rect, const TQString & text )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds a tool tip to a fixed rectangle, \fIrect\fR, within \fIwidget\fR. \fItext\fR is the text shown in the tool tip. -.SH "void TQToolTip::add ( TQWidget * widget, const QRect & rect, const TQString & text, TQToolTipGroup * group, const TQString & groupText )\fC [static]\fR" +.SH "void TQToolTip::add ( TQWidget * widget, const TQRect & rect, const TQString & text, TQToolTipGroup * group, const TQString & groupText )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds a tool tip to an entire \fIwidget\fR and to tool tip group \fIgroup\fR. The tooltip will disappear when the mouse leaves the \fIrect\fR. @@ -236,7 +236,7 @@ Normally, there is no need to call this function; TQToolTip takes care of showin Returns whether tool tips are enabled globally. .PP See also setGloballyEnabled(). -.SH "void TQToolTip::maybeTip ( const QPoint & p )\fC [pure virtual protected]\fR" +.SH "void TQToolTip::maybeTip ( const TQPoint & p )\fC [pure virtual protected]\fR" This pure virtual function is half of the most versatile interface TQToolTip offers. .PP It is called when there is a possibility that a tool tip should be shown and must decide whether there is a tool tip for the point \fIp\fR in the widget that this TQToolTip object relates to. If so, maybeTip() must call tip() with the rectangle the tip applies to, the tip's text and optionally the TQToolTipGroup details and the geometry in screen coordinates. @@ -261,7 +261,7 @@ See also tip(). .PP Examples: .)l helpsystem/tooltip.cpp and tooltip/tooltip.cpp. -.SH "QPalette TQToolTip::palette ()\fC [static]\fR" +.SH "TQPalette TQToolTip::palette ()\fC [static]\fR" Returns the palette common to all tool tips. .PP See also setPalette(). @@ -275,7 +275,7 @@ See also group(). Removes the tool tip from \fIwidget\fR. .PP If there is more than one tool tip on \fIwidget\fR, only the one covering the entire widget is removed. -.SH "void TQToolTip::remove ( TQWidget * widget, const QRect & rect )\fC [static]\fR" +.SH "void TQToolTip::remove ( TQWidget * widget, const TQRect & rect )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Removes any tool tip for \fIrect\fR from \fIwidget\fR. @@ -293,25 +293,25 @@ If \fIenable\fR is TRUE sets all tool tips to be enabled (shown when needed); if By default, tool tips are enabled. Note that this function affects all tool tips in the entire application. .PP See also TQToolTipGroup::enabled. -.SH "void TQToolTip::setPalette ( const QPalette & palette )\fC [static]\fR" +.SH "void TQToolTip::setPalette ( const TQPalette & palette )\fC [static]\fR" Sets the palette for all tool tips to \fIpalette\fR. .PP See also palette(). .SH "void TQToolTip::setWakeUpDelay ( int i )\fC [static]\fR" Sets the wakeup delay for all tooltips to \fIi\fR milliseconds. -.SH "TQString TQToolTip::textFor ( TQWidget * widget, const QPoint & pos = QPoint ( ) )\fC [static]\fR" +.SH "TQString TQToolTip::textFor ( TQWidget * widget, const TQPoint & pos = TQPoint ( ) )\fC [static]\fR" Returns the tool tip text for \fIwidget\fR at position \fIpos\fR, or TQString::null if there is no tool tip for the given widget and position. -.SH "void TQToolTip::tip ( const QRect & rect, const TQString & text )\fC [protected]\fR" +.SH "void TQToolTip::tip ( const TQRect & rect, const TQString & text )\fC [protected]\fR" Immediately pops up a tip saying \fItext\fR and removes the tip once the cursor moves out of rectangle \fIrect\fR (which is given in the coordinate system of the widget this TQToolTip relates to). .PP The tip will not reappear if the cursor moves back; your maybeTip() must reinstate it each time. -.SH "void TQToolTip::tip ( const QRect & rect, const TQString & text, const TQString & groupText )\fC [protected]\fR" +.SH "void TQToolTip::tip ( const TQRect & rect, const TQString & text, const TQString & groupText )\fC [protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Immediately pops up a tip saying \fItext\fR and removes that tip once the cursor moves out of rectangle \fIrect\fR (which is given in the coordinate system of the widget this TQToolTip relates to). \fIgroupText\fR is the text emitted from the group. .PP The tip will not reappear if the cursor moves back; your maybeTip() must reinstate it each time. -.SH "void TQToolTip::tip ( const QRect & rect, const TQString & text, const QRect & geometry )\fC [protected]\fR" +.SH "void TQToolTip::tip ( const TQRect & rect, const TQString & text, const TQRect & geometry )\fC [protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Immediately pops up a tip within the rectangle \fIgeometry\fR, saying \fItext\fR and removes the tip once the cursor moves out of rectangle \fIrect\fR. Both rectangles are given in the coordinate system of the widget this TQToolTip relates to. @@ -319,7 +319,7 @@ Immediately pops up a tip within the rectangle \fIgeometry\fR, saying \fItext\fR The tip will not reappear if the cursor moves back; your maybeTip() must reinstate it each time. .PP If the tip does not fit inside \fIgeometry\fR, the tip expands. -.SH "void TQToolTip::tip ( const QRect & rect, const TQString & text, const TQString & groupText, const QRect & geometry )\fC [protected]\fR" +.SH "void TQToolTip::tip ( const TQRect & rect, const TQString & text, const TQString & groupText, const TQRect & geometry )\fC [protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Immediately pops up a tip within the rectangle \fIgeometry\fR, saying \fItext\fR and removes the tip once the cursor moves out of rectangle \fIrect\fR. \fIgroupText\fR is the text emitted from the group. Both rectangles are given in the coordinate system of the widget this TQToolTip relates to. diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt index 5a75879ed..6623e73cd 100644 --- a/doc/man/man3/tqvariant.3qt +++ b/doc/man/man3/tqvariant.3qt @@ -44,7 +44,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const TQFont & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QPixmap & val )" +.BI "\fBQVariant\fR ( const TQPixmap & val )" .br .ti -1c .BI "\fBQVariant\fR ( const TQImage & val )" @@ -53,10 +53,10 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const TQBrush & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QPoint & val )" +.BI "\fBQVariant\fR ( const TQPoint & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QRect & val )" +.BI "\fBQVariant\fR ( const TQRect & val )" .br .ti -1c .BI "\fBQVariant\fR ( const TQSize & val )" @@ -65,7 +65,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const TQColor & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QPalette & val )" +.BI "\fBQVariant\fR ( const TQPalette & val )" .br .ti -1c .BI "\fBQVariant\fR ( const TQColorGroup & val )" @@ -74,10 +74,10 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const TQIconSet & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QPointArray & val )" +.BI "\fBQVariant\fR ( const TQPointArray & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QRegion & val )" +.BI "\fBQVariant\fR ( const TQRegion & val )" .br .ti -1c .BI "\fBQVariant\fR ( const TQBitmap & val )" @@ -104,7 +104,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const QKeySequence & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QPen & val )" +.BI "\fBQVariant\fR ( const TQPen & val )" .br .ti -1c .BI "\fBQVariant\fR ( const TQValueList<QVariant> & val )" @@ -176,7 +176,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const TQFont \fBtoFont\fR () const" .br .ti -1c -.BI "const QPixmap \fBtoPixmap\fR () const" +.BI "const TQPixmap \fBtoPixmap\fR () const" .br .ti -1c .BI "const TQImage \fBtoImage\fR () const" @@ -185,10 +185,10 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const TQBrush \fBtoBrush\fR () const" .br .ti -1c -.BI "const QPoint \fBtoPoint\fR () const" +.BI "const TQPoint \fBtoPoint\fR () const" .br .ti -1c -.BI "const QRect \fBtoRect\fR () const" +.BI "const TQRect \fBtoRect\fR () const" .br .ti -1c .BI "const TQSize \fBtoSize\fR () const" @@ -197,7 +197,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const TQColor \fBtoColor\fR () const" .br .ti -1c -.BI "const QPalette \fBtoPalette\fR () const" +.BI "const TQPalette \fBtoPalette\fR () const" .br .ti -1c .BI "const TQColorGroup \fBtoColorGroup\fR () const" @@ -206,13 +206,13 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const TQIconSet \fBtoIconSet\fR () const" .br .ti -1c -.BI "const QPointArray \fBtoPointArray\fR () const" +.BI "const TQPointArray \fBtoPointArray\fR () const" .br .ti -1c .BI "const TQBitmap \fBtoBitmap\fR () const" .br .ti -1c -.BI "const QRegion \fBtoRegion\fR () const" +.BI "const TQRegion \fBtoRegion\fR () const" .br .ti -1c .BI "const QCursor \fBtoCursor\fR () const" @@ -236,7 +236,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const QKeySequence \fBtoKeySequence\fR () const" .br .ti -1c -.BI "const QPen \fBtoPen\fR () const" +.BI "const TQPen \fBtoPen\fR () const" .br .ti -1c .BI "int \fBtoInt\fR ( bool * ok = 0 ) const" @@ -299,7 +299,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "TQFont & \fBasFont\fR ()" .br .ti -1c -.BI "QPixmap & \fBasPixmap\fR ()" +.BI "TQPixmap & \fBasPixmap\fR ()" .br .ti -1c .BI "TQImage & \fBasImage\fR ()" @@ -308,10 +308,10 @@ QVariant \- Acts like a union for the most common TQt data types .BI "TQBrush & \fBasBrush\fR ()" .br .ti -1c -.BI "QPoint & \fBasPoint\fR ()" +.BI "TQPoint & \fBasPoint\fR ()" .br .ti -1c -.BI "QRect & \fBasRect\fR ()" +.BI "TQRect & \fBasRect\fR ()" .br .ti -1c .BI "TQSize & \fBasSize\fR ()" @@ -320,7 +320,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "TQColor & \fBasColor\fR ()" .br .ti -1c -.BI "QPalette & \fBasPalette\fR ()" +.BI "TQPalette & \fBasPalette\fR ()" .br .ti -1c .BI "TQColorGroup & \fBasColorGroup\fR ()" @@ -329,13 +329,13 @@ QVariant \- Acts like a union for the most common TQt data types .BI "TQIconSet & \fBasIconSet\fR ()" .br .ti -1c -.BI "QPointArray & \fBasPointArray\fR ()" +.BI "TQPointArray & \fBasPointArray\fR ()" .br .ti -1c .BI "TQBitmap & \fBasBitmap\fR ()" .br .ti -1c -.BI "QRegion & \fBasRegion\fR ()" +.BI "TQRegion & \fBasRegion\fR ()" .br .ti -1c .BI "QCursor & \fBasCursor\fR ()" @@ -359,7 +359,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "QKeySequence & \fBasKeySequence\fR ()" .br .ti -1c -.BI "QPen & \fBasPen\fR ()" +.BI "TQPen & \fBasPen\fR ()" .br .ti -1c .BI "int & \fBasInt\fR ()" @@ -407,7 +407,7 @@ A QVariant object holds a single value of a single type() at a time. (Some type( .PP The methods named toT() (for any supported T, see the Type documentation for a list) are const. If you ask for the stored type, they return a copy of the stored object. If you ask for a type that can be generated from the stored type, toT() copies and converts and leaves the object itself unchanged. If you ask for a type that cannot be generated from the stored type, the result depends on the type (see the function documentation for details). .PP -Note that three data types supported by QVariant are explicitly shared, namely TQImage, QPointArray, and TQCString, and in these cases the toT() methods return a shallow copy. In almost all cases you must make a deep copy of the returned values before modifying them. +Note that three data types supported by QVariant are explicitly shared, namely TQImage, TQPointArray, and TQCString, and in these cases the toT() methods return a shallow copy. In almost all cases you must make a deep copy of the returned values before modifying them. .PP The asT() functions are not const. They do conversion like the toT() methods, set the variant to hold the converted value, and return a reference to the new contents of the variant. .PP @@ -516,19 +516,19 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::Map\fR - a TQMap<TQString,QVariant> .TP -\fCQVariant::Palette\fR - a QPalette +\fCQVariant::Palette\fR - a TQPalette .TP -\fCQVariant::Pen\fR - a QPen +\fCQVariant::Pen\fR - a TQPen .TP -\fCQVariant::Pixmap\fR - a QPixmap +\fCQVariant::Pixmap\fR - a TQPixmap .TP -\fCQVariant::Point\fR - a QPoint +\fCQVariant::Point\fR - a TQPoint .TP -\fCQVariant::PointArray\fR - a QPointArray +\fCQVariant::PointArray\fR - a TQPointArray .TP -\fCQVariant::Rect\fR - a QRect +\fCQVariant::Rect\fR - a TQRect .TP -\fCQVariant::Region\fR - a QRegion +\fCQVariant::Region\fR - a TQRegion .TP \fCQVariant::Size\fR - a TQSize .TP @@ -572,7 +572,7 @@ If \fIval\fR is null, the resulting variant has type Invalid. Constructs a new variant with a string list value, \fIval\fR. .SH "QVariant::QVariant ( const TQFont & val )" Constructs a new variant with a font value, \fIval\fR. -.SH "QVariant::QVariant ( const QPixmap & val )" +.SH "QVariant::QVariant ( const TQPixmap & val )" Constructs a new variant with a pixmap value, \fIval\fR. .SH "QVariant::QVariant ( const TQImage & val )" Constructs a new variant with an image value, \fIval\fR. @@ -580,25 +580,25 @@ Constructs a new variant with an image value, \fIval\fR. Because TQImage is explicitly shared, you may need to pass a deep copy to the variant using TQImage::copy(), e.g. if you intend changing the image you've passed later on. .SH "QVariant::QVariant ( const TQBrush & val )" Constructs a new variant with a brush value, \fIval\fR. -.SH "QVariant::QVariant ( const QPoint & val )" +.SH "QVariant::QVariant ( const TQPoint & val )" Constructs a new variant with a point value, \fIval\fR. -.SH "QVariant::QVariant ( const QRect & val )" +.SH "QVariant::QVariant ( const TQRect & val )" Constructs a new variant with a rect value, \fIval\fR. .SH "QVariant::QVariant ( const TQSize & val )" Constructs a new variant with a size value, \fIval\fR. .SH "QVariant::QVariant ( const TQColor & val )" Constructs a new variant with a color value, \fIval\fR. -.SH "QVariant::QVariant ( const QPalette & val )" +.SH "QVariant::QVariant ( const TQPalette & val )" Constructs a new variant with a color palette value, \fIval\fR. .SH "QVariant::QVariant ( const TQColorGroup & val )" Constructs a new variant with a color group value, \fIval\fR. .SH "QVariant::QVariant ( const TQIconSet & val )" Constructs a new variant with an icon set value, \fIval\fR. -.SH "QVariant::QVariant ( const QPointArray & val )" +.SH "QVariant::QVariant ( const TQPointArray & val )" Constructs a new variant with a point array value, \fIval\fR. .PP -Because QPointArray is explicitly shared, you may need to pass a deep copy to the variant using QPointArray::copy(), e.g. if you intend changing the point array you've passed later on. -.SH "QVariant::QVariant ( const QRegion & val )" +Because TQPointArray is explicitly shared, you may need to pass a deep copy to the variant using TQPointArray::copy(), e.g. if you intend changing the point array you've passed later on. +.SH "QVariant::QVariant ( const TQRegion & val )" Constructs a new variant with a region value, \fIval\fR. .SH "QVariant::QVariant ( const TQBitmap & val )" Constructs a new variant with a bitmap value, \fIval\fR. @@ -616,7 +616,7 @@ Constructs a new variant with a bytearray value, \fIval\fR. Constructs a new variant with a bitarray value, \fIval\fR. .SH "QVariant::QVariant ( const QKeySequence & val )" Constructs a new variant with a key sequence value, \fIval\fR. -.SH "QVariant::QVariant ( const QPen & val )" +.SH "QVariant::QVariant ( const TQPen & val )" Constructs a new variant with a pen value, \fIval\fR. .SH "QVariant::QVariant ( const TQValueList<QVariant> & val )" Constructs a new variant with a list value, \fIval\fR. @@ -766,44 +766,44 @@ Note that if you want to iterate over the map, you should iterate over a copy, e } .br .fi -.SH "QPalette & QVariant::asPalette ()" -Tries to convert the variant to hold a QPalette value. If that is not possible the variant is set to a palette of black colors. +.SH "TQPalette & QVariant::asPalette ()" +Tries to convert the variant to hold a TQPalette value. If that is not possible the variant is set to a palette of black colors. .PP Returns a reference to the stored palette. .PP See also toString(). -.SH "QPen & QVariant::asPen ()" -Tries to convert the variant to hold a QPen value. If that is not possible then the variant is set to an empty pen. +.SH "TQPen & QVariant::asPen ()" +Tries to convert the variant to hold a TQPen value. If that is not possible then the variant is set to an empty pen. .PP Returns a reference to the stored pen. .PP See also toPen(). -.SH "QPixmap & QVariant::asPixmap ()" +.SH "TQPixmap & QVariant::asPixmap ()" Tries to convert the variant to hold a pixmap value. If that is not possible the variant is set to a null pixmap. .PP Returns a reference to the stored pixmap. .PP See also toPixmap(). -.SH "QPoint & QVariant::asPoint ()" +.SH "TQPoint & QVariant::asPoint ()" Tries to convert the variant to hold a point value. If that is not possible the variant is set to a (0, 0) point. .PP Returns a reference to the stored point. .PP See also toPoint(). -.SH "QPointArray & QVariant::asPointArray ()" -Tries to convert the variant to hold a QPointArray value. If that is not possible the variant is set to an empty point array. +.SH "TQPointArray & QVariant::asPointArray ()" +Tries to convert the variant to hold a TQPointArray value. If that is not possible the variant is set to an empty point array. .PP Returns a reference to the stored point array. .PP See also toPointArray(). -.SH "QRect & QVariant::asRect ()" +.SH "TQRect & QVariant::asRect ()" Tries to convert the variant to hold a rectangle value. If that is not possible the variant is set to an empty rectangle. .PP Returns a reference to the stored rectangle. .PP See also toRect(). -.SH "QRegion & QVariant::asRegion ()" -Tries to convert the variant to hold a QRegion value. If that is not possible the variant is set to a null region. +.SH "TQRegion & QVariant::asRegion ()" +Tries to convert the variant to hold a TQRegion value. If that is not possible the variant is set to a null region. .PP Returns a reference to the stored region. .PP @@ -1043,32 +1043,32 @@ Note that if you want to iterate over the map, you should iterate over a copy, e .fi .PP See also asMap(). -.SH "const QPalette QVariant::toPalette () const" -Returns the variant as a QPalette if the variant has type() Palette; otherwise returns a completely black palette. +.SH "const TQPalette QVariant::toPalette () const" +Returns the variant as a TQPalette if the variant has type() Palette; otherwise returns a completely black palette. .PP See also asPalette(). -.SH "const QPen QVariant::toPen () const" -Returns the variant as a QPen if the variant has type() Pen; otherwise returns an empty QPen. +.SH "const TQPen QVariant::toPen () const" +Returns the variant as a TQPen if the variant has type() Pen; otherwise returns an empty TQPen. .PP See also asPen(). -.SH "const QPixmap QVariant::toPixmap () const" -Returns the variant as a QPixmap if the variant has type() Pixmap; otherwise returns a null pixmap. +.SH "const TQPixmap QVariant::toPixmap () const" +Returns the variant as a TQPixmap if the variant has type() Pixmap; otherwise returns a null pixmap. .PP See also asPixmap(). -.SH "const QPoint QVariant::toPoint () const" -Returns the variant as a QPoint if the variant has type() Point; otherwise returns a point (0, 0). +.SH "const TQPoint QVariant::toPoint () const" +Returns the variant as a TQPoint if the variant has type() Point; otherwise returns a point (0, 0). .PP See also asPoint(). -.SH "const QPointArray QVariant::toPointArray () const" -Returns the variant as a QPointArray if the variant has type() PointArray; otherwise returns an empty QPointArray. +.SH "const TQPointArray QVariant::toPointArray () const" +Returns the variant as a TQPointArray if the variant has type() PointArray; otherwise returns an empty TQPointArray. .PP See also asPointArray(). -.SH "const QRect QVariant::toRect () const" -Returns the variant as a QRect if the variant has type() Rect; otherwise returns an empty rectangle. +.SH "const TQRect QVariant::toRect () const" +Returns the variant as a TQRect if the variant has type() Rect; otherwise returns an empty rectangle. .PP See also asRect(). -.SH "const QRegion QVariant::toRegion () const" -Returns the variant as a QRegion if the variant has type() Region; otherwise returns an empty QRegion. +.SH "const TQRegion QVariant::toRegion () const" +Returns the variant as a TQRegion if the variant has type() Region; otherwise returns an empty TQRegion. .PP See also asRegion(). .SH "const TQSize QVariant::toSize () const" diff --git a/doc/man/man3/tqwhatsthis.3qt b/doc/man/man3/tqwhatsthis.3qt index 78fb7b506..0912cee25 100644 --- a/doc/man/man3/tqwhatsthis.3qt +++ b/doc/man/man3/tqwhatsthis.3qt @@ -22,7 +22,7 @@ Inherits Qt. .BI "virtual \fB~QWhatsThis\fR ()" .br .ti -1c -.BI "virtual TQString \fBtext\fR ( const QPoint & )" +.BI "virtual TQString \fBtext\fR ( const TQPoint & )" .br .ti -1c .BI "virtual bool \fBclicked\fR ( const TQString & href )" @@ -40,7 +40,7 @@ Inherits Qt. .BI "void \fBremove\fR ( TQWidget * widget )" .br .ti -1c -.BI "TQString \fBtextFor\fR ( TQWidget * w, const QPoint & pos = QPoint ( ), bool includeParents = FALSE )" +.BI "TQString \fBtextFor\fR ( TQWidget * w, const TQPoint & pos = TQPoint ( ), bool includeParents = FALSE )" .br .ti -1c .BI "TQToolButton * \fBwhatsThisButton\fR ( TQWidget * parent )" @@ -52,10 +52,10 @@ Inherits Qt. .BI "bool \fBinWhatsThisMode\fR ()" .br .ti -1c -.BI "void \fBleaveWhatsThisMode\fR ( const TQString & text = TQString::null, const QPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )" +.BI "void \fBleaveWhatsThisMode\fR ( const TQString & text = TQString::null, const TQPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )" .br .ti -1c -.BI "void \fBdisplay\fR ( const TQString & text, const QPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )" +.BI "void \fBdisplay\fR ( const TQString & text, const TQPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )" .br .in -1c .SH DESCRIPTION @@ -128,7 +128,7 @@ This virtual function is called when the user clicks inside the" What's this?" w If the function returns TRUE (the default), the "What's this?" window is closed, otherwise it remains visible. .PP The default implementation ignores \fIhref\fR and returns TRUE. -.SH "void QWhatsThis::display ( const TQString & text, const QPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR" +.SH "void QWhatsThis::display ( const TQString & text, const TQPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR" Display \fItext\fR in a help window at the global screen position \fIpos\fR. .PP If widget \fIw\fR is not 0 and has its own dedicated QWhatsThis object, this object will receive clicked() messages when the user clicks on hyperlinks inside the help text. @@ -146,7 +146,7 @@ See also inWhatsThisMode() and leaveWhatsThisMode(). Returns TRUE if the application is in "What's this?" mode; otherwise returns FALSE. .PP See also enterWhatsThisMode() and leaveWhatsThisMode(). -.SH "void QWhatsThis::leaveWhatsThisMode ( const TQString & text = TQString::null, const QPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR" +.SH "void QWhatsThis::leaveWhatsThisMode ( const TQString & text = TQString::null, const TQPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR" Leaves "What's this?" question mode. .PP This function is used internally by widgets that support TQWidget::customWhatsThis(); applications do not usually call it. An example of such a widget is TQPopupMenu: menus still work normally in "What's this?" mode but also provide help texts for individual menu items. @@ -160,11 +160,11 @@ Removes the "What's this?" help associated with the \fIwidget\fR. This happens a See also add(). .SH "void QWhatsThis::setFont ( const TQFont & font )\fC [static]\fR" Sets the font for all "What's this?" helps to \fIfont\fR. -.SH "TQString QWhatsThis::text ( const QPoint & )\fC [virtual]\fR" +.SH "TQString QWhatsThis::text ( const TQPoint & )\fC [virtual]\fR" This virtual function returns the text for position \fIp\fR in the widget that this "What's this?" object documents. If there is no" What's this?" text for the position, TQString::null is returned. .PP The default implementation returns TQString::null. -.SH "TQString QWhatsThis::textFor ( TQWidget * w, const QPoint & pos = QPoint ( ), bool includeParents = FALSE )\fC [static]\fR" +.SH "TQString QWhatsThis::textFor ( TQWidget * w, const TQPoint & pos = TQPoint ( ), bool includeParents = FALSE )\fC [static]\fR" Returns the what's this text for widget \fIw\fR or TQString::null if there is no "What's this?" help for the widget. \fIpos\fR contains the mouse position; this is useful, for example, if you've subclassed to make the text that is displayed position dependent. .PP If \fIincludeParents\fR is TRUE, parent widgets are taken into consideration as well when looking for what's this help text. diff --git a/doc/man/man3/tqwheelevent.3qt b/doc/man/man3/tqwheelevent.3qt index 1218c658a..13511e7d4 100644 --- a/doc/man/man3/tqwheelevent.3qt +++ b/doc/man/man3/tqwheelevent.3qt @@ -16,19 +16,19 @@ Inherits QEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQWheelEvent\fR ( const QPoint & pos, int delta, int state, Orientation orient = Vertical )" +.BI "\fBQWheelEvent\fR ( const TQPoint & pos, int delta, int state, Orientation orient = Vertical )" .br .ti -1c -.BI "\fBQWheelEvent\fR ( const QPoint & pos, const QPoint & globalPos, int delta, int state, Orientation orient = Vertical )" +.BI "\fBQWheelEvent\fR ( const TQPoint & pos, const TQPoint & globalPos, int delta, int state, Orientation orient = Vertical )" .br .ti -1c .BI "int \fBdelta\fR () const" .br .ti -1c -.BI "const QPoint & \fBpos\fR () const" +.BI "const TQPoint & \fBpos\fR () const" .br .ti -1c -.BI "const QPoint & \fBglobalPos\fR () const" +.BI "const TQPoint & \fBglobalPos\fR () const" .br .ti -1c .BI "int \fBx\fR () const" @@ -71,13 +71,13 @@ The event handler TQWidget::wheelEvent() receives wheel events. .PP See also QMouseEvent, TQWidget::grabMouse(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QWheelEvent::QWheelEvent ( const QPoint & pos, int delta, int state, Orientation orient = Vertical )" +.SH "QWheelEvent::QWheelEvent ( const TQPoint & pos, int delta, int state, Orientation orient = Vertical )" Constructs a wheel event object. .PP The globalPos() is initialized to QCursor::pos(), i.e. \fIpos\fR, which is usually (but not always) right. Use the other constructor if you need to specify the global position explicitly. \fIdelta\fR contains the rotation distance, \fIstate\fR holds the keyboard modifier flags at the time of the event and \fIorient\fR holds the wheel's orientation. .PP See also pos(), delta(), and state(). -.SH "QWheelEvent::QWheelEvent ( const QPoint & pos, const QPoint & globalPos, int delta, int state, Orientation orient = Vertical )" +.SH "QWheelEvent::QWheelEvent ( const TQPoint & pos, const TQPoint & globalPos, int delta, int state, Orientation orient = Vertical )" Constructs a wheel event object. The position when the event occurred is given in \fIpos\fR and \fIglobalPos\fR. \fIdelta\fR contains the rotation distance, \fIstate\fR holds the keyboard modifier flags at the time of the event and \fIorient\fR holds the wheel's orientation. .PP See also pos(), globalPos(), delta(), and state(). @@ -93,7 +93,7 @@ See also ignore(). Returns the distance that the wheel is rotated expressed in multiples or divisions of the \fIwheel delta\fR, which is currently defined to be 120. A positive value indicates that the wheel was rotated forwards away from the user; a negative value indicates that the wheel was rotated backwards toward the user. .PP The \fIwheel delta\fR constant was defined to be 120 by wheel mouse vendors to allow building finer-resolution wheels in the future, including perhaps a freely rotating wheel with no notches. The expectation is that such a device would send more messages per rotation but with a smaller value in each message. -.SH "const QPoint & QWheelEvent::globalPos () const" +.SH "const TQPoint & QWheelEvent::globalPos () const" Returns the global position of the mouse pointer \fIat the time of the event\fR. This is important on asynchronous window systems such as X11; whenever you move your widgets around in response to mouse events, globalPos() can differ a lot from the current pointer position QCursor::pos(). .PP See also globalX() and globalY(). @@ -115,7 +115,7 @@ See also accept(). Returns TRUE if the receiver of the event handles the wheel event; otherwise returns FALSE. .SH "Orientation QWheelEvent::orientation () const" Returns the wheel's orientation. -.SH "const QPoint & QWheelEvent::pos () const" +.SH "const TQPoint & QWheelEvent::pos () const" Returns the position of the mouse pointer, relative to the widget that received the event. .PP If you move your widgets around in response to mouse events, use globalPos() instead of this function. diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index df77229c4..bc612f78d 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects .PP Inherits TQObject and TQPaintDevice. .PP -Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, QDesktopWidget, QDial, QDockArea, QGLWidget, QHeader, TQMainWindow, QMotifWidget, QNPWidget, QScrollBar, TQSizeGrip, QSlider, QSpinBox, QSplashScreen, TQStatusBar, QTabBar, QTabWidget, TQWorkspace, and QXtWidget. +Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, QDesktopWidget, QDial, QDockArea, TQGLWidget, QHeader, TQMainWindow, QMotifWidget, QNPWidget, QScrollBar, TQSizeGrip, QSlider, QSpinBox, QSplashScreen, TQStatusBar, QTabBar, QTabWidget, TQWorkspace, and QXtWidget. .PP .SS "Public Members" .in +1c @@ -60,10 +60,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool isEnabledToTLW () const \fI(obsolete)\fR" .br .ti -1c -.BI "QRect \fBframeGeometry\fR () const" +.BI "TQRect \fBframeGeometry\fR () const" .br .ti -1c -.BI "const QRect & \fBgeometry\fR () const" +.BI "const TQRect & \fBgeometry\fR () const" .br .ti -1c .BI "int \fBx\fR () const" @@ -72,7 +72,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "int \fBy\fR () const" .br .ti -1c -.BI "QPoint \fBpos\fR () const" +.BI "TQPoint \fBpos\fR () const" .br .ti -1c .BI "TQSize \fBframeSize\fR () const" @@ -87,13 +87,13 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "int \fBheight\fR () const" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c -.BI "QRect \fBchildrenRect\fR () const" +.BI "TQRect \fBchildrenRect\fR () const" .br .ti -1c -.BI "QRegion \fBchildrenRegion\fR () const" +.BI "TQRegion \fBchildrenRegion\fR () const" .br .ti -1c .BI "TQSize \fBminimumSize\fR () const" @@ -168,22 +168,22 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBsetFixedHeight\fR ( int h )" .br .ti -1c -.BI "QPoint \fBmapToGlobal\fR ( const QPoint & pos ) const" +.BI "TQPoint \fBmapToGlobal\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapFromGlobal\fR ( const QPoint & pos ) const" +.BI "TQPoint \fBmapFromGlobal\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapToParent\fR ( const QPoint & pos ) const" +.BI "TQPoint \fBmapToParent\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapFromParent\fR ( const QPoint & pos ) const" +.BI "TQPoint \fBmapFromParent\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapTo\fR ( TQWidget * parent, const QPoint & pos ) const" +.BI "TQPoint \fBmapTo\fR ( TQWidget * parent, const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapFrom\fR ( TQWidget * parent, const QPoint & pos ) const" +.BI "TQPoint \fBmapFrom\fR ( TQWidget * parent, const TQPoint & pos ) const" .br .ti -1c .BI "TQWidget * \fBtopLevelWidget\fR () const" @@ -207,22 +207,22 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetEraseColor\fR ( const TQColor & color )" .br .ti -1c -.BI "const QPixmap * \fBerasePixmap\fR () const" +.BI "const TQPixmap * \fBerasePixmap\fR () const" .br .ti -1c -.BI "virtual void \fBsetErasePixmap\fR ( const QPixmap & pixmap )" +.BI "virtual void \fBsetErasePixmap\fR ( const TQPixmap & pixmap )" .br .ti -1c .BI "const TQColorGroup & \fBcolorGroup\fR () const" .br .ti -1c -.BI "const QPalette & \fBpalette\fR () const" +.BI "const TQPalette & \fBpalette\fR () const" .br .ti -1c .BI "bool \fBownPalette\fR () const" .br .ti -1c -.BI "virtual void \fBsetPalette\fR ( const QPalette & )" +.BI "virtual void \fBsetPalette\fR ( const TQPalette & )" .br .ti -1c .BI "void \fBunsetPalette\fR ()" @@ -240,10 +240,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetPaletteBackgroundColor\fR ( const TQColor & )" .br .ti -1c -.BI "const QPixmap * \fBpaletteBackgroundPixmap\fR () const" +.BI "const TQPixmap * \fBpaletteBackgroundPixmap\fR () const" .br .ti -1c -.BI "virtual void \fBsetPaletteBackgroundPixmap\fR ( const QPixmap & )" +.BI "virtual void \fBsetPaletteBackgroundPixmap\fR ( const TQPixmap & )" .br .ti -1c .BI "const TQBrush & \fBbackgroundBrush\fR () const" @@ -282,7 +282,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "TQString \fBcaption\fR () const" .br .ti -1c -.BI "const QPixmap * \fBicon\fR () const" +.BI "const TQPixmap * \fBicon\fR () const" .br .ti -1c .BI "TQString \fBiconText\fR () const" @@ -297,7 +297,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetMask\fR ( const TQBitmap & bitmap )" .br .ti -1c -.BI "virtual void \fBsetMask\fR ( const QRegion & region )" +.BI "virtual void \fBsetMask\fR ( const TQRegion & region )" .br .ti -1c .BI "void \fBclearMask\fR ()" @@ -309,10 +309,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void setBackgroundColor ( const TQColor & c ) \fI(obsolete)\fR" .br .ti -1c -.BI "const QPixmap * backgroundPixmap () const \fI(obsolete)\fR" +.BI "const TQPixmap * backgroundPixmap () const \fI(obsolete)\fR" .br .ti -1c -.BI "virtual void setBackgroundPixmap ( const QPixmap & pm ) \fI(obsolete)\fR" +.BI "virtual void setBackgroundPixmap ( const TQPixmap & pm ) \fI(obsolete)\fR" .br .ti -1c .BI "enum \fBFocusPolicy\fR { NoFocus = 0, TabFocus = 0x1, ClickFocus = 0x2, StrongFocus = TabFocus | ClickFocus | 0x8, WheelFocus = StrongFocus | 0x4 }" @@ -378,7 +378,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool isVisibleToTLW () const \fI(obsolete)\fR" .br .ti -1c -.BI "QRect visibleRect () const \fI(obsolete)\fR" +.BI "TQRect visibleRect () const \fI(obsolete)\fR" .br .ti -1c .BI "bool \fBisHidden\fR () const" @@ -420,7 +420,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual int \fBheightForWidth\fR ( int w ) const" .br .ti -1c -.BI "QRegion \fBclipRegion\fR () const" +.BI "TQRegion \fBclipRegion\fR () const" .br .ti -1c .BI "QLayout * \fBlayout\fR () const" @@ -429,13 +429,13 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBupdateGeometry\fR ()" .br .ti -1c -.BI "virtual void \fBreparent\fR ( TQWidget * parent, WFlags f, const QPoint & p, bool showIt = FALSE )" +.BI "virtual void \fBreparent\fR ( TQWidget * parent, WFlags f, const TQPoint & p, bool showIt = FALSE )" .br .ti -1c -.BI "void \fBreparent\fR ( TQWidget * parent, const QPoint & p, bool showIt = FALSE )" +.BI "void \fBreparent\fR ( TQWidget * parent, const TQPoint & p, bool showIt = FALSE )" .br .ti -1c -.BI "void recreate ( TQWidget * parent, WFlags f, const QPoint & p, bool showIt = FALSE ) \fI(obsolete)\fR" +.BI "void recreate ( TQWidget * parent, WFlags f, const TQPoint & p, bool showIt = FALSE ) \fI(obsolete)\fR" .br .ti -1c .BI "void \fBerase\fR ()" @@ -444,28 +444,28 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBerase\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBerase\fR ( const QRect & r )" +.BI "void \fBerase\fR ( const TQRect & r )" .br .ti -1c -.BI "void \fBerase\fR ( const QRegion & reg )" +.BI "void \fBerase\fR ( const TQRegion & reg )" .br .ti -1c .BI "void \fBscroll\fR ( int dx, int dy )" .br .ti -1c -.BI "void \fBscroll\fR ( int dx, int dy, const QRect & r )" +.BI "void \fBscroll\fR ( int dx, int dy, const TQRect & r )" .br .ti -1c .BI "void \fBdrawText\fR ( int x, int y, const TQString & str )" .br .ti -1c -.BI "void \fBdrawText\fR ( const QPoint & pos, const TQString & str )" +.BI "void \fBdrawText\fR ( const TQPoint & pos, const TQString & str )" .br .ti -1c .BI "TQWidget * \fBfocusWidget\fR () const" .br .ti -1c -.BI "QRect \fBmicroFocusHint\fR () const" +.BI "TQRect \fBmicroFocusHint\fR () const" .br .ti -1c .BI "bool \fBacceptDrops\fR () const" @@ -501,7 +501,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "TQWidget * \fBchildAt\fR ( int x, int y, bool includeThis = FALSE ) const" .br .ti -1c -.BI "TQWidget * \fBchildAt\fR ( const QPoint & p, bool includeThis = FALSE ) const" +.BI "TQWidget * \fBchildAt\fR ( const TQPoint & p, bool includeThis = FALSE ) const" .br .ti -1c .BI "void \fBsetWindowOpacity\fR ( double level )" @@ -510,7 +510,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "double \fBwindowOpacity\fR () const" .br .ti -1c -.BI "void setPalette ( const QPalette & p, bool ) \fI(obsolete)\fR" +.BI "void setPalette ( const TQPalette & p, bool ) \fI(obsolete)\fR" .br .ti -1c .BI "void setFont ( const TQFont & f, bool ) \fI(obsolete)\fR" @@ -528,7 +528,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetCaption\fR ( const TQString & )" .br .ti -1c -.BI "virtual void \fBsetIcon\fR ( const QPixmap & )" +.BI "virtual void \fBsetIcon\fR ( const TQPixmap & )" .br .ti -1c .BI "virtual void \fBsetIconText\fR ( const TQString & )" @@ -552,7 +552,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBupdate\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBupdate\fR ( const QRect & r )" +.BI "void \fBupdate\fR ( const TQRect & r )" .br .ti -1c .BI "void \fBrepaint\fR ()" @@ -564,10 +564,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBrepaint\fR ( int x, int y, int w, int h, bool erase = TRUE )" .br .ti -1c -.BI "void \fBrepaint\fR ( const QRect & r, bool erase = TRUE )" +.BI "void \fBrepaint\fR ( const TQRect & r, bool erase = TRUE )" .br .ti -1c -.BI "void \fBrepaint\fR ( const QRegion & reg, bool erase = TRUE )" +.BI "void \fBrepaint\fR ( const TQRegion & reg, bool erase = TRUE )" .br .ti -1c .BI "virtual void \fBshow\fR ()" @@ -618,7 +618,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBmove\fR ( int x, int y )" .br .ti -1c -.BI "void \fBmove\fR ( const QPoint & )" +.BI "void \fBmove\fR ( const TQPoint & )" .br .ti -1c .BI "virtual void \fBresize\fR ( int w, int h )" @@ -630,7 +630,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetGeometry\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "virtual void \fBsetGeometry\fR ( const QRect & )" +.BI "virtual void \fBsetGeometry\fR ( const TQRect & )" .br .ti -1c .BI "virtual void \fBadjustSize\fR ()" @@ -675,10 +675,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "TQString \fBcaption\fR - the window caption (title)" .br .ti -1c -.BI "QRect \fBchildrenRect\fR - the bounding rectangle of the widget's children \fI(read " "only" ")\fR" +.BI "TQRect \fBchildrenRect\fR - the bounding rectangle of the widget's children \fI(read " "only" ")\fR" .br .ti -1c -.BI "QRegion \fBchildrenRegion\fR - the combined region occupied by the widget's children \fI(read " "only" ")\fR" +.BI "TQRegion \fBchildrenRegion\fR - the combined region occupied by the widget's children \fI(read " "only" ")\fR" .br .ti -1c .BI "TQColorGroup \fBcolorGroup\fR - the current color group of the widget palette \fI(read " "only" ")\fR" @@ -705,7 +705,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "TQFont \fBfont\fR - the font currently set for the widget" .br .ti -1c -.BI "QRect \fBframeGeometry\fR - geometry of the widget relative to its parent including any window frame \fI(read " "only" ")\fR" +.BI "TQRect \fBframeGeometry\fR - geometry of the widget relative to its parent including any window frame \fI(read " "only" ")\fR" .br .ti -1c .BI "TQSize \fBframeSize\fR - the size of the widget including any window frame \fI(read " "only" ")\fR" @@ -714,7 +714,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBfullScreen\fR - whether the widget is full screen \fI(read " "only" ")\fR" .br .ti -1c -.BI "QRect \fBgeometry\fR - the geometry of the widget relative to its parent and excluding the window frame" +.BI "TQRect \fBgeometry\fR - the geometry of the widget relative to its parent and excluding the window frame" .br .ti -1c .BI "int \fBheight\fR - the height of the widget excluding any window frame \fI(read " "only" ")\fR" @@ -723,7 +723,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBhidden\fR - whether the widget is explicitly hidden" .br .ti -1c -.BI "QPixmap \fBicon\fR - the widget's icon" +.BI "TQPixmap \fBicon\fR - the widget's icon" .br .ti -1c .BI "TQString \fBiconText\fR - the widget's icon text" @@ -762,7 +762,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "int \fBmaximumWidth\fR - the widget's maximum width" .br .ti -1c -.BI "QRect \fBmicroFocusHint\fR - the currently set micro focus hint for this widget \fI(read " "only" ")\fR" +.BI "TQRect \fBmicroFocusHint\fR - the currently set micro focus hint for this widget \fI(read " "only" ")\fR" .br .ti -1c .BI "bool \fBminimized\fR - whether this widget is minimized (iconified) \fI(read " "only" ")\fR" @@ -792,22 +792,22 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBownPalette\fR - whether the widget uses its own palette \fI(read " "only" ")\fR" .br .ti -1c -.BI "QPalette \fBpalette\fR - the widget's palette" +.BI "TQPalette \fBpalette\fR - the widget's palette" .br .ti -1c .BI "TQColor \fBpaletteBackgroundColor\fR - the background color of the widget" .br .ti -1c -.BI "QPixmap \fBpaletteBackgroundPixmap\fR - the background pixmap of the widget" +.BI "TQPixmap \fBpaletteBackgroundPixmap\fR - the background pixmap of the widget" .br .ti -1c .BI "TQColor \fBpaletteForegroundColor\fR - the foreground color of the widget" .br .ti -1c -.BI "QPoint \fBpos\fR - the position of the widget within its parent widget" +.BI "TQPoint \fBpos\fR - the position of the widget within its parent widget" .br .ti -1c -.BI "QRect \fBrect\fR - the internal geometry of the widget excluding any window frame \fI(read " "only" ")\fR" +.BI "TQRect \fBrect\fR - the internal geometry of the widget excluding any window frame \fI(read " "only" ")\fR" .br .ti -1c .BI "bool \fBshown\fR - whether the widget is shown" @@ -834,7 +834,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBvisible\fR - whether the widget is visible \fI(read " "only" ")\fR" .br .ti -1c -.BI "QRect visibleRect - the visible rectangle \fI(read " "only" ")\fR \fI(obsolete)\fR" +.BI "TQRect visibleRect - the visible rectangle \fI(read " "only" ")\fR \fI(obsolete)\fR" .br .ti -1c .BI "int \fBwidth\fR - the width of the widget excluding any window frame \fI(read " "only" ")\fR" @@ -951,7 +951,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBenabledChange\fR ( bool oldEnabled )" .br .ti -1c -.BI "virtual void \fBpaletteChange\fR ( const QPalette & oldPalette )" +.BI "virtual void \fBpaletteChange\fR ( const TQPalette & oldPalette )" .br .ti -1c .BI "virtual void \fBfontChange\fR ( const TQFont & oldFont )" @@ -1177,7 +1177,7 @@ Returns the widget's background brush. See the "backgroundBrush" property for de Returns the color role used for painting the background of the widget. See the "backgroundMode" property for details. .SH "BackgroundOrigin TQWidget::backgroundOrigin () const" Returns the origin of the widget's background. See the "backgroundOrigin" property for details. -.SH "const QPixmap * TQWidget::backgroundPixmap () const" +.SH "const TQPixmap * TQWidget::backgroundPixmap () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use paletteBackgroundPixmap() or erasePixmap() instead. .PP Examples: @@ -1190,15 +1190,15 @@ Returns the window caption (title). See the "caption" property for details. Returns the visible child widget at pixel position \fI(x, y)\fR in the widget's own coordinate system. .PP If \fIincludeThis\fR is TRUE, and there is no child visible at \fI(x, y)\fR, the widget itself is returned. -.SH "TQWidget * TQWidget::childAt ( const QPoint & p, bool includeThis = FALSE ) const" +.SH "TQWidget * TQWidget::childAt ( const TQPoint & p, bool includeThis = FALSE ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the visible child widget at point \fIp\fR in the widget's own coordinate system. .PP If \fIincludeThis\fR is TRUE, and there is no child visible at \fIp\fR, the widget itself is returned. -.SH "QRect TQWidget::childrenRect () const" +.SH "TQRect TQWidget::childrenRect () const" Returns the bounding rectangle of the widget's children. See the "childrenRect" property for details. -.SH "QRegion TQWidget::childrenRegion () const" +.SH "TQRegion TQWidget::childrenRegion () const" Returns the combined region occupied by the widget's children. See the "childrenRegion" property for details. .SH "void TQWidget::clearFocus ()\fC [slot]\fR" Takes keyboard input focus from the widget. @@ -1218,7 +1218,7 @@ Clears the widget flags \fIf\fR. Widget flags are a combination of TQt::WidgetFlags. .PP See also testWFlags(), getWFlags(), and setWFlags(). -.SH "QRegion TQWidget::clipRegion () const" +.SH "TQRegion TQWidget::clipRegion () const" Returns the unobscured region where paint events can occur. .PP For visible widgets, this is an approximation of the area not covered by other widgets; otherwise, this is an empty region. @@ -1318,7 +1318,7 @@ The \fIy\fR position is the base line position of the text. The text is drawn us This function is provided for convenience. You will generally get more flexible results and often higher speed by using a a painter instead. .PP See also font, foregroundColor(), and TQPainter::drawText(). -.SH "void TQWidget::drawText ( const QPoint & pos, const TQString & str )" +.SH "void TQWidget::drawText ( const TQPoint & pos, const TQString & str )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the string \fIstr\fR at position \fIpos\fR. @@ -1356,11 +1356,11 @@ See also repaint(). This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version erases the entire widget. -.SH "void TQWidget::erase ( const QRect & r )" +.SH "void TQWidget::erase ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Erases the specified area \fIr\fR in the widget without generating a paint event. -.SH "void TQWidget::erase ( const QRegion & reg )" +.SH "void TQWidget::erase ( const TQRegion & reg )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Erases the area defined by \fIreg\fR, without generating a paint event. @@ -1370,7 +1370,7 @@ Child widgets are not affected. Returns the erase color of the widget. .PP See also setEraseColor(), setErasePixmap(), and backgroundColor(). -.SH "const QPixmap * TQWidget::erasePixmap () const" +.SH "const TQPixmap * TQWidget::erasePixmap () const" Returns the widget's erase pixmap. .PP See also setErasePixmap() and eraseColor(). @@ -1457,11 +1457,11 @@ Examples: .)l drawdemo/drawdemo.cpp and qmag/qmag.cpp. .SH "const TQColor & TQWidget::foregroundColor () const" Same as paletteForegroundColor() -.SH "QRect TQWidget::frameGeometry () const" +.SH "TQRect TQWidget::frameGeometry () const" Returns geometry of the widget relative to its parent including any window frame. See the "frameGeometry" property for details. .SH "TQSize TQWidget::frameSize () const" Returns the size of the widget including any window frame. See the "frameSize" property for details. -.SH "const QRect & TQWidget::geometry () const" +.SH "const TQRect & TQWidget::geometry () const" Returns the geometry of the widget relative to its parent and excluding the window frame. See the "geometry" property for details. .SH "WFlags TQWidget::getWFlags () const\fC [protected]\fR" Returns the widget flags for this this widget. @@ -1534,7 +1534,7 @@ Hide events are sent to widgets immediately after they have been hidden. See also event() and QHideEvent. .PP Reimplemented in QScrollBar. -.SH "const QPixmap * TQWidget::icon () const" +.SH "const TQPixmap * TQWidget::icon () const" Returns the widget's icon. See the "icon" property for details. .SH "TQString TQWidget::iconText () const" Returns the widget's icon text. See the "iconText" property for details. @@ -1675,31 +1675,31 @@ In your reimplementation of this function, if you want to stop the event being h \fBWarning:\fR This function is not portable. .PP See also QApplication::macEventFilter(). -.SH "QPoint TQWidget::mapFrom ( TQWidget * parent, const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapFrom ( TQWidget * parent, const TQPoint & pos ) const" Translates the widget coordinate \fIpos\fR from the coordinate system of \fIparent\fR to this widget's coordinate system. The \fIparent\fR must not be 0 and must be a parent of the calling widget. .PP See also mapTo(), mapFromParent(), mapFromGlobal(), and underMouse. -.SH "QPoint TQWidget::mapFromGlobal ( const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapFromGlobal ( const TQPoint & pos ) const" Translates the global screen coordinate \fIpos\fR to widget coordinates. .PP See also mapToGlobal(), mapFrom(), and mapFromParent(). -.SH "QPoint TQWidget::mapFromParent ( const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapFromParent ( const TQPoint & pos ) const" Translates the parent widget coordinate \fIpos\fR to widget coordinates. .PP Same as mapFromGlobal() if the widget has no parent. .PP See also mapToParent(), mapFrom(), mapFromGlobal(), and underMouse. -.SH "QPoint TQWidget::mapTo ( TQWidget * parent, const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapTo ( TQWidget * parent, const TQPoint & pos ) const" Translates the widget coordinate \fIpos\fR to the coordinate system of \fIparent\fR. The \fIparent\fR must not be 0 and must be a parent of the calling widget. .PP See also mapFrom(), mapToParent(), mapToGlobal(), and underMouse. -.SH "QPoint TQWidget::mapToGlobal ( const QPoint & pos ) const" -Translates the widget coordinate \fIpos\fR to global screen coordinates. For example, \fCmapToGlobal(QPoint(0,0))\fR would give the global coordinates of the top-left pixel of the widget. +.SH "TQPoint TQWidget::mapToGlobal ( const TQPoint & pos ) const" +Translates the widget coordinate \fIpos\fR to global screen coordinates. For example, \fCmapToGlobal(TQPoint(0,0))\fR would give the global coordinates of the top-left pixel of the widget. .PP See also mapFromGlobal(), mapTo(), and mapToParent(). .PP Example: scribble/scribble.cpp. -.SH "QPoint TQWidget::mapToParent ( const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapToParent ( const TQPoint & pos ) const" Translates the widget coordinate \fIpos\fR to a coordinate in the parent widget. .PP Same as mapToGlobal() if the widget has no parent. @@ -1717,7 +1717,7 @@ Internal implementation of the virtual TQPaintDevice::metric() function. Use the TQPaintDeviceMetrics class instead. .PP \fIm\fR is the metric to get. -.SH "QRect TQWidget::microFocusHint () const" +.SH "TQRect TQWidget::microFocusHint () const" Returns the currently set micro focus hint for this widget. See the "microFocusHint" property for details. .SH "int TQWidget::minimumHeight () const" Returns the widget's minimum height. See the "minimumHeight" property for details. @@ -1776,12 +1776,12 @@ See also mouseDoubleClickEvent(), mouseMoveEvent(), event(), and QMouseEvent. .PP Examples: .)l drawlines/connect.cpp, hello/hello.cpp, popup/popup.cpp, qmag/qmag.cpp, scribble/scribble.cpp, showimg/showimg.cpp, and t14/cannon.cpp. -.SH "void TQWidget::move ( const QPoint & )\fC [slot]\fR" +.SH "void TQWidget::move ( const TQPoint & )\fC [slot]\fR" Sets the position of the widget within its parent widget. See the "pos" property for details. .SH "void TQWidget::move ( int x, int y )\fC [virtual slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This corresponds to move( QPoint(\fIx\fR, \fIy\fR) ). +This corresponds to move( TQPoint(\fIx\fR, \fIy\fR) ). .SH "void TQWidget::moveEvent ( QMoveEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive widget move events. When the widget receives this event, it is already at the new position. .PP @@ -1801,25 +1801,25 @@ A paint event is a request to repaint all or part of the widget. It can happen a .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: TQPaintEvent::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. +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 TQRegion::unite()). repaint() does not permit this optimization, so we suggest using update() when possible. .PP When the paint event occurs, the update region has normally been erased, so that you're painting on the widget's background. There are a couple of exceptions and TQPaintEvent::erased() tells you whether the widget has been erased or not. .PP The background can be set using setBackgroundMode(), setPaletteBackgroundColor() or setBackgroundPixmap(). The documentation for setBackgroundMode() elaborates on the background; we recommend reading it. .PP -See also event(), repaint(), update(), TQPainter, QPixmap, and TQPaintEvent. +See also event(), repaint(), update(), TQPainter, TQPixmap, and TQPaintEvent. .PP Examples: .)l drawlines/connect.cpp, forever/forever.cpp, qmag/qmag.cpp, scribble/scribble.cpp, splitter/splitter.cpp, t8/cannon.cpp, and t9/cannon.cpp. .PP -Reimplemented in QButton, QFrame, QGLWidget, TQSizeGrip, TQStatusBar, and QTabBar. -.SH "const QPalette & TQWidget::palette () const" +Reimplemented in QButton, QFrame, TQGLWidget, TQSizeGrip, TQStatusBar, and QTabBar. +.SH "const TQPalette & TQWidget::palette () const" Returns the widget's palette. See the "palette" property for details. .SH "const TQColor & TQWidget::paletteBackgroundColor () const" Returns the background color of the widget. See the "paletteBackgroundColor" property for details. -.SH "const QPixmap * TQWidget::paletteBackgroundPixmap () const" +.SH "const TQPixmap * TQWidget::paletteBackgroundPixmap () const" Returns the background pixmap of the widget. See the "paletteBackgroundPixmap" property for details. -.SH "void TQWidget::paletteChange ( const QPalette & oldPalette )\fC [virtual protected]\fR" +.SH "void TQWidget::paletteChange ( const TQPalette & oldPalette )\fC [virtual protected]\fR" This virtual function is called from setPalette(). \fIoldPalette\fR is the previous palette; you can get the new palette from palette(). .PP Reimplement this function if your widget needs to know when its palette changes. @@ -1845,7 +1845,7 @@ Remember to call TQWidget's implementation first when reimplementing this functi See also constPolish() and QApplication::polish(). .PP Example: menu/menu.cpp. -.SH "QPoint TQWidget::pos () const" +.SH "TQPoint TQWidget::pos () const" Returns the position of the widget within its parent widget. See the "pos" property for details. .SH "void TQWidget::raise ()\fC [slot]\fR" Raises this widget to the top of the parent widget's stack. @@ -1855,11 +1855,11 @@ After this call the widget will be visually in front of any overlapping sibling See also lower() and stackUnder(). .PP Example: showimg/showimg.cpp. -.SH "void TQWidget::recreate ( TQWidget * parent, WFlags f, const QPoint & p, bool showIt = FALSE )" +.SH "void TQWidget::recreate ( TQWidget * parent, WFlags f, const TQPoint & p, bool showIt = FALSE )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This method is provided to aid porting from TQt 1.0 to 2.0. It has been renamed reparent() in TQt 2.0. -.SH "QRect TQWidget::rect () const" +.SH "TQRect TQWidget::rect () const" Returns the internal geometry of the widget excluding any window frame. See the "rect" property for details. .SH "void TQWidget::releaseKeyboard ()" Releases the keyboard grab. @@ -1891,13 +1891,13 @@ This version erases and repaints the entire widget. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version repaints the entire widget. -.SH "void TQWidget::repaint ( const QRect & r, bool erase = TRUE )\fC [slot]\fR" +.SH "void TQWidget::repaint ( const TQRect & r, bool erase = TRUE )\fC [slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Repaints the widget directly by calling paintEvent() directly, unless updates are disabled or the widget is hidden. .PP Erases the widget region \fIr\fR if \fIerase\fR is TRUE. -.SH "void TQWidget::repaint ( const QRegion & reg, bool erase = TRUE )\fC [slot]\fR" +.SH "void TQWidget::repaint ( const TQRegion & reg, bool erase = TRUE )\fC [slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Repaints the widget directly by calling paintEvent() directly, unless updates are disabled or the widget is hidden. @@ -1909,7 +1909,7 @@ Only use repaint if your widget needs to be repainted immediately, for example w \fBWarning:\fR If you call repaint() in a function which may itself be called from paintEvent(), you may get infinite recursion. The update() function never causes recursion. .PP See also update(), paintEvent(), updatesEnabled, and erase(). -.SH "void TQWidget::reparent ( TQWidget * parent, WFlags f, const QPoint & p, bool showIt = FALSE )\fC [virtual]\fR" +.SH "void TQWidget::reparent ( TQWidget * parent, WFlags f, const TQPoint & p, bool showIt = FALSE )\fC [virtual]\fR" Reparents the widget. The widget gets a new \fIparent\fR, new widget flags (\fIf\fR, but as usual, use 0) at a new position in its new parent (\fIp\fR). .PP If \fIshowIt\fR is TRUE, show() is called once the widget has been reparented. @@ -1923,7 +1923,7 @@ If the new parent widget is in the same top-level widget as the old parent, repa See also getWFlags(). .PP Example: toplevel/options.ui.h. -.SH "void TQWidget::reparent ( TQWidget * parent, const QPoint & p, bool showIt = FALSE )" +.SH "void TQWidget::reparent ( TQWidget * parent, const TQPoint & p, bool showIt = FALSE )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP A convenience version of reparent that does not take widget flags as argument. @@ -1951,14 +1951,14 @@ See also moveEvent(), event(), size, QResizeEvent, and paintEvent(). Examples: .)l drawdemo/drawdemo.cpp, menu/menu.cpp, qmag/qmag.cpp, scribble/scribble.cpp, showimg/showimg.cpp, tooltip/tooltip.cpp, and xform/xform.cpp. .PP -Reimplemented in QFrame and QGLWidget. +Reimplemented in QFrame and TQGLWidget. .SH "void TQWidget::scroll ( int dx, int dy )" Scrolls the widget including its children \fIdx\fR pixels to the right and \fIdy\fR downwards. Both \fIdx\fR and \fIdy\fR may be negative. .PP After scrolling, scroll() sends a paint event for the the part that is read but not written. For example, when scrolling 10 pixels rightwards, the leftmost ten pixels of the widget need repainting. The paint event may be delivered immediately or later, depending on some heuristics (note that you might have to force processing of paint events using QApplication::sendPostedEvents() when using scroll() and move() in combination). .PP See also QScrollView, erase(), and bitBlt(). -.SH "void TQWidget::scroll ( int dx, int dy, const QRect & r )" +.SH "void TQWidget::scroll ( int dx, int dy, const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version only scrolls \fIr\fR and does not move the children of the widget. @@ -1997,7 +1997,7 @@ Sets the widget's own background mode to \fIm\fR and the visual background mode For complex controls, the logical background mode sometimes differs from a widget's own background mode. A spinbox for example has PaletteBackground as background mode (typically dark gray), while it's embedded lineedit control uses PaletteBase (typically white). Since the lineedit covers most of the visual area of a spinbox, it defines PaletteBase to be its \fIvisual\fR background mode. Changing the \fCbackgroundColor\fR property thus changes the lineedit control's background, which is exactly what the user expects in \fIQt Designer\fR. .SH "void TQWidget::setBackgroundOrigin ( BackgroundOrigin )\fC [virtual]\fR" Sets the origin of the widget's background. See the "backgroundOrigin" property for details. -.SH "void TQWidget::setBackgroundPixmap ( const QPixmap & pm )\fC [virtual]\fR" +.SH "void TQWidget::setBackgroundPixmap ( const TQPixmap & pm )\fC [virtual]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use setPaletteBackgroundPixmap() or setErasePixmap() instead. .PP Example: desktop/desktop.cpp. @@ -2025,7 +2025,7 @@ Sets the erase color of the widget to \fIcolor\fR. The erase color is the color the widget is to be cleared to before paintEvent() is called. If there is an erase pixmap (set using setErasePixmap()), then this property has an indeterminate value. .PP See also erasePixmap(), backgroundColor(), backgroundMode, and palette. -.SH "void TQWidget::setErasePixmap ( const QPixmap & pixmap )\fC [virtual]\fR" +.SH "void TQWidget::setErasePixmap ( const TQPixmap & pixmap )\fC [virtual]\fR" Sets the widget's erase pixmap to \fIpixmap\fR. .PP This pixmap is used to clear the widget before paintEvent() is called. @@ -2084,15 +2084,15 @@ Reimplemented in QComboBox, QLabel, and QTabDialog. \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use setFont(const TQFont& font) instead. -.SH "void TQWidget::setGeometry ( const QRect & )\fC [virtual slot]\fR" +.SH "void TQWidget::setGeometry ( const TQRect & )\fC [virtual slot]\fR" Sets the geometry of the widget relative to its parent and excluding the window frame. See the "geometry" property for details. .SH "void TQWidget::setGeometry ( int x, int y, int w, int h )\fC [virtual slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This corresponds to setGeometry( QRect(\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) ). +This corresponds to setGeometry( TQRect(\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) ). .SH "void TQWidget::setHidden ( bool hide )\fC [slot]\fR" Sets whether the widget is explicitly hidden to \fIhide\fR. See the "hidden" property for details. -.SH "void TQWidget::setIcon ( const QPixmap & )\fC [virtual slot]\fR" +.SH "void TQWidget::setIcon ( const TQPixmap & )\fC [virtual slot]\fR" Sets the widget's icon. See the "icon" property for details. .SH "void TQWidget::setIconText ( const TQString & )\fC [virtual slot]\fR" Sets the widget's icon text. See the "iconText" property for details. @@ -2122,7 +2122,7 @@ Note that this effect can be slow if the region is particularly complex. See \fCexamples/tux\fR for an example of masking for transparency. .PP See also clearMask(). -.SH "void TQWidget::setMask ( const QRegion & region )\fC [virtual]\fR" +.SH "void TQWidget::setMask ( const TQRegion & region )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Causes only the parts of the widget which overlap \fIregion\fR to be visible. If the region includes pixels outside the rect() of the widget, window system controls in that area may or may not be visible, depending on the platform. @@ -2164,17 +2164,17 @@ This function corresponds to setMinimumSize( TQSize(minw, minh) ). Sets the mini Sets the widget's minimum width to \fIminw\fR. See the "minimumWidth" property for details. .SH "void TQWidget::setMouseTracking ( bool enable )\fC [virtual slot]\fR" Sets whether mouse tracking is enabled for the widget to \fIenable\fR. See the "mouseTracking" property for details. -.SH "void TQWidget::setPalette ( const QPalette & )\fC [virtual]\fR" +.SH "void TQWidget::setPalette ( const TQPalette & )\fC [virtual]\fR" Sets the widget's palette. See the "palette" property for details. .PP Reimplemented in QComboBox, QScrollBar, and QSlider. -.SH "void TQWidget::setPalette ( const QPalette & p, bool )" +.SH "void TQWidget::setPalette ( const TQPalette & p, bool )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -Use setPalette( const QPalette& p ) instead. +Use setPalette( const TQPalette& p ) instead. .SH "void TQWidget::setPaletteBackgroundColor ( const TQColor & )\fC [virtual]\fR" Sets the background color of the widget. See the "paletteBackgroundColor" property for details. -.SH "void TQWidget::setPaletteBackgroundPixmap ( const QPixmap & )\fC [virtual]\fR" +.SH "void TQWidget::setPaletteBackgroundPixmap ( const TQPixmap & )\fC [virtual]\fR" Sets the background pixmap of the widget. See the "paletteBackgroundPixmap" property for details. .SH "void TQWidget::setPaletteForegroundColor ( const TQColor & )" Sets the foreground color of the widget. See the "paletteForegroundColor" property for details. @@ -2440,7 +2440,7 @@ If \fIw\fR is negative, it is replaced with \fCwidth() - x\fR. If \fIh\fR is neg Qt normally erases the specified area before the paintEvent() call. If the WRepaintNoErase widget flag is set, the widget is responsible for painting all its pixels itself. .PP See also repaint(), paintEvent(), updatesEnabled, and erase(). -.SH "void TQWidget::update ( const QRect & r )\fC [slot]\fR" +.SH "void TQWidget::update ( const TQRect & r )\fC [slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Updates a rectangle \fIr\fR inside the widget unless updates are disabled or the widget is hidden. @@ -2458,7 +2458,7 @@ For explicitly hidden widgets, updateGeometry() is a no-op. The layout system wi This function can be reimplemented in a subclass to support transparent widgets. It should be called whenever a widget changes state in a way that means that the shape mask must be recalculated. .PP See also autoMask, setMask(), and clearMask(). -.SH "QRect TQWidget::visibleRect () const" +.SH "TQRect TQWidget::visibleRect () const" Returns the visible rectangle. See the "visibleRect" property for details. .SH "void TQWidget::wheelEvent ( QWheelEvent * e )\fC [virtual protected]\fR" This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive wheel events for the widget. @@ -2599,7 +2599,7 @@ This property only makes sense for top-level widgets. If no caption has been set See also icon and iconText. .PP Set this property's value with setCaption() and get this property's value with caption(). -.SH "QRect childrenRect" +.SH "TQRect childrenRect" This property holds the bounding rectangle of the widget's children. .PP Hidden children are excluded. @@ -2607,7 +2607,7 @@ Hidden children are excluded. See also childrenRegion and geometry. .PP Get this property's value with childrenRect(). -.SH "QRegion childrenRegion" +.SH "TQRegion childrenRegion" This property holds the combined region occupied by the widget's children. .PP Hidden children are excluded. @@ -2618,7 +2618,7 @@ Get this property's value with childrenRegion(). .SH "TQColorGroup colorGroup" This property holds the current color group of the widget palette. .PP -The color group is determined by the state of the widget. A disabled widget has the QPalette::disabled() color group, a widget with keyboard focus has the QPalette::active() color group, and an inactive widget has the QPalette::inactive() color group. +The color group is determined by the state of the widget. A disabled widget has the TQPalette::disabled() color group, a widget with keyboard focus has the TQPalette::active() color group, and an inactive widget has the TQPalette::inactive() color group. .PP See also palette. .PP @@ -2715,7 +2715,7 @@ In addition to setting the font, setFont() informs all children about the change See also fontChange(), fontInfo(), fontMetrics(), and ownFont. .PP Set this property's value with setFont(), get this property's value with font(), and reset this property's value with unsetFont(). -.SH "QRect frameGeometry" +.SH "TQRect frameGeometry" This property holds geometry of the widget relative to its parent including any window frame. .PP See the Window Geometry documentation for an overview of geometry issues with top-level widgets. @@ -2733,7 +2733,7 @@ This property holds whether the widget is full screen. Get this property's value with isFullScreen(). .PP See also windowState(), minimized, and maximized. -.SH "QRect geometry" +.SH "TQRect geometry" This property holds the geometry of the widget relative to its parent and excluding the window frame. .PP When changing the geometry, the widget, if visible, receives a move event (moveEvent()) and/or a resize event (resizeEvent()) immediately. If the widget is not currently visible, it is guaranteed to receive appropriate events before it is shown. @@ -2765,7 +2765,7 @@ If FALSE, the widget is visible or would become visible if all its ancestors bec See also hide(), show(), visible, isVisibleTo(), and shown. .PP Set this property's value with setHidden() and get this property's value with isHidden(). -.SH "QPixmap icon" +.SH "TQPixmap icon" This property holds the widget's icon. .PP This property only makes sense for top-level widgets. If no icon has been set, icon() returns 0. @@ -2877,7 +2877,7 @@ This property corresponds to maximumSize().width(). See also maximumSize and maximumHeight. .PP Set this property's value with setMaximumWidth() and get this property's value with maximumWidth(). -.SH "QRect microFocusHint" +.SH "TQRect microFocusHint" This property holds the currently set micro focus hint for this widget. .PP See the documentation of setMicroFocusHint() for more information. @@ -2963,7 +2963,7 @@ If FALSE, the widget uses its parent widget's palette. See also palette. .PP Get this property's value with ownPalette(). -.SH "QPalette palette" +.SH "TQPalette palette" This property holds the widget's palette. .PP As long as no special palette has been set, or after unsetPalette() has been called, this is either a special palette for the widget class, the parent's palette or (if this widget is a top level widget), the default application palette. @@ -2976,17 +2976,17 @@ Set this property's value with setPalette(), get this property's value with pale .SH "TQColor paletteBackgroundColor" This property holds the background color of the widget. .PP -The palette background color is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by setPaletteBackgroundColor(). setPaletteBackgroundColor() is a convenience function that creates and sets a modified QPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the color used for the palette's TQColorGroup::Button color entry is set. +The palette background color is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by setPaletteBackgroundColor(). setPaletteBackgroundColor() is a convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the color used for the palette's TQColorGroup::Button color entry is set. .PP If there is a background pixmap (set using setPaletteBackgroundPixmap()), then the return value of this function is indeterminate. .PP See also paletteBackgroundPixmap, paletteForegroundColor, palette, and colorGroup. .PP Set this property's value with setPaletteBackgroundColor(), get this property's value with paletteBackgroundColor(), and reset this property's value with unsetPalette(). -.SH "QPixmap paletteBackgroundPixmap" +.SH "TQPixmap paletteBackgroundPixmap" This property holds the background pixmap of the widget. .PP -The palette background pixmap is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by setPaletteBackgroundPixmap(). setPaletteBackgroundPixmap() is a convenience function that creates and sets a modified QPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the pixmap used for the palette's TQColorGroup::Button color entry is set. +The palette background pixmap is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by setPaletteBackgroundPixmap(). setPaletteBackgroundPixmap() is a convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the pixmap used for the palette's TQColorGroup::Button color entry is set. .PP If there is a plain background color (set using setPaletteBackgroundColor()), then this function returns 0. .PP @@ -2996,12 +2996,12 @@ Set this property's value with setPaletteBackgroundPixmap(), get this property's .SH "TQColor paletteForegroundColor" This property holds the foreground color of the widget. .PP -setPaletteForegroundColor() is a convenience function that creates and sets a modified QPalette with setPalette(). The palette is modified according to the widget's \fIbackground mode\fR. For example, if the background mode is PaletteButton the palette entry TQColorGroup::ButtonText is set to color. +setPaletteForegroundColor() is a convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's \fIbackground mode\fR. For example, if the background mode is PaletteButton the palette entry TQColorGroup::ButtonText is set to color. .PP See also palette, QApplication::setPalette(), backgroundMode, foregroundColor(), backgroundMode, and setEraseColor(). .PP Set this property's value with setPaletteForegroundColor(), get this property's value with paletteForegroundColor(), and reset this property's value with unsetPalette(). -.SH "QPoint pos" +.SH "TQPoint pos" This property holds the position of the widget within its parent widget. .PP If the widget is a top-level widget, the position is that of the widget on the desktop, including its frame. @@ -3017,10 +3017,10 @@ See the Window Geometry documentation for an overview of top-level widget geomet See also frameGeometry, size, x, and y. .PP Set this property's value with move() and get this property's value with pos(). -.SH "QRect rect" +.SH "TQRect rect" This property holds the internal geometry of the widget excluding any window frame. .PP -The rect property equals QRect(0, 0, width(), height()). +The rect property equals TQRect(0, 0, width(), height()). .PP See the Window Geometry documentation for an overview of top-level widget geometry. .PP @@ -3137,7 +3137,7 @@ A widget that happens to be obscured by other windows on the screen is considere See also show(), hide(), hidden, isVisibleTo(), minimized, showEvent(), and hideEvent(). .PP Get this property's value with isVisible(). -.SH "QRect visibleRect" +.SH "TQRect visibleRect" This property holds the visible rectangle. .PP \fBThis property is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. @@ -3162,7 +3162,7 @@ By default the value of this property is 1.0. .PP This feature is only present on Mac OS X and Windows 2000 and up. .PP -\fBWarning:\fR Changing this property from opaque to transparent might issue a paint event that needs to be processed before the window is displayed correctly. This affects mainly the use of QPixmap::grabWindow(). Also note that semi-transparent windows update and resize significantely slower than opaque windows. +\fBWarning:\fR Changing this property from opaque to transparent might issue a paint event that needs to be processed before the window is displayed correctly. This affects mainly the use of TQPixmap::grabWindow(). Also note that semi-transparent windows update and resize significantely slower than opaque windows. .PP Set this property's value with setWindowOpacity() and get this property's value with windowOpacity(). .SH "int x" diff --git a/doc/man/man3/tqwidgetitem.3qt b/doc/man/man3/tqwidgetitem.3qt index 96a1e8d1b..ac0848c8f 100644 --- a/doc/man/man3/tqwidgetitem.3qt +++ b/doc/man/man3/tqwidgetitem.3qt @@ -34,7 +34,7 @@ Inherits QLayoutItem. .BI "virtual bool \fBisEmpty\fR () const" .br .ti -1c -.BI "virtual void \fBsetGeometry\fR ( const QRect & r )" +.BI "virtual void \fBsetGeometry\fR ( const TQRect & r )" .br .ti -1c .BI "virtual TQWidget * \fBwidget\fR ()" @@ -65,7 +65,7 @@ Reimplemented from QLayoutItem. Returns the minimum size of this item. .PP Reimplemented from QLayoutItem. -.SH "void TQWidgetItem::setGeometry ( const QRect & r )\fC [virtual]\fR" +.SH "void TQWidgetItem::setGeometry ( const TQRect & r )\fC [virtual]\fR" Sets the geometry of this item's widget to be contained within rect \fIr\fR, taking alignment and maximum size into account. .PP Reimplemented from QLayoutItem. diff --git a/doc/man/man3/tqwmatrix.3qt b/doc/man/man3/tqwmatrix.3qt index c46e92415..b95922d67 100644 --- a/doc/man/man3/tqwmatrix.3qt +++ b/doc/man/man3/tqwmatrix.3qt @@ -1,5 +1,5 @@ '\" t -.TH QWMatrix 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQWMatrix 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,17 +7,17 @@ .ad l .nh .SH NAME -QWMatrix \- 2D transformations of a coordinate system +TQWMatrix \- 2D transformations of a coordinate system .SH SYNOPSIS -\fC#include <ntqwmatrix.h>\fR +\fC#include <tqwmatrix.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQWMatrix\fR ()" +.BI "\fBTQWMatrix\fR ()" .br .ti -1c -.BI "\fBQWMatrix\fR ( double m11, double m12, double m21, double m22, double dx, double dy )" +.BI "\fBTQWMatrix\fR ( double m11, double m12, double m21, double m22, double dx, double dy )" .br .ti -1c .BI "void \fBsetMatrix\fR ( double m11, double m12, double m21, double m22, double dx, double dy )" @@ -47,25 +47,25 @@ QWMatrix \- 2D transformations of a coordinate system .BI "void \fBmap\fR ( double x, double y, double * tx, double * ty ) const" .br .ti -1c -.BI "QRect \fBmapRect\fR ( const QRect & rect ) const" +.BI "TQRect \fBmapRect\fR ( const TQRect & rect ) const" .br .ti -1c -.BI "QPoint \fBmap\fR ( const QPoint & p ) const" +.BI "TQPoint \fBmap\fR ( const TQPoint & p ) const" .br .ti -1c -.BI "QRect map ( const QRect & r ) const \fI(obsolete)\fR" +.BI "TQRect map ( const TQRect & r ) const \fI(obsolete)\fR" .br .ti -1c -.BI "QPointArray \fBmap\fR ( const QPointArray & a ) const" +.BI "TQPointArray \fBmap\fR ( const TQPointArray & a ) const" .br .ti -1c -.BI "QRegion \fBmap\fR ( const QRegion & r ) const" +.BI "TQRegion \fBmap\fR ( const TQRegion & r ) const" .br .ti -1c -.BI "QRegion \fBmapToRegion\fR ( const QRect & rect ) const" +.BI "TQRegion \fBmapToRegion\fR ( const TQRect & rect ) const" .br .ti -1c -.BI "QPointArray \fBmapToPolygon\fR ( const QRect & rect ) const" +.BI "TQPointArray \fBmapToPolygon\fR ( const TQRect & rect ) const" .br .ti -1c .BI "void \fBreset\fR ()" @@ -74,16 +74,16 @@ QWMatrix \- 2D transformations of a coordinate system .BI "bool \fBisIdentity\fR () const" .br .ti -1c -.BI "QWMatrix & \fBtranslate\fR ( double dx, double dy )" +.BI "TQWMatrix & \fBtranslate\fR ( double dx, double dy )" .br .ti -1c -.BI "QWMatrix & \fBscale\fR ( double sx, double sy )" +.BI "TQWMatrix & \fBscale\fR ( double sx, double sy )" .br .ti -1c -.BI "QWMatrix & \fBshear\fR ( double sh, double sv )" +.BI "TQWMatrix & \fBshear\fR ( double sh, double sv )" .br .ti -1c -.BI "QWMatrix & \fBrotate\fR ( double a )" +.BI "TQWMatrix & \fBrotate\fR ( double a )" .br .ti -1c .BI "bool \fBisInvertible\fR () const" @@ -92,16 +92,16 @@ QWMatrix \- 2D transformations of a coordinate system .BI "double \fBdet\fR () const" .br .ti -1c -.BI "QWMatrix \fBinvert\fR ( bool * invertible = 0 ) const" +.BI "TQWMatrix \fBinvert\fR ( bool * invertible = 0 ) const" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QWMatrix & m ) const" +.BI "bool \fBoperator==\fR ( const TQWMatrix & m ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QWMatrix & m ) const" +.BI "bool \fBoperator!=\fR ( const TQWMatrix & m ) const" .br .ti -1c -.BI "QWMatrix & \fBoperator*=\fR ( const QWMatrix & m )" +.BI "TQWMatrix & \fBoperator*=\fR ( const TQWMatrix & m )" .br .ti -1c .BI "enum \fBTransformationMode\fR { Points, Areas }" @@ -110,7 +110,7 @@ QWMatrix \- 2D transformations of a coordinate system .SS "Static Public Members" .in +1c .ti -1c -.BI "void \fBsetTransformationMode\fR ( QWMatrix::TransformationMode m )" +.BI "void \fBsetTransformationMode\fR ( TQWMatrix::TransformationMode m )" .br .ti -1c .BI "TransformationMode \fBtransformationMode\fR ()" @@ -119,18 +119,18 @@ QWMatrix \- 2D transformations of a coordinate system .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QWMatrix & m )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQWMatrix & m )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QWMatrix & m )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQWMatrix & m )" .br .in -1c .SH DESCRIPTION -The QWMatrix class specifies 2D transformations of a coordinate system. +The TQWMatrix class specifies 2D transformations of a coordinate system. .PP The standard coordinate system of a paint device has the origin located at the top-left position. X values increase to the right; Y values increase downward. .PP -This coordinate system is the default for the TQPainter, which renders graphics in a paint device. A user-defined coordinate system can be specified by setting a QWMatrix for the painter. +This coordinate system is the default for the TQPainter, which renders graphics in a paint device. A user-defined coordinate system can be specified by setting a TQWMatrix for the painter. .PP Example: .PP @@ -142,7 +142,7 @@ Example: .br TQPainter p; // our painter .br - QWMatrix m; // our transformation matrix + TQWMatrix m; // our transformation matrix .br m.rotate( 22.5 ); // rotated coordinate system .br @@ -158,9 +158,9 @@ Example: .br .fi .PP -A matrix specifies how to translate, scale, shear or rotate the graphics; the actual transformation is performed by the drawing routines in TQPainter and by QPixmap::xForm(). +A matrix specifies how to translate, scale, shear or rotate the graphics; the actual transformation is performed by the drawing routines in TQPainter and by TQPixmap::xForm(). .PP -The QWMatrix class contains a 3x3 matrix of the form: +The TQWMatrix class contains a 3x3 matrix of the form: .nf .TS l @@ -195,13 +195,13 @@ Scaling can be done by setting \fIm11\fR and \fIm22\fR. For example, setting \fI .PP Shearing is controlled by \fIm12\fR and \fIm21\fR. Setting these elements to values different from zero will twist the coordinate system. .PP -Rotation is achieved by carefully setting both the shearing factors and the scaling factors. The QWMatrix also has a function that sets rotation directly. +Rotation is achieved by carefully setting both the shearing factors and the scaling factors. The TQWMatrix also has a function that sets rotation directly. .PP -QWMatrix lets you combine transformations like this: +TQWMatrix lets you combine transformations like this: .PP .nf .br - QWMatrix m; // identity matrix + TQWMatrix m; // identity matrix .br m.translate(10, -20); // first translate (10,-20) .br @@ -221,38 +221,38 @@ Here's the same example using basic matrix operations: .br double cosa = cos(a); .br - QWMatrix m1(1, 0, 0, 1, 10, -20); // translation matrix + TQWMatrix m1(1, 0, 0, 1, 10, -20); // translation matrix .br - QWMatrix m2( cosa, sina, // rotation matrix + TQWMatrix m2( cosa, sina, // rotation matrix .br -sina, cosa, 0, 0 ); .br - QWMatrix m3(1.2, 0, 0, 0.7, 0, 0); // scaling matrix + TQWMatrix m3(1.2, 0, 0, 0.7, 0, 0); // scaling matrix .br - QWMatrix m; + TQWMatrix m; .br m = m3 * m2 * m1; // combine all transformations .br .fi .PP -TQPainter has functions to translate, scale, shear and rotate the coordinate system without using a QWMatrix. Although these functions are very convenient, it can be more efficient to build a QWMatrix and call TQPainter::setWorldMatrix() if you want to perform more than a single transform operation. +TQPainter has functions to translate, scale, shear and rotate the coordinate system without using a TQWMatrix. Although these functions are very convenient, it can be more efficient to build a TQWMatrix and call TQPainter::setWorldMatrix() if you want to perform more than a single transform operation. .PP -See also TQPainter::setWorldMatrix(), QPixmap::xForm(), Graphics Classes, and Image Processing Classes. +See also TQPainter::setWorldMatrix(), TQPixmap::xForm(), Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" -.SH "QWMatrix::TransformationMode" +.SH "TQWMatrix::TransformationMode" .PP -QWMatrix offers two transformation modes. Calculations can either be done in terms of points (Points mode, the default), or in terms of area (Area mode). +TQWMatrix offers two transformation modes. Calculations can either be done in terms of points (Points mode, the default), or in terms of area (Area mode). .PP In Points mode the transformation is applied to the points that mark out the shape's bounding line. In Areas mode the transformation is applied in such a way that the area of the contained region is correctly transformed under the matrix. .TP -\fCQWMatrix::Points\fR - transformations are applied to the shape's points. +\fCTQWMatrix::Points\fR - transformations are applied to the shape's points. .TP -\fCQWMatrix::Areas\fR - transformations are applied (e.g. to the width and height) so that the area is transformed. +\fCTQWMatrix::Areas\fR - transformations are applied (e.g. to the width and height) so that the area is transformed. .PP Example: .PP -Suppose we have a rectangle, \fCQRect( 10, 20, 30, 40 )\fR and a transformation matrix \fCQWMatrix( 2, 0, 0, 2, 0, 0 )\fR to double the rectangle's size. +Suppose we have a rectangle, \fCTQRect( 10, 20, 30, 40 )\fR and a transformation matrix \fCTQWMatrix( 2, 0, 0, 2, 0, 0 )\fR to double the rectangle's size. .PP In Points mode, the matrix will transform the top-left (10,20) and the bottom-right (39,59) points producing a rectangle with its top-left point at (20,40) and its bottom-right point at (78,118), i.e. with a width of 59 and a height of 79. .PP @@ -268,17 +268,17 @@ Under Points mode, \fCmatrix * ( region1 | region2 )\fR is not equal to \fCmatri .PP </center> .SH MEMBER FUNCTION DOCUMENTATION -.SH "QWMatrix::QWMatrix ()" +.SH "TQWMatrix::TQWMatrix ()" Constructs an identity matrix. All elements are set to zero except \fIm11\fR and \fIm22\fR (scaling), which are set to 1. -.SH "QWMatrix::QWMatrix ( double m11, double m12, double m21, double m22, double dx, double dy )" +.SH "TQWMatrix::TQWMatrix ( double m11, double m12, double m21, double m22, double dx, double dy )" Constructs a matrix with the elements, \fIm11\fR, \fIm12\fR, \fIm21\fR, \fIm22\fR, \fIdx\fR and \fIdy\fR. -.SH "double QWMatrix::det () const" +.SH "double TQWMatrix::det () const" Returns the matrix's determinant. -.SH "double QWMatrix::dx () const" +.SH "double TQWMatrix::dx () const" Returns the horizontal translation. -.SH "double QWMatrix::dy () const" +.SH "double TQWMatrix::dy () const" Returns the vertical translation. -.SH "QWMatrix QWMatrix::invert ( bool * invertible = 0 ) const" +.SH "TQWMatrix TQWMatrix::invert ( bool * invertible = 0 ) const" Returns the inverted matrix. .PP If the matrix is singular (not invertible), the identity matrix is returned. @@ -288,23 +288,23 @@ If \fIinvertible\fR is not 0: the value of \fI*invertible\fR is set to TRUE if t See also isInvertible(). .PP Example: t14/cannon.cpp. -.SH "bool QWMatrix::isIdentity () const" +.SH "bool TQWMatrix::isIdentity () const" Returns TRUE if the matrix is the identity matrix; otherwise returns FALSE. .PP See also reset(). -.SH "bool QWMatrix::isInvertible () const" +.SH "bool TQWMatrix::isInvertible () const" Returns TRUE if the matrix is invertible; otherwise returns FALSE. .PP See also invert(). -.SH "double QWMatrix::m11 () const" +.SH "double TQWMatrix::m11 () const" Returns the X scaling factor. -.SH "double QWMatrix::m12 () const" +.SH "double TQWMatrix::m12 () const" Returns the vertical shearing factor. -.SH "double QWMatrix::m21 () const" +.SH "double TQWMatrix::m21 () const" Returns the horizontal shearing factor. -.SH "double QWMatrix::m22 () const" +.SH "double TQWMatrix::m22 () const" Returns the Y scaling factor. -.SH "void QWMatrix::map ( int x, int y, int * tx, int * ty ) const" +.SH "void TQWMatrix::map ( int x, int y, int * tx, int * ty ) const" Transforms ( \fIx\fR, \fIy\fR ) to ( \fI*tx\fR, \fI*ty\fR ) using the formulae: .PP .nf @@ -317,7 +317,7 @@ Transforms ( \fIx\fR, \fIy\fR ) to ( \fI*tx\fR, \fI*ty\fR ) using the formulae: .PP Examples: .)l t14/cannon.cpp and xform/xform.cpp. -.SH "void QWMatrix::map ( double x, double y, double * tx, double * ty ) const" +.SH "void TQWMatrix::map ( double x, double y, double * tx, double * ty ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Transforms ( \fIx\fR, \fIy\fR ) to ( \fI*tx\fR, \fI*ty\fR ) using the following formulae: @@ -329,7 +329,7 @@ Transforms ( \fIx\fR, \fIy\fR ) to ( \fI*tx\fR, \fI*ty\fR ) using the following *ty = m22*y + m12*x + dy .br .fi -.SH "QPoint QWMatrix::map ( const QPoint & p ) const" +.SH "TQPoint TQWMatrix::map ( const TQPoint & p ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Transforms \fIp\fR to using the formulae: @@ -341,23 +341,23 @@ Transforms \fIp\fR to using the formulae: rety = m22*py + m12*px + dy (rounded to the nearest integer) .br .fi -.SH "QRect QWMatrix::map ( const QRect & r ) const" +.SH "TQRect TQWMatrix::map ( const TQRect & r ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -Please use QWMatrix::mapRect() instead. +Please use TQWMatrix::mapRect() instead. .PP Note that this method does return the bounding rectangle of the \fIr\fR, when shearing or rotations are used. -.SH "QPointArray QWMatrix::map ( const QPointArray & a ) const" +.SH "TQPointArray TQWMatrix::map ( const TQPointArray & a ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the point array \fIa\fR transformed by calling map for each point. -.SH "QRegion QWMatrix::map ( const QRegion & r ) const" +.SH "TQRegion TQWMatrix::map ( const TQRegion & r ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Transforms the region \fIr\fR. .PP Calling this method can be rather expensive, if rotations or shearing are used. -.SH "QRect QWMatrix::mapRect ( const QRect & rect ) const" +.SH "TQRect TQWMatrix::mapRect ( const TQRect & rect ) const" Returns the transformed rectangle \fIrect\fR. .PP The bounding rectangle is returned if rotation or shearing has been specified. @@ -367,31 +367,31 @@ If you need to know the exact region \fIrect\fR maps to use operator*(). See also operator*(). .PP Example: xform/xform.cpp. -.SH "QPointArray QWMatrix::mapToPolygon ( const QRect & rect ) const" +.SH "TQPointArray TQWMatrix::mapToPolygon ( const TQRect & rect ) const" Returns the transformed rectangle \fIrect\fR as a polygon. .PP -Polygons and rectangles behave slightly differently when transformed (due to integer rounding), so \fCmatrix.map( QPointArray( rect ) )\fR is not always the same as \fCmatrix.mapToPolygon( rect )\fR. -.SH "QRegion QWMatrix::mapToRegion ( const QRect & rect ) const" +Polygons and rectangles behave slightly differently when transformed (due to integer rounding), so \fCmatrix.map( TQPointArray( rect ) )\fR is not always the same as \fCmatrix.mapToPolygon( rect )\fR. +.SH "TQRegion TQWMatrix::mapToRegion ( const TQRect & rect ) const" Returns the transformed rectangle \fIrect\fR. .PP A rectangle which has been rotated or sheared may result in a non-rectangular region being returned. .PP Calling this method can be expensive, if rotations or shearing are used. If you just need to know the bounding rectangle of the returned region, use mapRect() which is a lot faster than this function. .PP -See also QWMatrix::mapRect(). -.SH "bool QWMatrix::operator!= ( const QWMatrix & m ) const" +See also TQWMatrix::mapRect(). +.SH "bool TQWMatrix::operator!= ( const TQWMatrix & m ) const" Returns TRUE if this matrix is not equal to \fIm\fR; otherwise returns FALSE. -.SH "QWMatrix & QWMatrix::operator*= ( const QWMatrix & m )" +.SH "TQWMatrix & TQWMatrix::operator*= ( const TQWMatrix & m )" Returns the result of multiplying this matrix by matrix \fIm\fR. -.SH "bool QWMatrix::operator== ( const QWMatrix & m ) const" +.SH "bool TQWMatrix::operator== ( const TQWMatrix & m ) const" Returns TRUE if this matrix is equal to \fIm\fR; otherwise returns FALSE. -.SH "void QWMatrix::reset ()" +.SH "void TQWMatrix::reset ()" Resets the matrix to an identity matrix. .PP All elements are set to zero, except \fIm11\fR and \fIm22\fR (scaling) which are set to 1. .PP See also isIdentity(). -.SH "QWMatrix & QWMatrix::rotate ( double a )" +.SH "TQWMatrix & TQWMatrix::rotate ( double a )" Rotates the coordinate system \fIa\fR degrees counterclockwise. .PP Returns a reference to the matrix. @@ -400,7 +400,7 @@ See also translate(), scale(), and shear(). .PP Examples: .)l canvas/canvas.cpp, desktop/desktop.cpp, drawdemo/drawdemo.cpp, t14/cannon.cpp, and xform/xform.cpp. -.SH "QWMatrix & QWMatrix::scale ( double sx, double sy )" +.SH "TQWMatrix & TQWMatrix::scale ( double sx, double sy )" Scales the coordinate system unit by \fIsx\fR horizontally and \fIsy\fR vertically. .PP Returns a reference to the matrix. @@ -409,13 +409,13 @@ See also translate(), shear(), and rotate(). .PP Examples: .)l canvas/canvas.cpp, fileiconview/tqfileiconview.cpp, movies/main.cpp, qmag/qmag.cpp, showimg/showimg.cpp, and xform/xform.cpp. -.SH "void QWMatrix::setMatrix ( double m11, double m12, double m21, double m22, double dx, double dy )" +.SH "void TQWMatrix::setMatrix ( double m11, double m12, double m21, double m22, double dx, double dy )" Sets the matrix elements to the specified values, \fIm11\fR, \fIm12\fR, \fIm21\fR, \fIm22\fR, \fIdx\fR and \fIdy\fR. -.SH "void QWMatrix::setTransformationMode ( QWMatrix::TransformationMode m )\fC [static]\fR" -Sets the transformation mode that QWMatrix and painter transformations use to \fIm\fR. +.SH "void TQWMatrix::setTransformationMode ( TQWMatrix::TransformationMode m )\fC [static]\fR" +Sets the transformation mode that TQWMatrix and painter transformations use to \fIm\fR. .PP -See also QWMatrix::TransformationMode. -.SH "QWMatrix & QWMatrix::shear ( double sh, double sv )" +See also TQWMatrix::TransformationMode. +.SH "TQWMatrix & TQWMatrix::shear ( double sh, double sv )" Shears the coordinate system by \fIsh\fR horizontally and \fIsv\fR vertically. .PP Returns a reference to the matrix. @@ -424,11 +424,11 @@ See also translate(), scale(), and rotate(). .PP Examples: .)l drawdemo/drawdemo.cpp and xform/xform.cpp. -.SH "TransformationMode QWMatrix::transformationMode ()\fC [static]\fR" +.SH "TransformationMode TQWMatrix::transformationMode ()\fC [static]\fR" Returns the current transformation mode. .PP -See also QWMatrix::TransformationMode. -.SH "QWMatrix & QWMatrix::translate ( double dx, double dy )" +See also TQWMatrix::TransformationMode. +.SH "TQWMatrix & TQWMatrix::translate ( double dx, double dy )" Moves the coordinate system \fIdx\fR along the X-axis and \fIdy\fR along the Y-axis. .PP Returns a reference to the matrix. @@ -438,17 +438,17 @@ See also scale(), shear(), and rotate(). Examples: .)l canvas/canvas.cpp, drawdemo/drawdemo.cpp, t14/cannon.cpp, and xform/xform.cpp. .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QWMatrix & m )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQWMatrix & m )" Writes the matrix \fIm\fR to the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. -.SH "TQDataStream & operator>> ( TQDataStream & s, QWMatrix & m )" +.SH "TQDataStream & operator>> ( TQDataStream & s, TQWMatrix & m )" Reads the matrix \fIm\fR from the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqwmatrix.html +.BR http://doc.trolltech.com/tqwmatrix.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |