diff options
Diffstat (limited to 'doc/man')
93 files changed, 1372 insertions, 1372 deletions
diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index c972a56d7..cb3c67505 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -223,13 +223,13 @@ Inherits TQObject. .BI "void \fBsetPalette\fR ( const QPalette & palette, bool informWidgets = FALSE, const char * className = 0 )" .br .ti -1c -.BI "QFont \fBfont\fR ( const TQWidget * w = 0 )" +.BI "TQFont \fBfont\fR ( const TQWidget * w = 0 )" .br .ti -1c -.BI "void \fBsetFont\fR ( const QFont & font, bool informWidgets = FALSE, const char * className = 0 )" +.BI "void \fBsetFont\fR ( const TQFont & font, bool informWidgets = FALSE, const char * className = 0 )" .br .ti -1c -.BI "QFontMetrics \fBfontMetrics\fR ()" +.BI "TQFontMetrics \fBfontMetrics\fR ()" .br .ti -1c .BI "TQWidgetList * \fBallWidgets\fR ()" @@ -905,7 +905,7 @@ Flushes the window system specific event queues. .PP If you are doing graphical changes inside a loop that does not return to the event loop on asynchronous window systems like X11 or double buffered window systems like MacOS X, and you want to visualize these changes immediately (e.g. Splash Screens), call this function. .PP -See also flushX(), sendPostedEvents(), and QPainter::flush(). +See also flushX(), sendPostedEvents(), and TQPainter::flush(). .SH "void QApplication::flushX ()\fC [static]\fR" Flushes the X event queue in the X11 implementation. This normally returns almost immediately. Does nothing on other platforms. .PP @@ -916,17 +916,17 @@ Example: xform/xform.cpp. Returns the application widget that has the keyboard input focus, or 0 if no widget in this application has the focus. .PP See also TQWidget::setFocus(), TQWidget::focus, and activeWindow(). -.SH "QFont QApplication::font ( const TQWidget * w = 0 )\fC [static]\fR" +.SH "TQFont QApplication::font ( const TQWidget * w = 0 )\fC [static]\fR" Returns the default font for the widget \fIw\fR, or the default application font if \fIw\fR is 0. .PP See also setFont(), fontMetrics(), and TQWidget::font. .PP Examples: .)l qfd/fontdisplayer.cpp, themes/metal.cpp, and themes/themes.cpp. -.SH "QFontMetrics QApplication::fontMetrics ()\fC [static]\fR" +.SH "TQFontMetrics QApplication::fontMetrics ()\fC [static]\fR" Returns display (screen) font metrics for the application font. .PP -See also font(), setFont(), TQWidget::fontMetrics(), and QPainter::fontMetrics(). +See also font(), setFont(), TQWidget::fontMetrics(), and TQPainter::fontMetrics(). .SH "TQSize QApplication::globalStrut ()\fC [static]\fR" Returns the application's global strut. .PP @@ -1296,7 +1296,7 @@ Enables the UI effect \fIeffect\fR if \fIenable\fR is TRUE, otherwise the effect Note: All effects are disabled on screens running at less than 16-bit color depth. .PP See also isEffectEnabled(), TQt::UIEffect, and setDesktopSettingsAware(). -.SH "void QApplication::setFont ( const QFont & font, bool informWidgets = FALSE, const char * className = 0 )\fC [static]\fR" +.SH "void QApplication::setFont ( const TQFont & font, bool informWidgets = FALSE, const char * className = 0 )\fC [static]\fR" Changes the default application font to \fIfont\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. If \fIclassName\fR is passed, the change applies only to classes that inherit \fIclassName\fR (as reported by TQObject::inherits()). .PP On application start-up, the default font depends on the window system. It can vary depending on both the window system version and the locale. This function lets you override the default font; but overriding may be a bad idea because, for example, some locales need extra-large fonts to support their special characters. diff --git a/doc/man/man3/tqbitmap.3qt b/doc/man/man3/tqbitmap.3qt index c6a58773d..4a0b8b534 100644 --- a/doc/man/man3/tqbitmap.3qt +++ b/doc/man/man3/tqbitmap.3qt @@ -52,7 +52,7 @@ Inherits QPixmap. .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 QBrush 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 QPixmap::setMask() and for QRegion. .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. .PP @@ -62,7 +62,7 @@ The TQBitmap can be transformed (translated, scaled, sheared or rotated) using x .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. .PP -See also QPixmap, QPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also QPixmap, 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. diff --git a/doc/man/man3/tqboxlayout.3qt b/doc/man/man3/tqboxlayout.3qt index 796303d9d..f1a281085 100644 --- a/doc/man/man3/tqboxlayout.3qt +++ b/doc/man/man3/tqboxlayout.3qt @@ -214,7 +214,7 @@ When a layout is constructed with another layout as its parent, you don't need t See also insertLayout(), setAutoAdd(), addWidget(), and addSpacing(). .PP Examples: -.)l chart/optionsform.cpp, chart/setdataform.cpp, fonts/simple-qfont-demo/viewer.cpp, listbox/listbox.cpp, regexptester/regexptester.cpp, and tictac/tictac.cpp. +.)l chart/optionsform.cpp, chart/setdataform.cpp, fonts/simple-tqfont-demo/viewer.cpp, listbox/listbox.cpp, regexptester/regexptester.cpp, and tictac/tictac.cpp. .SH "void QBoxLayout::addSpacing ( int size )" Adds a non-stretchable space with size \fIsize\fR to the end of this box layout. QBoxLayout provides default margin and spacing. This function adds additional space. .PP diff --git a/doc/man/man3/tqbrush.3qt b/doc/man/man3/tqbrush.3qt index cf52814e2..06fb189fa 100644 --- a/doc/man/man3/tqbrush.3qt +++ b/doc/man/man3/tqbrush.3qt @@ -1,5 +1,5 @@ '\" t -.TH QBrush 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQBrush 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 -QBrush \- Defines the fill pattern of shapes drawn by a QPainter +TQBrush \- Defines the fill pattern of shapes drawn by a TQPainter .SH SYNOPSIS -\fC#include <ntqbrush.h>\fR +\fC#include <tqbrush.h>\fR .PP Inherits Qt. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQBrush\fR ()" +.BI "\fBTQBrush\fR ()" .br .ti -1c -.BI "\fBQBrush\fR ( BrushStyle style )" +.BI "\fBTQBrush\fR ( BrushStyle style )" .br .ti -1c -.BI "\fBQBrush\fR ( const TQColor & color, BrushStyle style = SolidPattern )" +.BI "\fBTQBrush\fR ( const TQColor & color, BrushStyle style = SolidPattern )" .br .ti -1c -.BI "\fBQBrush\fR ( const TQColor & color, const QPixmap & pixmap )" +.BI "\fBTQBrush\fR ( const TQColor & color, const QPixmap & pixmap )" .br .ti -1c -.BI "\fBQBrush\fR ( const QBrush & b )" +.BI "\fBTQBrush\fR ( const TQBrush & b )" .br .ti -1c -.BI "\fB~QBrush\fR ()" +.BI "\fB~TQBrush\fR ()" .br .ti -1c -.BI "QBrush & \fBoperator=\fR ( const QBrush & b )" +.BI "TQBrush & \fBoperator=\fR ( const TQBrush & b )" .br .ti -1c .BI "BrushStyle \fBstyle\fR () const" @@ -55,23 +55,23 @@ Inherits Qt. .BI "void \fBsetPixmap\fR ( const QPixmap & pixmap )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QBrush & b ) const" +.BI "bool \fBoperator==\fR ( const TQBrush & b ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QBrush & b ) const" +.BI "bool \fBoperator!=\fR ( const TQBrush & b ) const" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QBrush & b )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQBrush & b )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QBrush & b )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQBrush & b )" .br .in -1c .SH DESCRIPTION -The QBrush class defines the fill pattern of shapes drawn by a QPainter. +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. .PP @@ -85,9 +85,9 @@ Example: .PP .nf .br - QPainter painter; + TQPainter painter; .br - QBrush brush( yellow ); // yellow solid pattern + TQBrush brush( yellow ); // yellow solid pattern .br painter.begin( &anyPaintDevice ); // paint something .br @@ -115,19 +115,19 @@ See the setStyle() function for a complete list of brush styles. .PP </center> .PP -See also QPainter, QPainter::setBrush(), QPainter::setBrushOrigin(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also TQPainter, TQPainter::setBrush(), TQPainter::setBrushOrigin(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QBrush::QBrush ()" +.SH "TQBrush::TQBrush ()" Constructs a default black brush with the style NoBrush (will not fill shapes). -.SH "QBrush::QBrush ( BrushStyle style )" +.SH "TQBrush::TQBrush ( BrushStyle style )" Constructs a black brush with the style \fIstyle\fR. .PP See also setStyle(). -.SH "QBrush::QBrush ( const TQColor & color, BrushStyle style = SolidPattern )" +.SH "TQBrush::TQBrush ( const TQColor & color, BrushStyle style = SolidPattern )" Constructs a brush with the color \fIcolor\fR and the style \fIstyle\fR. .PP See also setColor() and setStyle(). -.SH "QBrush::QBrush ( const TQColor & color, const QPixmap & pixmap )" +.SH "TQBrush::TQBrush ( const TQColor & color, const QPixmap & 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. @@ -135,41 +135,41 @@ The color will only have an effect for monochrome pixmaps, i.e. for QPixmap::dep Pixmap brushes are currently not supported when printing on X11. .PP See also setColor() and setPixmap(). -.SH "QBrush::QBrush ( const QBrush & b )" +.SH "TQBrush::TQBrush ( const TQBrush & b )" Constructs a brush that is a shallow copy of \fIb\fR. -.SH "QBrush::~QBrush ()" +.SH "TQBrush::~TQBrush ()" Destroys the brush. -.SH "const TQColor & QBrush::color () const" +.SH "const TQColor & TQBrush::color () const" Returns the brush color. .PP See also setColor(). -.SH "bool QBrush::operator!= ( const QBrush & b ) const" +.SH "bool TQBrush::operator!= ( const TQBrush & b ) const" Returns TRUE if the brush is different from \fIb\fR; otherwise returns FALSE. .PP Two brushes are different if they have different styles, colors or pixmaps. .PP See also operator==(). -.SH "QBrush & QBrush::operator= ( const QBrush & b )" +.SH "TQBrush & TQBrush::operator= ( const TQBrush & b )" Assigns \fIb\fR to this brush and returns a reference to this brush. -.SH "bool QBrush::operator== ( const QBrush & b ) const" +.SH "bool TQBrush::operator== ( const TQBrush & b ) const" Returns TRUE if the brush is equal to \fIb\fR; otherwise returns FALSE. .PP Two brushes are equal if they have equal styles, colors and pixmaps. .PP See also operator!=(). -.SH "QPixmap * QBrush::pixmap () const" +.SH "QPixmap * 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(). .PP Example: richtext/richtext.cpp. -.SH "void QBrush::setColor ( const TQColor & c )" +.SH "void TQBrush::setColor ( const TQColor & c )" Sets the brush color to \fIc\fR. .PP See also color() and setStyle(). .PP Example: picture/picture.cpp. -.SH "void QBrush::setPixmap ( const QPixmap & pixmap )" +.SH "void TQBrush::setPixmap ( const QPixmap & 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. @@ -179,7 +179,7 @@ Pixmap brushes are currently not supported when printing on X11. See also pixmap() and color(). .PP Example: richtext/richtext.cpp. -.SH "void QBrush::setStyle ( BrushStyle s )" +.SH "void TQBrush::setStyle ( BrushStyle s )" Sets the brush style to \fIs\fR. .PP The brush styles are: <center>.nf @@ -194,22 +194,22 @@ On Windows, dense and custom patterns cannot be transparent. See the Detailed Description for a picture of all the styles. .PP See also style(). -.SH "BrushStyle QBrush::style () const" +.SH "BrushStyle TQBrush::style () const" Returns the brush style. .PP See also setStyle(). .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QBrush & b )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQBrush & b )" Writes the brush \fIb\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, QBrush & b )" +.SH "TQDataStream & operator>> ( TQDataStream & s, TQBrush & b )" Reads the brush \fIb\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/ntqbrush.html +.BR http://doc.trolltech.com/tqbrush.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/tqbutton.3qt b/doc/man/man3/tqbutton.3qt index 4899612ce..9d8a3cf92 100644 --- a/doc/man/man3/tqbutton.3qt +++ b/doc/man/man3/tqbutton.3qt @@ -156,13 +156,13 @@ Inherited by QCheckBox, QPushButton, QRadioButton, and TQToolButton. .BI "virtual bool \fBhitButton\fR ( const QPoint & pos ) const" .br .ti -1c -.BI "virtual void \fBdrawButton\fR ( QPainter * )" +.BI "virtual void \fBdrawButton\fR ( TQPainter * )" .br .ti -1c -.BI "virtual void \fBdrawButtonLabel\fR ( QPainter * )" +.BI "virtual void \fBdrawButtonLabel\fR ( TQPainter * )" .br .ti -1c -.BI "virtual void \fBpaintEvent\fR ( QPaintEvent * )" +.BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * )" .br .in -1c .SH DESCRIPTION @@ -278,13 +278,13 @@ See also pressed(), released(), toggled(), autoRepeat, and down. .PP Examples: .)l chart/setdataform.cpp, listbox/listbox.cpp, network/clientserver/client/client.cpp, progressbar/progressbar.cpp, richtext/richtext.cpp, t2/main.cpp, and t4/main.cpp. -.SH "void QButton::drawButton ( QPainter * )\fC [virtual protected]\fR" +.SH "void QButton::drawButton ( TQPainter * )\fC [virtual protected]\fR" Draws the button. The default implementation does nothing. .PP This virtual function is reimplemented by subclasses to draw real buttons. At some point, these reimplementations should call drawButtonLabel(). .PP See also drawButtonLabel() and paintEvent(). -.SH "void QButton::drawButtonLabel ( QPainter * )\fC [virtual protected]\fR" +.SH "void QButton::drawButtonLabel ( TQPainter * )\fC [virtual protected]\fR" Draws the button text or pixmap. .PP This virtual function is reimplemented by subclasses to draw real buttons. It is invoked by drawButton(). @@ -308,7 +308,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 "void QButton::paintEvent ( QPaintEvent * )\fC [virtual protected]\fR" +.SH "void QButton::paintEvent ( TQPaintEvent * )\fC [virtual protected]\fR" Handles paint events for buttons. Small and typically complex buttons are painted double-buffered to reduce flicker. The actually drawing is done in the virtual functions drawButton() and drawButtonLabel(). .PP See also drawButton() and drawButtonLabel(). diff --git a/doc/man/man3/tqcanvas.3qt b/doc/man/man3/tqcanvas.3qt index 4eabda1c9..5e84ff8c7 100644 --- a/doc/man/man3/tqcanvas.3qt +++ b/doc/man/man3/tqcanvas.3qt @@ -115,7 +115,7 @@ Inherits TQObject. .BI "TQCanvasItemList \fBcollisions\fR ( const QPointArray & chunklist, const TQCanvasItem * item, bool exact ) const" .br .ti -1c -.BI "void \fBdrawArea\fR ( const QRect & clip, QPainter * painter, bool dbuf = FALSE )" +.BI "void \fBdrawArea\fR ( const QRect & 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 ( QPainter & painter, const QRect & clip )" +.BI "virtual void \fBdrawBackground\fR ( TQPainter & painter, const QRect & clip )" .br .ti -1c -.BI "virtual void \fBdrawForeground\fR ( QPainter & painter, const QRect & clip )" +.BI "virtual void \fBdrawForeground\fR ( TQPainter & painter, const QRect & clip )" .br .in -1c .SH DESCRIPTION @@ -206,7 +206,7 @@ The foreground is normally nothing, but if you reimplement drawForeground(), you .PP Areas can be set as changed with setChanged() and set unchanged with setUnchanged(). The entire canvas can be set as changed with setAllChanged(). A list of all the items on the canvas is returned by allItems(). .PP -An area can be copied (painted) to a QPainter with drawArea(). +An area can be copied (painted) to a TQPainter with drawArea(). .PP If the canvas is resized it emits the resized() signal. .PP @@ -273,7 +273,7 @@ This is an overloaded member function, provided for convenience. It behaves esse 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, QPainter * painter, bool dbuf = FALSE )" +.SH "void TQCanvas::drawArea ( const QRect & 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: @@ -284,7 +284,7 @@ e.g. to print the canvas to a printer: .br if ( pr.setup() ) { .br - QPainter p(&pr); + TQPainter p(&pr); .br canvas.drawArea( canvas.rect(), &p ); .br @@ -293,13 +293,13 @@ e.g. to print the canvas to a printer: .fi .PP Example: canvas/canvas.cpp. -.SH "void TQCanvas::drawBackground ( QPainter & painter, const QRect & clip )\fC [virtual protected]\fR" +.SH "void TQCanvas::drawBackground ( TQPainter & painter, const QRect & clip )\fC [virtual protected]\fR" This virtual function is called for all updates of the canvas. It renders any background graphics using the painter \fIpainter\fR, in the area \fIclip\fR. If the canvas has a background pixmap or a tiled background, that graphic is used, otherwise the canvas is cleared using the background color. .PP If the graphics for an area change, you must explicitly call setChanged(const QRect&) for the result to be visible when update() is next called. .PP See also setBackgroundColor(), setBackgroundPixmap(), and setTiles(). -.SH "void TQCanvas::drawForeground ( QPainter & painter, const QRect & clip )\fC [virtual protected]\fR" +.SH "void TQCanvas::drawForeground ( TQPainter & painter, const QRect & clip )\fC [virtual protected]\fR" This virtual function is called for all updates of the canvas. It renders any foreground graphics using the painter \fIpainter\fR, in the area \fIclip\fR. .PP If the graphics for an area change, you must explicitly call setChanged(const QRect&) for the result to be visible when update() is next called. diff --git a/doc/man/man3/tqcanvasellipse.3qt b/doc/man/man3/tqcanvasellipse.3qt index cd74f8aad..08264f643 100644 --- a/doc/man/man3/tqcanvasellipse.3qt +++ b/doc/man/man3/tqcanvasellipse.3qt @@ -52,13 +52,13 @@ Inherits TQCanvasPolygonalItem. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawShape\fR ( QPainter & p )" +.BI "virtual void \fBdrawShape\fR ( TQPainter & p )" .br .in -1c .SH DESCRIPTION The TQCanvasEllipse class provides an ellipse or ellipse segment on a TQCanvas. .PP -A canvas item that paints an ellipse or ellipse segment with a QBrush. The ellipse's height, width, start angle and angle length can be set at construction time. The size can be changed at runtime with setSize(), and the angles can be changed (if you're displaying an ellipse segment rather than a whole ellipse) with setAngles(). +A canvas item that paints an ellipse or ellipse segment with a TQBrush. The ellipse's height, width, start angle and angle length can be set at construction time. The size can be changed at runtime with setSize(), and the angles can be changed (if you're displaying an ellipse segment rather than a whole ellipse) with setAngles(). .PP Note that angles are specified in 16ths of a degree. .PP @@ -96,7 +96,7 @@ See also setAngles() and angleStart(). Returns the start angle in 16ths of a degree. Initially this will be 0. .PP See also setAngles() and angleLength(). -.SH "void TQCanvasEllipse::drawShape ( QPainter & p )\fC [virtual protected]\fR" +.SH "void TQCanvasEllipse::drawShape ( TQPainter & p )\fC [virtual protected]\fR" Draws the ellipse, centered at x(), y() using the painter \fIp\fR. .PP Note that TQCanvasEllipse does not support an outline (the pen is always NoPen). diff --git a/doc/man/man3/tqcanvasitem.3qt b/doc/man/man3/tqcanvasitem.3qt index 75406891c..cb1147a8c 100644 --- a/doc/man/man3/tqcanvasitem.3qt +++ b/doc/man/man3/tqcanvasitem.3qt @@ -81,7 +81,7 @@ Inherited by TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText. .BI "virtual void \fBsetCanvas\fR ( TQCanvas * c )" .br .ti -1c -.BI "virtual void \fBdraw\fR ( QPainter & painter ) = 0" +.BI "virtual void \fBdraw\fR ( TQPainter & painter ) = 0" .br .ti -1c .BI "void \fBshow\fR ()" @@ -250,10 +250,10 @@ The returned list is a list of TQCanvasItems, but often you will need to cast th Note that a canvas item may be `on' a canvas, e.g. it was created with the canvas as parameter, even though its coordinates place it beyond the edge of the canvas's area. Collision detection only works for canvas items which are wholly or partly within the canvas's area. .PP Note that if items have a velocity (see setVelocity()), then collision testing is done based on where the item \fIwill\fR be when it moves, not its current location. For example, a "ball" item doesn't need to actually embed into a "wall" item before a collision is detected. For items without velocity, plain intersection is used. -.SH "void TQCanvasItem::draw ( QPainter & painter )\fC [pure virtual]\fR" +.SH "void TQCanvasItem::draw ( TQPainter & painter )\fC [pure virtual]\fR" This abstract virtual function draws the canvas item using \fIpainter\fR. .PP -\fBWarning:\fR When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, if you start by calling QPainter::translate(50, 50), end your code by calling QPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., don't call QPainter::resetXForm() when you're done). +\fBWarning:\fR When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, if you start by calling TQPainter::translate(50, 50), end your code by calling TQPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., don't call TQPainter::resetXForm() when you're done). .PP Reimplemented in TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText. .SH "bool TQCanvasItem::enabled () const" diff --git a/doc/man/man3/tqcanvaspolygon.3qt b/doc/man/man3/tqcanvaspolygon.3qt index e97dbf2b7..f9fff9ff6 100644 --- a/doc/man/man3/tqcanvaspolygon.3qt +++ b/doc/man/man3/tqcanvaspolygon.3qt @@ -39,13 +39,13 @@ Inherited by TQCanvasSpline. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawShape\fR ( QPainter & p )" +.BI "virtual void \fBdrawShape\fR ( TQPainter & p )" .br .in -1c .SH DESCRIPTION The TQCanvasPolygon class provides a polygon on a TQCanvas. .PP -Paints a polygon with a QBrush. The polygon's points can be set in the constructor or set or changed later using setPoints(). Use points() to retrieve the points, or areaPoints() to retrieve the points relative to the canvas's origin. +Paints a polygon with a TQBrush. The polygon's points can be set in the constructor or set or changed later using setPoints(). Use points() to retrieve the points, or areaPoints() to retrieve the points relative to the canvas's origin. .PP The polygon can be drawn on a painter with drawShape(). .PP @@ -65,7 +65,7 @@ Returns the vertices of the polygon translated by the polygon's current x(), y() See also setPoints() and points(). .PP Reimplemented from TQCanvasPolygonalItem. -.SH "void TQCanvasPolygon::drawShape ( QPainter & p )\fC [virtual protected]\fR" +.SH "void TQCanvasPolygon::drawShape ( TQPainter & p )\fC [virtual protected]\fR" Draws the polygon using the painter \fIp\fR. .PP Note that TQCanvasPolygon does not support an outline (the pen is always NoPen). diff --git a/doc/man/man3/tqcanvaspolygonalitem.3qt b/doc/man/man3/tqcanvaspolygonalitem.3qt index 0bd708a09..ec5d22ad0 100644 --- a/doc/man/man3/tqcanvaspolygonalitem.3qt +++ b/doc/man/man3/tqcanvaspolygonalitem.3qt @@ -27,13 +27,13 @@ Inherited by TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllip .BI "virtual void \fBsetPen\fR ( QPen p )" .br .ti -1c -.BI "virtual void \fBsetBrush\fR ( QBrush b )" +.BI "virtual void \fBsetBrush\fR ( TQBrush b )" .br .ti -1c .BI "QPen \fBpen\fR () const" .br .ti -1c -.BI "QBrush \fBbrush\fR () const" +.BI "TQBrush \fBbrush\fR () const" .br .ti -1c .BI "virtual QPointArray \fBareaPoints\fR () const = 0" @@ -51,10 +51,10 @@ Inherited by TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllip .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdraw\fR ( QPainter & p )" +.BI "virtual void \fBdraw\fR ( TQPainter & p )" .br .ti -1c -.BI "virtual void \fBdrawShape\fR ( QPainter & p ) = 0" +.BI "virtual void \fBdrawShape\fR ( TQPainter & p ) = 0" .br .ti -1c .BI "bool \fBwinding\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 QBrush 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 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. .PP The polygonal item can be drawn on a painter with draw(). Subclasses must reimplement drawShape() to draw themselves. .PP @@ -106,18 +106,18 @@ Returns the points the polygonal item \fIwill\fR have after TQCanvasItem::advanc Returns the bounding rectangle of the polygonal item, based on areaPoints(). .PP Reimplemented from TQCanvasItem. -.SH "QBrush TQCanvasPolygonalItem::brush () const" -Returns the QBrush used to fill the item, if filled. +.SH "TQBrush TQCanvasPolygonalItem::brush () const" +Returns the TQBrush used to fill the item, if filled. .PP See also setBrush(). -.SH "void TQCanvasPolygonalItem::draw ( QPainter & p )\fC [virtual protected]\fR" +.SH "void TQCanvasPolygonalItem::draw ( TQPainter & p )\fC [virtual protected]\fR" Reimplemented from TQCanvasItem, this draws the polygonal item by setting the pen and brush for the item on the painter \fIp\fR and calling drawShape(). .PP Reimplemented from TQCanvasItem. -.SH "void TQCanvasPolygonalItem::drawShape ( QPainter & p )\fC [pure virtual protected]\fR" +.SH "void TQCanvasPolygonalItem::drawShape ( TQPainter & p )\fC [pure virtual protected]\fR" Subclasses must reimplement this function to draw their shape. The pen and brush of \fIp\fR are already set to pen() and brush() prior to calling this function. .PP -\fBWarning:\fR When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, if you start by calling QPainter::translate(50, 50), end your code by calling QPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., don't call QPainter::resetXForm() when you're done). +\fBWarning:\fR When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, if you start by calling TQPainter::translate(50, 50), end your code by calling TQPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., don't call TQPainter::resetXForm() when you're done). .PP See also draw(). .PP @@ -140,8 +140,8 @@ See also TQCanvasItem::rtti(). Reimplemented from TQCanvasItem. .PP Reimplemented in TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllipse. -.SH "void TQCanvasPolygonalItem::setBrush ( QBrush b )\fC [virtual]\fR" -Sets the QBrush used when drawing the polygonal item to the brush \fIb\fR. +.SH "void TQCanvasPolygonalItem::setBrush ( TQBrush b )\fC [virtual]\fR" +Sets the TQBrush used when drawing the polygonal item to the brush \fIb\fR. .PP See also setPen(), brush(), and drawShape(). .PP diff --git a/doc/man/man3/tqcanvasrectangle.3qt b/doc/man/man3/tqcanvasrectangle.3qt index 892629561..f82ece5a9 100644 --- a/doc/man/man3/tqcanvasrectangle.3qt +++ b/doc/man/man3/tqcanvasrectangle.3qt @@ -49,7 +49,7 @@ Inherits TQCanvasPolygonalItem. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawShape\fR ( QPainter & p )" +.BI "virtual void \fBdrawShape\fR ( TQPainter & p )" .br .ti -1c .BI "virtual QPointArray \fBchunks\fR () const" @@ -78,7 +78,7 @@ Constructs a rectangle at position (\fIx\fR, \fIy\fR) and size \fIwidth\fR by \f Destroys the rectangle. .SH "QPointArray TQCanvasRectangle::chunks () const\fC [virtual protected]\fR" Simply calls TQCanvasItem::chunks(). -.SH "void TQCanvasRectangle::drawShape ( QPainter & p )\fC [virtual protected]\fR" +.SH "void TQCanvasRectangle::drawShape ( TQPainter & p )\fC [virtual protected]\fR" Draws the rectangle on painter \fIp\fR. .PP Example: canvas/canvas.cpp. diff --git a/doc/man/man3/tqcanvassprite.3qt b/doc/man/man3/tqcanvassprite.3qt index adcc403bb..97570c3bf 100644 --- a/doc/man/man3/tqcanvassprite.3qt +++ b/doc/man/man3/tqcanvassprite.3qt @@ -91,7 +91,7 @@ Inherits TQCanvasItem. .BI "virtual void \fBadvance\fR ( int phase )" .br .ti -1c -.BI "virtual void \fBdraw\fR ( QPainter & painter )" +.BI "virtual void \fBdraw\fR ( TQPainter & painter )" .br .in -1c .SH DESCRIPTION @@ -152,7 +152,7 @@ See also leftEdge(), rightEdge(), and topEdge(). 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. -.SH "void TQCanvasSprite::draw ( QPainter & painter )\fC [virtual]\fR" +.SH "void TQCanvasSprite::draw ( TQPainter & painter )\fC [virtual]\fR" Draws the current frame's image at the sprite's current position on painter \fIpainter\fR. .PP Reimplemented from TQCanvasItem. diff --git a/doc/man/man3/tqcanvastext.3qt b/doc/man/man3/tqcanvastext.3qt index 0aab507b4..2ddd084b0 100644 --- a/doc/man/man3/tqcanvastext.3qt +++ b/doc/man/man3/tqcanvastext.3qt @@ -22,7 +22,7 @@ Inherits TQCanvasItem. .BI "\fBTQCanvasText\fR ( const TQString & t, TQCanvas * canvas )" .br .ti -1c -.BI "\fBTQCanvasText\fR ( const TQString & t, QFont f, TQCanvas * canvas )" +.BI "\fBTQCanvasText\fR ( const TQString & t, TQFont f, TQCanvas * canvas )" .br .ti -1c .BI "virtual \fB~TQCanvasText\fR ()" @@ -31,7 +31,7 @@ Inherits TQCanvasItem. .BI "void \fBsetText\fR ( const TQString & t )" .br .ti -1c -.BI "void \fBsetFont\fR ( const QFont & f )" +.BI "void \fBsetFont\fR ( const TQFont & f )" .br .ti -1c .BI "void \fBsetColor\fR ( const TQColor & c )" @@ -40,7 +40,7 @@ Inherits TQCanvasItem. .BI "TQString \fBtext\fR () const" .br .ti -1c -.BI "QFont \fBfont\fR () const" +.BI "TQFont \fBfont\fR () const" .br .ti -1c .BI "TQColor \fBcolor\fR () const" @@ -61,7 +61,7 @@ Inherits TQCanvasItem. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdraw\fR ( QPainter & painter )" +.BI "virtual void \fBdraw\fR ( TQPainter & painter )" .br .in -1c .SH DESCRIPTION @@ -79,7 +79,7 @@ See also Graphics Classes and Image Processing Classes. Constructs a TQCanvasText with the text "<text>", on \fIcanvas\fR. .SH "TQCanvasText::TQCanvasText ( const TQString & t, TQCanvas * canvas )" Constructs a TQCanvasText with the text \fIt\fR, on canvas \fIcanvas\fR. -.SH "TQCanvasText::TQCanvasText ( const TQString & t, QFont f, TQCanvas * canvas )" +.SH "TQCanvasText::TQCanvasText ( const TQString & t, TQFont f, TQCanvas * canvas )" Constructs a TQCanvasText with the text \fIt\fR and font \fIf\fR, on the canvas \fIcanvas\fR. .SH "TQCanvasText::~TQCanvasText ()\fC [virtual]\fR" Destroys the canvas text item. @@ -91,11 +91,11 @@ Reimplemented from TQCanvasItem. Returns the color of the text. .PP See also setColor(). -.SH "void TQCanvasText::draw ( QPainter & painter )\fC [virtual protected]\fR" +.SH "void TQCanvasText::draw ( TQPainter & painter )\fC [virtual protected]\fR" Draws the text using the painter \fIpainter\fR. .PP Reimplemented from TQCanvasItem. -.SH "QFont TQCanvasText::font () const" +.SH "TQFont TQCanvasText::font () const" Returns the font in which the text is drawn. .PP See also setFont(). @@ -111,7 +111,7 @@ Sets the color of the text to the color \fIc\fR. See also color() and setFont(). .PP Example: chart/chartform_canvas.cpp. -.SH "void TQCanvasText::setFont ( const QFont & f )" +.SH "void TQCanvasText::setFont ( const TQFont & f )" Sets the font in which the text is drawn to font \fIf\fR. .PP See also font(). @@ -122,7 +122,7 @@ See also text(), setFont(), setColor(), and setTextFlags(). .PP Example: canvas/canvas.cpp. .SH "void TQCanvasText::setTextFlags ( int f )" -Sets the alignment flags to \fIf\fR. These are a bitwise OR of the flags available to QPainter::drawText() -- see the TQt::AlignmentFlags. +Sets the alignment flags to \fIf\fR. These are a bitwise OR of the flags available to TQPainter::drawText() -- see the TQt::AlignmentFlags. .PP See also setFont() and setColor(). .SH "TQString TQCanvasText::text () const" diff --git a/doc/man/man3/tqcanvasview.3qt b/doc/man/man3/tqcanvasview.3qt index 0046c0623..afb8ae8a4 100644 --- a/doc/man/man3/tqcanvasview.3qt +++ b/doc/man/man3/tqcanvasview.3qt @@ -43,7 +43,7 @@ Inherits QScrollView. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * p, int cx, int cy, int cw, int ch )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * p, int cx, int cy, int cw, int ch )" .br .ti -1c .BI "virtual TQSize \fBsizeHint\fR () const" @@ -116,7 +116,7 @@ The following code finds the part of the canvas that is visible in this view, i. .br .fi .PP -See also QWMatrix, QPainter::setWorldMatrix(), Graphics Classes, and Image Processing Classes. +See also QWMatrix, 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 )" @@ -129,7 +129,7 @@ Constructs a TQCanvasView which views canvas \fIcanvas\fR, with parent \fIparent Destroys the canvas view. The associated canvas is \fInot\fR deleted. .SH "TQCanvas * TQCanvasView::canvas () const" Returns a pointer to the canvas which the TQCanvasView is currently showing. -.SH "void TQCanvasView::drawContents ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" +.SH "void TQCanvasView::drawContents ( TQPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" Repaints part of the TQCanvas that the canvas view is showing starting at \fIcx\fR by \fIcy\fR, with a width of \fIcw\fR and a height of \fIch\fR using the painter \fIp\fR. .PP \fBWarning:\fR When double buffering is enabled, drawContents() will not respect the current settings of the painter when setting up the painter for the double buffer (e.g., viewport() and window()). Also, be aware that TQCanvas::update() bypasses drawContents(), which means any reimplementation of drawContents() is not called. diff --git a/doc/man/man3/tqchecklistitem.3qt b/doc/man/man3/tqchecklistitem.3qt index 53232349b..cc223de90 100644 --- a/doc/man/man3/tqchecklistitem.3qt +++ b/doc/man/man3/tqchecklistitem.3qt @@ -49,10 +49,10 @@ Inherits QListViewItem. .BI "\fB~QCheckListItem\fR ()" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( QPainter * p, const QColorGroup & cg, int column, int width, int align )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( QPainter * p, const QColorGroup & cg, const QRect & r )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQColorGroup & cg, const QRect & r )" .br .ti -1c .BI "virtual void \fBsetOn\fR ( bool b )" @@ -160,11 +160,11 @@ Returns TRUE if the item is toggled on; otherwise returns FALSE. Returns TRUE if the item is tristate; otherwise returns FALSE. .PP See also setTristate(). -.SH "void QCheckListItem::paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align )\fC [virtual]\fR" +.SH "void QCheckListItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )\fC [virtual]\fR" 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 ( QPainter * p, const QColorGroup & cg, const QRect & r )\fC [virtual]\fR" +.SH "void QCheckListItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const QRect & 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/tqcolor.3qt b/doc/man/man3/tqcolor.3qt index c6f474a61..08c13061d 100644 --- a/doc/man/man3/tqcolor.3qt +++ b/doc/man/man3/tqcolor.3qt @@ -9,7 +9,7 @@ .SH NAME TQColor \- Colors based on RGB or HSV values .SH SYNOPSIS -\fC#include <ntqcolor.h>\fR +\fC#include <tqcolor.h>\fR .PP .SS "Public Members" .in +1c @@ -17,25 +17,25 @@ TQColor \- Colors based on RGB or HSV values .BI "enum \fBSpec\fR { Rgb, Hsv }" .br .ti -1c -.BI "\fBQColor\fR ()" +.BI "\fBTQColor\fR ()" .br .ti -1c -.BI "\fBQColor\fR ( int r, int g, int b )" +.BI "\fBTQColor\fR ( int r, int g, int b )" .br .ti -1c -.BI "\fBQColor\fR ( int x, int y, int z, Spec colorSpec )" +.BI "\fBTQColor\fR ( int x, int y, int z, Spec colorSpec )" .br .ti -1c -.BI "\fBQColor\fR ( TQRgb rgb, uint pixel = 0xffffffff )" +.BI "\fBTQColor\fR ( TQRgb rgb, uint pixel = 0xffffffff )" .br .ti -1c -.BI "\fBQColor\fR ( const TQString & name )" +.BI "\fBTQColor\fR ( const TQString & name )" .br .ti -1c -.BI "\fBQColor\fR ( const char * name )" +.BI "\fBTQColor\fR ( const char * name )" .br .ti -1c -.BI "\fBQColor\fR ( const TQColor & c )" +.BI "\fBTQColor\fR ( const TQColor & c )" .br .ti -1c .BI "TQColor & \fBoperator=\fR ( const TQColor & c )" @@ -227,14 +227,14 @@ 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, QColorGroup, QApplication::setColorSpec(), Color FAQ, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. +See also QPalette, 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 \fCQColor::TQColor( x, y, z, colorSpec)\fR constructor. +The type of color specified, either RGB or HSV, e.g. in the \fCTQColor::TQColor( x, y, z, colorSpec)\fR constructor. .TP -\fCQColor::Rgb\fR +\fCTQColor::Rgb\fR .TP -\fCQColor::Hsv\fR +\fCTQColor::Hsv\fR .SH MEMBER FUNCTION DOCUMENTATION .SH "TQColor::TQColor ()" Constructs an invalid color with the RGB value (0, 0, 0). An invalid color is a color that is not properly set up for the underlying window system. @@ -567,7 +567,7 @@ The return type QRgba is equivalent to \fCunsigned\fR \fCint\fR. See also tqRgb(), tqRed(), tqGreen(), and tqBlue(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqcolor.html +.BR http://doc.trolltech.com/tqcolor.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/tqcolordialog.3qt b/doc/man/man3/tqcolordialog.3qt index d96eebe32..967c8cda4 100644 --- a/doc/man/man3/tqcolordialog.3qt +++ b/doc/man/man3/tqcolordialog.3qt @@ -1,5 +1,5 @@ '\" t -.TH QColorDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQColorDialog 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,16 +7,16 @@ .ad l .nh .SH NAME -QColorDialog \- Dialog widget for specifying colors +TQColorDialog \- Dialog widget for specifying colors .SH SYNOPSIS -\fC#include <ntqcolordialog.h>\fR +\fC#include <tqcolordialog.h>\fR .PP Inherits QDialog. .PP .SS "Static Public Members" <li class=fn>TQColor \fBgetColor\fR ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>TQRgb \fBgetRgba\fR ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>int \fBcustomCount\fR () <li class=fn>TQRgb \fBcustomColor\fR ( int i ) <li class=fn>void \fBsetCustomColor\fR ( int i, TQRgb c ) <li class=fn>void \fBsetStandardColor\fR ( int i, TQRgb c ) .SH DESCRIPTION -The QColorDialog class provides a dialog widget for specifying colors. +The TQColorDialog class provides a dialog widget for specifying colors. .PP The color dialog's function is to allow users to choose colors. For example, you might use this in a drawing program to allow the user to set the brush color. .PP @@ -34,28 +34,28 @@ The user can store customCount() different custom colors. The custom colors are .PP See also Dialog Classes and Graphics Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "TQRgb QColorDialog::customColor ( int i )\fC [static]\fR" +.SH "TQRgb TQColorDialog::customColor ( int i )\fC [static]\fR" Returns custom color number \fIi\fR as a TQRgb. -.SH "int QColorDialog::customCount ()\fC [static]\fR" -Returns the number of custom colors supported by QColorDialog. All color dialogs share the same custom colors. -.SH "TQColor QColorDialog::getColor ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "int TQColorDialog::customCount ()\fC [static]\fR" +Returns the number of custom colors supported by TQColorDialog. All color dialogs share the same custom colors. +.SH "TQColor TQColorDialog::getColor ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" Pops up a modal color dialog, lets the user choose a color, and returns that color. The color is initially set to \fIinitial\fR. The dialog is a child of \fIparent\fR and is called \fIname\fR. It returns an invalid (see TQColor::isValid()) color if the user cancels the dialog. All colors allocated by the dialog will be deallocated before this function returns. .PP Examples: .)l chart/setdataform.cpp and scribble/scribble.cpp. -.SH "TQRgb QColorDialog::getRgba ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "TQRgb TQColorDialog::getRgba ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" Pops up a modal color dialog to allow the user to choose a color and an alpha channel (transparency) value. The color+alpha is initially set to \fIinitial\fR. The dialog is a child of \fIparent\fR and called \fIname\fR. .PP If \fIok\fR is non-null, \fI*\fR\fIok\fR is set to TRUE if the user clicked OK, and to FALSE if the user clicked Cancel. .PP If the user clicks Cancel, the \fIinitial\fR value is returned. -.SH "void QColorDialog::setCustomColor ( int i, TQRgb c )\fC [static]\fR" +.SH "void TQColorDialog::setCustomColor ( int i, TQRgb c )\fC [static]\fR" Sets custom color number \fIi\fR to the TQRgb value \fIc\fR. -.SH "void QColorDialog::setStandardColor ( int i, TQRgb c )\fC [static]\fR" +.SH "void TQColorDialog::setStandardColor ( int i, TQRgb c )\fC [static]\fR" Sets standard color number \fIi\fR to the TQRgb value \fIc\fR. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqcolordialog.html +.BR http://doc.trolltech.com/tqcolordialog.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/tqcolordrag.3qt b/doc/man/man3/tqcolordrag.3qt index 16da4ff90..57cd961a7 100644 --- a/doc/man/man3/tqcolordrag.3qt +++ b/doc/man/man3/tqcolordrag.3qt @@ -37,7 +37,7 @@ Inherits TQStoredDrag. .SH DESCRIPTION The TQColorDrag class provides a drag and drop object for transferring colors. .PP -This class provides a drag object which can be used to transfer data about colors for drag and drop and in the clipboard. For example, it is used in QColorDialog. +This class provides a drag object which can be used to transfer data about colors for drag and drop and in the clipboard. For example, it is used in TQColorDialog. .PP The color is set in the constructor but can be changed with setColor(). .PP diff --git a/doc/man/man3/tqcolorgroup.3qt b/doc/man/man3/tqcolorgroup.3qt index 4c9b2fac4..f28de8c37 100644 --- a/doc/man/man3/tqcolorgroup.3qt +++ b/doc/man/man3/tqcolorgroup.3qt @@ -1,5 +1,5 @@ '\" t -.TH QColorGroup 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQColorGroup 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,29 +7,29 @@ .ad l .nh .SH NAME -QColorGroup \- Group of widget colors +TQColorGroup \- Group of widget colors .SH SYNOPSIS \fC#include <ntqpalette.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQColorGroup\fR ()" +.BI "\fBTQColorGroup\fR ()" .br .ti -1c -.BI "QColorGroup ( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base ) \fI(obsolete)\fR" +.BI "TQColorGroup ( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base ) \fI(obsolete)\fR" .br .ti -1c -.BI "\fBQColorGroup\fR ( const QBrush & foreground, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & background )" +.BI "\fBTQColorGroup\fR ( const TQBrush & foreground, const TQBrush & button, const TQBrush & light, const TQBrush & dark, const TQBrush & mid, const TQBrush & text, const TQBrush & bright_text, const TQBrush & base, const TQBrush & background )" .br .ti -1c -.BI "\fBQColorGroup\fR ( const QColorGroup & other )" +.BI "\fBTQColorGroup\fR ( const TQColorGroup & other )" .br .ti -1c -.BI "\fB~QColorGroup\fR ()" +.BI "\fB~TQColorGroup\fR ()" .br .ti -1c -.BI "QColorGroup & \fBoperator=\fR ( const QColorGroup & other )" +.BI "TQColorGroup & \fBoperator=\fR ( const TQColorGroup & other )" .br .ti -1c .BI "enum \fBColorRole\fR { Foreground, Button, Light, Midlight, Dark, Mid, Text, BrightText, ButtonText, Base, Background, Shadow, Highlight, HighlightedText, Link, LinkVisited, NColorRoles }" @@ -38,13 +38,13 @@ QColorGroup \- Group of widget colors .BI "const TQColor & \fBcolor\fR ( ColorRole r ) const" .br .ti -1c -.BI "const QBrush & \fBbrush\fR ( ColorRole r ) const" +.BI "const TQBrush & \fBbrush\fR ( ColorRole r ) const" .br .ti -1c .BI "void \fBsetColor\fR ( ColorRole r, const TQColor & c )" .br .ti -1c -.BI "void \fBsetBrush\fR ( ColorRole r, const QBrush & b )" +.BI "void \fBsetBrush\fR ( ColorRole r, const TQBrush & b )" .br .ti -1c .BI "const TQColor & \fBforeground\fR () const" @@ -95,28 +95,28 @@ QColorGroup \- Group of widget colors .BI "const TQColor & \fBlinkVisited\fR () const" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QColorGroup & g ) const" +.BI "bool \fBoperator==\fR ( const TQColorGroup & g ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QColorGroup & g ) const" +.BI "bool \fBoperator!=\fR ( const TQColorGroup & g ) const" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QColorGroup & g )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQColorGroup & g )" .br .in -1c .SH DESCRIPTION -The QColorGroup class contains a group of widget colors. +The TQColorGroup class contains a group of widget colors. .PP A color group contains a group of colors used by widgets for drawing themselves. We recommend that widgets use color group roles such as "foreground" and "base" rather than literal colors like "red" or "turquoise". The color roles are enumerated and defined in the ColorRole documentation. .PP -The most common use of QColorGroup is like this: +The most common use of TQColorGroup is like this: .PP .nf .br - QPainter p; + TQPainter p; .br ... .br @@ -138,52 +138,52 @@ There are also corresponding color() and brush() getters, and a commonly used co .PP See also TQColor, QPalette, TQWidget::colorGroup, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" -.SH "QColorGroup::ColorRole" +.SH "TQColorGroup::ColorRole" The ColorRole enum defines the different symbolic color roles used in current GUIs. .PP The central roles are: .TP -\fCQColorGroup::Background\fR - general background color. +\fCTQColorGroup::Background\fR - general background color. .TP -\fCQColorGroup::Foreground\fR - general foreground color. +\fCTQColorGroup::Foreground\fR - general foreground color. .TP -\fCQColorGroup::Base\fR - used as background color for text entry widgets, for example; usually white or another light color. +\fCTQColorGroup::Base\fR - used as background color for text entry widgets, for example; usually white or another light color. .TP -\fCQColorGroup::Text\fR - the foreground color used with Base. Usually this is the same as the Foreground, in which case it must provide good contrast with Background and Base. +\fCTQColorGroup::Text\fR - the foreground color used with Base. Usually this is the same as the Foreground, in which case it must provide good contrast with Background and Base. .TP -\fCQColorGroup::Button\fR - general button background color in which buttons need a background different from Background, as in the Macintosh style. +\fCTQColorGroup::Button\fR - general button background color in which buttons need a background different from Background, as in the Macintosh style. .TP -\fCQColorGroup::ButtonText\fR - a foreground color used with the Button color. +\fCTQColorGroup::ButtonText\fR - a foreground color used with the Button color. .PP There are some color roles used mostly for 3D bevel and shadow effects: .TP -\fCQColorGroup::Light\fR - lighter than Button color. +\fCTQColorGroup::Light\fR - lighter than Button color. .TP -\fCQColorGroup::Midlight\fR - between Button and Light. +\fCTQColorGroup::Midlight\fR - between Button and Light. .TP -\fCQColorGroup::Dark\fR - darker than Button. +\fCTQColorGroup::Dark\fR - darker than Button. .TP -\fCQColorGroup::Mid\fR - between Button and Dark. +\fCTQColorGroup::Mid\fR - between Button and Dark. .TP -\fCQColorGroup::Shadow\fR - a very dark color. By default, the shadow color is \fCQt::black\fR. +\fCTQColorGroup::Shadow\fR - a very dark color. By default, the shadow color is \fCTQt::black\fR. .PP All of these are normally derived from Background and used in ways that depend on that relationship. For example, buttons depend on it to make the bevels look attractive, and Motif scroll bars depend on Mid to be slightly different from Background. .PP Selected (marked) items have two roles: .TP -\fCQColorGroup::Highlight\fR - a color to indicate a selected item or the current item. By default, the highlight color is \fCQt::darkBlue\fR. +\fCTQColorGroup::Highlight\fR - a color to indicate a selected item or the current item. By default, the highlight color is \fCTQt::darkBlue\fR. .TP -\fCQColorGroup::HighlightedText\fR - a text color that contrasts with Highlight. By default, the highlighted text color is \fCQt::white\fR. +\fCTQColorGroup::HighlightedText\fR - a text color that contrasts with Highlight. By default, the highlighted text color is \fCTQt::white\fR. .PP Finally, there is a special role for text that needs to be drawn where Text or Foreground would give poor contrast, such as on pressed push buttons: .TP -\fCQColorGroup::BrightText\fR - a text color that is very different from Foreground and contrasts well with e.g. Dark. +\fCTQColorGroup::BrightText\fR - a text color that is very different from Foreground and contrasts well with e.g. Dark. .TP -\fCQColorGroup::Link\fR - a text color used for unvisited hyperlinks. By default, the link color is \fCQt::blue\fR. +\fCTQColorGroup::Link\fR - a text color used for unvisited hyperlinks. By default, the link color is \fCTQt::blue\fR. .TP -\fCQColorGroup::LinkVisited\fR - a text color used for already visited hyperlinks. By default, the linkvisited color is \fCQt::magenta\fR. +\fCTQColorGroup::LinkVisited\fR - a text color used for already visited hyperlinks. By default, the linkvisited color is \fCTQt::magenta\fR. .TP -\fCQColorGroup::NColorRoles\fR - Internal. +\fCTQColorGroup::NColorRoles\fR - Internal. .PP Note that text colors can be used for things other than just words; text colors are \fIusually\fR used for text, but it's quite common to use the text color roles for lines, icons, etc. .PP @@ -193,147 +193,147 @@ This image shows most of the color roles in use: <center> .PP </center> .SH MEMBER FUNCTION DOCUMENTATION -.SH "QColorGroup::QColorGroup ()" +.SH "TQColorGroup::TQColorGroup ()" Constructs a color group with all colors set to black. -.SH "QColorGroup::QColorGroup ( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base )" +.SH "TQColorGroup::TQColorGroup ( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base )" \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 color group with the specified colors. The button color will be set to the background color. -.SH "QColorGroup::QColorGroup ( const QBrush & foreground, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & background )" +.SH "TQColorGroup::TQColorGroup ( const TQBrush & foreground, const TQBrush & button, const TQBrush & light, const TQBrush & dark, const TQBrush & mid, const TQBrush & text, const TQBrush & bright_text, const TQBrush & base, const TQBrush & background )" Constructs a color group. You can pass either brushes, pixmaps or plain colors for \fIforeground\fR, \fIbutton\fR, \fIlight\fR, \fIdark\fR, \fImid\fR, \fItext\fR, \fIbright_text\fR, \fIbase\fR and \fIbackground\fR. .PP -See also QBrush. -.SH "QColorGroup::QColorGroup ( const QColorGroup & other )" +See also TQBrush. +.SH "TQColorGroup::TQColorGroup ( const TQColorGroup & other )" Constructs a color group that is an independent copy of \fIother\fR. -.SH "QColorGroup::~QColorGroup ()" +.SH "TQColorGroup::~TQColorGroup ()" Destroys the color group. -.SH "const TQColor & QColorGroup::background () const" +.SH "const TQColor & TQColorGroup::background () const" Returns the background color of the color group. .PP See also ColorRole. -.SH "const TQColor & QColorGroup::base () const" +.SH "const TQColor & TQColorGroup::base () const" Returns the base color of the color group. .PP See also ColorRole. -.SH "const TQColor & QColorGroup::brightText () const" +.SH "const TQColor & TQColorGroup::brightText () const" Returns the bright text foreground color of the color group. .PP See also ColorRole. .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const QBrush & QColorGroup::brush ( ColorRole r ) const" +.SH "const TQBrush & TQColorGroup::brush ( ColorRole r ) const" Returns the brush that has been set for color role \fIr\fR. .PP See also color(), setBrush(), and ColorRole. .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const TQColor & QColorGroup::button () const" +.SH "const TQColor & TQColorGroup::button () const" Returns the button color of the color group. .PP See also ColorRole. .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const TQColor & QColorGroup::buttonText () const" +.SH "const TQColor & TQColorGroup::buttonText () const" Returns the button text foreground color of the color group. .PP See also ColorRole. .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const TQColor & QColorGroup::color ( ColorRole r ) const" +.SH "const TQColor & TQColorGroup::color ( ColorRole r ) const" Returns the color that has been set for color role \fIr\fR. .PP See also brush() and ColorRole. -.SH "const TQColor & QColorGroup::dark () const" +.SH "const TQColor & TQColorGroup::dark () const" Returns the dark color of the color group. .PP See also ColorRole. .PP Example: themes/wood.cpp. -.SH "const TQColor & QColorGroup::foreground () const" +.SH "const TQColor & TQColorGroup::foreground () const" Returns the foreground color of the color group. .PP See also ColorRole. .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const TQColor & QColorGroup::highlight () const" +.SH "const TQColor & TQColorGroup::highlight () const" Returns the highlight color of the color group. .PP See also ColorRole. -.SH "const TQColor & QColorGroup::highlightedText () const" +.SH "const TQColor & TQColorGroup::highlightedText () const" Returns the highlighted text color of the color group. .PP See also ColorRole. -.SH "const TQColor & QColorGroup::light () const" +.SH "const TQColor & TQColorGroup::light () const" Returns the light color of the color group. .PP See also ColorRole. .PP Example: themes/wood.cpp. -.SH "const TQColor & QColorGroup::link () const" +.SH "const TQColor & TQColorGroup::link () const" Returns the unvisited link text color of the color group. .PP See also ColorRole. -.SH "const TQColor & QColorGroup::linkVisited () const" +.SH "const TQColor & TQColorGroup::linkVisited () const" Returns the visited link text color of the color group. .PP See also ColorRole. -.SH "const TQColor & QColorGroup::mid () const" +.SH "const TQColor & TQColorGroup::mid () const" Returns the mid color of the color group. .PP See also ColorRole. .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const TQColor & QColorGroup::midlight () const" +.SH "const TQColor & TQColorGroup::midlight () const" Returns the midlight color of the color group. .PP See also ColorRole. -.SH "bool QColorGroup::operator!= ( const QColorGroup & g ) const" +.SH "bool TQColorGroup::operator!= ( const TQColorGroup & g ) const" Returns TRUE if this color group is different from \fIg\fR; otherwise returns FALSE. .PP See also -.SH "QColorGroup & QColorGroup::operator= ( const QColorGroup & other )" +.SH "TQColorGroup & TQColorGroup::operator= ( const TQColorGroup & other )" Copies the colors of \fIother\fR to this color group. -.SH "bool QColorGroup::operator== ( const QColorGroup & g ) const" +.SH "bool TQColorGroup::operator== ( const TQColorGroup & g ) const" Returns TRUE if this color group is equal to \fIg\fR; otherwise returns FALSE. .PP See also -.SH "void QColorGroup::setBrush ( ColorRole r, const QBrush & b )" +.SH "void TQColorGroup::setBrush ( ColorRole r, const TQBrush & b )" Sets the brush used for color role \fIr\fR to \fIb\fR. .PP See also brush(), setColor(), and ColorRole. .PP Example: themes/wood.cpp. -.SH "void QColorGroup::setColor ( ColorRole r, const TQColor & c )" +.SH "void TQColorGroup::setColor ( ColorRole r, const TQColor & c )" Sets the brush used for color role \fIr\fR to a solid color \fIc\fR. .PP See also brush() and ColorRole. .PP Examples: .)l listviews/listviews.cpp, table/statistics/statistics.cpp, and themes/metal.cpp. -.SH "const TQColor & QColorGroup::shadow () const" +.SH "const TQColor & TQColorGroup::shadow () const" Returns the shadow color of the color group. .PP See also ColorRole. -.SH "const TQColor & QColorGroup::text () const" +.SH "const TQColor & TQColorGroup::text () const" Returns the text foreground color of the color group. .PP See also ColorRole. .PP Example: listviews/listviews.cpp. .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QColorGroup & g )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQColorGroup & g )" Writes color group, \fIg\fR to the stream \fIs\fR. .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qcolorgroup.html +.BR http://doc.trolltech.com/tqcolorgroup.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/tqcombobox.3qt b/doc/man/man3/tqcombobox.3qt index a83d7b609..ff1346be7 100644 --- a/doc/man/man3/tqcombobox.3qt +++ b/doc/man/man3/tqcombobox.3qt @@ -88,7 +88,7 @@ Inherits TQWidget. .BI "virtual void \fBsetPalette\fR ( const QPalette & palette )" .br .ti -1c -.BI "virtual void \fBsetFont\fR ( const QFont & font )" +.BI "virtual void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c .BI "virtual void \fBsetSizeLimit\fR ( int )" @@ -466,7 +466,7 @@ This is useful e.g. for providing a good starting point for the user's editing a See also clearEdit() and insertItem(). .SH "void QComboBox::setEditable ( bool )" Sets whether the combobox is editable. See the "editable" property for details. -.SH "void QComboBox::setFont ( const QFont & font )\fC [virtual]\fR" +.SH "void QComboBox::setFont ( const TQFont & font )\fC [virtual]\fR" Sets the font for both the combobox button and the combobox popup list to \fIfont\fR. .PP Reimplemented from TQWidget. diff --git a/doc/man/man3/tqcustommenuitem.3qt b/doc/man/man3/tqcustommenuitem.3qt index 534f87769..65bc9d6c3 100644 --- a/doc/man/man3/tqcustommenuitem.3qt +++ b/doc/man/man3/tqcustommenuitem.3qt @@ -28,10 +28,10 @@ Inherits Qt. .BI "virtual bool \fBisSeparator\fR () const" .br .ti -1c -.BI "virtual void \fBsetFont\fR ( const QFont & font )" +.BI "virtual void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c -.BI "virtual void \fBpaint\fR ( QPainter * p, const QColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h ) = 0" +.BI "virtual void \fBpaint\fR ( TQPainter * p, const TQColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h ) = 0" .br .ti -1c .BI "virtual TQSize \fBsizeHint\fR () = 0" @@ -69,11 +69,11 @@ Destroys a QCustomMenuItem Returns TRUE if this item wants to span the entire popup menu width; otherwise returns FALSE. The default is FALSE, meaning that the menu may show an icon and an accelerator key for this item as well. .SH "bool QCustomMenuItem::isSeparator () const\fC [virtual]\fR" Returns TRUE if this item is just a separator; otherwise returns FALSE. -.SH "void QCustomMenuItem::paint ( QPainter * p, const QColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h )\fC [pure virtual]\fR" +.SH "void QCustomMenuItem::paint ( TQPainter * p, const TQColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h )\fC [pure virtual]\fR" Paints this item. When this function is invoked, the painter \fIp\fR is set to a font and foreground color suitable for a menu item text using color group \fIcg\fR. The item is active if \fIact\fR is TRUE and enabled if \fIenabled\fR is TRUE. The geometry values \fIx\fR, \fIy\fR, \fIw\fR and \fIh\fR specify where to draw the item. .PP Do not draw any background, this has already been done by the popup menu according to the current GUI style. -.SH "void QCustomMenuItem::setFont ( const QFont & font )\fC [virtual]\fR" +.SH "void QCustomMenuItem::setFont ( const TQFont & font )\fC [virtual]\fR" Sets the font of the custom menu item to \fIfont\fR. .PP This function is called whenever the font in the popup menu changes. For menu items that show their own individual font entry, you want to ignore this. diff --git a/doc/man/man3/tqdatastream.3qt b/doc/man/man3/tqdatastream.3qt index cd69ab262..b8a0e201f 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 QBrush, TQColor, TQDateTime, QFont, 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, QPixmap, 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 d28ce5e23..94ab9c879 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 ( QPainter * p, const TQSqlField * field, const QRect & cr, bool selected )" +.BI "virtual void \fBpaintField\fR ( TQPainter * p, const TQSqlField * field, const QRect & 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 ( QPainter * p, const TQSqlField * field, const QRect & cr, bool selected )\fC [virtual protected]\fR" +.SH "void TQDataTable::paintField ( TQPainter * p, const TQSqlField * field, const QRect & 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 dad924a8e..1841c3bf3 100644 --- a/doc/man/man3/tqdesktopwidget.3qt +++ b/doc/man/man3/tqdesktopwidget.3qt @@ -128,7 +128,7 @@ Returns a widget that represents the screen with index \fIscreen\fR. This widget .PP .nf .br - QPainter paint( QApplication::desktop()->screen( 0 ), TRUE ); + TQPainter paint( QApplication::desktop()->screen( 0 ), TRUE ); .br paint.draw... .br diff --git a/doc/man/man3/tqdialog.3qt b/doc/man/man3/tqdialog.3qt index 482306099..fcef22e76 100644 --- a/doc/man/man3/tqdialog.3qt +++ b/doc/man/man3/tqdialog.3qt @@ -13,7 +13,7 @@ QDialog \- The base class of dialog windows .PP Inherits TQWidget. .PP -Inherited by QColorDialog, QErrorMessage, TQFileDialog, QFontDialog, QInputDialog, QMessageBox, QMotifDialog, QProgressDialog, QTabDialog, and QWizard. +Inherited by TQColorDialog, QErrorMessage, TQFileDialog, TQFontDialog, QInputDialog, QMessageBox, QMotifDialog, QProgressDialog, QTabDialog, and QWizard. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqevent.3qt b/doc/man/man3/tqevent.3qt index ba12ce519..7ae3ef636 100644 --- a/doc/man/man3/tqevent.3qt +++ b/doc/man/man3/tqevent.3qt @@ -13,7 +13,7 @@ QEvent \- The base class of all event classes. Event objects contain event param .PP Inherits Qt. .PP -Inherited by TQTimerEvent, QMouseEvent, QWheelEvent, QTabletEvent, QKeyEvent, QFocusEvent, QPaintEvent, QMoveEvent, QResizeEvent, QCloseEvent, TQIconDragEvent, QShowEvent, QHideEvent, QContextMenuEvent, QIMEvent, TQDropEvent, TQDragLeaveEvent, QChildEvent, and QCustomEvent. +Inherited by TQTimerEvent, QMouseEvent, QWheelEvent, QTabletEvent, QKeyEvent, QFocusEvent, TQPaintEvent, QMoveEvent, QResizeEvent, QCloseEvent, TQIconDragEvent, QShowEvent, QHideEvent, QContextMenuEvent, QIMEvent, TQDropEvent, TQDragLeaveEvent, QChildEvent, and QCustomEvent. .PP .SS "Public Members" .in +1c @@ -81,7 +81,7 @@ This enum type defines the valid event types in Qt. The event types and the spec .TP \fCQEvent::Leave\fR - Mouse leaves widget's boundaries. .TP -\fCQEvent::Paint\fR - Screen update necessary, QPaintEvent. +\fCQEvent::Paint\fR - Screen update necessary, TQPaintEvent. .TP \fCQEvent::Move\fR - Widget's position changed, QMoveEvent. .TP diff --git a/doc/man/man3/tqfont.3qt b/doc/man/man3/tqfont.3qt index b1bbd9a06..714153c4b 100644 --- a/doc/man/man3/tqfont.3qt +++ b/doc/man/man3/tqfont.3qt @@ -1,5 +1,5 @@ '\" t -.TH QFont 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQFont 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 -QFont \- Font used for drawing text +TQFont \- Font used for drawing text .SH SYNOPSIS -\fC#include <ntqfont.h>\fR +\fC#include <tqfont.h>\fR .PP .SS "Public Members" .in +1c @@ -26,16 +26,16 @@ QFont \- Font used for drawing text .BI "enum \fBStretch\fR { UltraCondensed = 50, ExtraCondensed = 62, Condensed = 75, SemiCondensed = 87, Unstretched = 100, SemiExpanded = 112, Expanded = 125, ExtraExpanded = 150, UltraExpanded = 200 }" .br .ti -1c -.BI "\fBQFont\fR ()" +.BI "\fBTQFont\fR ()" .br .ti -1c -.BI "\fBQFont\fR ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )" +.BI "\fBTQFont\fR ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )" .br .ti -1c -.BI "\fBQFont\fR ( const QFont & font )" +.BI "\fBTQFont\fR ( const TQFont & font )" .br .ti -1c -.BI "\fB~QFont\fR ()" +.BI "\fB~TQFont\fR ()" .br .ti -1c .BI "TQString \fBfamily\fR () const" @@ -134,16 +134,16 @@ QFont \- Font used for drawing text .BI "bool \fBexactMatch\fR () const" .br .ti -1c -.BI "QFont & \fBoperator=\fR ( const QFont & font )" +.BI "TQFont & \fBoperator=\fR ( const TQFont & font )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QFont & f ) const" +.BI "bool \fBoperator==\fR ( const TQFont & f ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QFont & f ) const" +.BI "bool \fBoperator!=\fR ( const TQFont & f ) const" .br .ti -1c -.BI "bool \fBisCopyOf\fR ( const QFont & f ) const" +.BI "bool \fBisCopyOf\fR ( const TQFont & f ) const" .br .ti -1c .BI "HFONT \fBhandle\fR () const" @@ -176,7 +176,7 @@ QFont \- Font used for drawing text .BI "TQString \fBlastResortFont\fR () const" .br .ti -1c -.BI "QFont \fBresolve\fR ( const QFont & other ) const" +.BI "TQFont \fBresolve\fR ( const TQFont & other ) const" .br .in -1c .SS "Static Public Members" @@ -200,10 +200,10 @@ QFont \- Font used for drawing text .BI "void \fBremoveSubstitution\fR ( const TQString & familyName )" .br .ti -1c -.BI "QFont defaultFont () \fI(obsolete)\fR" +.BI "TQFont defaultFont () \fI(obsolete)\fR" .br .ti -1c -.BI "void setDefaultFont ( const QFont & f ) \fI(obsolete)\fR" +.BI "void setDefaultFont ( const TQFont & f ) \fI(obsolete)\fR" .br .in -1c .SS "Protected Members" @@ -218,44 +218,44 @@ QFont \- Font used for drawing text .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QFont & font )" +.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQFont & font )" .br .ti -1c -.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QFont & font )" +.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQFont & font )" .br .in -1c .SH DESCRIPTION -The QFont class specifies a font used for drawing text. +The TQFont class specifies a font used for drawing text. .PP -When you create a QFont object you specify various attributes that you want the font to have. TQt will use the font with the specified attributes, or if no matching font exists, TQt will use the closest matching installed font. The attributes of the font that is actually used are retrievable from a QFontInfo object. If the window system provides an exact match exactMatch() returns TRUE. Use QFontMetrics to get measurements, e.g. the pixel length of a string using QFontMetrics::width(). +When you create a TQFont object you specify various attributes that you want the font to have. TQt will use the font with the specified attributes, or if no matching font exists, TQt will use the closest matching installed font. The attributes of the font that is actually used are retrievable from a TQFontInfo object. If the window system provides an exact match exactMatch() returns TRUE. Use TQFontMetrics to get measurements, e.g. the pixel length of a string using TQFontMetrics::width(). .PP Use QApplication::setFont() to set the application's default font. .PP -If a choosen X11 font does not include all the characters that need to be displayed, QFont will try to find the characters in the nearest equivalent fonts. When a QPainter draws a character from a font the QFont will report whether or not it has the character; if it does not, QPainter will draw an unfilled square. +If a choosen X11 font does not include all the characters that need to be displayed, TQFont will try to find the characters in the nearest equivalent fonts. When a TQPainter draws a character from a font the TQFont will report whether or not it has the character; if it does not, TQPainter will draw an unfilled square. .PP -Create QFonts like this: +Create TQFonts like this: .PP .nf .br - QFont serifFont( "Times", 10, Bold ); + TQFont serifFont( "Times", 10, Bold ); .br - QFont sansFont( "Helvetica [Cronyx]", 12 ); + TQFont sansFont( "Helvetica [Cronyx]", 12 ); .br .fi .PP -The attributes set in the constructor can also be set later, e.g. setFamily(), setPointSize(), setPointSizeFloat(), setWeight() and setItalic(). The remaining attributes must be set after contstruction, e.g. setBold(), setUnderline(), setOverline(), setStrikeOut() and setFixedPitch(). QFontInfo objects should be created \fIafter\fR the font's attributes have been set. A QFontInfo object will not change, even if you change the font's attributes. The corresponding "get" functions, e.g. family(), pointSize(), etc., return the values that were set, even though the values used may differ. The actual values are available from a QFontInfo object. +The attributes set in the constructor can also be set later, e.g. setFamily(), setPointSize(), setPointSizeFloat(), setWeight() and setItalic(). The remaining attributes must be set after contstruction, e.g. setBold(), setUnderline(), setOverline(), setStrikeOut() and setFixedPitch(). TQFontInfo objects should be created \fIafter\fR the font's attributes have been set. A TQFontInfo object will not change, even if you change the font's attributes. The corresponding "get" functions, e.g. family(), pointSize(), etc., return the values that were set, even though the values used may differ. The actual values are available from a TQFontInfo object. .PP -If the requested font family is unavailable you can influence the font matching algorithm by choosing a particular QFont::StyleHint and QFont::StyleStrategy with setStyleHint(). The default family (corresponding to the current style hint) is returned by defaultFamily(). +If the requested font family is unavailable you can influence the font matching algorithm by choosing a particular TQFont::StyleHint and TQFont::StyleStrategy with setStyleHint(). The default family (corresponding to the current style hint) is returned by defaultFamily(). .PP The font-matching algorithm has a lastResortFamily() and lastResortFont() in cases where a suitable match cannot be found. You can provide substitutions for font family names using insertSubstitution() and insertSubstitutions(). Substitutions can be removed with removeSubstitution(). Use substitute() to retrieve a family's first substitute, or the family name itself if it has no substitutes. Use substitutes() to retrieve a list of a family's substitutes (which may be empty). .PP -Every QFont has a key() which you can use, for example, as the key in a cache or dictionary. If you want to store a user's font preferences you could use TQSettings, writing the font information with toString() and reading it back with fromString(). The operator<<() and operator>>() functions are also available, but they work on a data stream. +Every TQFont has a key() which you can use, for example, as the key in a cache or dictionary. If you want to store a user's font preferences you could use TQSettings, writing the font information with toString() and reading it back with fromString(). The operator<<() and operator>>() functions are also available, but they work on a data stream. .PP It is possible to set the height of characters shown on the screen to a specified number of pixels with setPixelSize(); however using setPointSize() has a similar effect and provides device independence. .PP Under the X Window System you can set a font using its system specific name with setRawName(). .PP -Loading fonts can be expensive, especially on X11. QFont contains extensive optimizations to make the copying of QFont objects fast, and to cache the results of the slow window system functions it depends upon. +Loading fonts can be expensive, especially on X11. TQFont contains extensive optimizations to make the copying of TQFont objects fast, and to cache the results of the slow window system functions it depends upon. .PP The font matching algorithm works as follows: <ol type=1> .IP 1 @@ -285,42 +285,42 @@ If you have a font which matches on family, even if none of the other attributes .PP The point size is defined to match if it is within 20% of the requested point size. When several fonts match and are only distinguished by point size, the font with the closest point size to the one requested will be chosen. .PP -The actual family, font size, weight and other font attributes used for drawing text will depend on what's available for the chosen family under the window system. A QFontInfo object can be used to determine the actual values used for drawing the text. +The actual family, font size, weight and other font attributes used for drawing text will depend on what's available for the chosen family under the window system. A TQFontInfo object can be used to determine the actual values used for drawing the text. .PP Examples: .)l .PP .nf .br - QFont f("Helvetica"); + TQFont f("Helvetica"); .br .fi If you had both an Adobe and a Cronyx Helvetica, you might get either. .PP .nf .br - QFont f1( "Helvetica [Cronyx]" ); // TQt 3.x + TQFont f1( "Helvetica [Cronyx]" ); // TQt 3.x .br - QFont f2( "Cronyx-Helvetica" ); // TQt 2.x compatibility + TQFont f2( "Cronyx-Helvetica" ); // TQt 2.x compatibility .br .fi You can specify the foundry you want in the family name. Both fonts, f1 and f2, in the above example will be set to "Helvetica [Cronyx]". .PP -To determine the attributes of the font actually used in the window system, use a QFontInfo object, e.g. +To determine the attributes of the font actually used in the window system, use a TQFontInfo object, e.g. .PP .nf .br - QFontInfo info( f1 ); + TQFontInfo info( f1 ); .br TQString family = info.family(); .br .fi .PP -To find out font metrics use a QFontMetrics object, e.g. +To find out font metrics use a TQFontMetrics object, e.g. .PP .nf .br - QFontMetrics fm( f1 ); + TQFontMetrics fm( f1 ); .br int pixelWidth = fm.width( "How many pixels wide is this text?" ); .br @@ -330,222 +330,222 @@ To find out font metrics use a QFontMetrics object, e.g. .PP For more general information on fonts, see the comp.fonts FAQ. Information on encodings can be found from Roman Czyborra's page. .PP -See also QFontMetrics, QFontInfo, QFontDatabase, QApplication::setFont(), TQWidget::font, QPainter::setFont(), QFont::StyleHint, QFont::Weight, Widget Appearance and Style, Graphics Classes, and Implicitly and Explicitly Shared Classes. +See also TQFontMetrics, TQFontInfo, TQFontDatabase, QApplication::setFont(), TQWidget::font, TQPainter::setFont(), TQFont::StyleHint, TQFont::Weight, Widget Appearance and Style, Graphics Classes, and Implicitly and Explicitly Shared Classes. .SS "Member Type Documentation" -.SH "QFont::Script" +.SH "TQFont::Script" This enum represents Unicode allocated scripts. For exhaustive coverage see The Unicode Standard Version 3.0. The following scripts are supported: .PP Modern European alphabetic scripts (left to right): .TP -\fCQFont::Latin\fR - consists of most alphabets based on the original Latin alphabet. +\fCTQFont::Latin\fR - consists of most alphabets based on the original Latin alphabet. .TP -\fCQFont::Greek\fR - covers ancient and modern Greek and Coptic. +\fCTQFont::Greek\fR - covers ancient and modern Greek and Coptic. .TP -\fCQFont::Cyrillic\fR - covers the Slavic and non-Slavic languages using cyrillic alphabets. +\fCTQFont::Cyrillic\fR - covers the Slavic and non-Slavic languages using cyrillic alphabets. .TP -\fCQFont::Armenian\fR - contains the Armenian alphabet used with the Armenian language. +\fCTQFont::Armenian\fR - contains the Armenian alphabet used with the Armenian language. .TP -\fCQFont::Georgian\fR - covers at least the language Georgian. +\fCTQFont::Georgian\fR - covers at least the language Georgian. .TP -\fCQFont::Runic\fR - covers the known constituents of the Runic alphabets used by the early and medieval societies in the Germanic, Scandinavian, and Anglo-Saxon areas. +\fCTQFont::Runic\fR - covers the known constituents of the Runic alphabets used by the early and medieval societies in the Germanic, Scandinavian, and Anglo-Saxon areas. .TP -\fCQFont::Ogham\fR - is an alphabetical script used to write a very early form of Irish. +\fCTQFont::Ogham\fR - is an alphabetical script used to write a very early form of Irish. .TP -\fCQFont::SpacingModifiers\fR - are small signs indicating modifications to the preceeding letter. +\fCTQFont::SpacingModifiers\fR - are small signs indicating modifications to the preceeding letter. .TP -\fCQFont::CombiningMarks\fR - consist of diacritical marks not specific to a particular alphabet, diacritical marks used in combination with mathematical and technical symbols, and glyph encodings applied to multiple letterforms. +\fCTQFont::CombiningMarks\fR - consist of diacritical marks not specific to a particular alphabet, diacritical marks used in combination with mathematical and technical symbols, and glyph encodings applied to multiple letterforms. .PP Middle Eastern scripts (right to left): .TP -\fCQFont::Hebrew\fR - is used for writing Hebrew, Yiddish, and some other languages. +\fCTQFont::Hebrew\fR - is used for writing Hebrew, Yiddish, and some other languages. .TP -\fCQFont::Arabic\fR - covers the Arabic language as well as Persian, Urdu, Kurdish and some others. +\fCTQFont::Arabic\fR - covers the Arabic language as well as Persian, Urdu, Kurdish and some others. .TP -\fCQFont::Syriac\fR - is used to write the active liturgical languages and dialects of several Middle Eastern and Southeast Indian communities. +\fCTQFont::Syriac\fR - is used to write the active liturgical languages and dialects of several Middle Eastern and Southeast Indian communities. .TP -\fCQFont::Thaana\fR - is used to write the Maledivian Dhivehi language. +\fCTQFont::Thaana\fR - is used to write the Maledivian Dhivehi language. .PP South and Southeast Asian scripts (left to right with few historical exceptions): .TP -\fCQFont::Devanagari\fR - covers classical Sanskrit and modern Hindi as well as several other languages. +\fCTQFont::Devanagari\fR - covers classical Sanskrit and modern Hindi as well as several other languages. .TP -\fCQFont::Bengali\fR - is a relative to Devanagari employed to write the Bengali language used in West Bengal/India and Bangladesh as well as several minority languages. +\fCTQFont::Bengali\fR - is a relative to Devanagari employed to write the Bengali language used in West Bengal/India and Bangladesh as well as several minority languages. .TP -\fCQFont::Gurmukhi\fR - is another Devanagari relative used to write Punjabi. +\fCTQFont::Gurmukhi\fR - is another Devanagari relative used to write Punjabi. .TP -\fCQFont::Gujarati\fR - is closely related to Devanagari and used to write the Gujarati language of the Gujarat state in India. +\fCTQFont::Gujarati\fR - is closely related to Devanagari and used to write the Gujarati language of the Gujarat state in India. .TP -\fCQFont::Oriya\fR - is used to write the Oriya language of Orissa state/India. +\fCTQFont::Oriya\fR - is used to write the Oriya language of Orissa state/India. .TP -\fCQFont::Tamil\fR - is used to write the Tamil language of Tamil Nadu state/India, Sri Lanka, Singapore and parts of Malaysia as well as some minority languages. +\fCTQFont::Tamil\fR - is used to write the Tamil language of Tamil Nadu state/India, Sri Lanka, Singapore and parts of Malaysia as well as some minority languages. .TP -\fCQFont::Telugu\fR - is used to write the Telugu language of Andhra Pradesh state/India and some minority languages. +\fCTQFont::Telugu\fR - is used to write the Telugu language of Andhra Pradesh state/India and some minority languages. .TP -\fCQFont::Kannada\fR - is another South Indian script used to write the Kannada language of Karnataka state/India and some minority languages. +\fCTQFont::Kannada\fR - is another South Indian script used to write the Kannada language of Karnataka state/India and some minority languages. .TP -\fCQFont::Malayalam\fR - is used to write the Malayalam language of Kerala state/India. +\fCTQFont::Malayalam\fR - is used to write the Malayalam language of Kerala state/India. .TP -\fCQFont::Sinhala\fR - is used for Sri Lanka's majority language Sinhala and is also employed to write Pali, Sanskrit, and Tamil. +\fCTQFont::Sinhala\fR - is used for Sri Lanka's majority language Sinhala and is also employed to write Pali, Sanskrit, and Tamil. .TP -\fCQFont::Thai\fR - is used to write Thai and other Southeast Asian languages. +\fCTQFont::Thai\fR - is used to write Thai and other Southeast Asian languages. .TP -\fCQFont::Lao\fR - is a language and script quite similar to Thai. +\fCTQFont::Lao\fR - is a language and script quite similar to Thai. .TP -\fCQFont::Tibetan\fR - is the script used to write Tibetan in several countries like Tibet, the bordering Indian regions and Nepal. It is also used in the Buddist philosophy and liturgy of the Mongolian cultural area. +\fCTQFont::Tibetan\fR - is the script used to write Tibetan in several countries like Tibet, the bordering Indian regions and Nepal. It is also used in the Buddist philosophy and liturgy of the Mongolian cultural area. .TP -\fCQFont::Myanmar\fR - is mainly used to write the Burmese language of Myanmar (former Burma). +\fCTQFont::Myanmar\fR - is mainly used to write the Burmese language of Myanmar (former Burma). .TP -\fCQFont::Khmer\fR - is the official language of Kampuchea. +\fCTQFont::Khmer\fR - is the official language of Kampuchea. .PP East Asian scripts (traditionally top-down, right to left, modern often horizontal left to right): .TP -\fCQFont::Han\fR - consists of the CJK (Chinese, Japanese, Korean) idiographic characters. +\fCTQFont::Han\fR - consists of the CJK (Chinese, Japanese, Korean) idiographic characters. .TP -\fCQFont::Hiragana\fR - is a cursive syllabary used to indicate phonetics and pronounciation of Japanese words. +\fCTQFont::Hiragana\fR - is a cursive syllabary used to indicate phonetics and pronounciation of Japanese words. .TP -\fCQFont::Katakana\fR - is a non-cursive syllabic script used to write Japanese words with visual emphasis and non-Japanese words in a phonetical manner. +\fCTQFont::Katakana\fR - is a non-cursive syllabic script used to write Japanese words with visual emphasis and non-Japanese words in a phonetical manner. .TP -\fCQFont::Hangul\fR - is a Korean script consisting of alphabetic components. +\fCTQFont::Hangul\fR - is a Korean script consisting of alphabetic components. .TP -\fCQFont::Bopomofo\fR - is a phonetic alphabet for Chinese (mainly Mandarin). +\fCTQFont::Bopomofo\fR - is a phonetic alphabet for Chinese (mainly Mandarin). .TP -\fCQFont::Yi\fR - (also called Cuan or Wei) is a syllabary used to write the Yi language of Southwestern China, Myanmar, Laos, and Vietnam. +\fCTQFont::Yi\fR - (also called Cuan or Wei) is a syllabary used to write the Yi language of Southwestern China, Myanmar, Laos, and Vietnam. .PP Additional scripts that do not fit well into the script categories above: .TP -\fCQFont::Ethiopic\fR - is a syllabary used by several Central East African languages. +\fCTQFont::Ethiopic\fR - is a syllabary used by several Central East African languages. .TP -\fCQFont::Cherokee\fR - is a left-to-right syllabic script used to write the Cherokee language. +\fCTQFont::Cherokee\fR - is a left-to-right syllabic script used to write the Cherokee language. .TP -\fCQFont::CanadianAboriginal\fR - consists of the syllabics used by some Canadian aboriginal societies. +\fCTQFont::CanadianAboriginal\fR - consists of the syllabics used by some Canadian aboriginal societies. .TP -\fCQFont::Mongolian\fR - is the traditional (and recently reintroduced) script used to write Mongolian. +\fCTQFont::Mongolian\fR - is the traditional (and recently reintroduced) script used to write Mongolian. .PP Symbols: .TP -\fCQFont::CurrencySymbols\fR - contains currency symbols not encoded in other scripts. +\fCTQFont::CurrencySymbols\fR - contains currency symbols not encoded in other scripts. .TP -\fCQFont::LetterlikeSymbols\fR - consists of symbols derived from ordinary letters of an alphabetical script. +\fCTQFont::LetterlikeSymbols\fR - consists of symbols derived from ordinary letters of an alphabetical script. .TP -\fCQFont::NumberForms\fR - are provided for compatibility with other existing character sets. +\fCTQFont::NumberForms\fR - are provided for compatibility with other existing character sets. .TP -\fCQFont::MathematicalOperators\fR - consists of encodings for operators, relations and other symbols like arrows used in a mathematical context. +\fCTQFont::MathematicalOperators\fR - consists of encodings for operators, relations and other symbols like arrows used in a mathematical context. .TP -\fCQFont::TechnicalSymbols\fR - contains representations for control codes, the space symbol, APL symbols and other symbols mainly used in the context of electronic data processing. +\fCTQFont::TechnicalSymbols\fR - contains representations for control codes, the space symbol, APL symbols and other symbols mainly used in the context of electronic data processing. .TP -\fCQFont::GeometricSymbols\fR - covers block elements and geometric shapes. +\fCTQFont::GeometricSymbols\fR - covers block elements and geometric shapes. .TP -\fCQFont::MiscellaneousSymbols\fR - consists of a heterogeneous collection of symbols that do not fit any other Unicode character block, e.g. Dingbats. +\fCTQFont::MiscellaneousSymbols\fR - consists of a heterogeneous collection of symbols that do not fit any other Unicode character block, e.g. Dingbats. .TP -\fCQFont::EnclosedAndSquare\fR - is provided for compatibility with some East Asian standards. +\fCTQFont::EnclosedAndSquare\fR - is provided for compatibility with some East Asian standards. .TP -\fCQFont::Braille\fR - is an international writing system used by blind people. This script encodes the 256 eight-dot patterns with the 64 six-dot patterns as a subset. +\fCTQFont::Braille\fR - is an international writing system used by blind people. This script encodes the 256 eight-dot patterns with the 64 six-dot patterns as a subset. .TP -\fCQFont::Tagalog\fR +\fCTQFont::Tagalog\fR .TP -\fCQFont::Hanunoo\fR +\fCTQFont::Hanunoo\fR .TP -\fCQFont::Buhid\fR +\fCTQFont::Buhid\fR .TP -\fCQFont::Tagbanwa\fR +\fCTQFont::Tagbanwa\fR .TP -\fCQFont::KatakanaHalfWidth\fR +\fCTQFont::KatakanaHalfWidth\fR .TP -\fCQFont::Limbu\fR - (Unicode 4.0) +\fCTQFont::Limbu\fR - (Unicode 4.0) .TP -\fCQFont::TaiLe\fR - (Unicode 4.0) +\fCTQFont::TaiLe\fR - (Unicode 4.0) .TP -\fCQFont::Unicode\fR - includes all the above scripts. -.SH "QFont::Stretch" +\fCTQFont::Unicode\fR - includes all the above scripts. +.SH "TQFont::Stretch" Predefined stretch values that follow the CSS naming convention. .TP -\fCQFont::UltraCondensed\fR - 50 +\fCTQFont::UltraCondensed\fR - 50 .TP -\fCQFont::ExtraCondensed\fR - 62 +\fCTQFont::ExtraCondensed\fR - 62 .TP -\fCQFont::Condensed\fR - 75 +\fCTQFont::Condensed\fR - 75 .TP -\fCQFont::SemiCondensed\fR - 87 +\fCTQFont::SemiCondensed\fR - 87 .TP -\fCQFont::Unstretched\fR - 100 +\fCTQFont::Unstretched\fR - 100 .TP -\fCQFont::SemiExpanded\fR - 112 +\fCTQFont::SemiExpanded\fR - 112 .TP -\fCQFont::Expanded\fR - 125 +\fCTQFont::Expanded\fR - 125 .TP -\fCQFont::ExtraExpanded\fR - 150 +\fCTQFont::ExtraExpanded\fR - 150 .TP -\fCQFont::UltraExpanded\fR - 200 +\fCTQFont::UltraExpanded\fR - 200 .PP See also setStretch() and stretch(). -.SH "QFont::StyleHint" +.SH "TQFont::StyleHint" Style hints are used by the font matching algorithm to find an appropriate default family if a selected font family is not available. .TP -\fCQFont::AnyStyle\fR - leaves the font matching algorithm to choose the family. This is the default. +\fCTQFont::AnyStyle\fR - leaves the font matching algorithm to choose the family. This is the default. .TP -\fCQFont::SansSerif\fR - the font matcher prefer sans serif fonts. +\fCTQFont::SansSerif\fR - the font matcher prefer sans serif fonts. .TP -\fCQFont::Helvetica\fR - is a synonym for SansSerif. +\fCTQFont::Helvetica\fR - is a synonym for SansSerif. .TP -\fCQFont::Serif\fR - the font matcher prefers serif fonts. +\fCTQFont::Serif\fR - the font matcher prefers serif fonts. .TP -\fCQFont::Times\fR - is a synonym for Serif. +\fCTQFont::Times\fR - is a synonym for Serif. .TP -\fCQFont::TypeWriter\fR - the font matcher prefers fixed pitch fonts. +\fCTQFont::TypeWriter\fR - the font matcher prefers fixed pitch fonts. .TP -\fCQFont::Courier\fR - a synonym for TypeWriter. +\fCTQFont::Courier\fR - a synonym for TypeWriter. .TP -\fCQFont::OldEnglish\fR - the font matcher prefers decorative fonts. +\fCTQFont::OldEnglish\fR - the font matcher prefers decorative fonts. .TP -\fCQFont::Decorative\fR - is a synonym for OldEnglish. +\fCTQFont::Decorative\fR - is a synonym for OldEnglish. .TP -\fCQFont::System\fR - the font matcher prefers system fonts. -.SH "QFont::StyleStrategy" +\fCTQFont::System\fR - the font matcher prefers system fonts. +.SH "TQFont::StyleStrategy" The style strategy tells the font matching algorithm what type of fonts should be used to find an appropriate default family. .PP The following strategies are available: .TP -\fCQFont::PreferDefault\fR - the default style strategy. It does not prefer any type of font. +\fCTQFont::PreferDefault\fR - the default style strategy. It does not prefer any type of font. .TP -\fCQFont::PreferBitmap\fR - prefers bitmap fonts (as opposed to outline fonts). +\fCTQFont::PreferBitmap\fR - prefers bitmap fonts (as opposed to outline fonts). .TP -\fCQFont::PreferDevice\fR - prefers device fonts. +\fCTQFont::PreferDevice\fR - prefers device fonts. .TP -\fCQFont::PreferOutline\fR - prefers outline fonts (as opposed to bitmap fonts). +\fCTQFont::PreferOutline\fR - prefers outline fonts (as opposed to bitmap fonts). .TP -\fCQFont::ForceOutline\fR - forces the use of outline fonts. +\fCTQFont::ForceOutline\fR - forces the use of outline fonts. .TP -\fCQFont::NoAntialias\fR - don't antialias the fonts. +\fCTQFont::NoAntialias\fR - don't antialias the fonts. .TP -\fCQFont::PreferAntialias\fR - antialias if possible. +\fCTQFont::PreferAntialias\fR - antialias if possible. .TP -\fCQFont::OpenGLCompatible\fR - forces the use of OpenGL compatible fonts. +\fCTQFont::OpenGLCompatible\fR - forces the use of OpenGL compatible fonts. .PP Any of these may be OR-ed with one of these flags: .TP -\fCQFont::PreferMatch\fR - prefer an exact match. The font matcher will try to use the exact font size that has been specified. +\fCTQFont::PreferMatch\fR - prefer an exact match. The font matcher will try to use the exact font size that has been specified. .TP -\fCQFont::PreferQuality\fR - prefer the best quality font. The font matcher will use the nearest standard point size that the font supports. -.SH "QFont::Weight" +\fCTQFont::PreferQuality\fR - prefer the best quality font. The font matcher will use the nearest standard point size that the font supports. +.SH "TQFont::Weight" Qt uses a weighting scale from 0 to 99 similar to, but not the same as, the scales used in Windows or CSS. A weight of 0 is ultralight, whilst 99 will be an extremely black. .PP This enum contains the predefined font weights: .TP -\fCQFont::Light\fR - 25 +\fCTQFont::Light\fR - 25 .TP -\fCQFont::Normal\fR - 50 +\fCTQFont::Normal\fR - 50 .TP -\fCQFont::DemiBold\fR - 63 +\fCTQFont::DemiBold\fR - 63 .TP -\fCQFont::Bold\fR - 75 +\fCTQFont::Bold\fR - 75 .TP -\fCQFont::Black\fR - 87 +\fCTQFont::Black\fR - 87 .SH MEMBER FUNCTION DOCUMENTATION -.SH "QFont::QFont ()" +.SH "TQFont::TQFont ()" Constructs a font object that uses the application's default font. .PP See also QApplication::setFont() and QApplication::font(). -.SH "QFont::QFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )" +.SH "TQFont::TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )" Constructs a font object with the specified \fIfamily\fR, \fIpointSize\fR, \fIweight\fR and \fIitalic\fR settings. .PP If \fIpointSize\fR is <= 0 it is set to 1. @@ -553,86 +553,86 @@ If \fIpointSize\fR is <= 0 it is set to 1. The \fIfamily\fR name may optionally also include a foundry name, e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e." Cronyx-Helvetica", is also supported.) If the \fIfamily\fR is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the font matching algorithm. .PP See also Weight, setFamily(), setPointSize(), setWeight(), setItalic(), setStyleHint(), and QApplication::font(). -.SH "QFont::QFont ( const QFont & font )" +.SH "TQFont::TQFont ( const TQFont & font )" Constructs a font that is a copy of \fIfont\fR. -.SH "QFont::~QFont ()" +.SH "TQFont::~TQFont ()" Destroys the font object and frees all allocated resources. -.SH "bool QFont::bold () const" -Returns TRUE if weight() is a value greater than QFont::Normal; otherwise returns FALSE. +.SH "bool TQFont::bold () const" +Returns TRUE if weight() is a value greater than TQFont::Normal; otherwise returns FALSE. .PP -See also weight(), setBold(), and QFontInfo::bold(). +See also weight(), setBold(), and TQFontInfo::bold(). .PP Example: chart/optionsform.cpp. -.SH "int QFont::deciPointSize () const\fC [protected]\fR" +.SH "int TQFont::deciPointSize () const\fC [protected]\fR" Returns the point size in 1/10ths of a point. .PP The returned value will be -1 if the font size has been specified in pixels. .PP See also pointSize() and pointSizeFloat(). -.SH "TQString QFont::defaultFamily () const" +.SH "TQString TQFont::defaultFamily () const" Returns the family name that corresponds to the current style hint. .PP See also StyleHint, styleHint(), and setStyleHint(). -.SH "QFont QFont::defaultFont ()\fC [static]\fR" +.SH "TQFont TQFont::defaultFont ()\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 Please use QApplication::font() instead. -.SH "bool QFont::dirty () const\fC [protected]\fR" +.SH "bool TQFont::dirty () const\fC [protected]\fR" Returns TRUE if the font attributes have been changed and the font has to be (re)loaded; otherwise returns FALSE. -.SH "bool QFont::exactMatch () const" +.SH "bool TQFont::exactMatch () const" Returns TRUE if a window system font exactly matching the settings of this font is available. .PP -See also QFontInfo. -.SH "TQString QFont::family () const" +See also TQFontInfo. +.SH "TQString TQFont::family () const" Returns the requested font family name, i.e. the name set in the constructor or the last setFont() call. .PP See also setFamily(), substitutes(), and substitute(). .PP Examples: -.)l chart/optionsform.cpp and fonts/simple-qfont-demo/viewer.cpp. -.SH "bool QFont::fixedPitch () const" +.)l chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp. +.SH "bool TQFont::fixedPitch () const" Returns TRUE if fixed pitch has been set; otherwise returns FALSE. .PP -See also setFixedPitch() and QFontInfo::fixedPitch(). -.SH "bool QFont::fromString ( const TQString & descrip )" +See also setFixedPitch() and TQFontInfo::fixedPitch(). +.SH "bool TQFont::fromString ( const TQString & descrip )" Sets this font to match the description \fIdescrip\fR. The description is a comma-separated list of the font attributes, as returned by toString(). .PP See also toString() and operator>>(). -.SH "HFONT QFont::handle () const" +.SH "HFONT TQFont::handle () const" Returns the window system handle to the font, for low-level access. Using this function is \fInot\fR portable. -.SH "void QFont::insertSubstitution ( const TQString & familyName, const TQString & substituteName )\fC [static]\fR" +.SH "void TQFont::insertSubstitution ( const TQString & familyName, const TQString & substituteName )\fC [static]\fR" Inserts the family name \fIsubstituteName\fR into the substitution table for \fIfamilyName\fR. .PP See also insertSubstitutions(), removeSubstitution(), substitutions(), substitute(), and substitutes(). .PP -Example: fonts/simple-qfont-demo/viewer.cpp. -.SH "void QFont::insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames )\fC [static]\fR" +Example: fonts/simple-tqfont-demo/viewer.cpp. +.SH "void TQFont::insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames )\fC [static]\fR" Inserts the list of families \fIsubstituteNames\fR into the substitution list for \fIfamilyName\fR. .PP See also insertSubstitution(), removeSubstitution(), substitutions(), and substitute(). .PP -Example: fonts/simple-qfont-demo/viewer.cpp. -.SH "bool QFont::isCopyOf ( const QFont & f ) const" +Example: fonts/simple-tqfont-demo/viewer.cpp. +.SH "bool TQFont::isCopyOf ( const TQFont & f ) const" Returns TRUE if this font and \fIf\fR are copies of each other, i.e. one of them was created as a copy of the other and neither has been modified since. This is much stricter than equality. .PP See also operator=() and operator==(). -.SH "bool QFont::italic () const" +.SH "bool TQFont::italic () const" Returns TRUE if italic has been set; otherwise returns FALSE. .PP See also setItalic(). .PP Example: chart/optionsform.cpp. -.SH "TQString QFont::key () const" +.SH "TQString TQFont::key () const" Returns the font's key, a textual representation of a font. It is typically used as the key for a cache or dictionary of fonts. .PP See also TQMap. -.SH "TQString QFont::lastResortFamily () const" +.SH "TQString TQFont::lastResortFamily () const" Returns the "last resort" font family name. .PP The current implementation tries a wide variety of common fonts, returning the first one it finds. Is is possible that no family is found in which case a null string is returned. .PP See also lastResortFont(). -.SH "TQString QFont::lastResortFont () const" +.SH "TQString TQFont::lastResortFont () const" Returns a "last resort" font name for the font matching algorithm. This is used if the last resort family is not available. It will always return a name, if necessary returning something like" fixed" or "system". .PP The current implementation tries a wide variety of common fonts, returning the first one it finds. The implementation may change at any time, but this function will always return a string containing something. @@ -640,44 +640,44 @@ The current implementation tries a wide variety of common fonts, returning the f It is theoretically possible that there really isn't a lastResortFont() in which case TQt will abort with an error message. We have not been able to identify a case where this happens. Please report it as a bug if it does, preferably with a list of the fonts you have installed. .PP See also lastResortFamily() and rawName(). -.SH "bool QFont::operator!= ( const QFont & f ) const" +.SH "bool TQFont::operator!= ( const TQFont & f ) const" Returns TRUE if this font is different from \fIf\fR; otherwise returns FALSE. .PP -Two QFonts are considered to be different if their font attributes are different. If rawMode() is enabled for both fonts, only the family fields are compared. +Two TQFonts are considered to be different if their font attributes are different. If rawMode() is enabled for both fonts, only the family fields are compared. .PP See also operator==(). -.SH "QFont & QFont::operator= ( const QFont & font )" +.SH "TQFont & TQFont::operator= ( const TQFont & font )" Assigns \fIfont\fR to this font and returns a reference to it. -.SH "bool QFont::operator== ( const QFont & f ) const" +.SH "bool TQFont::operator== ( const TQFont & f ) const" Returns TRUE if this font is equal to \fIf\fR; otherwise returns FALSE. .PP -Two QFonts are considered equal if their font attributes are equal. If rawMode() is enabled for both fonts, only the family fields are compared. +Two TQFonts are considered equal if their font attributes are equal. If rawMode() is enabled for both fonts, only the family fields are compared. .PP See also operator!=() and isCopyOf(). -.SH "bool QFont::overline () const" +.SH "bool TQFont::overline () const" Returns TRUE if overline has been set; otherwise returns FALSE. .PP See also setOverline(). -.SH "int QFont::pixelSize () const" +.SH "int TQFont::pixelSize () const" Returns the pixel size of the font if it was set with setPixelSize(). Returns -1 if the size was set with setPointSize() or setPointSizeFloat(). .PP -See also setPixelSize(), pointSize(), QFontInfo::pointSize(), and QFontInfo::pixelSize(). -.SH "int QFont::pointSize () const" +See also setPixelSize(), pointSize(), TQFontInfo::pointSize(), and TQFontInfo::pixelSize(). +.SH "int TQFont::pointSize () const" Returns the point size of the font. Returns -1 if the font size was specified in pixels. .PP See also setPointSize(), deciPointSize(), and pointSizeFloat(). .PP Examples: -.)l chart/optionsform.cpp and fonts/simple-qfont-demo/viewer.cpp. -.SH "float QFont::pointSizeFloat () const" +.)l chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp. +.SH "float TQFont::pointSizeFloat () const" Returns the point size of the font. Returns -1 if the font size was specified in pixels. .PP -See also pointSize(), setPointSizeFloat(), pixelSize(), QFontInfo::pointSize(), and QFontInfo::pixelSize(). -.SH "bool QFont::rawMode () const" +See also pointSize(), setPointSizeFloat(), pixelSize(), TQFontInfo::pointSize(), and TQFontInfo::pixelSize(). +.SH "bool TQFont::rawMode () const" Returns TRUE if raw mode is used for font name matching; otherwise returns FALSE. .PP See also setRawMode() and rawName(). -.SH "TQString QFont::rawName () const" +.SH "TQString TQFont::rawName () const" Returns the name of the font within the underlying window system. .PP On Windows, this is usually just the family name of a TrueType font. @@ -687,14 +687,14 @@ On X11, it is an XLFD (X Logical Font Description). When TQt is build with Xft s Using the return value of this function is usually \fInot\fR \fIportable\fR. .PP See also setRawName(). -.SH "void QFont::removeSubstitution ( const TQString & familyName )\fC [static]\fR" +.SH "void TQFont::removeSubstitution ( const TQString & familyName )\fC [static]\fR" Removes all the substitutions for \fIfamilyName\fR. .PP See also insertSubstitutions(), insertSubstitution(), substitutions(), and substitute(). -.SH "QFont QFont::resolve ( const QFont & other ) const" -Returns a new QFont that has attributes copied from \fIother\fR. -.SH "void QFont::setBold ( bool enable )" -If \fIenable\fR is true sets the font's weight to QFont::Bold; otherwise sets the weight to QFont::Normal. +.SH "TQFont TQFont::resolve ( const TQFont & other ) const" +Returns a new TQFont that has attributes copied from \fIother\fR. +.SH "void TQFont::setBold ( bool enable )" +If \fIenable\fR is true sets the font's weight to TQFont::Bold; otherwise sets the weight to TQFont::Normal. .PP For finer boldness control use setWeight(). .PP @@ -702,32 +702,32 @@ See also bold() and setWeight(). .PP Examples: .)l menu/menu.cpp and themes/metal.cpp. -.SH "void QFont::setDefaultFont ( const QFont & f )\fC [static]\fR" +.SH "void TQFont::setDefaultFont ( const TQFont & f )\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 Please use QApplication::setFont() instead. -.SH "void QFont::setFamily ( const TQString & family )" +.SH "void TQFont::setFamily ( const TQString & family )" Sets the family name of the font. The name is case insensitive and may include a foundry name. .PP The \fIfamily\fR name may optionally also include a foundry name, e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e." Cronyx-Helvetica", is also supported.) If the \fIfamily\fR is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the font matching algorithm. .PP -See also family(), setStyleHint(), and QFontInfo. -.SH "void QFont::setFixedPitch ( bool enable )" +See also family(), setStyleHint(), and TQFontInfo. +.SH "void TQFont::setFixedPitch ( bool enable )" If \fIenable\fR is TRUE, sets fixed pitch on; otherwise sets fixed pitch off. .PP -See also fixedPitch() and QFontInfo. -.SH "void QFont::setItalic ( bool enable )" +See also fixedPitch() and TQFontInfo. +.SH "void TQFont::setItalic ( bool enable )" If \fIenable\fR is TRUE, italic is set on; otherwise italic is set off. .PP -See also italic() and QFontInfo. +See also italic() and TQFontInfo. .PP Examples: -.)l fileiconview/tqfileiconview.cpp, fonts/simple-qfont-demo/viewer.cpp, and themes/metal.cpp. -.SH "void QFont::setOverline ( bool enable )" +.)l fileiconview/tqfileiconview.cpp, fonts/simple-tqfont-demo/viewer.cpp, and themes/metal.cpp. +.SH "void TQFont::setOverline ( bool enable )" If \fIenable\fR is TRUE, sets overline on; otherwise sets overline off. .PP -See also overline() and QFontInfo. -.SH "void QFont::setPixelSize ( int pixelSize )" +See also overline() and TQFontInfo. +.SH "void TQFont::setPixelSize ( int pixelSize )" Sets the font size to \fIpixelSize\fR pixels. .PP Using this function makes the font device dependent. Use setPointSize() or setPointSizeFloat() to set the size of the font in a device independent manner. @@ -735,101 +735,101 @@ Using this function makes the font device dependent. Use setPointSize() or setPo See also pixelSize(). .PP Example: qwerty/qwerty.cpp. -.SH "void QFont::setPixelSizeFloat ( float pixelSize )" +.SH "void TQFont::setPixelSizeFloat ( float pixelSize )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Sets the logical pixel height of font characters when shown on the screen to \fIpixelSize\fR. -.SH "void QFont::setPointSize ( int pointSize )" +.SH "void TQFont::setPointSize ( int pointSize )" Sets the point size to \fIpointSize\fR. The point size must be greater than zero. .PP See also pointSize() and setPointSizeFloat(). .PP -Example: fonts/simple-qfont-demo/viewer.cpp. -.SH "void QFont::setPointSizeFloat ( float pointSize )" +Example: fonts/simple-tqfont-demo/viewer.cpp. +.SH "void TQFont::setPointSizeFloat ( float pointSize )" Sets the point size to \fIpointSize\fR. The point size must be greater than zero. The requested precision may not be achieved on all platforms. .PP See also pointSizeFloat(), setPointSize(), and setPixelSize(). -.SH "void QFont::setRawMode ( bool enable )" +.SH "void TQFont::setRawMode ( bool enable )" If \fIenable\fR is TRUE, turns raw mode on; otherwise turns raw mode off. This function only has an effect under X11. .PP -If raw mode is enabled, TQt will search for an X font with a complete font name matching the family name, ignoring all other values set for the QFont. If the font name matches several fonts, TQt will use the first font returned by X. QFontInfo \fIcannot\fR be used to fetch information about a QFont using raw mode (it will return the values set in the QFont for all parameters, including the family name). +If raw mode is enabled, TQt will search for an X font with a complete font name matching the family name, ignoring all other values set for the TQFont. If the font name matches several fonts, TQt will use the first font returned by X. TQFontInfo \fIcannot\fR be used to fetch information about a TQFont using raw mode (it will return the values set in the TQFont for all parameters, including the family name). .PP \fBWarning:\fR Do not use raw mode unless you really, really need it! In most (if not all) cases, setRawName() is a much better choice. .PP See also rawMode() and setRawName(). -.SH "void QFont::setRawName ( const TQString & name )" +.SH "void TQFont::setRawName ( const TQString & name )" Sets a font by its system specific name. The function is particularly useful under X, where system font settings (for example X resources) are usually available in XLFD (X Logical Font Description) form only. You can pass an XLFD as \fIname\fR to this function. .PP -A font set with setRawName() is still a full-featured QFont. It can be queried (for example with italic()) or modified (for example with setItalic()) and is therefore also suitable for rendering rich text. +A font set with setRawName() is still a full-featured TQFont. It can be queried (for example with italic()) or modified (for example with setItalic()) and is therefore also suitable for rendering rich text. .PP If Qt's internal font database cannot resolve the raw name, the font becomes a raw font with \fIname\fR as its family. .PP Note that the present implementation does not handle wildcards in XLFDs well, and that font aliases (file \fCfonts.alias\fR in the font directory on X11) are not supported. .PP See also rawName(), setRawMode(), and setFamily(). -.SH "void QFont::setStretch ( int factor )" +.SH "void TQFont::setStretch ( int factor )" Sets the stretch factor for the font. .PP The stretch factor changes the width of all characters in the font by \fIfactor\fR percent. For example, setting \fIfactor\fR to 150 results in all characters in the font being 1.5 times ( ie. 150% ) wider. The default stretch factor is 100. The minimum stretch factor is 1, and the maximum stretch factor is 4000. .PP The stretch factor is only applied to outline fonts. The stretch factor is ignored for bitmap fonts. .PP -NOTE: QFont cannot stretch XLFD fonts. When loading XLFD fonts on X11, the stretch factor is matched against a predefined set of values for the SETWIDTH_NAME field of the XLFD. +NOTE: TQFont cannot stretch XLFD fonts. When loading XLFD fonts on X11, the stretch factor is matched against a predefined set of values for the SETWIDTH_NAME field of the XLFD. .PP -See also stretch() and QFont::StyleStrategy. -.SH "void QFont::setStrikeOut ( bool enable )" +See also stretch() and TQFont::StyleStrategy. +.SH "void TQFont::setStrikeOut ( bool enable )" If \fIenable\fR is TRUE, sets strikeout on; otherwise sets strikeout off. .PP -See also strikeOut() and QFontInfo. -.SH "void QFont::setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault )" +See also strikeOut() and TQFontInfo. +.SH "void TQFont::setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault )" Sets the style hint and strategy to \fIhint\fR and \fIstrategy\fR, respectively. .PP If these aren't set explicitly the style hint will default to AnyStyle and the style strategy to PreferDefault. .PP Qt does not support style hints on X11 since this information is not provided by the window system. .PP -See also StyleHint, styleHint(), StyleStrategy, styleStrategy(), and QFontInfo. +See also StyleHint, styleHint(), StyleStrategy, styleStrategy(), and TQFontInfo. .PP Examples: -.)l desktop/desktop.cpp and fonts/simple-qfont-demo/viewer.cpp. -.SH "void QFont::setStyleStrategy ( StyleStrategy s )" +.)l desktop/desktop.cpp and fonts/simple-tqfont-demo/viewer.cpp. +.SH "void TQFont::setStyleStrategy ( StyleStrategy s )" Sets the style strategy for the font to \fIs\fR. .PP -See also QFont::StyleStrategy. -.SH "void QFont::setUnderline ( bool enable )" +See also TQFont::StyleStrategy. +.SH "void TQFont::setUnderline ( bool enable )" If \fIenable\fR is TRUE, sets underline on; otherwise sets underline off. .PP -See also underline() and QFontInfo. +See also underline() and TQFontInfo. .PP Examples: -.)l fonts/simple-qfont-demo/viewer.cpp and menu/menu.cpp. -.SH "void QFont::setWeight ( int weight )" -Sets the weight the font to \fIweight\fR, which should be a value from the QFont::Weight enumeration. +.)l fonts/simple-tqfont-demo/viewer.cpp and menu/menu.cpp. +.SH "void TQFont::setWeight ( int weight )" +Sets the weight the font to \fIweight\fR, which should be a value from the TQFont::Weight enumeration. .PP -See also weight() and QFontInfo. +See also weight() and TQFontInfo. .PP -Example: fonts/simple-qfont-demo/viewer.cpp. -.SH "int QFont::stretch () const" +Example: fonts/simple-tqfont-demo/viewer.cpp. +.SH "int TQFont::stretch () const" Returns the stretch factor for the font. .PP See also setStretch(). -.SH "bool QFont::strikeOut () const" +.SH "bool TQFont::strikeOut () const" Returns TRUE if strikeout has been set; otherwise returns FALSE. .PP See also setStrikeOut(). -.SH "StyleHint QFont::styleHint () const" +.SH "StyleHint TQFont::styleHint () const" Returns the StyleHint. .PP -The style hint affects the font matching algorithm. See QFont::StyleHint for the list of strategies. +The style hint affects the font matching algorithm. See TQFont::StyleHint for the list of strategies. .PP -See also setStyleHint(), QFont::StyleStrategy, and QFontInfo::styleHint(). -.SH "StyleStrategy QFont::styleStrategy () const" +See also setStyleHint(), TQFont::StyleStrategy, and TQFontInfo::styleHint(). +.SH "StyleStrategy TQFont::styleStrategy () const" Returns the StyleStrategy. .PP -The style strategy affects the font matching algorithm. See QFont::StyleStrategy for the list of strategies. +The style strategy affects the font matching algorithm. See TQFont::StyleStrategy for the list of strategies. .PP -See also setStyleHint() and QFont::StyleHint. -.SH "TQString QFont::substitute ( const TQString & familyName )\fC [static]\fR" +See also setStyleHint() and TQFont::StyleHint. +.SH "TQString TQFont::substitute ( const TQString & familyName )\fC [static]\fR" Returns the first family name to be used whenever \fIfamilyName\fR is specified. The lookup is case insensitive. .PP If there is no substitution for \fIfamilyName\fR, \fIfamilyName\fR is returned. @@ -837,42 +837,42 @@ If there is no substitution for \fIfamilyName\fR, \fIfamilyName\fR is returned. To obtain a list of substitutions use substitutes(). .PP See also setFamily(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). -.SH "TQStringList QFont::substitutes ( const TQString & familyName )\fC [static]\fR" +.SH "TQStringList TQFont::substitutes ( const TQString & familyName )\fC [static]\fR" Returns a list of family names to be used whenever \fIfamilyName\fR is specified. The lookup is case insensitive. .PP If there is no substitution for \fIfamilyName\fR, an empty list is returned. .PP See also substitute(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). .PP -Example: fonts/simple-qfont-demo/viewer.cpp. -.SH "TQStringList QFont::substitutions ()\fC [static]\fR" +Example: fonts/simple-tqfont-demo/viewer.cpp. +.SH "TQStringList TQFont::substitutions ()\fC [static]\fR" Returns a sorted list of substituted family names. .PP See also insertSubstitution(), removeSubstitution(), and substitute(). -.SH "TQString QFont::toString () const" +.SH "TQString TQFont::toString () const" Returns a description of the font. The description is a comma-separated list of the attributes, perfectly suited for use in TQSettings. .PP See also fromString() and operator<<(). -.SH "bool QFont::underline () const" +.SH "bool TQFont::underline () const" Returns TRUE if underline has been set; otherwise returns FALSE. .PP See also setUnderline(). -.SH "int QFont::weight () const" -Returns the weight of the font which is one of the enumerated values from QFont::Weight. +.SH "int TQFont::weight () const" +Returns the weight of the font which is one of the enumerated values from TQFont::Weight. .PP -See also setWeight(), Weight, and QFontInfo. +See also setWeight(), Weight, and TQFontInfo. .SH RELATED FUNCTION DOCUMENTATION -.SH "TQDataStream & operator<< ( TQDataStream & s, const QFont & font )" +.SH "TQDataStream & operator<< ( TQDataStream & s, const TQFont & font )" Writes the font \fIfont\fR to the data stream \fIs\fR. (toString() writes to a text stream.) .PP See also Format of the TQDataStream operators. -.SH "TQDataStream & operator>> ( TQDataStream & s, QFont & font )" +.SH "TQDataStream & operator>> ( TQDataStream & s, TQFont & font )" Reads the font \fIfont\fR from the data stream \fIs\fR. (fromString() reads from a text stream.) .PP See also Format of the TQDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqfont.html +.BR http://doc.trolltech.com/tqfont.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/tqfontdatabase.3qt b/doc/man/man3/tqfontdatabase.3qt index 54df08dbb..c40050b45 100644 --- a/doc/man/man3/tqfontdatabase.3qt +++ b/doc/man/man3/tqfontdatabase.3qt @@ -1,5 +1,5 @@ '\" t -.TH QFontDatabase 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQFontDatabase 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 -QFontDatabase \- Information about the fonts available in the underlying window system +TQFontDatabase \- Information about the fonts available in the underlying window system .SH SYNOPSIS -\fC#include <ntqfontdatabase.h>\fR +\fC#include <tqfontdatabase.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQFontDatabase\fR ()" +.BI "\fBTQFontDatabase\fR ()" .br .ti -1c .BI "TQStringList \fBfamilies\fR () const" .br .ti -1c -.BI "TQStringList \fBfamilies\fR ( QFont::Script script ) const" +.BI "TQStringList \fBfamilies\fR ( TQFont::Script script ) const" .br .ti -1c .BI "TQStringList \fBstyles\fR ( const TQString & family ) const" @@ -32,10 +32,10 @@ QFontDatabase \- Information about the fonts available in the underlying window .BI "TQValueList<int> \fBsmoothSizes\fR ( const TQString & family, const TQString & style )" .br .ti -1c -.BI "TQString \fBstyleString\fR ( const QFont & f )" +.BI "TQString \fBstyleString\fR ( const TQFont & f )" .br .ti -1c -.BI "QFont \fBfont\fR ( const TQString & family, const TQString & style, int pointSize )" +.BI "TQFont \fBfont\fR ( const TQString & family, const TQString & style, int pointSize )" .br .ti -1c .BI "bool \fBisBitmapScalable\fR ( const TQString & family, const TQString & style = TQString::null ) const" @@ -71,7 +71,7 @@ QFontDatabase \- Information about the fonts available in the underlying window .BI "TQValueList<int> smoothSizes ( const TQString & family, const TQString & style, const TQString & ) \fI(obsolete)\fR" .br .ti -1c -.BI "QFont font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) \fI(obsolete)\fR" +.BI "TQFont font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) \fI(obsolete)\fR" .br .ti -1c .BI "bool isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR" @@ -101,26 +101,26 @@ QFontDatabase \- Information about the fonts available in the underlying window .BI "TQValueList<int> \fBstandardSizes\fR ()" .br .ti -1c -.BI "TQString \fBscriptName\fR ( QFont::Script script )" +.BI "TQString \fBscriptName\fR ( TQFont::Script script )" .br .ti -1c -.BI "TQString \fBscriptSample\fR ( QFont::Script script )" +.BI "TQString \fBscriptSample\fR ( TQFont::Script script )" .br .in -1c .SH DESCRIPTION -The QFontDatabase class provides information about the fonts available in the underlying window system. +The TQFontDatabase class provides information about the fonts available in the underlying window system. .PP The most common uses of this class are to query the database for the list of font families() and for the pointSizes() and styles() that are available for each family. An alternative to pointSizes() is smoothSizes() which returns the sizes at which a given family and style will look attractive. .PP If the font family is available from two or more foundries the foundry name is included in the family name, e.g. "Helvetica [Adobe]" and "Helvetica [Cronyx]". When you specify a family you can either use the old hyphenated TQt 2.x "foundry-family" format, e.g. "Cronyx-Helvetica", or the new bracketed TQt 3.x "family [foundry]" format e.g. "Helvetica [Cronyx]". If the family has a foundry it is always returned, e.g. by families(), using the bracketed format. .PP -The font() function returns a QFont given a family, style and point size. +The font() function returns a TQFont given a family, style and point size. .PP A family and style combination can be checked to see if it is italic() or bold(), and to retrieve its weight(). Similarly we can call isBitmapScalable(), isSmoothlyScalable(), isScalable() and isFixedPitch(). .PP A text version of a style is given by styleString(). .PP -The QFontDatabase class also supports some static functions, for example, standardSizes(). You can retrieve the Unicode 3.0 description of a script using scriptName(), and a sample of characters in a script with scriptSample(). +The TQFontDatabase class also supports some static functions, for example, standardSizes(). You can retrieve the Unicode 3.0 description of a script using scriptName(), and a sample of characters in a script with scriptSample(). .PP Example: .PP @@ -128,7 +128,7 @@ Example: .br #include <ntqapplication.h> .br -#include <ntqfontdatabase.h> +#include <tqfontdatabase.h> .br #include <else.h> .br @@ -139,7 +139,7 @@ int main( int argc, char **argv ) .br QApplication app( argc, argv ); .br - QFontDatabase fdb; + TQFontDatabase fdb; .br TQStringList families = fdb.families(); .br @@ -183,21 +183,21 @@ This example gets the list of font families, then the list of styles for each fa .PP See also Environment Classes and Graphics Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QFontDatabase::QFontDatabase ()" +.SH "TQFontDatabase::TQFontDatabase ()" Creates a font database object. -.SH "bool QFontDatabase::bold ( const TQString & family, const TQString & style ) const" +.SH "bool TQFontDatabase::bold ( const TQString & family, const TQString & style ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is bold; otherwise returns FALSE. .PP See also italic() and weight(). -.SH "bool QFontDatabase::bold ( const TQString & family, const TQString & style, const TQString & ) const" +.SH "bool TQFontDatabase::bold ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "TQStringList QFontDatabase::families () const" +.SH "TQStringList TQFontDatabase::families () const" Returns a sorted list of the names of the available font families. .PP If a family exists in several foundries, the returned name for that font is in the form "family [foundry]". Examples: .)l "Times [Adobe]", "Times [Cronyx]", "Palatino". -.SH "TQStringList QFontDatabase::families ( QFont::Script script ) const" +.SH "TQStringList TQFontDatabase::families ( TQFont::Script script ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a sorted list of the available font families which support the Unicode script \fIscript\fR. @@ -205,80 +205,80 @@ Returns a sorted list of the available font families which support the Unicode s If a family exists in several foundries, the returned name for that font is in the form "family [foundry]". Examples: .)l "Times [Adobe]", "Times [Cronyx]", "Palatino". -.SH "TQStringList QFontDatabase::families ( bool ) const" +.SH "TQStringList TQFontDatabase::families ( bool ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "QFont QFontDatabase::font ( const TQString & family, const TQString & style, int pointSize )" -Returns a QFont object that has family \fIfamily\fR, style \fIstyle\fR and point size \fIpointSize\fR. If no matching font could be created, a QFont object that uses the application's default font is returned. -.SH "QFont QFontDatabase::font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & )" +.SH "TQFont TQFontDatabase::font ( const TQString & family, const TQString & style, int pointSize )" +Returns a TQFont object that has family \fIfamily\fR, style \fIstyle\fR and point size \fIpointSize\fR. If no matching font could be created, a TQFont object that uses the application's default font is returned. +.SH "TQFont TQFontDatabase::font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style = TQString::null ) const" +.SH "bool TQFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style = TQString::null ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is a scalable bitmap font; otherwise returns FALSE. Scaling a bitmap font usually produces an unattractive hardly readable result, because the pixels of the font are scaled. If you need to scale a bitmap font it is better to scale it to one of the fixed sizes returned by smoothSizes(). .PP See also isScalable() and isSmoothlyScalable(). -.SH "bool QFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const" +.SH "bool TQFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::isFixedPitch ( const TQString & family, const TQString & style = TQString::null ) const" +.SH "bool TQFontDatabase::isFixedPitch ( const TQString & family, const TQString & style = TQString::null ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is fixed pitch; otherwise returns FALSE. -.SH "bool QFontDatabase::isFixedPitch ( const TQString & family, const TQString & style, const TQString & ) const" +.SH "bool TQFontDatabase::isFixedPitch ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::isScalable ( const TQString & family, const TQString & style = TQString::null ) const" +.SH "bool TQFontDatabase::isScalable ( const TQString & family, const TQString & style = TQString::null ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is scalable; otherwise returns FALSE. .PP See also isBitmapScalable() and isSmoothlyScalable(). -.SH "bool QFontDatabase::isScalable ( const TQString & family, const TQString & style, const TQString & ) const" +.SH "bool TQFontDatabase::isScalable ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style = TQString::null ) const" +.SH "bool TQFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style = TQString::null ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is smoothly scalable; otherwise returns FALSE. If this function returns TRUE, it's safe to scale this font to any size, and the result will always look attractive. .PP See also isScalable() and isBitmapScalable(). -.SH "bool QFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style, const TQString & ) const" +.SH "bool TQFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::italic ( const TQString & family, const TQString & style ) const" +.SH "bool TQFontDatabase::italic ( const TQString & family, const TQString & style ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is italic; otherwise returns FALSE. .PP See also weight() and bold(). -.SH "bool QFontDatabase::italic ( const TQString & family, const TQString & style, const TQString & ) const" +.SH "bool TQFontDatabase::italic ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "TQValueList<int> QFontDatabase::pointSizes ( const TQString & family, const TQString & style = TQString::null )" +.SH "TQValueList<int> TQFontDatabase::pointSizes ( const TQString & family, const TQString & style = TQString::null )" Returns a list of the point sizes available for the font that has family \fIfamily\fR and style \fIstyle\fR. The list may be empty. .PP See also smoothSizes() and standardSizes(). -.SH "TQValueList<int> QFontDatabase::pointSizes ( const TQString & family, const TQString & style, const TQString & )" +.SH "TQValueList<int> TQFontDatabase::pointSizes ( const TQString & family, const TQString & style, const TQString & )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "TQString QFontDatabase::scriptName ( QFont::Script script )\fC [static]\fR" +.SH "TQString TQFontDatabase::scriptName ( TQFont::Script script )\fC [static]\fR" Returns a string that gives a default description of the \fIscript\fR (e.g. for displaying to the user in a dialog). The name matches the name of the script as defined by the Unicode 3.0 standard. .PP -See also QFont::Script. -.SH "TQString QFontDatabase::scriptSample ( QFont::Script script )\fC [static]\fR" +See also TQFont::Script. +.SH "TQString TQFontDatabase::scriptSample ( TQFont::Script script )\fC [static]\fR" Returns a string with sample characters from \fIscript\fR. .PP -See also QFont::Script. -.SH "TQValueList<int> QFontDatabase::smoothSizes ( const TQString & family, const TQString & style )" +See also TQFont::Script. +.SH "TQValueList<int> TQFontDatabase::smoothSizes ( const TQString & family, const TQString & style )" Returns the point sizes of a font that has family \fIfamily\fR and style \fIstyle\fR that will look attractive. The list may be empty. For non-scalable fonts and bitmap scalable fonts, this function is equivalent to pointSizes(). .PP See also pointSizes() and standardSizes(). -.SH "TQValueList<int> QFontDatabase::smoothSizes ( const TQString & family, const TQString & style, const TQString & )" +.SH "TQValueList<int> TQFontDatabase::smoothSizes ( const TQString & family, const TQString & style, const TQString & )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "TQValueList<int> QFontDatabase::standardSizes ()\fC [static]\fR" +.SH "TQValueList<int> TQFontDatabase::standardSizes ()\fC [static]\fR" Returns a list of standard font sizes. .PP See also smoothSizes() and pointSizes(). -.SH "TQString QFontDatabase::styleString ( const QFont & f )" +.SH "TQString TQFontDatabase::styleString ( const TQFont & f )" Returns a string that describes the style of the font \fIf\fR. For example, "Bold Italic", "Bold", "Italic" or "Normal". An empty string may be returned. -.SH "TQStringList QFontDatabase::styles ( const TQString & family ) const" +.SH "TQStringList TQFontDatabase::styles ( const TQString & family ) const" Returns a list of the styles available for the font family \fIfamily\fR. Some example styles: "Light", "Light Italic", "Bold"," Oblique", "Demi". The list may be empty. -.SH "TQStringList QFontDatabase::styles ( const TQString & family, const TQString & ) const" +.SH "TQStringList TQFontDatabase::styles ( const TQString & family, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "int QFontDatabase::weight ( const TQString & family, const TQString & style ) const" +.SH "int TQFontDatabase::weight ( const TQString & family, const TQString & style ) const" Returns the weight of the font that has family \fIfamily\fR and style \fIstyle\fR. If there is no such family and style combination, returns -1. .PP See also italic() and bold(). -.SH "int QFontDatabase::weight ( const TQString & family, const TQString & style, const TQString & ) const" +.SH "int TQFontDatabase::weight ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqfontdatabase.html +.BR http://doc.trolltech.com/tqfontdatabase.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/tqfontdialog.3qt b/doc/man/man3/tqfontdialog.3qt index b3feeae7c..6f3fe18bf 100644 --- a/doc/man/man3/tqfontdialog.3qt +++ b/doc/man/man3/tqfontdialog.3qt @@ -1,5 +1,5 @@ '\" t -.TH QFontDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQFontDialog 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,16 +7,16 @@ .ad l .nh .SH NAME -QFontDialog \- Dialog widget for selecting a font +TQFontDialog \- Dialog widget for selecting a font .SH SYNOPSIS -\fC#include <ntqfontdialog.h>\fR +\fC#include <tqfontdialog.h>\fR .PP Inherits QDialog. .PP .SS "Static Public Members" -<li class=fn>QFont \fBgetFont\fR ( bool * ok, const QFont & initial, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>QFont \fBgetFont\fR ( bool * ok, TQWidget * parent = 0, const char * name = 0 ) +<li class=fn>TQFont \fBgetFont\fR ( bool * ok, const TQFont & initial, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>TQFont \fBgetFont\fR ( bool * ok, TQWidget * parent = 0, const char * name = 0 ) .SH DESCRIPTION -The QFontDialog class provides a dialog widget for selecting a font. +The TQFontDialog class provides a dialog widget for selecting a font. .PP The usual way to use this class is to call one of the static convenience functions, e.g. getFont(). .PP @@ -27,9 +27,9 @@ Examples: .br bool ok; .br - QFont font = QFontDialog::getFont( + TQFont font = TQFontDialog::getFont( .br - &ok, QFont( "Helvetica [Cronyx]", 10 ), this ); + &ok, TQFont( "Helvetica [Cronyx]", 10 ), this ); .br if ( ok ) { .br @@ -49,25 +49,25 @@ The dialog can also be used to set a widget's font directly: .PP .nf .br - myWidget.setFont( QFontDialog::getFont( 0, myWidget.font() ) ); + myWidget.setFont( TQFontDialog::getFont( 0, myWidget.font() ) ); .br .fi If the user clicks OK the font they chose will be used for myWidget, and if they click Cancel the original font is used. .PP -See also QFont, QFontInfo, QFontMetrics, and Dialog Classes. +See also TQFont, TQFontInfo, TQFontMetrics, and Dialog Classes. .PP .ce 1 .B "[Image Omitted]" .PP .SH MEMBER FUNCTION DOCUMENTATION -.SH "QFont QFontDialog::getFont ( bool * ok, const QFont & initial, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "TQFont TQFontDialog::getFont ( bool * ok, const TQFont & initial, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" Executes a modal font dialog and returns a font. .PP If the user clicks OK, the selected font is returned. If the user clicks Cancel, the \fIinitial\fR font is returned. .PP The dialog is called \fIname\fR, with the parent \fIparent\fR. \fIinitial\fR is the initially selected font. If the \fIok\fR parameter is not-null, \fI*\fR\fIok\fR is set to TRUE if the user clicked OK, and set to FALSE if the user clicked Cancel. .PP -This static function is less flexible than the full QFontDialog object, but is convenient and easy to use. +This static function is less flexible than the full TQFontDialog object, but is convenient and easy to use. .PP Examples: .)l @@ -76,7 +76,7 @@ Examples: .br bool ok; .br - QFont font = QFontDialog::getFont( &ok, QFont( "Times", 12 ), this ); + TQFont font = TQFontDialog::getFont( &ok, TQFont( "Times", 12 ), this ); .br if ( ok ) { .br @@ -96,14 +96,14 @@ The dialog can also be used to set a widget's font directly: .PP .nf .br - myWidget.setFont( QFontDialog::getFont( 0, myWidget.font() ) ); + myWidget.setFont( TQFontDialog::getFont( 0, myWidget.font() ) ); .br .fi In this example, if the user clicks OK the font they chose will be used, and if they click Cancel the original font is used. .PP Examples: .)l chart/chartform.cpp, chart/optionsform.cpp, qfd/fontdisplayer.cpp, qwerty/qwerty.cpp, and xform/xform.cpp. -.SH "QFont QFontDialog::getFont ( bool * ok, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "TQFont TQFontDialog::getFont ( bool * ok, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Executes a modal font dialog and returns a font. @@ -112,7 +112,7 @@ If the user clicks OK, the selected font is returned. If the user clicks Cancel, .PP The dialog is called \fIname\fR, with parent \fIparent\fR. If the \fIok\fR parameter is not-null, \fI*\fR\fIok\fR is set to TRUE if the user clicked OK, and FALSE if the user clicked Cancel. .PP -This static function is less functional than the full QFontDialog object, but is convenient and easy to use. +This static function is less functional than the full TQFontDialog object, but is convenient and easy to use. .PP Example: .PP @@ -120,7 +120,7 @@ Example: .br bool ok; .br - QFont font = QFontDialog::getFont( &ok, this ); + TQFont font = TQFontDialog::getFont( &ok, this ); .br if ( ok ) { .br @@ -138,7 +138,7 @@ Example: .PP .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqfontdialog.html +.BR http://doc.trolltech.com/tqfontdialog.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/tqfontinfo.3qt b/doc/man/man3/tqfontinfo.3qt index 3157629de..f1e322849 100644 --- a/doc/man/man3/tqfontinfo.3qt +++ b/doc/man/man3/tqfontinfo.3qt @@ -1,5 +1,5 @@ '\" t -.TH QFontInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQFontInfo 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,26 +7,26 @@ .ad l .nh .SH NAME -QFontInfo \- General information about fonts +TQFontInfo \- General information about fonts .SH SYNOPSIS -\fC#include <ntqfontinfo.h>\fR +\fC#include <tqfontinfo.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQFontInfo\fR ( const QFont & font )" +.BI "\fBTQFontInfo\fR ( const TQFont & font )" .br .ti -1c -.BI "\fBQFontInfo\fR ( const QFont & font, QFont::Script script )" +.BI "\fBTQFontInfo\fR ( const TQFont & font, TQFont::Script script )" .br .ti -1c -.BI "\fBQFontInfo\fR ( const QFontInfo & fi )" +.BI "\fBTQFontInfo\fR ( const TQFontInfo & fi )" .br .ti -1c -.BI "\fB~QFontInfo\fR ()" +.BI "\fB~TQFontInfo\fR ()" .br .ti -1c -.BI "QFontInfo & \fBoperator=\fR ( const QFontInfo & fi )" +.BI "TQFontInfo & \fBoperator=\fR ( const TQFontInfo & fi )" .br .ti -1c .BI "TQString \fBfamily\fR () const" @@ -50,7 +50,7 @@ QFontInfo \- General information about fonts .BI "bool \fBfixedPitch\fR () const" .br .ti -1c -.BI "QFont::StyleHint \fBstyleHint\fR () const" +.BI "TQFont::StyleHint \fBstyleHint\fR () const" .br .ti -1c .BI "bool \fBrawMode\fR () const" @@ -60,97 +60,97 @@ QFontInfo \- General information about fonts .br .in -1c .SH DESCRIPTION -The QFontInfo class provides general information about fonts. +The TQFontInfo class provides general information about fonts. .PP -The QFontInfo class provides the same access functions as QFont, e.g. family(), pointSize(), italic(), weight(), fixedPitch(), styleHint() etc. But whilst the QFont access functions return the values that were set, a QFontInfo object returns the values that apply to the font that will actually be used to draw the text. +The TQFontInfo class provides the same access functions as TQFont, e.g. family(), pointSize(), italic(), weight(), fixedPitch(), styleHint() etc. But whilst the TQFont access functions return the values that were set, a TQFontInfo object returns the values that apply to the font that will actually be used to draw the text. .PP -For example, when the program asks for a 25pt Courier font on a machine that has a non-scalable 24pt Courier font, QFont will (normally) use the 24pt Courier for rendering. In this case, QFont::pointSize() returns 25 and QFontInfo::pointSize() returns 24. +For example, when the program asks for a 25pt Courier font on a machine that has a non-scalable 24pt Courier font, TQFont will (normally) use the 24pt Courier for rendering. In this case, TQFont::pointSize() returns 25 and TQFontInfo::pointSize() returns 24. .PP -There are three ways to create a QFontInfo object. <ol type=1> +There are three ways to create a TQFontInfo object. <ol type=1> .IP 1 -Calling the QFontInfo constructor with a QFont creates a font info object for a screen-compatible font, i.e. the font cannot be a printer font<sup>*</sup>. If the font is changed later, the font info object is \fInot\fR updated. +Calling the TQFontInfo constructor with a TQFont creates a font info object for a screen-compatible font, i.e. the font cannot be a printer font<sup>*</sup>. If the font is changed later, the font info object is \fInot\fR updated. .IP 2 -TQWidget::fontInfo() returns the font info for a widget's font. This is equivalent to calling QFontInfo(widget->font()). If the widget's font is changed later, the font info object is \fInot\fR updated. +TQWidget::fontInfo() returns the font info for a widget's font. This is equivalent to calling TQFontInfo(widget->font()). If the widget's font is changed later, the font info object is \fInot\fR updated. .IP 3 -QPainter::fontInfo() returns the font info for a painter's current font. If the painter's font is changed later, the font info object is \fInot\fR updated. +TQPainter::fontInfo() returns the font info for a painter's current font. If the painter's font is changed later, the font info object is \fInot\fR updated. .PP <sup>*</sup> If you use a printer font the values returned may be inaccurate. Printer fonts are not always accessible so the nearest screen font is used if a printer font is supplied. .PP -See also QFont, QFontMetrics, QFontDatabase, Graphics Classes, and Implicitly and Explicitly Shared Classes. +See also TQFont, TQFontMetrics, TQFontDatabase, Graphics Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QFontInfo::QFontInfo ( const QFont & font )" +.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. .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 -Use QPainter::fontInfo() to get the font info when painting. This will give correct results also when painting on paint device that is not screen-compatible. -.SH "QFontInfo::QFontInfo ( const QFont & font, QFont::Script script )" +Use TQPainter::fontInfo() to get the font info when painting. This will give correct results also when painting on paint device that is not screen-compatible. +.SH "TQFontInfo::TQFontInfo ( const TQFont & font, TQFont::Script script )" Constructs a font info object for \fIfont\fR using the specified \fIscript\fR. -.SH "QFontInfo::QFontInfo ( const QFontInfo & fi )" +.SH "TQFontInfo::TQFontInfo ( const TQFontInfo & fi )" Constructs a copy of \fIfi\fR. -.SH "QFontInfo::~QFontInfo ()" +.SH "TQFontInfo::~TQFontInfo ()" Destroys the font info object. -.SH "bool QFontInfo::bold () const" -Returns TRUE if weight() would return a value greater than QFont::Normal; otherwise returns FALSE. +.SH "bool TQFontInfo::bold () const" +Returns TRUE if weight() would return a value greater than TQFont::Normal; otherwise returns FALSE. .PP -See also weight() and QFont::bold(). +See also weight() and TQFont::bold(). .PP Example: qfd/fontdisplayer.cpp. -.SH "bool QFontInfo::exactMatch () const" +.SH "bool TQFontInfo::exactMatch () const" Returns TRUE if the matched window system font is exactly the same as the one specified by the font; otherwise returns FALSE. .PP -See also QFont::exactMatch(). -.SH "TQString QFontInfo::family () const" +See also TQFont::exactMatch(). +.SH "TQString TQFontInfo::family () const" Returns the family name of the matched window system font. .PP -See also QFont::family(). +See also TQFont::family(). .PP Examples: -.)l fonts/simple-qfont-demo/viewer.cpp and qfd/fontdisplayer.cpp. -.SH "bool QFontInfo::fixedPitch () const" +.)l fonts/simple-tqfont-demo/viewer.cpp and qfd/fontdisplayer.cpp. +.SH "bool TQFontInfo::fixedPitch () const" Returns the fixed pitch value of the matched window system font. .PP -See also QFont::fixedPitch(). -.SH "bool QFontInfo::italic () const" +See also TQFont::fixedPitch(). +.SH "bool TQFontInfo::italic () const" Returns the italic value of the matched window system font. .PP -See also QFont::italic(). +See also TQFont::italic(). .PP Example: qfd/fontdisplayer.cpp. -.SH "QFontInfo & QFontInfo::operator= ( const QFontInfo & fi )" +.SH "TQFontInfo & TQFontInfo::operator= ( const TQFontInfo & fi )" Assigns the font info in \fIfi\fR. -.SH "int QFontInfo::pixelSize () const" +.SH "int TQFontInfo::pixelSize () const" Returns the pixel size of the matched window system font. .PP -See also QFont::pointSize(). -.SH "int QFontInfo::pointSize () const" +See also TQFont::pointSize(). +.SH "int TQFontInfo::pointSize () const" Returns the point size of the matched window system font. .PP -See also QFont::pointSize(). +See also TQFont::pointSize(). .PP Examples: -.)l fonts/simple-qfont-demo/viewer.cpp and qfd/fontdisplayer.cpp. -.SH "bool QFontInfo::rawMode () const" +.)l fonts/simple-tqfont-demo/viewer.cpp and qfd/fontdisplayer.cpp. +.SH "bool TQFontInfo::rawMode () const" Returns TRUE if the font is a raw mode font; otherwise returns FALSE. .PP -If it is a raw mode font, all other functions in QFontInfo will return the same values set in the QFont, regardless of the font actually used. +If it is a raw mode font, all other functions in TQFontInfo will return the same values set in the TQFont, regardless of the font actually used. .PP -See also QFont::rawMode(). -.SH "QFont::StyleHint QFontInfo::styleHint () const" +See also TQFont::rawMode(). +.SH "TQFont::StyleHint TQFontInfo::styleHint () const" Returns the style of the matched window system font. .PP -Currently only returns the style hint set in QFont. +Currently only returns the style hint set in TQFont. .PP -See also QFont::styleHint() and QFont::StyleHint. -.SH "int QFontInfo::weight () const" +See also TQFont::styleHint() and TQFont::StyleHint. +.SH "int TQFontInfo::weight () const" Returns the weight of the matched window system font. .PP -See also QFont::weight() and bold(). +See also TQFont::weight() and bold(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqfontinfo.html +.BR http://doc.trolltech.com/tqfontinfo.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/tqfontmetrics.3qt b/doc/man/man3/tqfontmetrics.3qt index 48c59eaac..fc5ff28c1 100644 --- a/doc/man/man3/tqfontmetrics.3qt +++ b/doc/man/man3/tqfontmetrics.3qt @@ -1,5 +1,5 @@ '\" t -.TH QFontMetrics 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQFontMetrics 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,26 +7,26 @@ .ad l .nh .SH NAME -QFontMetrics \- Font metrics information +TQFontMetrics \- Font metrics information .SH SYNOPSIS -\fC#include <ntqfontmetrics.h>\fR +\fC#include <tqfontmetrics.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQFontMetrics\fR ( const QFont & font )" +.BI "\fBTQFontMetrics\fR ( const TQFont & font )" .br .ti -1c -.BI "\fBQFontMetrics\fR ( const QFont & font, QFont::Script script )" +.BI "\fBTQFontMetrics\fR ( const TQFont & font, TQFont::Script script )" .br .ti -1c -.BI "\fBQFontMetrics\fR ( const QFontMetrics & fm )" +.BI "\fBTQFontMetrics\fR ( const TQFontMetrics & fm )" .br .ti -1c -.BI "\fB~QFontMetrics\fR ()" +.BI "\fB~TQFontMetrics\fR ()" .br .ti -1c -.BI "QFontMetrics & \fBoperator=\fR ( const QFontMetrics & fm )" +.BI "TQFontMetrics & \fBoperator=\fR ( const TQFontMetrics & fm )" .br .ti -1c .BI "int \fBascent\fR () const" @@ -99,17 +99,17 @@ QFontMetrics \- Font metrics information .br .in -1c .SH DESCRIPTION -The QFontMetrics class provides font metrics information. +The TQFontMetrics class provides font metrics information. .PP -QFontMetrics functions calculate the size of characters and strings for a given font. There are three ways you can create a QFontMetrics object: +TQFontMetrics functions calculate the size of characters and strings for a given font. There are three ways you can create a TQFontMetrics object: .PP <ol type=1> .IP 1 -Calling the QFontMetrics constructor with a QFont creates a font metrics object for a screen-compatible font, i.e. the font cannot be a printer font<sup>*</sup>. If the font is changed later, the font metrics object is \fInot\fR updated. +Calling the TQFontMetrics constructor with a TQFont creates a font metrics object for a screen-compatible font, i.e. the font cannot be a printer font<sup>*</sup>. If the font is changed later, the font metrics object is \fInot\fR updated. .IP 2 -TQWidget::fontMetrics() returns the font metrics for a widget's font. This is equivalent to QFontMetrics(widget->font()). If the widget's font is changed later, the font metrics object is \fInot\fR updated. +TQWidget::fontMetrics() returns the font metrics for a widget's font. This is equivalent to TQFontMetrics(widget->font()). If the widget's font is changed later, the font metrics object is \fInot\fR updated. .IP 3 -QPainter::fontMetrics() returns the font metrics for a painter's current font. If the painter's font is changed later, the font metrics object is \fInot\fR updated. +TQPainter::fontMetrics() returns the font metrics for a painter's current font. If the painter's font is changed later, the font metrics object is \fInot\fR updated. .PP <sup>*</sup> If you use a printer font the values returned may be inaccurate. Printer fonts are not always accessible so the nearest screen font is used if a printer font is supplied. .PP @@ -127,9 +127,9 @@ Example: .PP .nf .br - QFont font( "times", 24 ); + TQFont font( "times", 24 ); .br - QFontMetrics fm( font ); + TQFontMetrics fm( font ); .br int pixelsWide = fm.width( "What's the width of this text?" ); .br @@ -137,25 +137,25 @@ Example: .br .fi .PP -See also QFont, QFontInfo, QFontDatabase, Graphics Classes, and Implicitly and Explicitly Shared Classes. +See also TQFont, TQFontInfo, TQFontDatabase, Graphics Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QFontMetrics::QFontMetrics ( const QFont & font )" +.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. .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 -Use QPainter::fontMetrics() to get the font metrics when painting. This will give correct results also when painting on paint device that is not screen-compatible. -.SH "QFontMetrics::QFontMetrics ( const QFont & font, QFont::Script script )" +Use TQPainter::fontMetrics() to get the font metrics when painting. This will give correct results also when painting on paint device that is not screen-compatible. +.SH "TQFontMetrics::TQFontMetrics ( const TQFont & font, TQFont::Script script )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Constructs a font metrics object for \fIfont\fR using the given \fIscript\fR. -.SH "QFontMetrics::QFontMetrics ( const QFontMetrics & fm )" +.SH "TQFontMetrics::TQFontMetrics ( const TQFontMetrics & fm )" Constructs a copy of \fIfm\fR. -.SH "QFontMetrics::~QFontMetrics ()" +.SH "TQFontMetrics::~TQFontMetrics ()" Destroys the font metrics object and frees all allocated resources. -.SH "int QFontMetrics::ascent () const" +.SH "int TQFontMetrics::ascent () const" Returns the ascent of the font. .PP The ascent of a font is the distance from the baseline to the highest position characters extend to. In practice, some font designers break this rule, e.g. when they put more than one accent on top of a character, or to accommodate an unusual character in an exotic language, so it is possible (though rare) that this value will be too small. @@ -164,7 +164,7 @@ See also descent(). .PP Examples: .)l drawdemo/drawdemo.cpp and scrollview/scrollview.cpp. -.SH "QRect QFontMetrics::boundingRect ( TQChar ch ) const" +.SH "QRect 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 QFontMetrics::boundingRect ( const TQString & str, int len = -1 ) const" +.SH "QRect 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 QFontMetrics::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 "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" 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). @@ -233,14 +233,14 @@ The bounding rectangle given by this function is somewhat larger than that calcu .PP The \fIintern\fR argument should not be used. .PP -See also width(), QPainter::boundingRect(), and TQt::AlignmentFlags. -.SH "int QFontMetrics::charWidth ( const TQString & str, int pos ) const" +See also width(), TQPainter::boundingRect(), and TQt::AlignmentFlags. +.SH "int TQFontMetrics::charWidth ( const TQString & str, int pos ) const" Returns the width of the character at position \fIpos\fR in the string \fIstr\fR. .PP The whole string is needed, as the glyph drawn may change depending on the context (the letter before and after the current one) for some languages (e.g. Arabic). .PP This function also takes non spacing marks and ligatures into account. -.SH "int QFontMetrics::descent () const" +.SH "int TQFontMetrics::descent () const" Returns the descent of the font. .PP The descent is the distance from the base line to the lowest point characters extend to. (Note that this is different from X, which adds 1 pixel.) In practice, some font designers break this rule, e.g. to accommodate an unusual character in an exotic language, so it is possible (though rare) that this value will be too small. @@ -249,7 +249,7 @@ See also ascent(). .PP Examples: .)l drawdemo/drawdemo.cpp and hello/hello.cpp. -.SH "int QFontMetrics::height () const" +.SH "int TQFontMetrics::height () const" Returns the height of the font. .PP This is always equal to ascent()+descent()+1 (the 1 is for the base line). @@ -258,17 +258,17 @@ See also leading() and lineSpacing(). .PP Examples: .)l grapher/grapher.cpp, hello/hello.cpp, and qfd/fontdisplayer.cpp. -.SH "bool QFontMetrics::inFont ( TQChar ch ) const" +.SH "bool TQFontMetrics::inFont ( TQChar ch ) const" Returns TRUE if character \fIch\fR is a valid character in the font; otherwise returns FALSE. .PP Example: qfd/fontdisplayer.cpp. -.SH "int QFontMetrics::leading () const" +.SH "int TQFontMetrics::leading () const" Returns the leading of the font. .PP This is the natural inter-line spacing. .PP See also height() and lineSpacing(). -.SH "int QFontMetrics::leftBearing ( TQChar ch ) const" +.SH "int TQFontMetrics::leftBearing ( TQChar ch ) const" Returns the left bearing of character \fIch\fR in the font. .PP The left bearing is the right-ward distance of the left-most pixel of the character from the logical origin of the character. This value is negative if the pixels of the character extend to the left of the logical origin. @@ -278,7 +278,7 @@ See width(TQChar) for a graphical description of this metric. See also rightBearing(), minLeftBearing(), and width(). .PP Example: qfd/fontdisplayer.cpp. -.SH "int QFontMetrics::lineSpacing () const" +.SH "int TQFontMetrics::lineSpacing () const" Returns the distance from one base line to the next. .PP This value is always equal to leading()+height(). @@ -287,15 +287,15 @@ See also height() and leading(). .PP Examples: .)l qfd/fontdisplayer.cpp, qwerty/qwerty.cpp, and scrollview/scrollview.cpp. -.SH "int QFontMetrics::lineWidth () const" +.SH "int TQFontMetrics::lineWidth () const" Returns the width of the underline and strikeout lines, adjusted for the point size of the font. .PP See also underlinePos(), overlinePos(), and strikeOutPos(). -.SH "int QFontMetrics::maxWidth () const" +.SH "int TQFontMetrics::maxWidth () const" Returns the width of the widest character in the font. .PP Example: qfd/fontdisplayer.cpp. -.SH "int QFontMetrics::minLeftBearing () const" +.SH "int TQFontMetrics::minLeftBearing () const" Returns the minimum left bearing of the font. .PP This is the smallest leftBearing(char) of all characters in the font. @@ -305,7 +305,7 @@ Note that this function can be very slow if the font is large. See also minRightBearing() and leftBearing(). .PP Example: qfd/fontdisplayer.cpp. -.SH "int QFontMetrics::minRightBearing () const" +.SH "int TQFontMetrics::minRightBearing () const" Returns the minimum right bearing of the font. .PP This is the smallest rightBearing(char) of all characters in the font. @@ -315,13 +315,13 @@ Note that this function can be very slow if the font is large. See also minLeftBearing() and rightBearing(). .PP Example: qfd/fontdisplayer.cpp. -.SH "QFontMetrics & QFontMetrics::operator= ( const QFontMetrics & fm )" +.SH "TQFontMetrics & TQFontMetrics::operator= ( const TQFontMetrics & fm )" Assigns the font metrics \fIfm\fR. -.SH "int QFontMetrics::overlinePos () const" +.SH "int TQFontMetrics::overlinePos () const" Returns the distance from the base line to where an overline should be drawn. .PP See also underlinePos(), strikeOutPos(), and lineWidth(). -.SH "int QFontMetrics::rightBearing ( TQChar ch ) const" +.SH "int TQFontMetrics::rightBearing ( TQChar ch ) const" Returns the right bearing of character \fIch\fR in the font. .PP The right bearing is the left-ward distance of the right-most pixel of the character from the logical origin of a subsequent character. This value is negative if the pixels of the character extend to the right of the width() of the character. @@ -331,7 +331,7 @@ See width() for a graphical description of this metric. See also leftBearing(), minRightBearing(), and width(). .PP Example: qfd/fontdisplayer.cpp. -.SH "TQSize QFontMetrics::size ( int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const" +.SH "TQSize TQFontMetrics::size ( int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const" Returns the size in pixels of the first \fIlen\fR characters of \fIstr\fR. .PP If \fIlen\fR is negative (the default), the entire string is used. @@ -357,15 +357,15 @@ Despite the different actual character heights, the heights of the bounding rect The \fIintern\fR argument should not be used. .PP See also boundingRect(). -.SH "int QFontMetrics::strikeOutPos () const" +.SH "int TQFontMetrics::strikeOutPos () const" Returns the distance from the base line to where the strikeout line should be drawn. .PP See also underlinePos(), overlinePos(), and lineWidth(). -.SH "int QFontMetrics::underlinePos () const" +.SH "int TQFontMetrics::underlinePos () const" Returns the distance from the base line to where an underscore should be drawn. .PP See also overlinePos(), strikeOutPos(), and lineWidth(). -.SH "int QFontMetrics::width ( TQChar ch ) const" +.SH "int TQFontMetrics::width ( TQChar ch ) const" .ce 1 .B "[Image Omitted]" .PP @@ -379,11 +379,11 @@ See also boundingRect() and charWidth(). .PP Examples: .)l drawdemo/drawdemo.cpp, hello/hello.cpp, movies/main.cpp, qfd/fontdisplayer.cpp, and scrollview/scrollview.cpp. -.SH "int QFontMetrics::width ( const TQString & str, int len = -1 ) const" +.SH "int TQFontMetrics::width ( 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 width of the first \fIlen\fR characters of string \fIstr\fR. -.SH "int QFontMetrics::width ( char c ) const" +.SH "int TQFontMetrics::width ( char c ) 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. @@ -391,7 +391,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Provided to aid porting from TQt 1.x. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqfontmetrics.html +.BR http://doc.trolltech.com/tqfontmetrics.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/tqframe.3qt b/doc/man/man3/tqframe.3qt index 479448b14..fd067d7fc 100644 --- a/doc/man/man3/tqframe.3qt +++ b/doc/man/man3/tqframe.3qt @@ -105,16 +105,16 @@ Inherited by QGroupBox, QScrollView, QDockWindow, QGrid, QHBox, QLabel, QLCDNumb .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaintEvent\fR ( QPaintEvent * event )" +.BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * event )" .br .ti -1c .BI "virtual void \fBresizeEvent\fR ( QResizeEvent * e )" .br .ti -1c -.BI "virtual void \fBdrawFrame\fR ( QPainter * p )" +.BI "virtual void \fBdrawFrame\fR ( TQPainter * p )" .br .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * )" .br .ti -1c .BI "virtual void \fBframeChanged\fR ()" @@ -219,20 +219,20 @@ Constructs a frame widget with frame style NoFrame and a 1-pixel frame width. The \fIparent\fR, \fIname\fR and \fIf\fR arguments are passed to the TQWidget constructor. .SH "QRect QFrame::contentsRect () const" Returns the rectangle inside the frame. See the "contentsRect" property for details. -.SH "void QFrame::drawContents ( QPainter * )\fC [virtual protected]\fR" +.SH "void QFrame::drawContents ( TQPainter * )\fC [virtual protected]\fR" Virtual function that draws the contents of the frame. .PP -The QPainter is already open when you get it, and you must leave it open. Painter transformations are switched off on entry. If you transform the painter, remember to take the frame into account and reset transformation before returning. +The TQPainter is already open when you get it, and you must leave it open. Painter transformations are switched off on entry. If you transform the painter, remember to take the frame into account and reset transformation before returning. .PP This function is reimplemented by subclasses that draw something inside the frame. It should only draw inside contentsRect(). The default function does nothing. .PP -See also contentsRect and QPainter::setClipRect(). +See also contentsRect and TQPainter::setClipRect(). .PP Reimplemented in QLabel, QLCDNumber, TQMenuBar, and TQPopupMenu. -.SH "void QFrame::drawFrame ( QPainter * p )\fC [virtual protected]\fR" +.SH "void QFrame::drawFrame ( TQPainter * p )\fC [virtual protected]\fR" Draws the frame using the painter \fIp\fR and the current frame attributes and color group. The rectangle inside the frame is not affected. .PP -This function is virtual, but in general you do not need to reimplement it. If you do, note that the QPainter is already open and must remain open. +This function is virtual, but in general you do not need to reimplement it. If you do, note that the TQPainter is already open and must remain open. .PP See also frameRect, contentsRect, drawContents(), frameStyle(), and palette. .SH "void QFrame::frameChanged ()\fC [virtual protected]\fR" @@ -263,7 +263,7 @@ Returns the line width. See the "lineWidth" property for details. Returns the width of the margin. See the "margin" property for details. .SH "int QFrame::midLineWidth () const" Returns the width of the mid-line. See the "midLineWidth" property for details. -.SH "void QFrame::paintEvent ( QPaintEvent * event )\fC [virtual protected]\fR" +.SH "void QFrame::paintEvent ( TQPaintEvent * event )\fC [virtual protected]\fR" Processes the paint event \fIevent\fR. .PP Paints the frame and the contents. @@ -301,7 +301,7 @@ The frame shapes are given in QFrame::Shape and the shadow styles in QFrame::Sha .PP If a mid-line width greater than 0 is specified, an additional line is drawn for Raised or Sunken Box, HLine, and VLine frames. The mid-color of the current color group is used for drawing middle lines. .PP -See also Illustration, frameStyle(), colorGroup, and QColorGroup. +See also Illustration, frameStyle(), colorGroup, and TQColorGroup. .PP Examples: .)l cursor/cursor.cpp, layout/layout.cpp, listboxcombo/listboxcombo.cpp, rangecontrols/rangecontrols.cpp, scrollview/scrollview.cpp, tabdialog/tabdialog.cpp, and tictac/tictac.cpp. diff --git a/doc/man/man3/tqglcontext.3qt b/doc/man/man3/tqglcontext.3qt index 14a2f679b..a2651ccc5 100644 --- a/doc/man/man3/tqglcontext.3qt +++ b/doc/man/man3/tqglcontext.3qt @@ -16,7 +16,7 @@ Inherits QGL. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQGLContext\fR ( const QGLFormat & format, QPaintDevice * device )" +.BI "\fBQGLContext\fR ( const QGLFormat & format, TQPaintDevice * device )" .br .ti -1c .BI "virtual \fB~QGLContext\fR ()" @@ -49,7 +49,7 @@ Inherits QGL. .BI "virtual void \fBswapBuffers\fR () const" .br .ti -1c -.BI "QPaintDevice * \fBdevice\fR () const" +.BI "TQPaintDevice * \fBdevice\fR () const" .br .ti -1c .BI "TQColor \fBoverlayTransparentColor\fR () const" @@ -94,7 +94,7 @@ Inherits QGL. .BI "void \fBsetInitialized\fR ( bool on )" .br .ti -1c -.BI "void \fBgenerateFontDisplayLists\fR ( const QFont & font, int listBase )" +.BI "void \fBgenerateFontDisplayLists\fR ( const TQFont & font, int listBase )" .br .in -1c .SH DESCRIPTION @@ -114,7 +114,7 @@ Please note that QGLContext is not thread safe. .PP See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QGLContext::QGLContext ( const QGLFormat & format, QPaintDevice * device )" +.SH "QGLContext::QGLContext ( const QGLFormat & 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. @@ -160,7 +160,7 @@ See also chooseContext(), format(), and isValid(). 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 "QPaintDevice * QGLContext::device () const" +.SH "TQPaintDevice * QGLContext::device () const" Returns the paint device set for this context. .PP See also QGLContext::QGLContext(). @@ -172,7 +172,7 @@ Makes no GL context the current context. Normally, you do not need to call this 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 QFont & font, int listBase )\fC [protected]\fR" +.SH "void QGLContext::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(). @@ -193,7 +193,7 @@ If this context is a valid context in an overlay plane, returns the plane's tran .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 QPainter. See the examples/opengl/overlay_x11 example for details. +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" Returns the frame buffer format that was originally requested in the constructor or setFormat(). .PP diff --git a/doc/man/man3/tqglwidget.3qt b/doc/man/man3/tqglwidget.3qt index 9ab65bd40..305bc9730 100644 --- a/doc/man/man3/tqglwidget.3qt +++ b/doc/man/man3/tqglwidget.3qt @@ -76,10 +76,10 @@ Inherits TQWidget and QGL. .BI "void \fBsetColormap\fR ( const QGLColormap & cmap )" .br .ti -1c -.BI "void \fBrenderText\fR ( int x, int y, const TQString & str, const QFont & fnt = QFont ( ), int listBase = 2000 )" +.BI "void \fBrenderText\fR ( int x, int y, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )" .br .ti -1c -.BI "void \fBrenderText\fR ( double x, double y, double z, const TQString & str, const QFont & fnt = QFont ( ), int listBase = 2000 )" +.BI "void \fBrenderText\fR ( double x, double y, double z, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )" .br .in -1c .SS "Public Slots" @@ -124,7 +124,7 @@ Inherits TQWidget and QGL. .BI "bool \fBautoBufferSwap\fR () const" .br .ti -1c -.BI "virtual void \fBpaintEvent\fR ( QPaintEvent * )" +.BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * )" .br .ti -1c .BI "virtual void \fBresizeEvent\fR ( QResizeEvent * )" @@ -139,7 +139,7 @@ Inherits TQWidget and QGL. .SH DESCRIPTION The QGLWidget 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 QPainter etc. you use the standard OpenGL rendering commands. +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. .PP QGLWidget provides three convenient virtual functions that you can reimplement in your subclass to perform the typical OpenGL tasks: .TP @@ -312,7 +312,7 @@ 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. .PP -If no colormap has been set for this widget, the QColormap returned will be empty. +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" @@ -398,7 +398,7 @@ See also makeCurrent(). Returns the overlay context of this widget, or 0 if this widget has no overlay. .PP See also context(). -.SH "void QGLWidget::paintEvent ( QPaintEvent * )\fC [virtual protected]\fR" +.SH "void QGLWidget::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. @@ -436,7 +436,7 @@ Overlays are not rendered onto the pixmap. 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 QFont & fnt = QFont ( ), int listBase = 2000 )" +.SH "void QGLWidget::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,7 +444,7 @@ 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 QFont & fnt = QFont ( ), int listBase = 2000 )" +.SH "void QGLWidget::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. diff --git a/doc/man/man3/tqgridview.3qt b/doc/man/man3/tqgridview.3qt index 94157c630..24c79d3df 100644 --- a/doc/man/man3/tqgridview.3qt +++ b/doc/man/man3/tqgridview.3qt @@ -88,10 +88,10 @@ Inherits QScrollView. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaintCell\fR ( QPainter * p, int row, int col ) = 0" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col ) = 0" .br .ti -1c -.BI "virtual void \fBpaintEmptyArea\fR ( QPainter * p, int cx, int cy, int cw, int ch )" +.BI "virtual void \fBpaintEmptyArea\fR ( TQPainter * p, int cx, int cy, int cw, int ch )" .br .ti -1c .BI "virtual void \fBdimensionChange\fR ( int oldNumRows, int oldNumCols )" @@ -146,7 +146,7 @@ Returns the size of the grid in pixels. Returns the number of columns in the grid. See the "numCols" property for details. .SH "int QGridView::numRows () const" Returns the number of rows in the grid. See the "numRows" property for details. -.SH "void QGridView::paintCell ( QPainter * p, int row, int col )\fC [pure virtual protected]\fR" +.SH "void QGridView::paintCell ( TQPainter * p, int row, int col )\fC [pure virtual protected]\fR" This pure virtual function is called to paint the single cell at (\fIrow\fR, \fIcol\fR) using painter \fIp\fR. The painter must be open when paintCell() is called and must remain open. .PP The coordinate system is translated so that the origin is at the top-left corner of the cell to be painted, i.e. \fIcell\fR coordinates. Do not scale or shear the coordinate system (or if you do, restore the transformation matrix before you return). @@ -155,7 +155,7 @@ The painter is not clipped by default in order to get maximum efficiency. If you .PP .nf .br - p->setClipRect( cellRect(), QPainter::CoordPainter ); + p->setClipRect( cellRect(), TQPainter::CoordPainter ); .br //... your drawing code .br @@ -163,7 +163,7 @@ The painter is not clipped by default in order to get maximum efficiency. If you .br .br .fi -.SH "void QGridView::paintEmptyArea ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" +.SH "void QGridView::paintEmptyArea ( TQPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" 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. diff --git a/doc/man/man3/tqheader.3qt b/doc/man/man3/tqheader.3qt index 09e9c077f..f254ed231 100644 --- a/doc/man/man3/tqheader.3qt +++ b/doc/man/man3/tqheader.3qt @@ -217,10 +217,10 @@ Inherits TQWidget. .BI "QRect \fBsRect\fR ( int index )" .br .ti -1c -.BI "virtual void \fBpaintSection\fR ( QPainter * p, int index, const QRect & fr )" +.BI "virtual void \fBpaintSection\fR ( TQPainter * p, int index, const QRect & fr )" .br .ti -1c -.BI "virtual void \fBpaintSectionLabel\fR ( QPainter * p, int index, const QRect & fr )" +.BI "virtual void \fBpaintSectionLabel\fR ( TQPainter * p, int index, const QRect & 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 ( QPainter * p, int index, const QRect & fr )\fC [virtual protected]\fR" +.SH "void QHeader::paintSection ( TQPainter * p, int index, const QRect & 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 ( QPainter * p, int index, const QRect & fr )\fC [virtual protected]\fR" +.SH "void QHeader::paintSectionLabel ( TQPainter * p, int index, const QRect & 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() diff --git a/doc/man/man3/tqiconset.3qt b/doc/man/man3/tqiconset.3qt index 347960cc3..7c8f23647 100644 --- a/doc/man/man3/tqiconset.3qt +++ b/doc/man/man3/tqiconset.3qt @@ -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( QPainter* p, QPoint pos ) + void MyWidget::drawIcon( TQPainter* p, QPoint pos ) .br { .br diff --git a/doc/man/man3/tqiconview.3qt b/doc/man/man3/tqiconview.3qt index b58d7bae4..da29c87fe 100644 --- a/doc/man/man3/tqiconview.3qt +++ b/doc/man/man3/tqiconview.3qt @@ -124,10 +124,10 @@ Inherits QScrollView. .BI "ItemTextPos \fBitemTextPos\fR () const" .br .ti -1c -.BI "virtual void \fBsetItemTextBackground\fR ( const QBrush & b )" +.BI "virtual void \fBsetItemTextBackground\fR ( const TQBrush & b )" .br .ti -1c -.BI "QBrush \fBitemTextBackground\fR () const" +.BI "TQBrush \fBitemTextBackground\fR () const" .br .ti -1c .BI "virtual void \fBsetArrangement\fR ( Arrangement am )" @@ -283,7 +283,7 @@ Inherits QScrollView. .BI "int \fBgridY\fR - the vertical grid of the icon view" .br .ti -1c -.BI "QBrush \fBitemTextBackground\fR - the brush to use when drawing the background of an item's text" +.BI "TQBrush \fBitemTextBackground\fR - the brush to use when drawing the background of an item's text" .br .ti -1c .BI "ItemTextPos \fBitemTextPos\fR - the position where the text of each item is drawn" @@ -322,7 +322,7 @@ Inherits QScrollView. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawRubber\fR ( QPainter * p )" +.BI "virtual void \fBdrawRubber\fR ( TQPainter * p )" .br .ti -1c .BI "virtual TQDragObject * \fBdragObject\fR ()" @@ -334,7 +334,7 @@ Inherits QScrollView. .BI "virtual void \fBinsertInGrid\fR ( TQIconViewItem * item )" .br .ti -1c -.BI "virtual void \fBdrawBackground\fR ( QPainter * p, const QRect & r )" +.BI "virtual void \fBdrawBackground\fR ( TQPainter * p, const QRect & r )" .br .ti -1c .BI "void \fBemitSelectionChanged\fR ( TQIconViewItem * i = 0 )" @@ -580,13 +580,13 @@ See also TQIconDrag. .PP Examples: .)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp. -.SH "void TQIconView::drawBackground ( QPainter * p, const QRect & r )\fC [virtual protected]\fR" +.SH "void TQIconView::drawBackground ( TQPainter * p, const QRect & 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. .PP See also contentsX, contentsY, and drawContents(). -.SH "void TQIconView::drawRubber ( QPainter * p )\fC [virtual protected]\fR" +.SH "void TQIconView::drawRubber ( TQPainter * p )\fC [virtual protected]\fR" Draws the rubber band using the painter \fIp\fR. .SH "void TQIconView::dropped ( TQDropEvent * e, const TQValueList<TQIconDragItem> & lst )\fC [signal]\fR" This signal is emitted when a drop event occurs in the viewport (but not on any icon) which the icon view itself can't handle. @@ -657,7 +657,7 @@ This is an overloaded member function, provided for convenience. It behaves esse This signal is emitted when \fIitem\fR has been renamed, usually by in-place renaming. .PP See also TQIconViewItem::setRenameEnabled() and TQIconViewItem::rename(). -.SH "QBrush TQIconView::itemTextBackground () const" +.SH "TQBrush TQIconView::itemTextBackground () const" Returns the brush to use when drawing the background of an item's text. See the "itemTextBackground" property for details. .SH "ItemTextPos TQIconView::itemTextPos () const" Returns the position where the text of each item is drawn. See the "itemTextPos" property for details. @@ -749,7 +749,7 @@ Makes \fIitem\fR the new current item of the icon view. Sets the horizontal grid of the icon view to \fIrx\fR. See the "gridX" property for details. .SH "void TQIconView::setGridY ( int ry )\fC [virtual]\fR" Sets the vertical grid of the icon view to \fIry\fR. See the "gridY" property for details. -.SH "void TQIconView::setItemTextBackground ( const QBrush & b )\fC [virtual]\fR" +.SH "void TQIconView::setItemTextBackground ( const TQBrush & b )\fC [virtual]\fR" Sets the brush to use when drawing the background of an item's text to \fIb\fR. See the "itemTextBackground" property for details. .SH "void TQIconView::setItemTextPos ( ItemTextPos pos )\fC [virtual]\fR" Sets the position where the text of each item is drawn to \fIpos\fR. See the "itemTextPos" property for details. @@ -852,7 +852,7 @@ This property holds the vertical grid of the icon view. If the value is -1, (the default), TQIconView computes suitable column heights based on the icon view's contents. .PP Set this property's value with setGridY() and get this property's value with gridY(). -.SH "QBrush itemTextBackground" +.SH "TQBrush itemTextBackground" This property holds the brush to use when drawing the background of an item's text. .PP By default this brush is set to NoBrush, meaning that only the normal icon view background is used. diff --git a/doc/man/man3/tqiconviewitem.3qt b/doc/man/man3/tqiconviewitem.3qt index 9b680ba4f..615e1964f 100644 --- a/doc/man/man3/tqiconviewitem.3qt +++ b/doc/man/man3/tqiconviewitem.3qt @@ -187,10 +187,10 @@ Inherits Qt. .BI "virtual void \fBcalcRect\fR ( const TQString & text_ = TQString::null )" .br .ti -1c -.BI "virtual void \fBpaintItem\fR ( QPainter * p, const QColorGroup & cg )" +.BI "virtual void \fBpaintItem\fR ( TQPainter * p, const TQColorGroup & cg )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( QPainter * p, const QColorGroup & cg )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQColorGroup & cg )" .br .ti -1c .BI "virtual void \fBdropped\fR ( TQDropEvent * e, const TQValueList<TQIconDragItem> & lst )" @@ -394,9 +394,9 @@ Example: See also prevItem(). .PP Example: fileiconview/tqfileiconview.cpp. -.SH "void TQIconViewItem::paintFocus ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR" +.SH "void TQIconViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg )\fC [virtual protected]\fR" Paints the focus rectangle of the item using the painter \fIp\fR and the color group \fIcg\fR. -.SH "void TQIconViewItem::paintItem ( QPainter * p, const QColorGroup & cg )\fC [virtual protected]\fR" +.SH "void TQIconViewItem::paintItem ( TQPainter * p, const TQColorGroup & cg )\fC [virtual protected]\fR" 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. diff --git a/doc/man/man3/tqimage.3qt b/doc/man/man3/tqimage.3qt index 7db34b273..e0c83d5fe 100644 --- a/doc/man/man3/tqimage.3qt +++ b/doc/man/man3/tqimage.3qt @@ -311,7 +311,7 @@ An image has the parameters width, height and depth (bits per pixel, bpp), a col .PP 32-bpp images encode an RGB value in 24 bits and ignore the color table. The most significant byte is used for the alpha buffer. .PP -An entry in the color table is an RGB triplet encoded as a \fCuint\fR. Use the tqRed(), tqGreen() and tqBlue() functions (ntqcolor.h) to access the components, and tqRgb to make an RGB triplet (see the TQColor class documentation). +An entry in the color table is an RGB triplet encoded as a \fCuint\fR. Use the tqRed(), tqGreen() and tqBlue() functions (tqcolor.h) to access the components, and tqRgb to make an RGB triplet (see the TQColor class documentation). .PP 1-bpp (monochrome) images have a color table with a most two colors. There are two different formats: big endian (MSB first) or little endian (LSB first) bit order. To access a single bit you will must do some bit shifts: .PP @@ -493,7 +493,7 @@ See also numBytes() and scanLine(). .SH "TQRgb TQImage::color ( int i ) const" Returns the color in the color table at index \fIi\fR. The first color is at index 0. .PP -A color value is an RGB triplet. Use the tqRed(), tqGreen() and tqBlue() functions (defined in ntqcolor.h) to get the color value components. +A color value is an RGB triplet. Use the tqRed(), tqGreen() and tqBlue() functions (defined in tqcolor.h) to get the color value components. .PP See also setColor(), numColors(), and TQColor. .PP @@ -865,7 +865,7 @@ Returns a pointer to the pixel data at the scanline with index \fIi\fR. The firs .PP The scanline data is aligned on a 32-bit boundary. .PP -\fBWarning:\fR If you are accessing 32-bpp image data, cast the returned pointer to \fCQRgb*\fR (TQRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the \fCuchar*\fR pointer directly, because the pixel format depends on the byte order on the underlying platform. Hint: use tqRed(), tqGreen() and tqBlue(), etc. (ntqcolor.h) to access the pixels. +\fBWarning:\fR If you are accessing 32-bpp image data, cast the returned pointer to \fCQRgb*\fR (TQRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the \fCuchar*\fR pointer directly, because the pixel format depends on the byte order on the underlying platform. Hint: use tqRed(), tqGreen() and tqBlue(), etc. (tqcolor.h) to access the pixels. .PP See also bytesPerLine(), bits(), and jumpTable(). .PP @@ -885,7 +885,7 @@ See also hasAlphaBuffer() and createAlphaMask(). .SH "void TQImage::setColor ( int i, TQRgb c )" Sets a color in the color table at index \fIi\fR to \fIc\fR. .PP -A color value is an RGB triplet. Use the tqRgb() function (defined in ntqcolor.h) to make RGB triplets. +A color value is an RGB triplet. Use the tqRgb() function (defined in tqcolor.h) to make RGB triplets. .PP See also color(), setNumColors(), and numColors(). .PP diff --git a/doc/man/man3/tqimageconsumer.3qt b/doc/man/man3/tqimageconsumer.3qt index cbe1c44a9..b5a0e9062 100644 --- a/doc/man/man3/tqimageconsumer.3qt +++ b/doc/man/man3/tqimageconsumer.3qt @@ -38,7 +38,7 @@ TQImageConsumer \- Abstraction used by TQImageDecoder .SH DESCRIPTION The TQImageConsumer class is an abstraction used by TQImageDecoder. .PP -The QMovie class, or QLabel::setMovie(), are easy to use and for most situations do what you want with regards animated images. +The TQMovie class, or QLabel::setMovie(), are easy to use and for most situations do what you want with regards animated images. .PP A TQImageConsumer consumes information about changes to the TQImage maintained by a TQImageDecoder. Think of the TQImage as the model or source of the image data, with the TQImageConsumer as a view of that data and the TQImageDecoder being the controller that orchestrates the relationship between the model and the view. .PP diff --git a/doc/man/man3/tqimagedecoder.3qt b/doc/man/man3/tqimagedecoder.3qt index bc6eee424..23c452b70 100644 --- a/doc/man/man3/tqimagedecoder.3qt +++ b/doc/man/man3/tqimagedecoder.3qt @@ -47,7 +47,7 @@ TQImageDecoder \- Incremental image decoder for all supported image formats .SH DESCRIPTION The TQImageDecoder class is an incremental image decoder for all supported image formats. .PP -New formats are installed by creating objects of class TQImageFormatType; the QMovie class can be used for all installed incremental image formats. TQImageDecoder is only useful for creating new ways of feeding data to an TQImageConsumer. +New formats are installed by creating objects of class TQImageFormatType; the TQMovie class can be used for all installed incremental image formats. TQImageDecoder is only useful for creating new ways of feeding data to an TQImageConsumer. .PP A TQImageDecoder is a machine that decodes images. It takes encoded image data via its decode() method and expresses its decoding by supplying information to a TQImageConsumer. It implements its decoding by using a TQImageFormat created by one of the currently-existing TQImageFormatType factory objects. .PP diff --git a/doc/man/man3/tqimageformat.3qt b/doc/man/man3/tqimageformat.3qt index ff1cdf222..026b951ba 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 QMovie 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 QPixmap. .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 4e17954c7..d47dba176 100644 --- a/doc/man/man3/tqimageio.3qt +++ b/doc/man/man3/tqimageio.3qt @@ -113,7 +113,7 @@ Qt currently supports the following image file formats: PNG, BMP, XBM, XPM and P .PP You don't normally need to use this class; QPixmap::load(), QPixmap::save(), and TQImage contain sufficient functionality. .PP -For image files that contain sequences of images, only the first is read. See QMovie for loading multiple images. +For image files that contain sequences of images, only the first is read. See TQMovie for loading multiple images. .PP PBM, PGM, and PPM format \fIoutput\fR is always in the more condensed raw format. PPM and PGM files with more than 256 levels of intensity are scaled down when reading. .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, QMovie, Graphics Classes, Image Processing Classes, and Input/Output and Networking. +See also TQImage, QPixmap, 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. diff --git a/doc/man/man3/tqlabel.3qt b/doc/man/man3/tqlabel.3qt index 360d5743a..7e432496b 100644 --- a/doc/man/man3/tqlabel.3qt +++ b/doc/man/man3/tqlabel.3qt @@ -37,7 +37,7 @@ Inherits QFrame. .BI "QPicture * \fBpicture\fR () const" .br .ti -1c -.BI "QMovie * \fBmovie\fR () const" +.BI "TQMovie * \fBmovie\fR () const" .br .ti -1c .BI "TextFormat \fBtextFormat\fR () const" @@ -76,7 +76,7 @@ Inherits QFrame. .BI "TQWidget * \fBbuddy\fR () const" .br .ti -1c -.BI "virtual void \fBsetFont\fR ( const QFont & f )" +.BI "virtual void \fBsetFont\fR ( const TQFont & f )" .br .in -1c .SS "Public Slots" @@ -91,7 +91,7 @@ Inherits QFrame. .BI "virtual void \fBsetPicture\fR ( const QPicture & picture )" .br .ti -1c -.BI "virtual void \fBsetMovie\fR ( const QMovie & movie )" +.BI "virtual void \fBsetMovie\fR ( const TQMovie & movie )" .br .ti -1c .BI "virtual void \fBsetNum\fR ( int num )" @@ -130,7 +130,7 @@ Inherits QFrame. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * p )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * p )" .br .in -1c .SH DESCRIPTION @@ -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 QMovie 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 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 .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, QMovie, GUI Design Handbook: Label, Basic Widgets, and Text Related Classes. +See also QLineEdit, TQTextEdit, QPixmap, 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. @@ -220,7 +220,7 @@ Returns this label's buddy, or 0 if no buddy is currently set. See also setBuddy(). .SH "void QLabel::clear ()\fC [slot]\fR" Clears any label contents. Equivalent to setText( "" ). -.SH "void QLabel::drawContents ( QPainter * p )\fC [virtual protected]\fR" +.SH "void QLabel::drawContents ( TQPainter * p )\fC [virtual protected]\fR" Draws the label contents using the painter \fIp\fR. .PP Reimplemented from QFrame. @@ -228,7 +228,7 @@ Reimplemented from QFrame. Returns TRUE if the label will scale its contents to fill all available space; otherwise returns FALSE. See the "scaledContents" property for details. .SH "int QLabel::indent () const" Returns the label's text indent in pixels. See the "indent" property for details. -.SH "QMovie * QLabel::movie () const" +.SH "TQMovie * QLabel::movie () const" Returns a pointer to the label's movie, or 0 if no movie has been set. .PP See also setMovie(). @@ -283,7 +283,7 @@ See also buddy(), text, QAccel, and alignment. .PP Examples: .)l addressbook/centralwidget.cpp, chart/optionsform.cpp, and regexptester/regexptester.cpp. -.SH "void QLabel::setFont ( const QFont & f )\fC [virtual]\fR" +.SH "void QLabel::setFont ( const TQFont & f )\fC [virtual]\fR" Sets the font used on the QLabel to font \fIf\fR. .PP Example: menu/menu.cpp. @@ -291,7 +291,7 @@ Example: menu/menu.cpp. Reimplemented from TQWidget. .SH "void QLabel::setIndent ( int )" Sets the label's text indent in pixels. See the "indent" property for details. -.SH "void QLabel::setMovie ( const QMovie & movie )\fC [virtual slot]\fR" +.SH "void QLabel::setMovie ( const TQMovie & movie )\fC [virtual slot]\fR" Sets the label contents to \fImovie\fR. Any previous content is cleared. .PP The buddy accelerator, if any, is disabled. diff --git a/doc/man/man3/tqlayoutiterator.3qt b/doc/man/man3/tqlayoutiterator.3qt index 40034b60f..74c1fc129 100644 --- a/doc/man/man3/tqlayoutiterator.3qt +++ b/doc/man/man3/tqlayoutiterator.3qt @@ -53,7 +53,7 @@ The following code will draw a rectangle for each layout item in the layout stru .PP .nf .br - static void paintLayout( QPainter *p, QLayoutItem *lay ) + static void paintLayout( TQPainter *p, QLayoutItem *lay ) .br { .br @@ -73,11 +73,11 @@ The following code will draw a rectangle for each layout item in the layout stru .br } .br - void ExampleWidget::paintEvent( QPaintEvent * ) + void ExampleWidget::paintEvent( TQPaintEvent * ) .br { .br - QPainter p( this ); + TQPainter p( this ); .br if ( layout() ) .br diff --git a/doc/man/man3/tqlcdnumber.3qt b/doc/man/man3/tqlcdnumber.3qt index d39eeba22..b7213c2fa 100644 --- a/doc/man/man3/tqlcdnumber.3qt +++ b/doc/man/man3/tqlcdnumber.3qt @@ -121,7 +121,7 @@ Inherits QFrame. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * p )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * p )" .br .in -1c .SH DESCRIPTION @@ -208,7 +208,7 @@ Sets the displayed value rounded to the nearest integer to \fInum\fR. See the "i This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Displays the number \fInum\fR. -.SH "void QLCDNumber::drawContents ( QPainter * p )\fC [virtual protected]\fR" +.SH "void QLCDNumber::drawContents ( TQPainter * p )\fC [virtual protected]\fR" Draws the LCD number using painter \fIp\fR. This function is called from QFrame::paintEvent(). .PP Reimplemented from QFrame. @@ -287,7 +287,7 @@ l - l. Style Result Outline Produces raised segments filled with the background .fi </center> .PP -Outline and Filled will additionally use QColorGroup::light() and QColorGroup::dark() for shadow effects. +Outline and Filled will additionally use TQColorGroup::light() and TQColorGroup::dark() for shadow effects. .PP Set this property's value with setSegmentStyle() and get this property's value with segmentStyle(). .SH "bool smallDecimalPoint" diff --git a/doc/man/man3/tqlistbox.3qt b/doc/man/man3/tqlistbox.3qt index 189313092..941322309 100644 --- a/doc/man/man3/tqlistbox.3qt +++ b/doc/man/man3/tqlistbox.3qt @@ -394,7 +394,7 @@ Inherits QScrollView. .BI "int totalHeight () const \fI(obsolete)\fR" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( QPainter * p, int row, int col )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col )" .br .ti -1c .BI "void \fBtoggleCurrentItem\fR ()" @@ -806,7 +806,7 @@ Returns the number of rows in the list box. See the "numRows" property for detai This signal is emitted when the user moves the mouse cursor onto an item, similar to the TQWidget::enterEvent() function. \fIi\fR is the QListBoxItem that the mouse has moved on. .SH "void QListBox::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 box. -.SH "void QListBox::paintCell ( QPainter * p, int row, int col )\fC [virtual protected]\fR" +.SH "void QListBox::paintCell ( TQPainter * p, int row, int col )\fC [virtual protected]\fR" 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. diff --git a/doc/man/man3/tqlistboxitem.3qt b/doc/man/man3/tqlistboxitem.3qt index 26a65506e..60c214497 100644 --- a/doc/man/man3/tqlistboxitem.3qt +++ b/doc/man/man3/tqlistboxitem.3qt @@ -70,7 +70,7 @@ Inherited by QListBoxText and QListBoxPixmap. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaint\fR ( QPainter * p ) = 0" +.BI "virtual void \fBpaint\fR ( TQPainter * p ) = 0" .br .ti -1c .BI "virtual void \fBsetText\fR ( const TQString & text )" @@ -122,7 +122,7 @@ Returns a pointer to the list box containing this item. Returns the item that comes after this in the list box. If this is the last item, 0 is returned. .PP See also prev(). -.SH "void QListBoxItem::paint ( QPainter * p )\fC [pure virtual protected]\fR" +.SH "void QListBoxItem::paint ( TQPainter * p )\fC [pure virtual protected]\fR" Implement this function to draw your item. The painter, \fIp\fR, is already open for painting. .PP See also height() and width(). diff --git a/doc/man/man3/tqlistboxpixmap.3qt b/doc/man/man3/tqlistboxpixmap.3qt index a0f400f58..30e27953e 100644 --- a/doc/man/man3/tqlistboxpixmap.3qt +++ b/doc/man/man3/tqlistboxpixmap.3qt @@ -49,7 +49,7 @@ Inherits QListBoxItem. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaint\fR ( QPainter * painter )" +.BI "virtual void \fBpaint\fR ( TQPainter * painter )" .br .in -1c .SH DESCRIPTION @@ -79,7 +79,7 @@ Returns the height of the pixmap in list box \fIlb\fR. See also paint() and width(). .PP Reimplemented from QListBoxItem. -.SH "void QListBoxPixmap::paint ( QPainter * painter )\fC [virtual protected]\fR" +.SH "void QListBoxPixmap::paint ( TQPainter * painter )\fC [virtual protected]\fR" Draws the pixmap using \fIpainter\fR. .PP Reimplemented from QListBoxItem. diff --git a/doc/man/man3/tqlistboxtext.3qt b/doc/man/man3/tqlistboxtext.3qt index 6cf771c35..0635f452a 100644 --- a/doc/man/man3/tqlistboxtext.3qt +++ b/doc/man/man3/tqlistboxtext.3qt @@ -37,7 +37,7 @@ Inherits QListBoxItem. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaint\fR ( QPainter * painter )" +.BI "virtual void \fBpaint\fR ( TQPainter * painter )" .br .in -1c .SH DESCRIPTION @@ -61,7 +61,7 @@ Returns the height of a line of text in list box \fIlb\fR. See also paint() and width(). .PP Reimplemented from QListBoxItem. -.SH "void QListBoxText::paint ( QPainter * painter )\fC [virtual protected]\fR" +.SH "void QListBoxText::paint ( TQPainter * painter )\fC [virtual protected]\fR" Draws the text using \fIpainter\fR. .PP Reimplemented from QListBoxItem. diff --git a/doc/man/man3/tqlistview.3qt b/doc/man/man3/tqlistview.3qt index 7210b9047..37afa419d 100644 --- a/doc/man/man3/tqlistview.3qt +++ b/doc/man/man3/tqlistview.3qt @@ -379,10 +379,10 @@ Inherits QScrollView. .BI "virtual void \fBresizeEvent\fR ( QResizeEvent * e )" .br .ti -1c -.BI "virtual void \fBdrawContentsOffset\fR ( QPainter * p, int ox, int oy, int cx, int cy, int cw, int ch )" +.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 ( QPainter * p, const QRect & rect )" +.BI "virtual void \fBpaintEmptyArea\fR ( TQPainter * p, const QRect & rect )" .br .in -1c .SS "Protected Slots" @@ -658,7 +658,7 @@ This signal is emitted whenever an item is double-clicked. It's emitted on the s If the user presses the mouse on an item and starts moving the mouse, and the item allow dragging (see QListViewItem::setDragEnabled()), this function is called to get a drag object and a drag is started unless dragObject() returns 0. .PP By default this function returns 0. You should reimplement it and create a TQDragObject depending on the selected items. -.SH "void QListView::drawContentsOffset ( QPainter * p, int ox, int oy, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" +.SH "void QListView::drawContentsOffset ( TQPainter * p, int ox, int oy, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" Calls QListViewItem::paintCell() and QListViewItem::paintBranches() as necessary for all list view items that require repainting in the \fIcw\fR pixels wide and \fIch\fR pixels high bounding rectangle starting at position \fIcx\fR, \fIcy\fR with offset \fIox\fR, \fIoy\fR. Uses the painter \fIp\fR. .PP Reimplemented from QScrollView. @@ -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 ( QPainter * p, const QRect & rect )\fC [virtual protected]\fR" +.SH "void QListView::paintEmptyArea ( TQPainter * p, const QRect & 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(). diff --git a/doc/man/man3/tqlistviewitem.3qt b/doc/man/man3/tqlistviewitem.3qt index 110579a94..5b46ae97a 100644 --- a/doc/man/man3/tqlistviewitem.3qt +++ b/doc/man/man3/tqlistviewitem.3qt @@ -63,7 +63,7 @@ Inherited by QCheckListItem. .BI "int \fBtotalHeight\fR () const" .br .ti -1c -.BI "virtual int \fBwidth\fR ( const QFontMetrics & fm, const QListView * lv, int c ) const" +.BI "virtual int \fBwidth\fR ( const TQFontMetrics & fm, const QListView * lv, int c ) const" .br .ti -1c .BI "void \fBwidthChanged\fR ( int c = -1 ) const" @@ -111,13 +111,13 @@ Inherited by QCheckListItem. .BI "bool \fBisSelected\fR () const" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( QPainter * p, const QColorGroup & cg, int column, int width, int align )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )" .br .ti -1c -.BI "virtual void \fBpaintBranches\fR ( QPainter * p, const QColorGroup & cg, int w, int y, int h )" +.BI "virtual void \fBpaintBranches\fR ( TQPainter * p, const TQColorGroup & cg, int w, int y, int h )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( QPainter * p, const QColorGroup & cg, const QRect & r )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const TQColorGroup & cg, const QRect & r )" .br .ti -1c .BI "QListViewItem * \fBfirstChild\fR () const" @@ -515,7 +515,7 @@ Example: xml/tagreader-with-features/structureparser.cpp. This function is called if the user presses Enter during in-place renaming of the item in column \fIcol\fR. .PP See also cancelRename(). -.SH "void QListViewItem::paintBranches ( QPainter * p, const QColorGroup & cg, int w, int y, int h )\fC [virtual]\fR" +.SH "void QListViewItem::paintBranches ( TQPainter * p, const TQColorGroup & cg, int w, int y, int h )\fC [virtual]\fR" Paints a set of branches from this item to (some of) its children. .PP Painter \fIp\fR is set up with clipping and translation so that you can only draw in the rectangle that needs redrawing; \fIcg\fR is the color group to use; the update rectangle is at (0, 0) and has size width \fIw\fR by height \fIh\fR. The top of the rectangle you own is at \fIy\fR (which is never greater than 0 but can be outside the window system's allowed coordinate range). @@ -523,10 +523,10 @@ Painter \fIp\fR is set up with clipping and translation so that you can only dra The update rectangle is in an undefined state when this function is called; this function must draw on \fIall\fR of the pixels. .PP See also paintCell() and QListView::drawContentsOffset(). -.SH "void QListViewItem::paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align )\fC [virtual]\fR" +.SH "void QListViewItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )\fC [virtual]\fR" This virtual function paints the contents of one column of an item and aligns it as described by \fIalign\fR. .PP -\fIp\fR is a QPainter open on the relevant paint device. \fIp\fR is translated so (0, 0) is the top-left pixel in the cell and \fIwidth-1\fR, height()-1 is the bottom-right pixel \fIin\fR the cell. The other properties of \fIp\fR (pen, brush, etc) are undefined. \fIcg\fR is the color group to use. \fIcolumn\fR is the logical column number within the item that is to be painted; 0 is the column which may contain a tree. +\fIp\fR is a TQPainter open on the relevant paint device. \fIp\fR is translated so (0, 0) is the top-left pixel in the cell and \fIwidth-1\fR, height()-1 is the bottom-right pixel \fIin\fR the cell. The other properties of \fIp\fR (pen, brush, etc) are undefined. \fIcg\fR is the color group to use. \fIcolumn\fR is the logical column number within the item that is to be painted; 0 is the column which may contain a tree. .PP This function may use QListView::itemMargin() for readability spacing on the left and right sides of data such as text, and should honor isSelected() and QListView::allColumnsShowFocus(). .PP @@ -539,7 +539,7 @@ See also paintBranches() and QListView::drawContentsOffset(). Example: listviews/listviews.cpp. .PP Reimplemented in QCheckListItem. -.SH "void QListViewItem::paintFocus ( QPainter * p, const QColorGroup & cg, const QRect & r )\fC [virtual]\fR" +.SH "void QListViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const QRect & 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. @@ -687,7 +687,7 @@ Returns the total height of this object, including any visible children. This he Functions which can affect the total height are, setHeight() which is used to set an item's height, setOpen() to show or hide an item's children, and invalidateHeight() to invalidate the cached height. .PP See also height(). -.SH "int QListViewItem::width ( const QFontMetrics & fm, const QListView * lv, int c ) const\fC [virtual]\fR" +.SH "int QListViewItem::width ( const TQFontMetrics & fm, const QListView * lv, int c ) const\fC [virtual]\fR" Returns the number of pixels of width required to draw column \fIc\fR of list view \fIlv\fR, using the metrics \fIfm\fR without cropping. The list view containing this item may use this information depending on the QListView::WidthMode settings for the column. .PP The default implementation returns the width of the bounding rectangle of the text of column \fIc\fR. diff --git a/doc/man/man3/tqmenubar.3qt b/doc/man/man3/tqmenubar.3qt index 8331e1882..9cf7c3c2d 100644 --- a/doc/man/man3/tqmenubar.3qt +++ b/doc/man/man3/tqmenubar.3qt @@ -136,7 +136,7 @@ Inherits QFrame and TQMenuData. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * p )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * p )" .br .ti -1c .BI "virtual void \fBmenuContentsChanged\fR ()" @@ -253,7 +253,7 @@ See also removeItem() and removeItemAt(). .PP Examples: .)l mdi/application.cpp and qwerty/qwerty.cpp. -.SH "void TQMenuBar::drawContents ( QPainter * p )\fC [virtual protected]\fR" +.SH "void TQMenuBar::drawContents ( TQPainter * p )\fC [virtual protected]\fR" Called from QFrame::paintEvent(). Draws the menu bar contents using painter \fIp\fR. .PP Reimplemented from QFrame. diff --git a/doc/man/man3/tqmovie.3qt b/doc/man/man3/tqmovie.3qt index 87336af97..7812b0df6 100644 --- a/doc/man/man3/tqmovie.3qt +++ b/doc/man/man3/tqmovie.3qt @@ -1,5 +1,5 @@ '\" t -.TH QMovie 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQMovie 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,35 +7,35 @@ .ad l .nh .SH NAME -QMovie \- Incremental loading of animations or images, signalling as it progresses +TQMovie \- Incremental loading of animations or images, signalling as it progresses .SH SYNOPSIS -\fC#include <ntqmovie.h>\fR +\fC#include <tqmovie.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQMovie\fR ()" +.BI "\fBTQMovie\fR ()" .br .ti -1c -.BI "\fBQMovie\fR ( int bufsize )" +.BI "\fBTQMovie\fR ( int bufsize )" .br .ti -1c -.BI "\fBQMovie\fR ( TQDataSource * src, int bufsize = 1024 )" +.BI "\fBTQMovie\fR ( TQDataSource * src, int bufsize = 1024 )" .br .ti -1c -.BI "\fBQMovie\fR ( const TQString & fileName, int bufsize = 1024 )" +.BI "\fBTQMovie\fR ( const TQString & fileName, int bufsize = 1024 )" .br .ti -1c -.BI "\fBQMovie\fR ( TQByteArray data, int bufsize = 1024 )" +.BI "\fBTQMovie\fR ( TQByteArray data, int bufsize = 1024 )" .br .ti -1c -.BI "\fBQMovie\fR ( const QMovie & movie )" +.BI "\fBTQMovie\fR ( const TQMovie & movie )" .br .ti -1c -.BI "\fB~QMovie\fR ()" +.BI "\fB~TQMovie\fR ()" .br .ti -1c -.BI "QMovie & \fBoperator=\fR ( const QMovie & movie )" +.BI "TQMovie & \fBoperator=\fR ( const TQMovie & movie )" .br .ti -1c .BI "int \fBpushSpace\fR () const" @@ -120,17 +120,17 @@ QMovie \- Incremental loading of animations or images, signalling as it progress .br .in -1c .SH DESCRIPTION -The QMovie class provides incremental loading of animations or images, signalling as it progresses. +The TQMovie class provides incremental loading of animations or images, signalling as it progresses. .PP -The simplest way to display a QMovie is to use a QLabel and QLabel::setMovie(). +The simplest way to display a TQMovie is to use a QLabel and QLabel::setMovie(). .PP -A QMovie 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 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. .PP -The movie begins playing as soon as the QMovie 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. +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 -QMovie objects are explicitly shared. This means that a QMovie copied from another QMovie will be displaying the same frame at all times. If one shared movie pauses, all pause. To make \fIindependent\fR movies, they must be constructed separately. +TQMovie objects are explicitly shared. This means that a TQMovie copied from another TQMovie will be displaying the same frame at all times. If one shared movie pauses, all pause. To make \fIindependent\fR movies, they must be constructed separately. .PP -The set of data formats supported by QMovie is determined by the decoder factories that have been installed; the format of the input is determined as the input is decoded. +The set of data formats supported by TQMovie is determined by the decoder factories that have been installed; the format of the input is determined as the input is decoded. .PP The supported formats are MNG (if TQt is configured with MNG support enabled) and GIF (if TQt is configured with GIF support enabled, see ntqgif.h). .PP @@ -148,148 +148,148 @@ GIF support may be removed completely in a future version of Qt. We recommend us .PP See also QLabel::setMovie(), Graphics Classes, Image Processing Classes, and Multimedia Classes. .SS "Member Type Documentation" -.SH "QMovie::Status" +.SH "TQMovie::Status" .TP -\fCQMovie::SourceEmpty\fR +\fCTQMovie::SourceEmpty\fR .TP -\fCQMovie::UnrecognizedFormat\fR +\fCTQMovie::UnrecognizedFormat\fR .TP -\fCQMovie::Paused\fR +\fCTQMovie::Paused\fR .TP -\fCQMovie::EndOfFrame\fR +\fCTQMovie::EndOfFrame\fR .TP -\fCQMovie::EndOfLoop\fR +\fCTQMovie::EndOfLoop\fR .TP -\fCQMovie::EndOfMovie\fR +\fCTQMovie::EndOfMovie\fR .TP -\fCQMovie::SpeedChanged\fR +\fCTQMovie::SpeedChanged\fR .SH MEMBER FUNCTION DOCUMENTATION -.SH "QMovie::QMovie ()" -Constructs a null QMovie. The only interesting thing to do with such a movie is to assign another movie to it. +.SH "TQMovie::TQMovie ()" +Constructs a null TQMovie. The only interesting thing to do with such a movie is to assign another movie to it. .PP See also isNull(). -.SH "QMovie::QMovie ( int bufsize )" -Constructs a QMovie with an external data source. You should later call pushData() to send incoming animation data to the movie. +.SH "TQMovie::TQMovie ( int bufsize )" +Constructs a TQMovie with an external data source. You should later call pushData() to send incoming animation data to the movie. .PP The \fIbufsize\fR argument sets the maximum amount of data the movie will transfer from the data source per event loop. The lower this value, the better interleaved the movie playback will be with other event processing, but the slower the overall processing will be. .PP See also pushData(). -.SH "QMovie::QMovie ( TQDataSource * src, int bufsize = 1024 )" -Constructs a QMovie that reads an image sequence from the given data source, \fIsrc\fR. The source must be allocated dynamically, because QMovie will take ownership of it and will destroy it when the movie is destroyed. The movie starts playing as soon as event processing continues. +.SH "TQMovie::TQMovie ( TQDataSource * src, int bufsize = 1024 )" +Constructs a TQMovie that reads an image sequence from the given data source, \fIsrc\fR. The source must be allocated dynamically, because TQMovie will take ownership of it and will destroy it when the movie is destroyed. The movie starts playing as soon as event processing continues. .PP The \fIbufsize\fR argument sets the maximum amount of data the movie will transfer from the data source per event loop. The lower this value, the better interleaved the movie playback will be with other event processing, but the slower the overall processing will be. -.SH "QMovie::QMovie ( const TQString & fileName, int bufsize = 1024 )" -Constructs a QMovie that reads an image sequence from the file, \fIfileName\fR. +.SH "TQMovie::TQMovie ( const TQString & fileName, int bufsize = 1024 )" +Constructs a TQMovie that reads an image sequence from the file, \fIfileName\fR. .PP The \fIbufsize\fR argument sets the maximum amount of data the movie will transfer from the data source per event loop. The lower this value, the better interleaved the movie playback will be with other event processing, but the slower the overall processing will be. -.SH "QMovie::QMovie ( TQByteArray data, int bufsize = 1024 )" -Constructs a QMovie that reads an image sequence from the byte array, \fIdata\fR. +.SH "TQMovie::TQMovie ( TQByteArray data, int bufsize = 1024 )" +Constructs a TQMovie that reads an image sequence from the byte array, \fIdata\fR. .PP The \fIbufsize\fR argument sets the maximum amount of data the movie will transfer from the data source per event loop. The lower this value, the better interleaved the movie playback will be with other event processing, but the slower the overall processing will be. -.SH "QMovie::QMovie ( const QMovie & movie )" -Constructs a movie that uses the same data as movie \fImovie\fR. QMovies use explicit sharing, so operations on the copy will affect both. -.SH "QMovie::~QMovie ()" -Destroys the QMovie. If this is the last reference to the data of the movie, the data is deallocated. -.SH "const TQColor & QMovie::backgroundColor () const" +.SH "TQMovie::TQMovie ( const TQMovie & movie )" +Constructs a movie that uses the same data as movie \fImovie\fR. TQMovies use explicit sharing, so operations on the copy will affect both. +.SH "TQMovie::~TQMovie ()" +Destroys the TQMovie. If this is the last reference to the data of the movie, the data is deallocated. +.SH "const TQColor & TQMovie::backgroundColor () const" Returns the background color of the movie set by setBackgroundColor(). -.SH "void QMovie::connectResize ( TQObject * receiver, const char * member )" +.SH "void TQMovie::connectResize ( TQObject * receiver, const char * member )" Connects the \fIreceiver\fR's \fImember\fR of type \fCvoid member(const TQSize&)\fR so that it is signalled when the movie changes size. .PP -Note that due to the explicit sharing of QMovie objects, these connections persist until they are explicitly disconnected with disconnectResize() or until \fIevery\fR shared copy of the movie is deleted. +Note that due to the explicit sharing of TQMovie objects, these connections persist until they are explicitly disconnected with disconnectResize() or until \fIevery\fR shared copy of the movie is deleted. .PP Example: movies/main.cpp. -.SH "void QMovie::connectStatus ( TQObject * receiver, const char * member )" +.SH "void TQMovie::connectStatus ( TQObject * receiver, const char * member )" Connects the \fIreceiver\fR's \fImember\fR, of type \fCvoid member(int)\fR so that it is signalled when the movie changes status. The status codes are negative for errors and positive for information. .PP <center>.nf .TS -l - l. Status Code Meaning QMovie::SourceEmpty signalled if the input cannot be read. QMovie::UnrecognizedFormat signalled if the input data is unrecognized. QMovie::Paused signalled when the movie is paused by a call to paused() or by after stepping pauses. QMovie::EndOfFrame signalled at end-of-frame after any update and Paused signals. QMovie::EndOfLoop signalled at end-of-loop, after any update signals, EndOfFrame - but before EndOfMovie. QMovie::EndOfMovie +l - l. Status Code Meaning TQMovie::SourceEmpty signalled if the input cannot be read. TQMovie::UnrecognizedFormat signalled if the input data is unrecognized. TQMovie::Paused signalled when the movie is paused by a call to paused() or by after stepping pauses. TQMovie::EndOfFrame signalled at end-of-frame after any update and Paused signals. TQMovie::EndOfLoop signalled at end-of-loop, after any update signals, EndOfFrame - but before EndOfMovie. TQMovie::EndOfMovie .TE .fi </center> .PP More status messages may be added in the future, so a general test for errors would test for negative. .PP -Note that due to the explicit sharing of QMovie objects, these connections persist until they are explicitly disconnected with disconnectStatus() or until \fIevery\fR shared copy of the movie is deleted. +Note that due to the explicit sharing of TQMovie objects, these connections persist until they are explicitly disconnected with disconnectStatus() or until \fIevery\fR shared copy of the movie is deleted. .PP Example: movies/main.cpp. -.SH "void QMovie::connectUpdate ( TQObject * receiver, const char * member )" +.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. .PP -Note that due to the explicit sharing of QMovie objects, these connections persist until they are explicitly disconnected with disconnectUpdate() or until \fIevery\fR shared copy of the movie is deleted. +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 Example: movies/main.cpp. -.SH "void QMovie::disconnectResize ( TQObject * receiver, const char * member = 0 )" +.SH "void TQMovie::disconnectResize ( TQObject * receiver, const char * member = 0 )" Disconnects the \fIreceiver\fR's \fImember\fR (or all members if \fImember\fR is zero) that were previously connected by connectResize(). -.SH "void QMovie::disconnectStatus ( TQObject * receiver, const char * member = 0 )" +.SH "void TQMovie::disconnectStatus ( TQObject * receiver, const char * member = 0 )" Disconnects the \fIreceiver\fR's \fImember\fR (or all members if \fImember\fR is zero) that were previously connected by connectStatus(). -.SH "void QMovie::disconnectUpdate ( TQObject * receiver, const char * member = 0 )" +.SH "void TQMovie::disconnectUpdate ( TQObject * receiver, const char * member = 0 )" Disconnects the \fIreceiver\fR's \fImember\fR (or all members if \\q member is zero) that were previously connected by connectUpdate(). -.SH "bool QMovie::finished () const" +.SH "bool TQMovie::finished () const" Returns TRUE if the image is no longer playing: this happens when all loops of all frames are complete; otherwise returns FALSE. .PP Example: movies/main.cpp. -.SH "const TQImage & QMovie::frameImage () const" +.SH "const TQImage & TQMovie::frameImage () const" Returns the current frame of the movie, as a TQImage. It is not generally useful to keep a copy of this image. Also note that you must not call this function if the movie is finished(), since by then the image will not be available. .PP See also framePixmap(). -.SH "int QMovie::frameNumber () const" +.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 & QMovie::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 QMovie and get the framePixmap() only when needed for drawing. +.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. .PP See also frameImage(). .PP Example: movies/main.cpp. -.SH "const QRect & QMovie::getValidRect () const" +.SH "const QRect & TQMovie::getValidRect () const" Returns the area of the pixmap for which pixels have been generated. -.SH "bool QMovie::isNull () const" +.SH "bool TQMovie::isNull () const" Returns TRUE if the movie is null; otherwise returns FALSE. -.SH "QMovie & QMovie::operator= ( const QMovie & movie )" -Makes this movie use the same data as movie \fImovie\fR. QMovies use explicit sharing. -.SH "void QMovie::pause ()" +.SH "TQMovie & TQMovie::operator= ( const TQMovie & movie )" +Makes this movie use the same data as movie \fImovie\fR. TQMovies use explicit sharing. +.SH "void TQMovie::pause ()" Pauses the progress of the animation. .PP See also unpause(). .PP Example: movies/main.cpp. -.SH "bool QMovie::paused () const" +.SH "bool TQMovie::paused () const" Returns TRUE if the image is paused; otherwise returns FALSE. .PP Example: movies/main.cpp. -.SH "void QMovie::pushData ( const uchar * data, int length )" +.SH "void TQMovie::pushData ( const uchar * data, int length )" Pushes \fIlength\fR bytes from \fIdata\fR into the movie. \fIlength\fR must be no more than the amount returned by pushSpace() since the previous call to pushData(). -.SH "int QMovie::pushSpace () const" +.SH "int TQMovie::pushSpace () const" Returns the maximum amount of data that can currently be pushed into the movie by a call to pushData(). This is affected by the initial buffer size, but varies as the movie plays and data is consumed. -.SH "void QMovie::restart ()" +.SH "void TQMovie::restart ()" Rewinds the movie to the beginning. If the movie has not been paused, it begins playing again. .PP Example: movies/main.cpp. -.SH "bool QMovie::running () const" +.SH "bool TQMovie::running () const" Returns TRUE if the image is not single-stepping, not paused, and not finished; otherwise returns FALSE. -.SH "void QMovie::setBackgroundColor ( const TQColor & c )" +.SH "void TQMovie::setBackgroundColor ( const TQColor & c )" Sets the background color of the pixmap to \fIc\fR. If the background color isValid(), the pixmap will never have a mask because the background color will be used in transparent regions of the image. .PP See also backgroundColor(). -.SH "void QMovie::setSpeed ( int percent )" +.SH "void TQMovie::setSpeed ( int percent )" Sets the movie's play speed as a percentage, to \fIpercent\fR. This is a percentage of the speed dictated by the input data format. The default is 100 percent. -.SH "int QMovie::speed () const" +.SH "int TQMovie::speed () const" Returns the movie's play speed as a percentage. The default is 100 percent. .PP See also setSpeed(). -.SH "void QMovie::step ()" +.SH "void TQMovie::step ()" Steps forward 1 frame and then pauses. .PP Example: movies/main.cpp. -.SH "void QMovie::step ( int steps )" +.SH "void TQMovie::step ( int steps )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Steps forward, showing \fIsteps\fR frames, and then pauses. -.SH "int QMovie::steps () const" +.SH "int TQMovie::steps () const" Returns the number of steps remaining after a call to step(). If the movie is paused, steps() returns 0. If it's running normally or is finished, steps() returns a negative number. .PP Example: movies/main.cpp. -.SH "void QMovie::unpause ()" +.SH "void TQMovie::unpause ()" Unpauses the progress of the animation. .PP See also pause(). @@ -297,7 +297,7 @@ See also pause(). Example: movies/main.cpp. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqmovie.html +.BR http://doc.trolltech.com/tqmovie.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/tqnpinstance.3qt b/doc/man/man3/tqnpinstance.3qt index a17dafec2..d487239cd 100644 --- a/doc/man/man3/tqnpinstance.3qt +++ b/doc/man/man3/tqnpinstance.3qt @@ -93,7 +93,7 @@ Inherits TQObject. .BI "virtual bool \fBprintFullPage\fR ()" .br .ti -1c -.BI "virtual void \fBprint\fR ( QPainter * )" +.BI "virtual void \fBprint\fR ( TQPainter * )" .br .in -1c .SS "Protected Members" @@ -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 QPaintDevice (i.e. QPixmap, TQWidget, and all subclasses), QApplication, anything related to QPainter (QBrush, etc.), fonts, QMovie, 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. 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. .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" @@ -225,7 +225,7 @@ This function is \fInot tested\fR. It is an interface to the NPN_PostURL function of the Netscape Plugin API. .PP Passes \fIurl\fR, \fIwindow\fR, \fIbuf\fR, \fIlen\fR, and \fIfile\fR to NPN_PostURL. -.SH "void QNPInstance::print ( QPainter * )\fC [virtual]\fR" +.SH "void QNPInstance::print ( TQPainter * )\fC [virtual]\fR" \fBThis function is under development and is subject to change.\fR .PP This function is \fInot tested\fR. diff --git a/doc/man/man3/tqpaintdevice.3qt b/doc/man/man3/tqpaintdevice.3qt index 8639323db..57eb613c9 100644 --- a/doc/man/man3/tqpaintdevice.3qt +++ b/doc/man/man3/tqpaintdevice.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPaintDevice 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPaintDevice 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,16 +7,16 @@ .ad l .nh .SH NAME -QPaintDevice \- The base class of objects that can be painted +TQPaintDevice \- The base class of objects that can be painted .SH SYNOPSIS -\fC#include <ntqpaintdevice.h>\fR +\fC#include <tqpaintdevice.h>\fR .PP Inherited by TQWidget, QPixmap, QPicture, and QPrinter. .PP .SS "Public Members" .in +1c .ti -1c -.BI "virtual \fB~QPaintDevice\fR ()" +.BI "virtual \fB~TQPaintDevice\fR ()" .br .ti -1c .BI "bool \fBisExtDev\fR () const" @@ -133,37 +133,37 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter. .SS "Protected Members" .in +1c .ti -1c -.BI "\fBQPaintDevice\fR ( uint devflags )" +.BI "\fBTQPaintDevice\fR ( uint devflags )" .br .ti -1c -.BI "virtual bool \fBcmd\fR ( int, QPainter *, QPDevCmdParam * )" +.BI "virtual bool \fBcmd\fR ( int, TQPainter *, QPDevCmdParam * )" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "void \fBbitBlt\fR ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )" +.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 ( QPaintDevice * dst, const QPoint & dp, const QPaintDevice * src, const QRect & sr, RasterOp rop )" +.BI "void \fBbitBlt\fR ( TQPaintDevice * dst, const QPoint & dp, const TQPaintDevice * src, const QRect & sr, RasterOp rop )" .br .in -1c .SH DESCRIPTION -The QPaintDevice class is the base class of objects that can be painted. +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 QPainter. 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, QPixmap, QPicture and QPrinter. .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 QPainter::setWorldMatrix(). +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 Example (draw on a paint device): .PP .nf .br - void MyWidget::paintEvent( QPaintEvent * ) + void MyWidget::paintEvent( TQPaintEvent * ) .br { .br - QPainter p; // our painter + TQPainter p; // our painter .br p.begin( this ); // start painting the widget .br @@ -193,154 +193,154 @@ Example (scroll widget contents 10 pixels to the right): .PP See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPaintDevice::QPaintDevice ( uint devflags )\fC [protected]\fR" -Constructs a paint device with internal flags \fIdevflags\fR. This constructor can be invoked only from QPaintDevice subclasses. -.SH "QPaintDevice::~QPaintDevice ()\fC [virtual]\fR" +.SH "TQPaintDevice::TQPaintDevice ( uint devflags )\fC [protected]\fR" +Constructs a paint device with internal flags \fIdevflags\fR. This constructor can be invoked only from TQPaintDevice subclasses. +.SH "TQPaintDevice::~TQPaintDevice ()\fC [virtual]\fR" Destroys the paint device and frees window system resources. -.SH "bool QPaintDevice::cmd ( int, QPainter *, QPDevCmdParam * )\fC [virtual protected]\fR" +.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). -.SH "TQt::HANDLE QPaintDevice::handle () const\fC [virtual]\fR" +.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 -The HANDLE type varies with platform; see ntqpaintdevice.h and ntqwindowdefs.h for details. +The HANDLE type varies with platform; see tqpaintdevice.h and ntqwindowdefs.h for details. .PP See also x11Display(). -.SH "bool QPaintDevice::isExtDev () const" +.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. -.SH "bool QPaintDevice::paintingActive () const" -Returns TRUE if the device is being painted, i.e. someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns FALSE. +.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 -See also QPainter::isActive(). -.SH "int QPaintDevice::x11AppCells ()\fC [static]\fR" +See also TQPainter::isActive(). +.SH "int TQPaintDevice::x11AppCells ()\fC [static]\fR" Returns the number of entries in the colormap for the default screen of the X display global to the application (X11 only). Using this function is not portable. .PP See also x11Colormap(). -.SH "int QPaintDevice::x11AppCells ( int screen )\fC [static]\fR" +.SH "int TQPaintDevice::x11AppCells ( int screen )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the number of entries in the colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable. .PP See also x11Colormap(). -.SH "TQt::HANDLE QPaintDevice::x11AppColormap ()\fC [static]\fR" +.SH "TQt::HANDLE TQPaintDevice::x11AppColormap ()\fC [static]\fR" Returns the colormap for the default screen of the X display global to the application (X11 only). Using this function is not portable. .PP See also x11Cells(). -.SH "TQt::HANDLE QPaintDevice::x11AppColormap ( int screen )\fC [static]\fR" +.SH "TQt::HANDLE TQPaintDevice::x11AppColormap ( int screen )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable. .PP See also x11Cells(). -.SH "bool QPaintDevice::x11AppDefaultColormap ()\fC [static]\fR" +.SH "bool TQPaintDevice::x11AppDefaultColormap ()\fC [static]\fR" Returns the default colormap for the default screen of the X display global to the application (X11 only). Using this function is not portable. .PP See also x11Cells(). -.SH "bool QPaintDevice::x11AppDefaultColormap ( int screen )\fC [static]\fR" +.SH "bool TQPaintDevice::x11AppDefaultColormap ( int screen )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the default colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable. .PP See also x11Cells(). -.SH "bool QPaintDevice::x11AppDefaultVisual ()\fC [static]\fR" +.SH "bool TQPaintDevice::x11AppDefaultVisual ()\fC [static]\fR" Returns TRUE if the Visual used is the default for the default screen of the X display global to the application (X11 only); otherwise returns FALSE. Using this function is not portable. -.SH "bool QPaintDevice::x11AppDefaultVisual ( int screen )\fC [static]\fR" +.SH "bool TQPaintDevice::x11AppDefaultVisual ( int screen )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the Visual used is the default for screen \fIscreen\fR of the X display global to the application (X11 only); otherwise returns FALSE. Using this function is not portable. -.SH "int QPaintDevice::x11AppDepth ( int screen )\fC [static]\fR" +.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(). -.SH "int QPaintDevice::x11AppDepth ()\fC [static]\fR" +.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(). -.SH "Display * QPaintDevice::x11AppDisplay ()\fC [static]\fR" +.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 See also handle(). -.SH "int QPaintDevice::x11AppDpiX ( int screen )\fC [static]\fR" -Returns the horizontal DPI of the X display (X11 only) for screen \fIscreen\fR. Using this function is not portable. See QPaintDeviceMetrics for portable access to related information. Using this function is not portable. +.SH "int TQPaintDevice::x11AppDpiX ( int screen )\fC [static]\fR" +Returns the horizontal DPI of the X display (X11 only) for screen \fIscreen\fR. Using this function is not portable. See TQPaintDeviceMetrics for portable access to related information. Using this function is not portable. .PP -See also x11AppDpiY(), x11SetAppDpiX(), and QPaintDeviceMetrics::logicalDpiX(). -.SH "int QPaintDevice::x11AppDpiX ()\fC [static]\fR" +See also x11AppDpiY(), x11SetAppDpiX(), and TQPaintDeviceMetrics::logicalDpiX(). +.SH "int TQPaintDevice::x11AppDpiX ()\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns the horizontal DPI of the X display (X11 only) for the default screen. Using this function is not portable. See QPaintDeviceMetrics for portable access to related information. Using this function is not portable. -.SH "int QPaintDevice::x11AppDpiY ( int screen )\fC [static]\fR" -Returns the vertical DPI of the X11 display (X11 only) for screen \fIscreen\fR. Using this function is not portable. See QPaintDeviceMetrics for portable access to related information. Using this function is not portable. +Returns the horizontal DPI of the X display (X11 only) for the default screen. Using this function is not portable. See TQPaintDeviceMetrics for portable access to related information. Using this function is not portable. +.SH "int TQPaintDevice::x11AppDpiY ( int screen )\fC [static]\fR" +Returns the vertical DPI of the X11 display (X11 only) for screen \fIscreen\fR. Using this function is not portable. See TQPaintDeviceMetrics for portable access to related information. Using this function is not portable. .PP -See also x11AppDpiX(), x11SetAppDpiY(), and QPaintDeviceMetrics::logicalDpiY(). -.SH "int QPaintDevice::x11AppDpiY ()\fC [static]\fR" +See also x11AppDpiX(), x11SetAppDpiY(), and TQPaintDeviceMetrics::logicalDpiY(). +.SH "int TQPaintDevice::x11AppDpiY ()\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns the vertical DPI of the X11 display (X11 only) for the default screen. Using this function is not portable. See QPaintDeviceMetrics for portable access to related information. Using this function is not portable. +Returns the vertical DPI of the X11 display (X11 only) for the default screen. Using this function is not portable. See TQPaintDeviceMetrics for portable access to related information. Using this function is not portable. .PP -See also x11AppDpiX(), x11SetAppDpiY(), and QPaintDeviceMetrics::logicalDpiY(). -.SH "TQt::HANDLE QPaintDevice::x11AppRootWindow ()\fC [static]\fR" +See also x11AppDpiX(), x11SetAppDpiY(), and TQPaintDeviceMetrics::logicalDpiY(). +.SH "TQt::HANDLE TQPaintDevice::x11AppRootWindow ()\fC [static]\fR" Returns the root window for the default screen of the X display global to the applicatoin (X11 only). Using this function is not portable. -.SH "TQt::HANDLE QPaintDevice::x11AppRootWindow ( int screen )\fC [static]\fR" +.SH "TQt::HANDLE TQPaintDevice::x11AppRootWindow ( int screen )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the root window for screen \fIscreen\fR of the X display global to the applicatoin (X11 only). Using this function is not portable. -.SH "int QPaintDevice::x11AppScreen ()\fC [static]\fR" +.SH "int TQPaintDevice::x11AppScreen ()\fC [static]\fR" Returns the screen number on the X display global to the application (X11 only). Using this function is not portable. -.SH "void * QPaintDevice::x11AppVisual ()\fC [static]\fR" +.SH "void * TQPaintDevice::x11AppVisual ()\fC [static]\fR" Returns the Visual for the default screen of the X display global to the application (X11 only). Using this function is not portable. -.SH "void * QPaintDevice::x11AppVisual ( int screen )\fC [static]\fR" +.SH "void * TQPaintDevice::x11AppVisual ( int screen )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the Visual for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable. -.SH "int QPaintDevice::x11Cells () const" +.SH "int TQPaintDevice::x11Cells () const" Returns the number of entries in the colormap of the X display for the paint device (X11 only). Using this function is not portable. .PP See also x11Colormap(). -.SH "TQt::HANDLE QPaintDevice::x11Colormap () const" +.SH "TQt::HANDLE TQPaintDevice::x11Colormap () const" Returns the colormap of the X display for the paint device (X11 only). Using this function is not portable. .PP See also x11Cells(). -.SH "bool QPaintDevice::x11DefaultColormap () const" +.SH "bool TQPaintDevice::x11DefaultColormap () const" Returns the default colormap of the X display for the paint device (X11 only). Using this function is not portable. .PP See also x11Cells(). -.SH "bool QPaintDevice::x11DefaultVisual () const" +.SH "bool TQPaintDevice::x11DefaultVisual () const" Returns the default Visual of the X display for the paint device (X11 only). Using this function is not portable. -.SH "int QPaintDevice::x11Depth () const" +.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(). -.SH "Display * QPaintDevice::x11Display () const" +.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 See also handle(). -.SH "int QPaintDevice::x11Screen () const" +.SH "int TQPaintDevice::x11Screen () const" Returns the screen number on the X display for the paint device (X11 only). Using this function is not portable. -.SH "void QPaintDevice::x11SetAppDpiX ( int dpi, int screen )\fC [static]\fR" +.SH "void TQPaintDevice::x11SetAppDpiX ( int dpi, int screen )\fC [static]\fR" Sets the value returned by x11AppDpiX() to \fIdpi\fR for screen \fIscreen\fR. The default is determined by the display configuration. Changing this value will alter the scaling of fonts and many other metrics and is not recommended. Using this function is not portable. .PP See also x11SetAppDpiY(). -.SH "void QPaintDevice::x11SetAppDpiX ( int dpi )\fC [static]\fR" +.SH "void TQPaintDevice::x11SetAppDpiX ( int dpi )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the value returned by x11AppDpiX() to \fIdpi\fR for the default screen. The default is determined by the display configuration. Changing this value will alter the scaling of fonts and many other metrics and is not recommended. Using this function is not portable. -.SH "void QPaintDevice::x11SetAppDpiY ( int dpi, int screen )\fC [static]\fR" +.SH "void TQPaintDevice::x11SetAppDpiY ( int dpi, int screen )\fC [static]\fR" Sets the value returned by x11AppDpiY() to \fIdpi\fR for screen \fIscreen\fR. The default is determined by the display configuration. Changing this value will alter the scaling of fonts and many other metrics and is not recommended. Using this function is not portable. .PP See also x11SetAppDpiX(). -.SH "void QPaintDevice::x11SetAppDpiY ( int dpi )\fC [static]\fR" +.SH "void TQPaintDevice::x11SetAppDpiY ( int dpi )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the value returned by x11AppDpiY() to \fIdpi\fR for the default screen. The default is determined by the display configuration. Changing this value will alter the scaling of fonts and many other metrics and is not recommended. Using this function is not portable. -.SH "void * QPaintDevice::x11Visual () const" +.SH "void * TQPaintDevice::x11Visual () const" Returns the Visual of the X display for the paint device (X11 only). Using this function is not portable. .SH RELATED FUNCTION DOCUMENTATION -.SH "void bitBlt ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )" +.SH "void bitBlt ( TQPaintDevice * dst, int dx, int dy, const TQPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )" Copies a block of pixels from \fIsrc\fR to \fIdst\fR, perhaps merging each pixel according to the raster operation \fIrop\fR. \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, \fIsh\fR is the size of the copied block (all of \fIsrc\fR by default). .PP The most common values for \fIrop\fR are CopyROP and XorROP; the TQt::RasterOp documentation defines all the possible values. @@ -352,14 +352,14 @@ If \fIsrc\fR, \fIdst\fR, \fIsw\fR or \fIsh\fR is 0, bitBlt() does nothing. If \f \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. .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 ( QPaintDevice * dst, const QPoint & dp, const QPaintDevice * src, const QRect & sr, RasterOp rop )" +.SH "void bitBlt ( TQPaintDevice * dst, const QPoint & dp, const TQPaintDevice * src, const QRect & 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 rectangle \fIsr\fR. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpaintdevice.html +.BR http://doc.trolltech.com/tqpaintdevice.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/tqpaintdevicemetrics.3qt b/doc/man/man3/tqpaintdevicemetrics.3qt index 3b2d4d4e8..16896ceaa 100644 --- a/doc/man/man3/tqpaintdevicemetrics.3qt +++ b/doc/man/man3/tqpaintdevicemetrics.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPaintDeviceMetrics 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPaintDeviceMetrics 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 -QPaintDeviceMetrics \- Information about a paint device +TQPaintDeviceMetrics \- Information about a paint device .SH SYNOPSIS -\fC#include <ntqpaintdevicemetrics.h>\fR +\fC#include <tqpaintdevicemetrics.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPaintDeviceMetrics\fR ( const QPaintDevice * pd )" +.BI "\fBTQPaintDeviceMetrics\fR ( const TQPaintDevice * pd )" .br .ti -1c .BI "int \fBwidth\fR () const" @@ -42,56 +42,56 @@ QPaintDeviceMetrics \- Information about a paint device .br .in -1c .SH DESCRIPTION -The QPaintDeviceMetrics class provides information about a paint device. +The TQPaintDeviceMetrics class provides information about a paint device. .PP Sometimes when drawing graphics it is necessary to obtain information about the physical characteristics of a paint device. This class provides the information. For example, to compute the aspect ratio of a paint device: .PP .nf .br - QPaintDeviceMetrics pdm( myWidget ); + TQPaintDeviceMetrics pdm( myWidget ); .br double aspect = (double)pdm.widthMM() / (double)pdm.heightMM(); .br .fi .PP -QPaintDeviceMetrics 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()). +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 QPaintDeviceMetrics 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 QPrinter 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 -.SH "QPaintDeviceMetrics::QPaintDeviceMetrics ( const QPaintDevice * pd )" +.SH "TQPaintDeviceMetrics::TQPaintDeviceMetrics ( const TQPaintDevice * pd )" Constructs a metric for the paint device \fIpd\fR. -.SH "int QPaintDeviceMetrics::depth () const" +.SH "int TQPaintDeviceMetrics::depth () const" Returns the bit depth (number of bit planes) of the paint device. -.SH "int QPaintDeviceMetrics::height () const" +.SH "int TQPaintDeviceMetrics::height () const" Returns the height of the paint device in default coordinate system units (e.g. pixels for QPixmap and TQWidget). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. -.SH "int QPaintDeviceMetrics::heightMM () const" +.SH "int TQPaintDeviceMetrics::heightMM () const" Returns the height of the paint device, measured in millimeters. -.SH "int QPaintDeviceMetrics::logicalDpiX () const" +.SH "int TQPaintDeviceMetrics::logicalDpiX () const" Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes. For X, this is usually the same as could be computed from widthMM(), but it varies on Windows. .PP Example: qwerty/qwerty.cpp. -.SH "int QPaintDeviceMetrics::logicalDpiY () const" +.SH "int TQPaintDeviceMetrics::logicalDpiY () const" Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes. For X, this is usually the same as could be computed from heightMM(), but it varies on Windows. .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -.SH "int QPaintDeviceMetrics::numColors () const" +.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 QPaintDeviceMetrics::width () const" +.SH "int TQPaintDeviceMetrics::width () const" Returns the width of the paint device in default coordinate system units (e.g. pixels for QPixmap and TQWidget). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. -.SH "int QPaintDeviceMetrics::widthMM () const" +.SH "int TQPaintDeviceMetrics::widthMM () const" Returns the width of the paint device, measured in millimeters. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpaintdevicemetrics.html +.BR http://doc.trolltech.com/tqpaintdevicemetrics.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/tqpainter.3qt b/doc/man/man3/tqpainter.3qt index afd753ff2..a77897643 100644 --- a/doc/man/man3/tqpainter.3qt +++ b/doc/man/man3/tqpainter.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPainter 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPainter 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 -QPainter \- Does low-level painting e.g. on widgets +TQPainter \- Does low-level painting e.g. on widgets .SH SYNOPSIS -\fC#include <ntqpainter.h>\fR +\fC#include <tqpainter.h>\fR .PP Inherits Qt. .PP @@ -19,28 +19,28 @@ Inherits Qt. .BI "enum \fBCoordinateMode\fR { CoordDevice, CoordPainter }" .br .ti -1c -.BI "\fBQPainter\fR ()" +.BI "\fBTQPainter\fR ()" .br .ti -1c -.BI "\fBQPainter\fR ( const QPaintDevice * pd, bool unclipped = FALSE )" +.BI "\fBTQPainter\fR ( const TQPaintDevice * pd, bool unclipped = FALSE )" .br .ti -1c -.BI "\fBQPainter\fR ( const QPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" +.BI "\fBTQPainter\fR ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" .br .ti -1c -.BI "\fB~QPainter\fR ()" +.BI "\fB~TQPainter\fR ()" .br .ti -1c -.BI "bool \fBbegin\fR ( const QPaintDevice * pd, bool unclipped = FALSE )" +.BI "bool \fBbegin\fR ( const TQPaintDevice * pd, bool unclipped = FALSE )" .br .ti -1c -.BI "bool \fBbegin\fR ( const QPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" +.BI "bool \fBbegin\fR ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" .br .ti -1c .BI "bool \fBend\fR ()" .br .ti -1c -.BI "QPaintDevice * \fBdevice\fR () const" +.BI "TQPaintDevice * \fBdevice\fR () const" .br .ti -1c .BI "bool \fBisActive\fR () const" @@ -58,16 +58,16 @@ Inherits Qt. .BI "void \fBrestore\fR ()" .br .ti -1c -.BI "QFontMetrics \fBfontMetrics\fR () const" +.BI "TQFontMetrics \fBfontMetrics\fR () const" .br .ti -1c -.BI "QFontInfo \fBfontInfo\fR () const" +.BI "TQFontInfo \fBfontInfo\fR () const" .br .ti -1c -.BI "const QFont & \fBfont\fR () const" +.BI "const TQFont & \fBfont\fR () const" .br .ti -1c -.BI "void \fBsetFont\fR ( const QFont & font )" +.BI "void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c .BI "const QPen & \fBpen\fR () const" @@ -82,10 +82,10 @@ Inherits Qt. .BI "void \fBsetPen\fR ( const TQColor & color )" .br .ti -1c -.BI "const QBrush & \fBbrush\fR () const" +.BI "const TQBrush & \fBbrush\fR () const" .br .ti -1c -.BI "void \fBsetBrush\fR ( const QBrush & brush )" +.BI "void \fBsetBrush\fR ( const TQBrush & brush )" .br .ti -1c .BI "void \fBsetBrush\fR ( BrushStyle style )" @@ -355,10 +355,10 @@ Inherits Qt. .BI "void \fBdrawPicture\fR ( const QPoint & p, const QPicture & pic )" .br .ti -1c -.BI "void \fBfillRect\fR ( int x, int y, int w, int h, const QBrush & brush )" +.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 QBrush & brush )" +.BI "void \fBfillRect\fR ( const QRect & r, const TQBrush & brush )" .br .ti -1c .BI "void \fBeraseRect\fR ( int x, int y, int w, int h )" @@ -412,34 +412,34 @@ Inherits Qt. .SS "Static Public Members" .in +1c .ti -1c -.BI "void \fBredirect\fR ( QPaintDevice * pdev, QPaintDevice * replacement )" +.BI "void \fBredirect\fR ( TQPaintDevice * pdev, TQPaintDevice * replacement )" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "void \fBqDrawShadeLine\fR ( QPainter * p, int x1, int y1, int x2, int y2, const QColorGroup & g, bool sunken, int lineWidth, int midLineWidth )" +.BI "void \fBqDrawShadeLine\fR ( TQPainter * p, int x1, int y1, int x2, int y2, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth )" .br .ti -1c -.BI "void \fBqDrawShadeRect\fR ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const QBrush * fill )" +.BI "void \fBqDrawShadeRect\fR ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const TQBrush * fill )" .br .ti -1c -.BI "void \fBqDrawShadePanel\fR ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, int lineWidth, const QBrush * fill )" +.BI "void \fBqDrawShadePanel\fR ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, const TQBrush * fill )" .br .ti -1c -.BI "void \fBqDrawWinButton\fR ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, const QBrush * fill )" +.BI "void \fBqDrawWinButton\fR ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )" .br .ti -1c -.BI "void \fBqDrawWinPanel\fR ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, const QBrush * fill )" +.BI "void \fBqDrawWinPanel\fR ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )" .br .ti -1c -.BI "void \fBqDrawPlainRect\fR ( QPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const QBrush * fill )" +.BI "void \fBqDrawPlainRect\fR ( TQPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const TQBrush * fill )" .br .in -1c .SH DESCRIPTION -The QPainter class does low-level painting e.g. on widgets. +The TQPainter class does low-level painting e.g. on widgets. .PP -The painter provides highly optimized functions to do most of the drawing GUI programs require. QPainter can draw everything from simple lines to complex shapes like pies and chords. It can also draw aligned text and pixmaps. Normally, it draws in a "natural" coordinate system, but it can also do view and world transformation. +The painter provides highly optimized functions to do most of the drawing GUI programs require. TQPainter can draw everything from simple lines to complex shapes like pies and chords. It can also draw aligned text and pixmaps. Normally, it draws in a "natural" coordinate system, but it can also do view and world transformation. .PP The typical use of a painter is: .TP @@ -451,7 +451,7 @@ Draw. .TP Destroy the painter. .PP -Mostly, all this is done inside a paint event. (In fact, 99% of all QPainter use is in a reimplementation of TQWidget::paintEvent(), and the painter is heavily optimized for such use.) Here's one very simple example: +Mostly, all this is done inside a paint event. (In fact, 99% of all TQPainter use is in a reimplementation of TQWidget::paintEvent(), and the painter is heavily optimized for such use.) Here's one very simple example: .PP .nf .br @@ -459,7 +459,7 @@ Mostly, all this is done inside a paint event. (In fact, 99% of all QPainter use .br { .br - QPainter paint( this ); + TQPainter paint( this ); .br paint.setPen( TQt::blue ); .br @@ -502,11 +502,11 @@ hasClipping() is whether the painter clips at all. (The paint device clips, too. pos() is the current position, set by moveTo() and used by lineTo(). .IP .PP -Note that some of these settings mirror settings in some paint devices, e.g. TQWidget::font(). QPainter::begin() (or the QPainter constructor) copies these attributes from the paint device. Calling, for example, TQWidget::setFont() doesn't take effect until the next time a painter begins painting on it. +Note that some of these settings mirror settings in some paint devices, e.g. TQWidget::font(). TQPainter::begin() (or the TQPainter constructor) copies these attributes from the paint device. Calling, for example, TQWidget::setFont() doesn't take effect until the next time a painter begins painting on it. .PP save() saves all of these settings on an internal stack, restore() pops them back. .PP -The core functionality of QPainter 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. +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. .PP @@ -514,65 +514,65 @@ Text drawing is done using drawText(), and when you need fine-grained positionin .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. .PP -Normally, the QPainter operates on the device's own coordinate system (usually pixels), but QPainter has good support for coordinate transformation. See The Coordinate System for a more general overview and a simple example. +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 The most common functions used are scale(), rotate(), translate() and shear(), all of which operate on the worldMatrix(). setWorldMatrix() can replace or add to the currently set worldMatrix(). .PP -setViewport() sets the rectangle on which QPainter operates. The default is the entire device, which is usually fine, except on printers. setWindow() sets the coordinate system, that is, the rectangle that maps to viewport(). What's drawn inside the window() ends up being inside the viewport(). The window's default is the same as the viewport, and if you don't use the transformations, they are optimized away, gaining another little bit of speed. +setViewport() sets the rectangle on which TQPainter operates. The default is the entire device, which is usually fine, except on printers. setWindow() sets the coordinate system, that is, the rectangle that maps to viewport(). What's drawn inside the window() ends up being inside the viewport(). The window's default is the same as the viewport, and if you don't use the transformations, they are optimized away, gaining another little bit of speed. .PP -After all the coordinate transformation is done, QPainter can clip the drawing to an arbitrary rectangle or region. hasClipping() is TRUE if QPainter clips, and clipRegion() returns the clip region. You can set it using either setClipRegion() or setClipRect(). Note that the clipping can be slow. It's all system-dependent, but as a rule of thumb, you can assume that drawing speed is inversely proportional to the number of rectangles in the clip region. +After all the coordinate transformation is done, TQPainter can clip the drawing to an arbitrary rectangle or region. hasClipping() is TRUE if TQPainter clips, and clipRegion() returns the clip region. You can set it using either setClipRegion() or setClipRect(). Note that the clipping can be slow. It's all system-dependent, but as a rule of thumb, you can assume that drawing speed is inversely proportional to the number of rectangles in the clip region. .PP -After QPainter's clipping, the paint device may also clip. For example, most widgets clip away the pixels used by child widgets, and most printers clip away an area near the edges of the paper. This additional clipping is not reflected by the return value of clipRegion() or hasClipping(). +After TQPainter's clipping, the paint device may also clip. For example, most widgets clip away the pixels used by child widgets, and most printers clip away an area near the edges of the paper. This additional clipping is not reflected by the return value of clipRegion() or hasClipping(). .PP -QPainter also includes some less-used functions that are very useful on those occasions when they're needed. +TQPainter also includes some less-used functions that are very useful on those occasions when they're needed. .PP isActive() indicates whether the painter is active. begin() (and the most usual constructor) makes it active. end() (and the destructor) deactivates it. If the painter is active, device() returns the paint device on which the painter paints. .PP -Sometimes it is desirable to make someone else paint on an unusual QPaintDevice. QPainter supports a static function to do this, redirect(). We recommend not using it, but for some hacks it's perfect. +Sometimes it is desirable to make someone else paint on an unusual TQPaintDevice. TQPainter supports a static function to do this, redirect(). We recommend not using it, but for some hacks it's perfect. .PP setTabStops() and setTabArray() can change where the tab stops are, but these are very seldomly used. .PP -\fBWarning:\fR Note that QPainter does not attempt to work around coordinate limitations in the underlying window system. Some platforms may behave incorrectly with coordinates as small as +/-4000. +\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 QPaintDevice, TQWidget, QPixmap, QPrinter, QPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes. +See also TQPaintDevice, TQWidget, QPixmap, QPrinter, QPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" -.SH "QPainter::CoordinateMode" +.SH "TQPainter::CoordinateMode" .TP -\fCQPainter::CoordDevice\fR +\fCTQPainter::CoordDevice\fR .TP -\fCQPainter::CoordPainter\fR +\fCTQPainter::CoordPainter\fR .PP See also clipRegion(). -.SH "QPainter::TextDirection" +.SH "TQPainter::TextDirection" .TP -\fCQPainter::Auto\fR +\fCTQPainter::Auto\fR .TP -\fCQPainter::RTL\fR - right to left +\fCTQPainter::RTL\fR - right to left .TP -\fCQPainter::LTR\fR - left to right +\fCTQPainter::LTR\fR - left to right .PP See also drawText(). .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPainter::QPainter ()" +.SH "TQPainter::TQPainter ()" Constructs a painter. .PP Notice that all painter settings (setPen, setBrush etc.) are reset to default values when begin() is called. .PP See also begin() and end(). -.SH "QPainter::QPainter ( const QPaintDevice * pd, bool unclipped = FALSE )" +.SH "TQPainter::TQPainter ( const TQPaintDevice * pd, bool unclipped = FALSE )" Constructs a painter that begins painting the paint device \fIpd\fR immediately. Depending on the underlying graphic system the painter will paint over children of the paintdevice if \fIunclipped\fR is TRUE. .PP -This constructor is convenient for short-lived painters, e.g. in a paint event and should be used only once. The constructor calls begin() for you and the QPainter destructor automatically calls end(). +This constructor is convenient for short-lived painters, e.g. in a paint event and should be used only once. The constructor calls begin() for you and the TQPainter destructor automatically calls end(). .PP Here's an example using begin() and end(): .PP .nf .br - void MyWidget::paintEvent( QPaintEvent * ) + void MyWidget::paintEvent( TQPaintEvent * ) .br { .br - QPainter p; + TQPainter p; .br p.begin( this ); .br @@ -588,11 +588,11 @@ The same example using this constructor: .PP .nf .br - void MyWidget::paintEvent( QPaintEvent * ) + void MyWidget::paintEvent( TQPaintEvent * ) .br { .br - QPainter p( this ); + TQPainter p( this ); .br p.drawLine( ... ); // drawing code .br @@ -603,21 +603,21 @@ The same example using this constructor: Since the constructor cannot provide feedback when the initialization of the painter failed you should rather use begin() and end() to paint on external devices, e.g. printers. .PP See also begin() and end(). -.SH "QPainter::QPainter ( const QPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" +.SH "TQPainter::TQPainter ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" Constructs a painter that begins painting the paint device \fIpd\fR immediately, with the default arguments taken from \fIcopyAttributes\fR. The painter will paint over children of the paint device if \fIunclipped\fR is TRUE (although this is not supported on all platforms). .PP See also begin(). -.SH "QPainter::~QPainter ()" +.SH "TQPainter::~TQPainter ()" Destroys the painter. -.SH "const TQColor & QPainter::backgroundColor () const" +.SH "const TQColor & TQPainter::backgroundColor () const" Returns the current background color. .PP See also setBackgroundColor() and TQColor. -.SH "BGMode QPainter::backgroundMode () const" +.SH "BGMode TQPainter::backgroundMode () const" Returns the current background mode. .PP See also setBackgroundMode() and BGMode. -.SH "bool QPainter::begin ( const QPaintDevice * pd, bool unclipped = FALSE )" +.SH "bool TQPainter::begin ( const TQPaintDevice * pd, bool unclipped = FALSE )" Begins painting the paint device \fIpd\fR and returns TRUE if successful; otherwise returns FALSE. If \fIunclipped\fR is TRUE, the painting will not be clipped at the paint device's boundaries, (although this is not supported by all platforms). .PP The errors that can occur are serious problems, such as these: @@ -646,14 +646,14 @@ See also end() and flush(). .PP Examples: .)l aclock/aclock.cpp, desktop/desktop.cpp, drawdemo/drawdemo.cpp, hello/hello.cpp, picture/picture.cpp, t10/cannon.cpp, and xform/xform.cpp. -.SH "bool QPainter::begin ( const QPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" +.SH "bool TQPainter::begin ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version opens the painter on a paint device \fIpd\fR and sets the initial pen, background color and font from \fIcopyAttributes\fR, painting over the paint device's children when \fIunclipped\fR is TRUE. This is equivalent to: .PP .nf .br - QPainter p; + TQPainter p; .br p.begin( pd ); .br @@ -671,13 +671,13 @@ Example: .PP .nf .br - void MyWidget::paintEvent( QPaintEvent * ) + void MyWidget::paintEvent( TQPaintEvent * ) .br { .br QPixmap pm(size()); .br - QPainter p; + TQPainter p; .br p.begin(&pm, this); .br @@ -692,7 +692,7 @@ Example: .fi .PP See also end(). -.SH "QRect QPainter::boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )" +.SH "QRect 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,39 +709,39 @@ 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 QPainter::boundingRect ( const QRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )" +.SH "QRect TQPainter::boundingRect ( const QRect & 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. .PP The \fIinternal\fR parameter should not be used. .PP -See also drawText(), fontMetrics(), QFontMetrics::boundingRect(), and TQt::TextFlags. -.SH "const QBrush & QPainter::brush () const" +See also drawText(), fontMetrics(), TQFontMetrics::boundingRect(), and TQt::TextFlags. +.SH "const TQBrush & TQPainter::brush () const" Returns the painter's current brush. .PP -See also QPainter::setBrush(). +See also TQPainter::setBrush(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const QPoint & QPainter::brushOrigin () const" +.SH "const QPoint & TQPainter::brushOrigin () const" Returns the brush origin currently set. .PP See also setBrushOrigin(). -.SH "QRegion QPainter::clipRegion ( CoordinateMode m = CoordDevice ) const" +.SH "QRegion 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 QPainter::CoordinateMode. +See also setClipRegion(), setClipRect(), setClipping(), and TQPainter::CoordinateMode. .PP Example: themes/wood.cpp. -.SH "QPaintDevice * QPainter::device () const" +.SH "TQPaintDevice * TQPainter::device () const" Returns the paint device on which this painter is currently painting, or 0 if the painter is not active. .PP -See also QPaintDevice::paintingActive(). +See also TQPaintDevice::paintingActive(). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, listboxcombo/listboxcombo.cpp, and mdi/application.cpp. -.SH "void QPainter::drawArc ( int x, int y, int w, int h, int a, int alen )" +.SH "void TQPainter::drawArc ( int x, int y, int w, int h, int a, int alen )" Draws an arc defined by the rectangle \fI(x, y, w, h)\fR, the start angle \fIa\fR and the arc length \fIalen\fR. .PP 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. @@ -750,18 +750,18 @@ Example: .PP .nf .br - QPainter p( myWidget ); + TQPainter p( myWidget ); .br p.drawArc( 10,10, 70,100, 100*16, 160*16 ); // draws a "(" arc .br .fi .PP See also drawPie() and drawChord(). -.SH "void QPainter::drawArc ( const QRect & r, int a, int alen )" +.SH "void TQPainter::drawArc ( const QRect & 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. -.SH "void QPainter::drawChord ( int x, int y, int w, int h, int a, int alen )" +.SH "void TQPainter::drawChord ( int x, int y, int w, int h, int a, int alen )" Draws a chord defined by the rectangle \fI(x, y, w, h)\fR, the start angle \fIa\fR and the arc length \fIalen\fR. .PP The chord is filled with the current brush(). @@ -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 QPainter::drawChord ( const QRect & r, int a, int alen )" +.SH "void TQPainter::drawChord ( const QRect & 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 QPainter::drawConvexPolygon ( const QPointArray & pa, int index = 0, int npoints = -1 )" +.SH "void TQPainter::drawConvexPolygon ( const QPointArray & 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,22 +783,22 @@ 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 QPainter::drawCubicBezier ( const QPointArray & a, int index = 0 )" +.SH "void TQPainter::drawCubicBezier ( const QPointArray & 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. .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 QPainter::drawEllipse ( int x, int y, int w, int h )" +.SH "void TQPainter::drawEllipse ( int x, int y, int w, int h )" 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 QPainter::drawEllipse ( const QRect & r )" +.SH "void TQPainter::drawEllipse ( const QRect & 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 QPainter::drawImage ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )" +.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. @@ -808,11 +808,11 @@ Currently alpha masks of the image are ignored when painting on a QPrinter. See also drawPixmap() and QPixmap::convertFromImage(). .PP Example: canvas/canvas.cpp. -.SH "void QPainter::drawImage ( const QPoint &, const TQImage &, const QRect & sr, int conversionFlags = 0 )" +.SH "void TQPainter::drawImage ( const QPoint &, const TQImage &, const QRect & 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 QPainter::drawImage ( const QPoint & p, const TQImage & i, int conversion_flags = 0 )" +.SH "void TQPainter::drawImage ( const QPoint & 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,22 +820,22 @@ 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 QPainter::drawImage ( const QRect & r, const TQImage & i )" +.SH "void TQPainter::drawImage ( const QRect & 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. -.SH "void QPainter::drawLine ( int x1, int y1, int x2, int y2 )" +.SH "void TQPainter::drawLine ( int x1, int y1, int x2, int y2 )" Draws a line from (\fIx1\fR, \fIy1\fR) to (\fIx2\fR, \fIy2\fR) and sets the current pen position to (\fIx2\fR, \fIy2\fR). .PP 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 QPainter::drawLine ( const QPoint & p1, const QPoint & p2 )" +.SH "void TQPainter::drawLine ( const QPoint & p1, const QPoint & 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 QPainter::drawLineSegments ( const QPointArray & a, int index = 0, int nlines = -1 )" +.SH "void TQPainter::drawLineSegments ( const QPointArray & 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. @@ -843,22 +843,22 @@ Draws the 1st line from \fIa[index]\fR to \fIa[index+1]\fR. Draws the 2nd line f \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 QPainter::drawPicture ( int x, int y, const QPicture & pic )" +.SH "void TQPainter::drawPicture ( int x, int y, const QPicture & 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). .PP Examples: .)l picture/picture.cpp and xform/xform.cpp. -.SH "void QPainter::drawPicture ( const QPicture & pic )" +.SH "void TQPainter::drawPicture ( const QPicture & 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 QPainter::drawPicture() functions with a (0, 0) offset instead. -.SH "void QPainter::drawPicture ( const QPoint & p, const QPicture & pic )" +Use one of the other TQPainter::drawPicture() functions with a (0, 0) offset instead. +.SH "void TQPainter::drawPicture ( const QPoint & p, const QPicture & 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. -.SH "void QPainter::drawPie ( int x, int y, int w, int h, int a, int alen )" +.SH "void TQPainter::drawPie ( int x, int y, int w, int h, int a, int alen )" Draws a pie defined by the rectangle \fI(x, y, w, h)\fR, the start angle \fIa\fR and the arc length \fIalen\fR. .PP The pie is filled with the current brush(). @@ -869,11 +869,11 @@ See also drawArc() and drawChord(). .PP Examples: .)l drawdemo/drawdemo.cpp, grapher/grapher.cpp, t10/cannon.cpp, and t9/cannon.cpp. -.SH "void QPainter::drawPie ( const QRect & r, int a, int alen )" +.SH "void TQPainter::drawPie ( const QRect & 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 QPainter::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 QPixmap & 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). @@ -886,36 +886,36 @@ See also bitBlt() and QPixmap::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 QPainter::drawPixmap ( const QPoint & p, const QPixmap & pm, const QRect & sr )" +.SH "void TQPainter::drawPixmap ( const QPoint & p, const QPixmap & pm, const QRect & 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 QPainter::drawPixmap ( const QPoint & p, const QPixmap & pm )" +.SH "void TQPainter::drawPixmap ( const QPoint & p, const QPixmap & 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 QPainter::drawPixmap ( const QRect & r, const QPixmap & pm )" +.SH "void TQPainter::drawPixmap ( const QRect & r, const QPixmap & 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 QPainter::drawPoint ( int x, int y )" +.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. .PP Examples: .)l desktop/desktop.cpp and drawlines/connect.cpp. -.SH "void QPainter::drawPoint ( const QPoint & p )" +.SH "void TQPainter::drawPoint ( const QPoint & 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 QPainter::drawPoints ( const QPointArray & a, int index = 0, int npoints = -1 )" +.SH "void TQPainter::drawPoints ( const QPointArray & 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 QPainter::drawPolygon ( const QPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )" +.SH "void TQPainter::drawPolygon ( const QPointArray & 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). @@ -930,7 +930,7 @@ See also drawLineSegments(), drawPolyline(), and QPen. .PP Examples: .)l desktop/desktop.cpp and picture/picture.cpp. -.SH "void QPainter::drawPolyline ( const QPointArray & a, int index = 0, int npoints = -1 )" +.SH "void TQPainter::drawPolyline ( const QPointArray & 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). @@ -941,18 +941,18 @@ See also drawLineSegments(), drawPolygon(), and QPen. .PP Examples: .)l scribble/scribble.cpp and themes/metal.cpp. -.SH "void QPainter::drawRect ( int x, int y, int w, int h )" +.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(). .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 QPainter::drawRect ( const QRect & r )" +.SH "void TQPainter::drawRect ( const QRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the rectangle \fIr\fR. -.SH "void QPainter::drawRoundRect ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 )" +.SH "void TQPainter::drawRoundRect ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 )" Draws a rectangle with rounded corners at \fI(x, y)\fR, with width \fIw\fR and height \fIh\fR. .PP The \fIxRnd\fR and \fIyRnd\fR arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness. @@ -963,40 +963,40 @@ See also drawRect() and QPen. .PP Examples: .)l drawdemo/drawdemo.cpp and themes/wood.cpp. -.SH "void QPainter::drawRoundRect ( const QRect & r, int xRnd = 25, int yRnd = 25 )" +.SH "void TQPainter::drawRoundRect ( const QRect & 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 QPainter::drawText ( const QPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )" +.SH "void TQPainter::drawText ( const QPoint & 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. .PP -See also QPainter::TextDirection. +See also TQPainter::TextDirection. .PP Examples: .)l desktop/desktop.cpp, drawdemo/drawdemo.cpp, grapher/grapher.cpp, picture/picture.cpp, progress/progress.cpp, t8/cannon.cpp, and trivial/trivial.cpp. -.SH "void QPainter::drawText ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto )" +.SH "void TQPainter::drawText ( int x, int y, 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 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 QPainter::TextDirection. -.SH "void QPainter::drawText ( const QPoint &, const TQString &, int len = -1, TextDirection dir = Auto )" +See also TQPainter::TextDirection. +.SH "void TQPainter::drawText ( const QPoint &, 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. .PP -See also QPainter::TextDirection. -.SH "void QPainter::drawText ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto )" +See also TQPainter::TextDirection. +.SH "void TQPainter::drawText ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto )" 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 QPainter::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, QRect * 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 QPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, TQTextParag ** internal = 0 )" +.SH "void TQPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * 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 QPainter::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 QPixmap & 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,15 +1016,15 @@ 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 QPainter::drawTiledPixmap ( const QRect & r, const QPixmap & pm, const QPoint & sp )" +.SH "void TQPainter::drawTiledPixmap ( const QRect & r, const QPixmap & pm, const QPoint & 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 QPainter::drawTiledPixmap ( const QRect & r, const QPixmap & pm )" +.SH "void TQPainter::drawTiledPixmap ( const QRect & r, const QPixmap & 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. -.SH "void QPainter::drawWinFocusRect ( int x, int y, int w, int h, const TQColor & bgColor )" +.SH "void TQPainter::drawWinFocusRect ( int x, int y, int w, int h, const TQColor & bgColor )" Draws a Windows focus rectangle with upper left corner at (\fIx\fR, \fIy\fR) and with width \fIw\fR and height \fIh\fR using a pen color that contrasts with \fIbgColor\fR. .PP This function draws a stippled rectangle (XOR is not used) that is used to indicate keyboard focus (when the QApplication::style() is \fCWindowStyle\fR). @@ -1034,7 +1034,7 @@ The pen color used to draw the rectangle is either white or black depending on t \fBWarning:\fR This function draws nothing if the coordinate system has been rotated or sheared. .PP See also drawRect() and QApplication::style(). -.SH "void QPainter::drawWinFocusRect ( int x, int y, int w, int h )" +.SH "void TQPainter::drawWinFocusRect ( int x, int y, int w, int h )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a Windows focus rectangle with upper left corner at (\fIx\fR, \fIy\fR) and with width \fIw\fR and height \fIh\fR. @@ -1044,22 +1044,22 @@ 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 QPainter::drawWinFocusRect ( const QRect & r )" +.SH "void TQPainter::drawWinFocusRect ( const QRect & 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 QPainter::drawWinFocusRect ( const QRect & r, const TQColor & bgColor )" +.SH "void TQPainter::drawWinFocusRect ( const QRect & 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. -.SH "bool QPainter::end ()" +.SH "bool TQPainter::end ()" Ends painting. Any resources used while painting are released. .PP Note that while you mostly don't need to call end(), the destructor will do it, there is at least one common case when it is needed, namely double buffering. .PP .nf .br - QPainter p( myPixmap, this ) + TQPainter p( myPixmap, this ) .br // ... .br @@ -1077,79 +1077,79 @@ See also begin() and isActive(). .PP Examples: .)l aclock/aclock.cpp, desktop/desktop.cpp, hello/hello.cpp, picture/picture.cpp, scribble/scribble.cpp, t10/cannon.cpp, and xform/xform.cpp. -.SH "void QPainter::eraseRect ( int x, int y, int w, int h )" +.SH "void TQPainter::eraseRect ( int x, int y, int w, int h )" Erases the area inside \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR. Equivalent to \fCfillRect( x, y, w, h, backgroundColor() )\fR. .PP Examples: .)l listboxcombo/listboxcombo.cpp and showimg/showimg.cpp. -.SH "void QPainter::eraseRect ( const QRect & r )" +.SH "void TQPainter::eraseRect ( const QRect & 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. -.SH "void QPainter::fillRect ( int x, int y, int w, int h, const QBrush & brush )" +.SH "void TQPainter::fillRect ( int x, int y, int w, int h, const TQBrush & brush )" Fills the rectangle \fI(x, y, w, h)\fR with the \fIbrush\fR. .PP -You can specify a TQColor as \fIbrush\fR, since there is a QBrush constructor that takes a TQColor argument and creates a solid pattern brush. +You can specify a TQColor as \fIbrush\fR, since there is a TQBrush constructor that takes a TQColor argument and creates a solid pattern brush. .PP 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 QPainter::fillRect ( const QRect & r, const QBrush & brush )" +.SH "void TQPainter::fillRect ( const QRect & 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 QPainter::flush ( const QRegion & region, CoordinateMode cm = CoordDevice )" +.SH "void TQPainter::flush ( const QRegion & 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. .PP See also CoordinateMode. -.SH "void QPainter::flush ()" +.SH "void TQPainter::flush ()" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Flushes any buffered drawing operations. -.SH "const QFont & QPainter::font () const" +.SH "const TQFont & TQPainter::font () const" Returns the currently set painter font. .PP -See also setFont() and QFont. +See also setFont() and TQFont. .PP Example: fileiconview/tqfileiconview.cpp. -.SH "QFontInfo QPainter::fontInfo () const" +.SH "TQFontInfo TQPainter::fontInfo () const" Returns the font info for the painter, if the painter is active. It is not possible to obtain font information for an inactive painter, so the return value is undefined if the painter is not active. .PP See also fontMetrics() and isActive(). -.SH "QFontMetrics QPainter::fontMetrics () const" +.SH "TQFontMetrics TQPainter::fontMetrics () const" Returns the font metrics for the painter, if the painter is active. It is not possible to obtain metrics for an inactive painter, so the return value is undefined if the painter is not active. .PP See also fontInfo() and isActive(). .PP Examples: .)l action/application.cpp, application/application.cpp, desktop/desktop.cpp, drawdemo/drawdemo.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. -.SH "HDC QPainter::handle () const" +.SH "HDC TQPainter::handle () const" Returns the platform-dependent handle used for drawing. Using this function is not portable. -.SH "bool QPainter::hasClipping () const" +.SH "bool TQPainter::hasClipping () const" Returns TRUE if clipping has been set; otherwise returns FALSE. .PP See also setClipping(). .PP Example: themes/wood.cpp. -.SH "bool QPainter::hasViewXForm () const" +.SH "bool TQPainter::hasViewXForm () const" Returns TRUE if view transformation is enabled; otherwise returns FALSE. .PP See also setViewXForm() and xForm(). -.SH "bool QPainter::hasWorldXForm () const" +.SH "bool TQPainter::hasWorldXForm () const" Returns TRUE if world transformation is enabled; otherwise returns FALSE. .PP See also setWorldXForm(). -.SH "bool QPainter::isActive () const" +.SH "bool TQPainter::isActive () const" Returns TRUE if the painter is active painting, i.e. begin() has been called and end() has not yet been called; otherwise returns FALSE. .PP -See also QPaintDevice::paintingActive(). +See also TQPaintDevice::paintingActive(). .PP Examples: .)l desktop/desktop.cpp and helpviewer/helpwindow.cpp. -.SH "void QPainter::lineTo ( int x, int y )" +.SH "void TQPainter::lineTo ( int x, int y )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use drawLine() instead. @@ -1157,85 +1157,85 @@ Use drawLine() instead. 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 QPainter::lineTo ( const QPoint & p )" +.SH "void TQPainter::lineTo ( const QPoint & 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. -.SH "void QPainter::moveTo ( int x, int y )" +.SH "void TQPainter::moveTo ( int x, int y )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Sets the current pen position to \fI(x, y)\fR .PP See also lineTo() and pos(). -.SH "void QPainter::moveTo ( const QPoint & p )" +.SH "void TQPainter::moveTo ( const QPoint & 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 & QPainter::pen () const" +.SH "const QPen & 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 QPainter::pos () const" +.SH "QPoint 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. .PP See also moveTo(). -.SH "RasterOp QPainter::rasterOp () const" +.SH "RasterOp TQPainter::rasterOp () const" Returns the current raster operation. .PP See also setRasterOp() and RasterOp. -.SH "void QPainter::redirect ( QPaintDevice * pdev, QPaintDevice * replacement )\fC [static]\fR" +.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. -.SH "void QPainter::resetXForm ()" +.SH "void TQPainter::resetXForm ()" Resets any transformations that were made using translate(), scale(), shear(), rotate(), setWorldMatrix(), setViewport() and setWindow(). .PP See also worldMatrix(), viewport(), and window(). -.SH "void QPainter::restore ()" +.SH "void TQPainter::restore ()" Restores the current painter state (pops a saved state off the stack). .PP See also save(). .PP Example: aclock/aclock.cpp. -.SH "void QPainter::restoreWorldMatrix ()" +.SH "void TQPainter::restoreWorldMatrix ()" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP We recommend using restore() instead. -.SH "void QPainter::rotate ( double a )" +.SH "void TQPainter::rotate ( double a )" Rotates the coordinate system \fIa\fR degrees counterclockwise. .PP See also translate(), scale(), shear(), resetXForm(), setWorldMatrix(), and xForm(). .PP Examples: .)l aclock/aclock.cpp, t10/cannon.cpp, and t9/cannon.cpp. -.SH "void QPainter::save ()" +.SH "void TQPainter::save ()" Saves the current painter state (pushes the state onto a stack). A save() must be followed by a corresponding restore(). end() unwinds the stack. .PP See also restore(). .PP Example: aclock/aclock.cpp. -.SH "void QPainter::saveWorldMatrix ()" +.SH "void TQPainter::saveWorldMatrix ()" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP We recommend using save() instead. -.SH "void QPainter::scale ( double sx, double sy )" +.SH "void TQPainter::scale ( double sx, double sy )" Scales the coordinate system by \fI(sx, sy)\fR. .PP See also translate(), shear(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). .PP Example: xform/xform.cpp. -.SH "void QPainter::setBackgroundColor ( const TQColor & c )" +.SH "void TQPainter::setBackgroundColor ( const TQColor & c )" Sets the background color of the painter to \fIc\fR. .PP The background color is the color that is filled in when drawing opaque text, stippled lines and bitmaps. The background color has no effect in transparent background mode (which is the default). .PP See also backgroundColor(), setBackgroundMode(), and BackgroundMode. -.SH "void QPainter::setBackgroundMode ( BGMode m )" +.SH "void TQPainter::setBackgroundMode ( BGMode m )" Sets the background mode of the painter to \fIm\fR, which must be either TransparentMode (the default) or OpaqueMode. .PP Transparent mode draws stippled lines and text without setting the background pixels. Opaque mode fills these space with the current background color. @@ -1245,14 +1245,14 @@ Note that in order to draw a bitmap or pixmap transparently, you must use QPixma See also backgroundMode() and setBackgroundColor(). .PP Example: picture/picture.cpp. -.SH "void QPainter::setBrush ( BrushStyle style )" +.SH "void TQPainter::setBrush ( BrushStyle style )" Sets the painter's brush to black color and the specified \fIstyle\fR. .PP -See also brush() and QBrush. +See also brush() and TQBrush. .PP Examples: .)l aclock/aclock.cpp, drawdemo/drawdemo.cpp, picture/picture.cpp, t10/cannon.cpp, t9/cannon.cpp, themes/wood.cpp, and tooltip/tooltip.cpp. -.SH "void QPainter::setBrush ( const QBrush & brush )" +.SH "void TQPainter::setBrush ( const TQBrush & brush )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the painter's brush to \fIbrush\fR. @@ -1260,38 +1260,38 @@ Sets the painter's brush to \fIbrush\fR. The \fIbrush\fR defines how shapes are filled. .PP See also brush(). -.SH "void QPainter::setBrush ( const TQColor & color )" +.SH "void TQPainter::setBrush ( const TQColor & color )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the painter's brush to have style SolidPattern and the specified \fIcolor\fR. .PP -See also brush() and QBrush. -.SH "void QPainter::setBrushOrigin ( int x, int y )" +See also brush() and TQBrush. +.SH "void TQPainter::setBrushOrigin ( int x, int y )" Sets the brush origin to \fI(x, y)\fR. .PP 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 QPainter::setBrushOrigin ( const QPoint & p )" +.SH "void TQPainter::setBrushOrigin ( const QPoint & 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. -.SH "void QPainter::setClipRect ( int x, int y, int w, int h, CoordinateMode m = CoordDevice )" +.SH "void TQPainter::setClipRect ( int x, int y, int w, int h, CoordinateMode m = CoordDevice )" Sets the clip region to the rectangle \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR and enables clipping. The clip mode is set to \fIm\fR. .PP If \fIm\fR is CoordDevice (the default), the coordinates given for the clip region are taken to be physical device coordinates and are \fInot\fR subject to any coordinate transformations. If \fIm\fR is CoordPainter, the coordinates given for the clip region are taken to be model coordinates. .PP -See also setClipRegion(), clipRegion(), setClipping(), and QPainter::CoordinateMode. +See also setClipRegion(), clipRegion(), setClipping(), and TQPainter::CoordinateMode. .PP Examples: .)l grapher/grapher.cpp, progress/progress.cpp, showimg/showimg.cpp, splitter/splitter.cpp, and trivial/trivial.cpp. -.SH "void QPainter::setClipRect ( const QRect & r, CoordinateMode m = CoordDevice )" +.SH "void TQPainter::setClipRect ( const QRect & 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 QPainter::setClipRegion ( const QRegion & rgn, CoordinateMode m = CoordDevice )" +.SH "void TQPainter::setClipRegion ( const QRegion & 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. @@ -1300,13 +1300,13 @@ See also setClipRect(), clipRegion(), setClipping(), and CoordinateMode. .PP Examples: .)l qfd/fontdisplayer.cpp and themes/wood.cpp. -.SH "void QPainter::setClipping ( bool enable )" +.SH "void TQPainter::setClipping ( bool enable )" Enables clipping if \fIenable\fR is TRUE, or disables clipping if \fIenable\fR is FALSE. .PP See also hasClipping(), setClipRect(), and setClipRegion(). .PP Example: themes/wood.cpp. -.SH "void QPainter::setFont ( const QFont & font )" +.SH "void TQPainter::setFont ( const TQFont & font )" Sets the painter's font to \fIfont\fR. .PP This font is used by subsequent drawText() functions. The text color is the same as the pen color. @@ -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 QPainter::setPen ( const QPen & pen )" +.SH "void TQPainter::setPen ( const QPen & pen )" Sets a new painter pen. .PP The \fIpen\fR defines how to draw lines and outlines, and it also defines the text color. @@ -1324,29 +1324,29 @@ See also pen(). .PP Examples: .)l desktop/desktop.cpp, drawdemo/drawdemo.cpp, multiple/ax2.h, progress/progress.cpp, t9/cannon.cpp, themes/metal.cpp, and themes/wood.cpp. -.SH "void QPainter::setPen ( PenStyle style )" +.SH "void TQPainter::setPen ( PenStyle style )" 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 \fIstyle\fR, width 0 and black color. .PP See also pen() and QPen. -.SH "void QPainter::setPen ( const TQColor & color )" +.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. -.SH "void QPainter::setRasterOp ( RasterOp r )" +.SH "void TQPainter::setRasterOp ( RasterOp r )" Sets the raster operation to \fIr\fR. The default is CopyROP. .PP See also rasterOp() and TQt::RasterOp. -.SH "void QPainter::setTabArray ( int * ta )" +.SH "void TQPainter::setTabArray ( int * ta )" Sets the tab stop array to \fIta\fR. This puts tab stops at \fIta[0]\fR, \fIta[1]\fR and so on. The array is null-terminated. .PP If both a tab array and a tab top size is set, the tab array wins. .PP See also tabArray(), setTabStops(), drawText(), and fontMetrics(). -.SH "void QPainter::setTabStops ( int ts )" +.SH "void TQPainter::setTabStops ( int ts )" Set the tab stop width to \fIts\fR, i.e. locates tab stops at \fIts\fR, 2*\fIts\fR, 3*\fIts\fR and so on. .PP Tab stops are used when drawing formatted text with ExpandTabs set. This fixed tab stop value is used only if no tab array is set (which is the default case). @@ -1354,11 +1354,11 @@ Tab stops are used when drawing formatted text with ExpandTabs set. This fixed t A value of 0 (the default) implies a tabstop setting of 8 times the width of the character 'x' in the font currently set on the painter. .PP See also tabStops(), setTabArray(), drawText(), and fontMetrics(). -.SH "void QPainter::setViewXForm ( bool enable )" +.SH "void TQPainter::setViewXForm ( bool enable )" Enables view transformations if \fIenable\fR is TRUE, or disables view transformations if \fIenable\fR is FALSE. .PP See also hasViewXForm(), setWindow(), setViewport(), setWorldMatrix(), setWorldXForm(), and xForm(). -.SH "void QPainter::setViewport ( int x, int y, int w, int h )" +.SH "void TQPainter::setViewport ( int x, int y, int w, int h )" Sets the viewport rectangle view transformation for the painter and enables view transformation. .PP The viewport rectangle is part of the view transformation. The viewport specifies the device coordinate system and is specified by the \fIx\fR, \fIy\fR, \fIw\fR width and \fIh\fR height parameters. Its sister, the window(), specifies the logical coordinate system. @@ -1368,11 +1368,11 @@ 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 QPainter::setViewport ( const QRect & r )" +.SH "void TQPainter::setViewport ( const QRect & 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. -.SH "void QPainter::setWindow ( int x, int y, int w, int h )" +.SH "void TQPainter::setWindow ( int x, int y, int w, int h )" Sets the window rectangle view transformation for the painter and enables view transformation. .PP The window rectangle is part of the view transformation. The window specifies the logical coordinate system and is specified by the \fIx\fR, \fIy\fR, \fIw\fR width and \fIh\fR height parameters. Its sister, the viewport(), specifies the device coordinate system. @@ -1383,11 +1383,11 @@ See also window(), setViewport(), setViewXForm(), setWorldMatrix(), and setWorld .PP Examples: .)l aclock/aclock.cpp and drawdemo/drawdemo.cpp. -.SH "void QPainter::setWindow ( const QRect & r )" +.SH "void TQPainter::setWindow ( const QRect & 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 QPainter::setWorldMatrix ( const QWMatrix & m, bool combine = FALSE )" +.SH "void TQPainter::setWorldMatrix ( const QWMatrix & 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. @@ -1410,7 +1410,7 @@ They operate on the painter's worldMatrix() and are implemented like this: .PP .nf .br - void QPainter::rotate( double a ) + void TQPainter::rotate( double a ) .br { .br @@ -1432,23 +1432,23 @@ See also worldMatrix(), setWorldXForm(), setWindow(), setViewport(), setViewXFor .PP Examples: .)l drawdemo/drawdemo.cpp and xform/xform.cpp. -.SH "void QPainter::setWorldXForm ( bool enable )" +.SH "void TQPainter::setWorldXForm ( bool enable )" Enables world transformations if \fIenable\fR is TRUE, or disables world transformations if \fIenable\fR is FALSE. The world transformation matrix is not changed. .PP See also setWorldMatrix(), setWindow(), setViewport(), setViewXForm(), and xForm(). -.SH "void QPainter::shear ( double sh, double sv )" +.SH "void TQPainter::shear ( double sh, double sv )" Shears the coordinate system by \fI(sh, sv)\fR. .PP See also translate(), scale(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). -.SH "int * QPainter::tabArray () const" +.SH "int * TQPainter::tabArray () const" Returns the currently set tab stop array. .PP See also setTabArray(). -.SH "int QPainter::tabStops () const" +.SH "int TQPainter::tabStops () const" Returns the tab stop setting. .PP See also setTabStops(). -.SH "void QPainter::translate ( double dx, double dy )" +.SH "void TQPainter::translate ( double dx, double dy )" Translates the coordinate system by \fI(dx, dy)\fR. After this call, \fI(dx, dy)\fR is added to points. .PP For example, the following code draws the same point twice: @@ -1459,7 +1459,7 @@ For example, the following code draws the same point twice: .br { .br - QPainter paint( this ); + TQPainter paint( this ); .br .br paint.drawPoint( 0, 0 ); @@ -1477,25 +1477,25 @@ 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 QPainter::viewport () const" +.SH "QRect TQPainter::viewport () const" Returns the viewport rectangle. .PP See also setViewport() and setViewXForm(). .PP Example: aclock/aclock.cpp. -.SH "QRect QPainter::window () const" +.SH "QRect TQPainter::window () const" Returns the window rectangle. .PP See also setWindow() and setViewXForm(). -.SH "const QWMatrix & QPainter::worldMatrix () const" +.SH "const QWMatrix & TQPainter::worldMatrix () const" Returns the world transformation matrix. .PP See also setWorldMatrix(). -.SH "QPoint QPainter::xForm ( const QPoint & pv ) const" +.SH "QPoint TQPainter::xForm ( const QPoint & pv ) const" Returns the point \fIpv\fR transformed from model coordinates to device coordinates. .PP See also xFormDev() and QWMatrix::map(). -.SH "QRect QPainter::xForm ( const QRect & rv ) const" +.SH "QRect TQPainter::xForm ( const QRect & 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. @@ -1503,13 +1503,13 @@ Returns the rectangle \fIrv\fR transformed from model coordinates to device coor 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 QPainter::xForm ( const QPointArray & av ) const" +.SH "QPointArray TQPainter::xForm ( const QPointArray & 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 QPainter::xForm ( const QPointArray & av, int index, int npoints ) const" +.SH "QPointArray TQPainter::xForm ( const QPointArray & 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. @@ -1531,25 +1531,25 @@ Example: .fi .PP See also xFormDev() and QWMatrix::map(). -.SH "QRect QPainter::xFormDev ( const QRect & rd ) const" +.SH "QRect TQPainter::xFormDev ( const QRect & 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 QPainter::xFormDev ( const QPoint & pd ) const" +.SH "QPoint TQPainter::xFormDev ( const QPoint & 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 QPainter::xFormDev ( const QPointArray & ad ) const" +.SH "QPointArray TQPainter::xFormDev ( const QPointArray & 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 QPainter::xFormDev ( const QPointArray & ad, int index, int npoints ) const" +.SH "QPointArray TQPainter::xFormDev ( const QPointArray & 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. @@ -1572,7 +1572,7 @@ Example: .PP See also xForm() and QWMatrix::map(). .SH RELATED FUNCTION DOCUMENTATION -.SH "void qDrawPlainRect ( QPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const QBrush * fill )" +.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 .PP Draws the plain rectangle specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. @@ -1588,7 +1588,7 @@ If you want to use a QFrame widget instead, you can make it display a plain rect \fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in TQStyle to make widgets that follow the current GUI style. .PP See also qDrawShadeRect() and TQStyle::drawPrimitive(). -.SH "void qDrawShadeLine ( QPainter * p, int x1, int y1, int x2, int y2, const QColorGroup & g, bool sunken, int lineWidth, int midLineWidth )" +.SH "void qDrawShadeLine ( TQPainter * p, int x1, int y1, int x2, int y2, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth )" \fC#include <ntqdrawutil.h>\fR .PP Draws a horizontal (\fIy1\fR == \fIy2\fR) or vertical (\fIx1\fR == \fIx2\fR) shaded line using the painter \fIp\fR. @@ -1601,14 +1601,14 @@ The line appears sunken if \fIsunken\fR is TRUE, or raised if \fIsunken\fR is FA .PP The \fIlineWidth\fR argument specifies the line width for each of the lines. It is not the total line width. .PP -The \fImidLineWidth\fR argument specifies the width of a middle line drawn in the QColorGroup::mid() color. +The \fImidLineWidth\fR argument specifies the width of a middle line drawn in the TQColorGroup::mid() color. .PP If you want to use a QFrame widget instead, you can make it display a shaded line, for example \fCQFrame::setFrameStyle( QFrame::HLine | QFrame::Sunken )\fR. .PP \fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in TQStyle to make widgets that follow the current GUI style. .PP See also qDrawShadeRect(), qDrawShadePanel(), and TQStyle::drawPrimitive(). -.SH "void qDrawShadePanel ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, int lineWidth, const QBrush * fill )" +.SH "void qDrawShadePanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, const TQBrush * fill )" \fC#include <ntqdrawutil.h>\fR .PP Draws the shaded panel specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. @@ -1626,7 +1626,7 @@ If you want to use a QFrame widget instead, you can make it display a shaded pan \fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in TQStyle to make widgets that follow the current GUI style. .PP See also qDrawWinPanel(), qDrawShadeLine(), qDrawShadeRect(), and TQStyle::drawPrimitive(). -.SH "void qDrawShadeRect ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const QBrush * fill )" +.SH "void qDrawShadeRect ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const TQBrush * fill )" \fC#include <ntqdrawutil.h>\fR .PP Draws the shaded rectangle specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. @@ -1637,7 +1637,7 @@ The rectangle appears sunken if \fIsunken\fR is TRUE, or raised if \fIsunken\fR .PP The \fIlineWidth\fR argument specifies the line width for each of the lines. It is not the total line width. .PP -The \fImidLineWidth\fR argument specifies the width of a middle line drawn in the QColorGroup::mid() color. +The \fImidLineWidth\fR argument specifies the width of a middle line drawn in the TQColorGroup::mid() color. .PP The rectangle's interior is filled with the \fIfill\fR brush unless \fIfill\fR is 0. .PP @@ -1646,7 +1646,7 @@ If you want to use a QFrame widget instead, you can make it display a shaded rec \fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in TQStyle to make widgets that follow the current GUI style. .PP See also qDrawShadeLine(), qDrawShadePanel(), qDrawPlainRect(), TQStyle::drawItem(), TQStyle::drawControl(), and TQStyle::drawComplexControl(). -.SH "void qDrawWinButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, const QBrush * fill )" +.SH "void qDrawWinButton ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )" \fC#include <ntqdrawutil.h>\fR .PP Draws the Windows-style button specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. @@ -1662,7 +1662,7 @@ The button's interior is filled with the \fI*fill\fR brush unless \fIfill\fR is \fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in TQStyle to make widgets that follow the current GUI style. .PP See also qDrawWinPanel() and TQStyle::drawControl(). -.SH "void qDrawWinPanel ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, const QBrush * fill )" +.SH "void qDrawWinPanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )" \fC#include <ntqdrawutil.h>\fR .PP Draws the Windows-style panel specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. @@ -1682,7 +1682,7 @@ If you want to use a QFrame widget instead, you can make it display a shaded pan See also qDrawShadePanel(), qDrawWinButton(), and TQStyle::drawPrimitive(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqpainter.html +.BR http://doc.trolltech.com/tqpainter.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/tqpaintevent.3qt b/doc/man/man3/tqpaintevent.3qt index 74ae8b2ff..76917e3f2 100644 --- a/doc/man/man3/tqpaintevent.3qt +++ b/doc/man/man3/tqpaintevent.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPaintEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPaintEvent 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,7 +7,7 @@ .ad l .nh .SH NAME -QPaintEvent \- Event parameters for paint events +TQPaintEvent \- Event parameters for paint events .SH SYNOPSIS \fC#include <ntqevent.h>\fR .PP @@ -16,13 +16,13 @@ Inherits QEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPaintEvent\fR ( const QRegion & paintRegion, bool erased = TRUE )" +.BI "\fBTQPaintEvent\fR ( const QRegion & paintRegion, bool erased = TRUE )" .br .ti -1c -.BI "\fBQPaintEvent\fR ( const QRect & paintRect, bool erased = TRUE )" +.BI "\fBTQPaintEvent\fR ( const QRect & paintRect, bool erased = TRUE )" .br .ti -1c -.BI "\fBQPaintEvent\fR ( const QRegion & paintRegion, const QRect & paintRect, bool erased = TRUE )" +.BI "\fBTQPaintEvent\fR ( const QRegion & paintRegion, const QRect & paintRect, bool erased = TRUE )" .br .ti -1c .BI "const QRect & \fBrect\fR () const" @@ -35,7 +35,7 @@ Inherits QEvent. .br .in -1c .SH DESCRIPTION -The QPaintEvent class contains event parameters for paint events. +The TQPaintEvent class contains event parameters for paint events. .PP Paint events are sent to widgets that need to update themselves, for instance when part of a widget is exposed because a covering widget is moved. .PP @@ -43,33 +43,33 @@ 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 QPainter, TQWidget::update(), TQWidget::repaint(), TQWidget::paintEvent(), TQWidget::backgroundMode, QRegion, and Event Classes. +See also TQPainter, TQWidget::update(), TQWidget::repaint(), TQWidget::paintEvent(), TQWidget::backgroundMode, QRegion, and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPaintEvent::QPaintEvent ( const QRegion & paintRegion, bool erased = TRUE )" +.SH "TQPaintEvent::TQPaintEvent ( const QRegion & 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 "QPaintEvent::QPaintEvent ( const QRect & paintRect, bool erased = TRUE )" +.SH "TQPaintEvent::TQPaintEvent ( const QRect & 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 "QPaintEvent::QPaintEvent ( const QRegion & paintRegion, const QRect & paintRect, bool erased = TRUE )" +.SH "TQPaintEvent::TQPaintEvent ( const QRegion & paintRegion, const QRect & 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 QPaintEvent::erased () const" +.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 & QPaintEvent::rect () const" +.SH "const QRect & TQPaintEvent::rect () const" Returns the rectangle that should be updated. .PP -See also region() and QPainter::setClipRect(). +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 & QPaintEvent::region () const" +.SH "const QRegion & TQPaintEvent::region () const" Returns the region that should be updated. .PP -See also rect() and QPainter::setClipRegion(). +See also rect() and TQPainter::setClipRegion(). .PP Examples: .)l qfd/fontdisplayer.cpp and scribble/scribble.cpp. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qpaintevent.html +.BR http://doc.trolltech.com/tqpaintevent.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/tqpalette.3qt b/doc/man/man3/tqpalette.3qt index 5bdb2951b..23ddbcdaf 100644 --- a/doc/man/man3/tqpalette.3qt +++ b/doc/man/man3/tqpalette.3qt @@ -23,7 +23,7 @@ QPalette \- Color groups for each widget state .BI "\fBQPalette\fR ( const TQColor & button, const TQColor & background )" .br .ti -1c -.BI "\fBQPalette\fR ( const QColorGroup & active, const QColorGroup & disabled, const QColorGroup & inactive )" +.BI "\fBQPalette\fR ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive )" .br .ti -1c .BI "\fBQPalette\fR ( const QPalette & p )" @@ -38,43 +38,43 @@ QPalette \- Color groups for each widget state .BI "enum \fBColorGroup\fR { Disabled, Active, Inactive, NColorGroups }" .br .ti -1c -.BI "const TQColor & \fBcolor\fR ( ColorGroup gr, QColorGroup::ColorRole r ) const" +.BI "const TQColor & \fBcolor\fR ( ColorGroup gr, TQColorGroup::ColorRole r ) const" .br .ti -1c -.BI "const QBrush & \fBbrush\fR ( ColorGroup gr, QColorGroup::ColorRole r ) const" +.BI "const TQBrush & \fBbrush\fR ( ColorGroup gr, TQColorGroup::ColorRole r ) const" .br .ti -1c -.BI "void \fBsetColor\fR ( ColorGroup gr, QColorGroup::ColorRole r, const TQColor & c )" +.BI "void \fBsetColor\fR ( ColorGroup gr, TQColorGroup::ColorRole r, const TQColor & c )" .br .ti -1c -.BI "void \fBsetBrush\fR ( ColorGroup gr, QColorGroup::ColorRole r, const QBrush & b )" +.BI "void \fBsetBrush\fR ( ColorGroup gr, TQColorGroup::ColorRole r, const TQBrush & b )" .br .ti -1c -.BI "void \fBsetColor\fR ( QColorGroup::ColorRole r, const TQColor & c )" +.BI "void \fBsetColor\fR ( TQColorGroup::ColorRole r, const TQColor & c )" .br .ti -1c -.BI "void \fBsetBrush\fR ( QColorGroup::ColorRole r, const QBrush & b )" +.BI "void \fBsetBrush\fR ( TQColorGroup::ColorRole r, const TQBrush & b )" .br .ti -1c .BI "QPalette \fBcopy\fR () const" .br .ti -1c -.BI "const QColorGroup & \fBactive\fR () const" +.BI "const TQColorGroup & \fBactive\fR () const" .br .ti -1c -.BI "const QColorGroup & \fBdisabled\fR () const" +.BI "const TQColorGroup & \fBdisabled\fR () const" .br .ti -1c -.BI "const QColorGroup & \fBinactive\fR () const" +.BI "const TQColorGroup & \fBinactive\fR () const" .br .ti -1c -.BI "void \fBsetActive\fR ( const QColorGroup & g )" +.BI "void \fBsetActive\fR ( const TQColorGroup & g )" .br .ti -1c -.BI "void \fBsetDisabled\fR ( const QColorGroup & g )" +.BI "void \fBsetDisabled\fR ( const TQColorGroup & g )" .br .ti -1c -.BI "void \fBsetInactive\fR ( const QColorGroup & g )" +.BI "void \fBsetInactive\fR ( const TQColorGroup & g )" .br .ti -1c .BI "bool \fBoperator==\fR ( const QPalette & p ) const" @@ -123,7 +123,7 @@ Colors and brushes can be set for particular roles in any of a palette's color g .PP You can copy a palette using the copy constructor and test to see if two palettes are \fIidentical\fR using isCopyOf(). .PP -See also QApplication::setPalette(), TQWidget::palette, QColorGroup, TQColor, Widget Appearance and Style, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +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" .TP @@ -143,46 +143,46 @@ Constructs a palette that consists of color groups with only black colors. 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 )" 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 QColorGroup & active, const QColorGroup & disabled, const QColorGroup & 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 QColorGroup::ColorRole for definitions of each color role in the three groups. +.SH "QPalette::QPalette ( 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 QColorGroup and QColorGroup::ColorRole. +See also TQColorGroup and TQColorGroup::ColorRole. .SH "QPalette::QPalette ( const QPalette & p )" Constructs a copy of \fIp\fR. .PP This constructor is fast (it uses copy-on-write). .SH "QPalette::~QPalette ()" Destroys the palette. -.SH "const QColorGroup & QPalette::active () const" +.SH "const TQColorGroup & QPalette::active () const" Returns the active color group of this palette. .PP -See also QColorGroup, setActive(), inactive(), and disabled(). +See also TQColorGroup, setActive(), inactive(), and disabled(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const QBrush & QPalette::brush ( ColorGroup gr, QColorGroup::ColorRole r ) const" +.SH "const TQBrush & QPalette::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 QColorGroup::ColorRole. -.SH "const TQColor & QPalette::color ( ColorGroup gr, QColorGroup::ColorRole r ) const" +See also color(), setBrush(), and TQColorGroup::ColorRole. +.SH "const TQColor & QPalette::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 QColorGroup::ColorRole. +See also brush(), setColor(), and TQColorGroup::ColorRole. .SH "QPalette QPalette::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 QColorGroup & QPalette::disabled () const" +.SH "const TQColorGroup & QPalette::disabled () const" Returns the disabled color group of this palette. .PP -See also QColorGroup, setDisabled(), active(), and inactive(). +See also TQColorGroup, setDisabled(), active(), and inactive(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const QColorGroup & QPalette::inactive () const" +.SH "const TQColorGroup & QPalette::inactive () const" Returns the inactive color group of this palette. .PP -See also QColorGroup, setInactive(), active(), and disabled(). +See also TQColorGroup, setInactive(), active(), and disabled(). .SH "bool QPalette::isCopyOf ( const QPalette & 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 @@ -203,40 +203,40 @@ Returns a number that uniquely identifies this QPalette object. The serial numbe 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). .PP See also QPixmap, QPixmapCache, and TQCache. -.SH "void QPalette::setActive ( const QColorGroup & g )" +.SH "void QPalette::setActive ( const TQColorGroup & g )" Sets the Active color group to \fIg\fR. .PP -See also active(), setDisabled(), setInactive(), and QColorGroup. -.SH "void QPalette::setBrush ( ColorGroup gr, QColorGroup::ColorRole r, const QBrush & b )" +See also active(), setDisabled(), setInactive(), and TQColorGroup. +.SH "void QPalette::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 QColorGroup::ColorRole. -.SH "void QPalette::setBrush ( QColorGroup::ColorRole r, const QBrush & b )" +See also brush(), setColor(), and TQColorGroup::ColorRole. +.SH "void QPalette::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(), QColorGroup::ColorRole, active(), inactive(), and disabled(). -.SH "void QPalette::setColor ( ColorGroup gr, QColorGroup::ColorRole r, const TQColor & c )" +See also brush(), setColor(), TQColorGroup::ColorRole, active(), inactive(), and disabled(). +.SH "void QPalette::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 QColorGroup::ColorRole. +See also setBrush(), color(), and TQColorGroup::ColorRole. .PP Example: themes/themes.cpp. -.SH "void QPalette::setColor ( QColorGroup::ColorRole r, const TQColor & c )" +.SH "void QPalette::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 QColorGroup::ColorRole. -.SH "void QPalette::setDisabled ( const QColorGroup & g )" +See also color(), setBrush(), and TQColorGroup::ColorRole. +.SH "void QPalette::setDisabled ( const TQColorGroup & g )" Sets the Disabled color group to \fIg\fR. .PP See also disabled(), setActive(), and setInactive(). -.SH "void QPalette::setInactive ( const QColorGroup & g )" +.SH "void QPalette::setInactive ( const TQColorGroup & g )" Sets the Inactive color group to \fIg\fR. .PP -See also active(), setDisabled(), setActive(), and QColorGroup. +See also active(), setDisabled(), setActive(), and TQColorGroup. .SH RELATED FUNCTION DOCUMENTATION .SH "TQDataStream & operator<< ( TQDataStream & s, const QPalette & p )" Writes the palette, \fIp\fR to the stream \fIs\fR and returns a reference to the stream. diff --git a/doc/man/man3/tqpen.3qt b/doc/man/man3/tqpen.3qt index 410a03e84..fa631e8f0 100644 --- a/doc/man/man3/tqpen.3qt +++ b/doc/man/man3/tqpen.3qt @@ -7,7 +7,7 @@ .ad l .nh .SH NAME -QPen \- Defines how a QPainter should draw lines and outlines of shapes +QPen \- Defines how a TQPainter should draw lines and outlines of shapes .SH SYNOPSIS \fC#include <ntqpen.h>\fR .PP @@ -83,7 +83,7 @@ Inherits Qt. .br .in -1c .SH DESCRIPTION -The QPen class defines how a QPainter should draw lines and outlines of shapes. +The QPen 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 @@ -93,15 +93,15 @@ When drawing 1 pixel wide diagonal lines you can either use a very fast algorith .PP The pen color defines the color of lines and text. The default line color is black. The TQColor documentation lists predefined colors. .PP -The cap style defines how the end points of lines are drawn. The join style defines how the joins between two lines are drawn when multiple connected lines are drawn (QPainter::drawPolyline() etc.). The cap and join styles only apply to wide lines, i.e. when the width is 1 or greater. +The cap style defines how the end points of lines are drawn. The join style defines how the joins between two lines are drawn when multiple connected lines are drawn (TQPainter::drawPolyline() etc.). The cap and join styles only apply to wide lines, i.e. when the width is 1 or greater. .PP -Use the QBrush class to specify fill styles. +Use the TQBrush class to specify fill styles. .PP Example: .PP .nf .br - QPainter painter; + TQPainter painter; .br QPen pen( red, 2 ); // red solid line, 2 pixels wide .br @@ -121,7 +121,7 @@ Example: .PP See the TQt::PenStyle enum type for a complete list of pen styles. .PP -With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or not. QPainter will try to make sure that the end point is drawn for 0-width pens, but this cannot be absolutely guaranteed because the underlying drawing engine is free to use any (typically accelerated) algorithm for drawing 0-width lines. On all tested systems, however, the end point of at least all non-diagonal lines are drawn. +With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or not. TQPainter will try to make sure that the end point is drawn for 0-width pens, but this cannot be absolutely guaranteed because the underlying drawing engine is free to use any (typically accelerated) algorithm for drawing 0-width lines. On all tested systems, however, the end point of at least all non-diagonal lines are drawn. .PP A pen's color(), width(), style(), capStyle() and joinStyle() can be set in the constructor or later with setColor(), setWidth(), setStyle(), setCapStyle() and setJoinStyle(). Pens may also be compared and streamed. .PP @@ -131,7 +131,7 @@ A pen's color(), width(), style(), capStyle() and joinStyle() can be set in the .PP </center> .PP -See also QPainter, QPainter::setPen(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also TQPainter, TQPainter::setPen(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QPen::QPen ()" Constructs a default black solid line pen with 0 width, which renders lines 1 pixel wide (fast diagonals). diff --git a/doc/man/man3/tqpicture.3qt b/doc/man/man3/tqpicture.3qt index 9df2652e6..0437b3b98 100644 --- a/doc/man/man3/tqpicture.3qt +++ b/doc/man/man3/tqpicture.3qt @@ -7,11 +7,11 @@ .ad l .nh .SH NAME -QPicture \- Paint device that records and replays QPainter commands +QPicture \- Paint device that records and replays TQPainter commands .SH SYNOPSIS \fC#include <ntqpicture.h>\fR .PP -Inherits QPaintDevice. +Inherits TQPaintDevice. .PP .SS "Public Members" .in +1c @@ -37,7 +37,7 @@ Inherits QPaintDevice. .BI "virtual void \fBsetData\fR ( const char * data, uint size )" .br .ti -1c -.BI "bool \fBplay\fR ( QPainter * painter )" +.BI "bool \fBplay\fR ( TQPainter * painter )" .br .ti -1c .BI "bool \fBload\fR ( TQIODevice * dev, const char * format = 0 )" @@ -83,7 +83,7 @@ Inherits QPaintDevice. .br .in -1c .SH DESCRIPTION -The QPicture class is a paint device that records and replays QPainter commands. +The QPicture 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 @@ -99,7 +99,7 @@ Example of how to record a picture: .br QPicture pic; .br - QPainter p; + TQPainter p; .br p.begin( &pic ); // paint in picture .br @@ -119,7 +119,7 @@ Example of how to replay a picture: .br pic.load( "drawing.pic" ); // load picture .br - QPainter p; + TQPainter p; .br p.begin( &myWidget ); // paint in myWidget .br @@ -185,19 +185,19 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP \fIdev\fR is the device to use for loading. .SH "int QPicture::metric ( int m ) const\fC [virtual protected]\fR" -Internal implementation of the virtual QPaintDevice::metric() function. +Internal implementation of the virtual TQPaintDevice::metric() function. .PP -Use the QPaintDeviceMetrics class instead. +Use the TQPaintDeviceMetrics class instead. .PP 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 )" Assigns a shallow copy of \fIp\fR to this picture and returns a reference to this picture. -.SH "bool QPicture::play ( QPainter * painter )" +.SH "bool QPicture::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 QPainter::drawPicture() with (x, y) = (0, 0). +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 )" Saves a picture to the file specified by \fIfileName\fR and returns TRUE if successful; otherwise returns FALSE. .PP diff --git a/doc/man/man3/tqpixmap.3qt b/doc/man/man3/tqpixmap.3qt index a00579abb..d2bd7d96c 100644 --- a/doc/man/man3/tqpixmap.3qt +++ b/doc/man/man3/tqpixmap.3qt @@ -11,7 +11,7 @@ QPixmap \- Off-screen, pixel-based paint device .SH SYNOPSIS \fC#include <ntqpixmap.h>\fR .PP -Inherits QPaintDevice and Qt. +Inherits TQPaintDevice and Qt. .PP Inherited by TQBitmap and TQCanvasPixmap. .PP @@ -224,7 +224,7 @@ 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 QPainter 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 QPixmap 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. .PP @@ -414,7 +414,7 @@ See also defaultDepth(), isNull(), and TQImage::convertDepth(). .SH "void QPixmap::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 QPainter::begin() on a pixmap. +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. .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 @@ -441,7 +441,7 @@ Example: .PP .nf .br - void CuteWidget::paintEvent( QPaintEvent *e ) + void CuteWidget::paintEvent( TQPaintEvent *e ) .br { .br @@ -452,7 +452,7 @@ Example: pix.fill( this, ur.topLeft() ); // fill with widget background .br .br - QPainter p( &pix ); + TQPainter p( &pix ); .br p.translate( -ur.x(), -ur.y() ); // use widget coordinate system .br @@ -492,7 +492,7 @@ If there is overlap, it returns a pixmap of the size you want, containing a rend .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(), QPainter::redirect(), and TQWidget::paintEvent(). +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" Grabs the contents of the window \fIwindow\fR and makes a pixmap out of it. Returns the pixmap. .PP @@ -597,9 +597,9 @@ 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" -Internal implementation of the virtual QPaintDevice::metric() function. +Internal implementation of the virtual TQPaintDevice::metric() function. .PP -Use the QPaintDeviceMetrics class instead. +Use the TQPaintDeviceMetrics class instead. .PP \fIm\fR is the metric to get. .SH "QPixmap & QPixmap::operator= ( const QPixmap & pixmap )" @@ -738,13 +738,13 @@ The transformation \fImatrix\fR is internally adjusted to compensate for unwante .PP This function is slow because it involves transformation to a TQImage, non-trivial computations and a transformation back to a QPixmap. .PP -See also trueMatrix(), QWMatrix, QPainter::setWorldMatrix(), and TQImage::xForm(). +See also trueMatrix(), QWMatrix, 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 )" -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 QPainter::drawPixmap() to perform alpha blending or masked drawing. +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). .PP diff --git a/doc/man/man3/tqplatinumstyle.3qt b/doc/man/man3/tqplatinumstyle.3qt index 9a935c940..1c364ee9e 100644 --- a/doc/man/man3/tqplatinumstyle.3qt +++ b/doc/man/man3/tqplatinumstyle.3qt @@ -25,7 +25,7 @@ Inherits QWindowsStyle. .BI "TQColor \fBmixedColor\fR ( const TQColor & c1, const TQColor & c2 ) const" .br .ti -1c -.BI "void \fBdrawRiffles\fR ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool horizontal ) const" +.BI "void \fBdrawRiffles\fR ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool horizontal ) const" .br .in -1c .SH DESCRIPTION @@ -37,7 +37,7 @@ See also QAquaStyle and Widget Appearance and Style. .SH MEMBER FUNCTION DOCUMENTATION .SH "QPlatinumStyle::QPlatinumStyle ()" Constructs a QPlatinumStyle -.SH "void QPlatinumStyle::drawRiffles ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool horizontal ) const\fC [protected]\fR" +.SH "void QPlatinumStyle::drawRiffles ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool horizontal ) const\fC [protected]\fR" Draws the nifty Macintosh decoration used on sliders using painter \fIp\fR and colorgroup \fIg\fR. \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR and \fIhorizontal\fR specify the geometry and orientation of the riffles. .SH "TQColor QPlatinumStyle::mixedColor ( const TQColor & c1, const TQColor & c2 ) const\fC [protected]\fR" Mixes two colors \fIc1\fR and \fIc2\fR to a new color. diff --git a/doc/man/man3/tqpointarray.3qt b/doc/man/man3/tqpointarray.3qt index 94e6a9740..62e468b1d 100644 --- a/doc/man/man3/tqpointarray.3qt +++ b/doc/man/man3/tqpointarray.3qt @@ -91,13 +91,13 @@ For convenient reading and writing of the point data use setPoints(), putPoints( .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(). .PP -Among others, QPointArray is used by QPainter::drawLineSegments(), QPainter::drawPolyline(), QPainter::drawPolygon() and QPainter::drawCubicBezier(). +Among others, QPointArray 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, QPainter * p ) + void drawGiraffe( const QPointArray & r, TQPainter * p ) .br { .br @@ -115,7 +115,7 @@ 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 QPainter, QWMatrix, TQMemArray, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also TQPainter, QWMatrix, TQMemArray, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QPointArray::QPointArray ()" Constructs a null point array. diff --git a/doc/man/man3/tqpopupmenu.3qt b/doc/man/man3/tqpopupmenu.3qt index c81f1dc78..48e603fd3 100644 --- a/doc/man/man3/tqpopupmenu.3qt +++ b/doc/man/man3/tqpopupmenu.3qt @@ -205,10 +205,10 @@ Inherits QFrame and TQMenuData. .BI "int \fBitemHeight\fR ( TQMenuItem * mi ) const" .br .ti -1c -.BI "void \fBdrawItem\fR ( QPainter * p, int tab_, TQMenuItem * mi, bool act, int x, int y, int w, int h )" +.BI "void \fBdrawItem\fR ( TQPainter * p, int tab_, TQMenuItem * mi, bool act, int x, int y, int w, int h )" .br .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * p )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * p )" .br .ti -1c .BI "int \fBcolumns\fR () const" @@ -328,11 +328,11 @@ Disconnects the \fIreceiver\fR's \fImember\fR from the menu item with identifier All connections are removed when the menu data object is destroyed. .PP See also connectItem() and setItemParameter(). -.SH "void TQPopupMenu::drawContents ( QPainter * p )\fC [virtual protected]\fR" +.SH "void TQPopupMenu::drawContents ( TQPainter * p )\fC [virtual protected]\fR" Draws all menu items using painter \fIp\fR. .PP Reimplemented from QFrame. -.SH "void TQPopupMenu::drawItem ( QPainter * p, int tab_, TQMenuItem * mi, bool act, int x, int y, int w, int h )\fC [protected]\fR" +.SH "void TQPopupMenu::drawItem ( TQPainter * p, int tab_, TQMenuItem * mi, bool act, int x, int y, int w, int h )\fC [protected]\fR" Draws menu item \fImi\fR in the area \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR, using painter \fIp\fR. The item is drawn active if \fIact\fR is TRUE or drawn inactive if \fIact\fR is FALSE. The rightmost \fItab_\fR pixels are used for accelerator text. .PP See also TQStyle::drawControl(). diff --git a/doc/man/man3/tqprinter.3qt b/doc/man/man3/tqprinter.3qt index 190396a85..8ff9088ff 100644 --- a/doc/man/man3/tqprinter.3qt +++ b/doc/man/man3/tqprinter.3qt @@ -11,7 +11,7 @@ QPrinter \- Paint device that paints on a printer .SH SYNOPSIS \fC#include <ntqprinter.h>\fR .PP -Inherits QPaintDevice. +Inherits TQPaintDevice. .PP .SS "Public Members" .in +1c @@ -216,7 +216,7 @@ setNumCopies() tells QPrinter how many copies of the document it should print. .TP setMinMax() tells QPrinter 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 QPainter::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.) +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 There are also some settings that the user sets (through the printer dialog) and that applications are expected to obey: .IP @@ -235,7 +235,7 @@ paperSource() tells the application progam which paper source to print from. .PP You can of course call these functions to establish defaults before you ask the user through QPrinter::setup(). .PP -Once you start printing, calling newPage() is essential. You will probably also need to look at the QPaintDeviceMetrics 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 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. .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 @@ -278,7 +278,7 @@ This enum type is used by QPrinter to tell the application program how to print. .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 QPaintDeviceMetrics). +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). .PP The defined sizes (with setFullPage(TRUE)) are: .TP @@ -447,7 +447,7 @@ Returns TRUE if the origin of the printer's coordinate system is at the corner o .PP See setFullPage() for details and caveats. .PP -See also setFullPage(), PageSize, and QPaintDeviceMetrics. +See also setFullPage(), PageSize, and TQPaintDeviceMetrics. .SH "bool QPrinter::isOptionEnabled ( PrinterOption option )" Returns TRUE if the printer option with identifier \fIoption\fR is enabled; otherwise returns FALSE. .PP @@ -459,7 +459,7 @@ If you have called setFullPage( TRUE ), margins().width() may be treated as the .PP If you have called setFullPage( FALSE ) (this is the default), margins() is automatically subtracted from the pageSize() by QPrinter. .PP -See also setFullPage(), QPaintDeviceMetrics, and PageSize. +See also setFullPage(), TQPaintDeviceMetrics, and PageSize. .SH "void QPrinter::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 @@ -469,7 +469,7 @@ If you have called setFullPage( TRUE ), the four values specify the smallest san .PP If you have called setFullPage( FALSE ) (this is the default), the margins are automatically subtracted from the pageSize() by QPrinter. .PP -See also setFullPage(), QPaintDeviceMetrics, and PageSize. +See also setFullPage(), TQPaintDeviceMetrics, and PageSize. .SH "int QPrinter::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 @@ -572,11 +572,11 @@ 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. .PP -The default is FALSE. You can (probably) print on (0,0), and QPaintDeviceMetrics 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 QPrinter may be wrong on Unix systems - it does not have perfect knowledge of the physical printer.) .PP -If you set \fIfp\fR to TRUE, QPaintDeviceMetrics 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. +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 -See also PageSize, setPageSize(), QPaintDeviceMetrics, and fullPage(). +See also PageSize, setPageSize(), TQPaintDeviceMetrics, and fullPage(). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. @@ -679,7 +679,7 @@ See also printerSelectionOption(). .SH "void QPrinter::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, QPaintDeviceMetrics and QPainter::viewport(). +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. .PP diff --git a/doc/man/man3/tqregion.3qt b/doc/man/man3/tqregion.3qt index bcb963eb3..427b399e5 100644 --- a/doc/man/man3/tqregion.3qt +++ b/doc/man/man3/tqregion.3qt @@ -125,7 +125,7 @@ QRegion \- Clip region for a painter .SH DESCRIPTION The QRegion class specifies a clip region for a painter. .PP -QRegion is used with QPainter::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. +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. .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 @@ -137,11 +137,11 @@ Example of using complex regions: .PP .nf .br - void MyWidget::paintEvent( QPaintEvent * ) + void MyWidget::paintEvent( TQPaintEvent * ) .br { .br - QPainter p; // our painter + TQPainter p; // our painter .br QRegion r1( QRect(100,100,200,80), // r1 = elliptic region .br @@ -167,7 +167,7 @@ QRegion 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 QPainter::setClipRegion(), QPainter::setClipRect(), Graphics Classes, and Image Processing Classes. +See also TQPainter::setClipRegion(), TQPainter::setClipRect(), Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" .SH "QRegion::RegionType" Specifies the shape of the region to be created. diff --git a/doc/man/man3/tqscrollview.3qt b/doc/man/man3/tqscrollview.3qt index 10cb3f599..9d8520af7 100644 --- a/doc/man/man3/tqscrollview.3qt +++ b/doc/man/man3/tqscrollview.3qt @@ -240,10 +240,10 @@ Inherited by TQCanvasView, QTable, QGridView, TQIconView, QListBox, QListView, a .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * p, int clipx, int clipy, int clipw, int cliph )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * p, int clipx, int clipy, int clipw, int cliph )" .br .ti -1c -.BI "virtual void \fBdrawContentsOffset\fR ( QPainter * p, int offsetx, int offsety, int clipx, int clipy, int clipw, int cliph )" +.BI "virtual void \fBdrawContentsOffset\fR ( TQPainter * p, int offsetx, int offsety, int clipx, int clipy, int clipw, int cliph )" .br .ti -1c .BI "virtual void \fBcontentsMousePressEvent\fR ( QMouseEvent * e )" @@ -276,7 +276,7 @@ Inherited by TQCanvasView, QTable, QGridView, TQIconView, QListBox, QListView, a .BI "virtual void \fBcontentsContextMenuEvent\fR ( QContextMenuEvent * e )" .br .ti -1c -.BI "virtual void \fBviewportPaintEvent\fR ( QPaintEvent * pe )" +.BI "virtual void \fBviewportPaintEvent\fR ( TQPaintEvent * pe )" .br .ti -1c .BI "virtual void \fBviewportResizeEvent\fR ( QResizeEvent * )" @@ -589,7 +589,7 @@ By default, no corner widget is present. Example: scrollview/scrollview.cpp. .SH "bool QScrollView::dragAutoScroll () const" Returns TRUE if autoscrolling in drag move events is enabled; otherwise returns FALSE. See the "dragAutoScroll" property for details. -.SH "void QScrollView::drawContents ( QPainter * p, int clipx, int clipy, int clipw, int cliph )\fC [virtual protected]\fR" +.SH "void QScrollView::drawContents ( TQPainter * p, int clipx, int clipy, int clipw, int cliph )\fC [virtual protected]\fR" Reimplement this function if you are viewing a drawing area rather than a widget. .PP The function should draw the rectangle (\fIclipx\fR, \fIclipy\fR, \fIclipw\fR, \fIcliph\fR) of the contents using painter \fIp\fR. The clip rectangle is in the scrollview's coordinates. @@ -636,10 +636,10 @@ The clip rectangle and translation of the painter \fIp\fR is already set appropr Example: tqdir/tqdir.cpp. .PP Reimplemented in TQCanvasView and QTable. -.SH "void QScrollView::drawContentsOffset ( QPainter * p, int offsetx, int offsety, int clipx, int clipy, int clipw, int cliph )\fC [virtual protected]\fR" -For backward-compatibility only. It is easier to use drawContents(QPainter*,int,int,int,int). +.SH "void QScrollView::drawContentsOffset ( TQPainter * p, int offsetx, int offsety, int clipx, int clipy, int clipw, int cliph )\fC [virtual protected]\fR" +For backward-compatibility only. It is easier to use drawContents(TQPainter*,int,int,int,int). .PP -The default implementation translates the painter appropriately and calls drawContents(QPainter*,int,int,int,int). See drawContents() for an explanation of the parameters \fIp\fR, \fIoffsetx\fR, \fIoffsety\fR, \fIclipx\fR, \fIclipy\fR, \fIclipw\fR and \fIcliph\fR. +The default implementation translates the painter appropriately and calls drawContents(TQPainter*,int,int,int,int). See drawContents() for an explanation of the parameters \fIp\fR, \fIoffsetx\fR, \fIoffsety\fR, \fIclipx\fR, \fIclipy\fR, \fIclipw\fR and \fIcliph\fR. .PP Reimplemented in QListView. .SH "void QScrollView::enableClipper ( bool y )" @@ -805,8 +805,8 @@ Returns the viewport widget of the scrollview. This is the widget containing the .PP Examples: .)l helpsystem/tooltip.cpp and scrollview/scrollview.cpp. -.SH "void QScrollView::viewportPaintEvent ( QPaintEvent * pe )\fC [virtual protected]\fR" -This is a low-level painting routine that draws the viewport contents. Reimplement this if drawContents() is too high-level (for example, if you don't want to open a QPainter on the viewport). The paint event is passed in \fIpe\fR. +.SH "void QScrollView::viewportPaintEvent ( TQPaintEvent * pe )\fC [virtual protected]\fR" +This is a low-level painting routine that draws the viewport contents. Reimplement this if drawContents() is too high-level (for example, if you don't want to open a TQPainter on the viewport). The paint event is passed in \fIpe\fR. .SH "void QScrollView::viewportResizeEvent ( QResizeEvent * )\fC [virtual protected]\fR" To provide simple processing of events on the contents, this function receives all resize events sent to the viewport. .PP diff --git a/doc/man/man3/tqsimplerichtext.3qt b/doc/man/man3/tqsimplerichtext.3qt index 6ce135764..30e1fc782 100644 --- a/doc/man/man3/tqsimplerichtext.3qt +++ b/doc/man/man3/tqsimplerichtext.3qt @@ -14,10 +14,10 @@ QSimpleRichText \- Small displayable piece of rich text .SS "Public Members" .in +1c .ti -1c -.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )" +.BI "\fBQSimpleRichText\fR ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )" .br .ti -1c -.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )" +.BI "\fBQSimpleRichText\fR ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )" .br .ti -1c .BI "\fB~QSimpleRichText\fR ()" @@ -26,10 +26,10 @@ QSimpleRichText \- Small displayable piece of rich text .BI "void \fBsetWidth\fR ( int w )" .br .ti -1c -.BI "void \fBsetWidth\fR ( QPainter * p, int w )" +.BI "void \fBsetWidth\fR ( TQPainter * p, int w )" .br .ti -1c -.BI "void \fBsetDefaultFont\fR ( const QFont & f )" +.BI "void \fBsetDefaultFont\fR ( const TQFont & f )" .br .ti -1c .BI "int \fBwidth\fR () const" @@ -44,10 +44,10 @@ QSimpleRichText \- Small displayable piece of rich text .BI "void \fBadjustSize\fR ()" .br .ti -1c -.BI "void \fBdraw\fR ( QPainter * p, int x, int y, const QRect & clipRect, const QColorGroup & cg, const QBrush * paper = 0 ) const" +.BI "void \fBdraw\fR ( TQPainter * p, int x, int y, const QRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const" .br .ti -1c -.BI "void draw ( QPainter * p, int x, int y, const QRegion & clipRegion, const QColorGroup & cg, const QBrush * paper = 0 ) const \fI(obsolete)\fR" +.BI "void draw ( TQPainter * p, int x, int y, const QRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const \fI(obsolete)\fR" .br .ti -1c .BI "TQString \fBcontext\fR () const" @@ -64,17 +64,17 @@ The QSimpleRichText class provides a small displayable piece of rich text. .PP This class encapsulates simple rich text usage in which a string is interpreted as rich text and can be drawn. This is particularly useful if you want to display some rich text in a custom widget. A TQStyleSheet is needed to interpret the tags and format the rich text. TQt provides a default HTML-like style sheet, but you may define custom style sheets. .PP -Once created, the rich text object can be queried for its width(), height(), and the actual width used (see widthUsed()). Most importantly, it can be drawn on any given QPainter with draw(). QSimpleRichText can also be used to implement hypertext or active text facilities by using anchorAt(). A hit test through inText() makes it possible to use simple rich text for text objects in editable drawing canvases. +Once created, the rich text object can be queried for its width(), height(), and the actual width used (see widthUsed()). Most importantly, it can be drawn on any given TQPainter with draw(). QSimpleRichText can also be used to implement hypertext or active text facilities by using anchorAt(). A hit test through inText() makes it possible to use simple rich text for text objects in editable drawing canvases. .PP Once constructed from a string the contents cannot be changed, only resized. If the contents change, just throw the rich text object away and make a new one with the new contents. .PP For large documents use TQTextEdit or TQTextBrowser. For very small items of rich text you can use a QLabel. .PP -If you are using QSimpleRichText to print in high resolution you should call setWidth(QPainter, int) so that the content will be laid out properly on the page. +If you are using QSimpleRichText to print in high resolution you should call setWidth(TQPainter, int) so that the content will be laid out properly on the page. .PP See also Text Related Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )" +.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )" Constructs a QSimpleRichText from the rich text string \fItext\fR and the font \fIfnt\fR. .PP The font is used as a basis for the text rendering. When using rich text rendering on a widget \fIw\fR, you would normally specify the widget's font, for example: @@ -88,10 +88,10 @@ The font is used as a basis for the text rendering. When using rich text renderi \fIcontext\fR is the optional context of the rich text object. This becomes important if \fItext\fR contains relative references, for example within image tags. QSimpleRichText always uses the default mime source factory (see TQMimeSourceFactory::defaultFactory()) to resolve those references. The context will then be used to calculate the absolute path. See TQMimeSourceFactory::makeAbsolute() for details. .PP The \fIsheet\fR is an optional style sheet. If it is 0, the default style sheet will be used (see TQStyleSheet::defaultSheet()). -.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )" +.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )" Constructs a QSimpleRichText from the rich text string \fItext\fR and the font \fIfnt\fR. .PP -This is a slightly more complex constructor for QSimpleRichText that takes an additional mime source factory \fIfactory\fR, a page break parameter \fIpageBreak\fR and a bool \fIlinkUnderline\fR. \fIlinkColor\fR is only provided for compatibility, but has no effect, as QColorGroup's QColorGroup::link() color is used now. +This is a slightly more complex constructor for QSimpleRichText that takes an additional mime source factory \fIfactory\fR, a page break parameter \fIpageBreak\fR and a bool \fIlinkUnderline\fR. \fIlinkColor\fR is only provided for compatibility, but has no effect, as TQColorGroup's TQColorGroup::link() color is used now. .PP \fIcontext\fR is the optional context of the rich text object. This becomes important if \fItext\fR contains relative references, for example within image tags. QSimpleRichText always uses the default mime source factory (see TQMimeSourceFactory::defaultFactory()) to resolve those references. The context will then be used to calculate the absolute path. See TQMimeSourceFactory::makeAbsolute() for details. .PP @@ -108,14 +108,14 @@ See also setWidth(). 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 ( QPainter * p, int x, int y, const QRect & clipRect, const QColorGroup & cg, const QBrush * paper = 0 ) const" +.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const QRect & 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 ( QPainter * p, int x, int y, const QRegion & clipRegion, const QColorGroup & cg, const QBrush * paper = 0 ) const" +.SH "void QSimpleRichText::draw ( TQPainter * p, int x, int y, const QRegion & 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). @@ -128,9 +128,9 @@ Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. .SH "bool QSimpleRichText::inText ( const QPoint & 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 QFont & f )" +.SH "void QSimpleRichText::setDefaultFont ( const TQFont & f )" Sets the default font for the rich text object to \fIf\fR -.SH "void QSimpleRichText::setWidth ( QPainter * p, int w )" +.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. diff --git a/doc/man/man3/tqsizegrip.3qt b/doc/man/man3/tqsizegrip.3qt index fddde80a1..bff19bf88 100644 --- a/doc/man/man3/tqsizegrip.3qt +++ b/doc/man/man3/tqsizegrip.3qt @@ -28,7 +28,7 @@ Inherits TQWidget. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaintEvent\fR ( QPaintEvent * e )" +.BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * e )" .br .ti -1c .BI "virtual void \fBmousePressEvent\fR ( QMouseEvent * e )" @@ -65,7 +65,7 @@ Reimplemented from TQWidget. Primes the resize operation. The event is in \fIe\fR. .PP Reimplemented from TQWidget. -.SH "void TQSizeGrip::paintEvent ( QPaintEvent * e )\fC [virtual protected]\fR" +.SH "void TQSizeGrip::paintEvent ( TQPaintEvent * e )\fC [virtual protected]\fR" Paints the resize grip. Resize grips are usually rendered as small diagonal textured lines in the lower-right corner. The event is in \fIe\fR. .PP Reimplemented from TQWidget. diff --git a/doc/man/man3/tqsplashscreen.3qt b/doc/man/man3/tqsplashscreen.3qt index 7e74f8f90..6c4d8bbc8 100644 --- a/doc/man/man3/tqsplashscreen.3qt +++ b/doc/man/man3/tqsplashscreen.3qt @@ -52,7 +52,7 @@ Inherits TQWidget. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * painter )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * painter )" .br .in -1c .SH DESCRIPTION @@ -136,7 +136,7 @@ Destructor. Removes the message being displayed on the splash screen .PP See also message(). -.SH "void QSplashScreen::drawContents ( QPainter * painter )\fC [virtual protected]\fR" +.SH "void QSplashScreen::drawContents ( TQPainter * painter )\fC [virtual protected]\fR" Draw the contents of the splash screen using painter \fIpainter\fR. The default implementation draws the message passed by message(). Reimplement this function if you want to do your own drawing on the splash screen. .SH "void QSplashScreen::finish ( TQWidget * mainWin )" Makes the splash screen wait until the widget \fImainWin\fR is displayed before calling close() on itself. diff --git a/doc/man/man3/tqsplitter.3qt b/doc/man/man3/tqsplitter.3qt index ce513d6cc..38e1452d5 100644 --- a/doc/man/man3/tqsplitter.3qt +++ b/doc/man/man3/tqsplitter.3qt @@ -100,7 +100,7 @@ Inherits QFrame. .BI "void \fBmoveSplitter\fR ( QCOORD p, int id )" .br .ti -1c -.BI "virtual void drawSplitter ( QPainter * p, QCOORD x, QCOORD y, QCOORD w, QCOORD h ) \fI(obsolete)\fR" +.BI "virtual void drawSplitter ( TQPainter * p, QCOORD x, QCOORD y, QCOORD w, QCOORD h ) \fI(obsolete)\fR" .br .ti -1c .BI "int \fBadjustPos\fR ( int pos, int id )" @@ -186,7 +186,7 @@ Tells the splitter that the child widget described by \fIc\fR has been inserted Reimplemented from TQObject. .SH "bool QSplitter::childrenCollapsible () const" Returns TRUE if child widgets can be resized down to size 0 by the user; otherwise returns FALSE. See the "childrenCollapsible" property for details. -.SH "void QSplitter::drawSplitter ( QPainter * p, QCOORD x, QCOORD y, QCOORD w, QCOORD h )\fC [virtual protected]\fR" +.SH "void QSplitter::drawSplitter ( TQPainter * p, QCOORD x, QCOORD y, QCOORD w, QCOORD h )\fC [virtual protected]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Draws the splitter handle in the rectangle described by \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR using painter \fIp\fR. diff --git a/doc/man/man3/tqstatusbar.3qt b/doc/man/man3/tqstatusbar.3qt index 5b9035155..b7871a461 100644 --- a/doc/man/man3/tqstatusbar.3qt +++ b/doc/man/man3/tqstatusbar.3qt @@ -61,7 +61,7 @@ Inherits TQWidget. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaintEvent\fR ( QPaintEvent * )" +.BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * )" .br .ti -1c .BI "void \fBreformat\fR ()" @@ -159,7 +159,7 @@ Hides the normal status indications and displays \fImessage\fR for \fIms\fR mill This signal is emitted when the temporary status messages changes. \fImessage\fR is the new temporary message, and is a null-string when the message has been removed. .PP See also message() and clear(). -.SH "void TQStatusBar::paintEvent ( QPaintEvent * )\fC [virtual protected]\fR" +.SH "void TQStatusBar::paintEvent ( TQPaintEvent * )\fC [virtual protected]\fR" Shows the temporary message, if appropriate. .PP Reimplemented from TQWidget. diff --git a/doc/man/man3/tqstring.3qt b/doc/man/man3/tqstring.3qt index 78d03fe8d..9a9fb8852 100644 --- a/doc/man/man3/tqstring.3qt +++ b/doc/man/man3/tqstring.3qt @@ -1207,7 +1207,7 @@ Returns the Unicode string decoded from the first \fIlen\fR bytes of \fIutf8\fR, .PP See TQTextCodec for more diverse coding/decoding of Unicode strings. .PP -Example: fonts/simple-qfont-demo/viewer.cpp. +Example: fonts/simple-tqfont-demo/viewer.cpp. .SH "TQString & TQString::insert ( uint index, const TQString & s )" Inserts \fIs\fR into the string at position \fIindex\fR. .PP @@ -1405,7 +1405,7 @@ A convenience function that returns a string equivalent of the number \fIn\fR to See also setNum(). .PP Examples: -.)l application/application.cpp, chart/chartform.cpp, fonts/simple-qfont-demo/viewer.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, regexptester/regexptester.cpp, and sql/overview/extract/main.cpp. +.)l application/application.cpp, chart/chartform.cpp, fonts/simple-tqfont-demo/viewer.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, regexptester/regexptester.cpp, and sql/overview/extract/main.cpp. .SH "TQString TQString::number ( ulong n, int base = 10 )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP diff --git a/doc/man/man3/tqstyle.3qt b/doc/man/man3/tqstyle.3qt index 1204c089c..c4badfa90 100644 --- a/doc/man/man3/tqstyle.3qt +++ b/doc/man/man3/tqstyle.3qt @@ -42,10 +42,10 @@ Inherited by QCommonStyle. .BI "virtual void \fBpolishPopupMenu\fR ( TQPopupMenu * ) = 0" .br .ti -1c -.BI "virtual QRect \fBitemRect\fR ( QPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const" +.BI "virtual QRect \fBitemRect\fR ( TQPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const" .br .ti -1c -.BI "virtual void \fBdrawItem\fR ( QPainter * p, const QRect & r, int flags, const QColorGroup & 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 QRect & r, int flags, const TQColorGroup & g, bool enabled, const QPixmap * 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,16 +54,16 @@ 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, QPainter * p, const QRect & r, const QColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.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" .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, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & 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 QRect & 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, QPainter * 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 QRect & 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 }" @@ -78,10 +78,10 @@ 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, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & 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 QRect & 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, QPainter * 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 QRect & 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" @@ -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, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & 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 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" 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, QPainter * 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 QRect & 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, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & 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 QRect & 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, QPainter * 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 QRect & 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 ( QPainter * p, const QRect & r, int flags, const QColorGroup & 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 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" 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, QPainter * p, const QRect & r, const QColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.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" 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 ( QPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR" +.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" 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). diff --git a/doc/man/man3/tqstylesheet.3qt b/doc/man/man3/tqstylesheet.3qt index 3f582ca59..5ff18ce22 100644 --- a/doc/man/man3/tqstylesheet.3qt +++ b/doc/man/man3/tqstylesheet.3qt @@ -31,7 +31,7 @@ Inherits TQObject. .BI "virtual TQTextCustomItem * \fBtag\fR ( const TQString & name, const TQMap<TQString, TQString> & attr, const TQString & context, const TQMimeSourceFactory & factory, bool emptyTag, TQTextDocument * doc ) const" .br .ti -1c -.BI "virtual void \fBscaleFont\fR ( QFont & font, int logicalSize ) const" +.BI "virtual void \fBscaleFont\fR ( TQFont & font, int logicalSize ) const" .br .ti -1c .BI "virtual void \fBerror\fR ( const TQString & msg ) const" @@ -175,14 +175,14 @@ Returns the style called \fIname\fR or 0 if there is no such style (const versio Returns TRUE if the string \fItext\fR is likely to be rich text; otherwise returns FALSE. .PP This function uses a fast and therefore simple heuristic. It mainly checks whether there is something that looks like a tag before the first line break. Although the result may be correct for common cases, there is no guarantee. -.SH "void TQStyleSheet::scaleFont ( QFont & font, int logicalSize ) const\fC [virtual]\fR" +.SH "void TQStyleSheet::scaleFont ( TQFont & font, int logicalSize ) const\fC [virtual]\fR" Scales the font \fIfont\fR to the appropriate physical point size corresponding to the logical font size \fIlogicalSize\fR. .PP When calling this function, \fIfont\fR has a point size corresponding to the logical font size 3. .PP Logical font sizes range from 1 to 7, with 1 being the smallest. .PP -See also TQStyleSheetItem::logicalFontSize(), TQStyleSheetItem::logicalFontSizeStep(), and QFont::setPointSize(). +See also TQStyleSheetItem::logicalFontSize(), TQStyleSheetItem::logicalFontSizeStep(), and TQFont::setPointSize(). .SH "void TQStyleSheet::setDefaultSheet ( TQStyleSheet * sheet )\fC [static]\fR" Sets the application-wide default style sheet to \fIsheet\fR, deleting any style sheet previously set. The ownership is transferred to TQStyleSheet. .PP diff --git a/doc/man/man3/tqstylesheetitem.3qt b/doc/man/man3/tqstylesheetitem.3qt index cc06bf22a..48ba7a90f 100644 --- a/doc/man/man3/tqstylesheetitem.3qt +++ b/doc/man/man3/tqstylesheetitem.3qt @@ -292,7 +292,7 @@ See also setDisplayMode(). .SH "TQString TQStyleSheetItem::fontFamily () const" Returns the font family setting of the style. This is either a valid font family or TQString::null if no family has been set. .PP -See also setFontFamily(), QFont::family(), and QFont::setFamily(). +See also setFontFamily(), TQFont::family(), and TQFont::setFamily(). .SH "bool TQStyleSheetItem::fontItalic () const" Returns TRUE if the style sets an italic font; otherwise returns FALSE. .PP @@ -300,7 +300,7 @@ See also setFontItalic() and definesFontItalic(). .SH "int TQStyleSheetItem::fontSize () const" Returns the font size setting of the style. This is either a valid point size or TQStyleSheetItem::Undefined. .PP -See also setFontSize(), QFont::pointSize(), and QFont::setPointSize(). +See also setFontSize(), TQFont::pointSize(), and TQFont::setPointSize(). .SH "bool TQStyleSheetItem::fontStrikeOut () const" Returns TRUE if the style sets a strike out font; otherwise returns FALSE. .PP @@ -310,9 +310,9 @@ Returns TRUE if the style sets an underlined font; otherwise returns FALSE. .PP See also setFontUnderline() and definesFontUnderline(). .SH "int TQStyleSheetItem::fontWeight () const" -Returns the font weight setting of the style. This is either a valid QFont::Weight or the value TQStyleSheetItem::Undefined. +Returns the font weight setting of the style. This is either a valid TQFont::Weight or the value TQStyleSheetItem::Undefined. .PP -See also setFontWeight() and QFont. +See also setFontWeight() and TQFont. .SH "bool TQStyleSheetItem::isAnchor () const" Returns whether this style is an anchor. .PP @@ -328,7 +328,7 @@ See also setListStyle() and ListStyle. .SH "int TQStyleSheetItem::logicalFontSize () const" Returns the logical font size setting of the style. This is either a valid size between 1 and 7 or TQStyleSheetItem::Undefined. .PP -See also setLogicalFontSize(), setLogicalFontSizeStep(), QFont::pointSize(), and QFont::setPointSize(). +See also setLogicalFontSize(), setLogicalFontSizeStep(), TQFont::pointSize(), and TQFont::setPointSize(). .SH "int TQStyleSheetItem::logicalFontSizeStep () const" Returns the logical font size step of this style. .PP @@ -378,7 +378,7 @@ See also displayMode(). .SH "void TQStyleSheetItem::setFontFamily ( const TQString & fam )" Sets the font family setting of the style to \fIfam\fR. .PP -See also fontFamily(), QFont::family(), and QFont::setFamily(). +See also fontFamily(), TQFont::family(), and TQFont::setFamily(). .SH "void TQStyleSheetItem::setFontItalic ( bool italic )" If \fIitalic\fR is TRUE sets italic for the style; otherwise sets upright. .PP @@ -386,7 +386,7 @@ See also fontItalic() and definesFontItalic(). .SH "void TQStyleSheetItem::setFontSize ( int s )" Sets the font size setting of the style to \fIs\fR points. .PP -See also fontSize(), QFont::pointSize(), and QFont::setPointSize(). +See also fontSize(), TQFont::pointSize(), and TQFont::setPointSize(). .SH "void TQStyleSheetItem::setFontStrikeOut ( bool strikeOut )" If \fIstrikeOut\fR is TRUE, sets strike out for the style; otherwise sets no strike out. .PP @@ -396,9 +396,9 @@ If \fIunderline\fR is TRUE, sets underline for the style; otherwise sets no unde .PP See also fontUnderline() and definesFontUnderline(). .SH "void TQStyleSheetItem::setFontWeight ( int w )" -Sets the font weight setting of the style to \fIw\fR. Valid values are those defined by QFont::Weight. +Sets the font weight setting of the style to \fIw\fR. Valid values are those defined by TQFont::Weight. .PP -See also QFont and fontWeight(). +See also TQFont and fontWeight(). .SH "void TQStyleSheetItem::setListStyle ( ListStyle s )" Sets the list style of the style to \fIs\fR. .PP @@ -408,7 +408,7 @@ See also listStyle(), DisplayMode, and ListStyle. .SH "void TQStyleSheetItem::setLogicalFontSize ( int s )" Sets the logical font size setting of the style to \fIs\fR. Valid logical sizes are 1 to 7. .PP -See also logicalFontSize(), QFont::pointSize(), and QFont::setPointSize(). +See also logicalFontSize(), TQFont::pointSize(), and TQFont::setPointSize(). .SH "void TQStyleSheetItem::setLogicalFontSizeStep ( int s )" Sets the logical font size step of this style to \fIs\fR. .PP diff --git a/doc/man/man3/tqsyntaxhighlighter.3qt b/doc/man/man3/tqsyntaxhighlighter.3qt index 15898d33f..058be188e 100644 --- a/doc/man/man3/tqsyntaxhighlighter.3qt +++ b/doc/man/man3/tqsyntaxhighlighter.3qt @@ -25,13 +25,13 @@ Inherits Qt. .BI "virtual int \fBhighlightParagraph\fR ( const TQString & text, int endStateOfLastPara ) = 0" .br .ti -1c -.BI "void \fBsetFormat\fR ( int start, int count, const QFont & font, const TQColor & color )" +.BI "void \fBsetFormat\fR ( int start, int count, const TQFont & font, const TQColor & color )" .br .ti -1c .BI "void \fBsetFormat\fR ( int start, int count, const TQColor & color )" .br .ti -1c -.BI "void \fBsetFormat\fR ( int start, int count, const QFont & font )" +.BI "void \fBsetFormat\fR ( int start, int count, const TQFont & font )" .br .ti -1c .BI "TQTextEdit * \fBtextEdit\fR () const" @@ -82,13 +82,13 @@ To find out which paragraph is highlighted, call currentParagraph(). For example, if you're writing a simple C++ syntax highlighter, you might designate 1 to signify "in comment". For a paragraph that ended in the middle of a comment you'd return 1, and for other paragraphs you'd return 0. In your parsing code if \fIendStateOfLastPara\fR was 1, you would highlight the text as a C++ comment until you reached the closing \fC*\fR\fC/\fR. .SH "void QSyntaxHighlighter::rehighlight ()" Redoes the highlighting of the whole document. -.SH "void QSyntaxHighlighter::setFormat ( int start, int count, const QFont & font, const TQColor & color )" +.SH "void QSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font, const TQColor & color )" This function is applied to the syntax highlighter's current paragraph (the text of which is passed to the highlightParagraph() function). .PP The specified \fIfont\fR and \fIcolor\fR are applied to the text from position \fIstart\fR for \fIcount\fR characters. (If \fIcount\fR is 0, nothing is done.) .SH "void QSyntaxHighlighter::setFormat ( int start, int count, const TQColor & color )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "void QSyntaxHighlighter::setFormat ( int start, int count, const QFont & font )" +.SH "void QSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .SH "TQTextEdit * QSyntaxHighlighter::textEdit () const" Returns the TQTextEdit on which this syntax highlighter is diff --git a/doc/man/man3/tqt.3qt b/doc/man/man3/tqt.3qt index 19679a2a2..eae6a2b29 100644 --- a/doc/man/man3/tqt.3qt +++ b/doc/man/man3/tqt.3qt @@ -11,7 +11,7 @@ Qt \- Namespace for miscellaneous identifiers that need to be global-like .SH SYNOPSIS \fC#include <ntqnamespace.h>\fR .PP -Inherited by TQObject, QPixmap, QBrush, TQCanvasItem, QCursor, QPainter, QEvent, TQIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, QPen, TQStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, TQThread, TQToolTip, and QWhatsThis. +Inherited by TQObject, QPixmap, TQBrush, TQCanvasItem, QCursor, TQPainter, QEvent, TQIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, QPen, TQStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, TQThread, TQToolTip, and QWhatsThis. .PP .SS "Public Members" .in +1c @@ -187,7 +187,7 @@ Background mode .SH "TQt::BackgroundMode" This enum describes how the background of a widget changes, as the widget's palette changes. .PP -The background is what the widget contains when paintEvent() is called. To minimize flicker, this should be the most common color or pixmap in the widget. For PaletteBackground, use colorGroup().brush( QColorGroup::Background ), and so on. +The background is what the widget contains when paintEvent() is called. To minimize flicker, this should be the most common color or pixmap in the widget. For PaletteBackground, use colorGroup().brush( TQColorGroup::Background ), and so on. .TP \fCQt::PaletteForeground\fR .TP @@ -1067,7 +1067,7 @@ Orientation is used with QScrollBar for example. .TP \fCQt::TwipsUnit\fR - \fIobsolete\fR .SH "TQt::PenCapStyle" -This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using QPainter. +This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using TQPainter. .TP \fCQt::FlatCap\fR - a square line end that does not cover the end point of the line. .TP @@ -1083,7 +1083,7 @@ This enum type defines the pen cap styles supported by Qt, i.e. the line end cap .PP </center> .SH "TQt::PenJoinStyle" -This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter. +This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using TQPainter. .TP \fCQt::MiterJoin\fR - The outer edges of the lines are extended to meet at an angle, and this area is filled. .TP @@ -1099,9 +1099,9 @@ This enum type defines the pen join styles supported by Qt, i.e. which joins bet .PP </center> .SH "TQt::PenStyle" -This enum type defines the pen styles that can be drawn using QPainter. The styles are +This enum type defines the pen styles that can be drawn using TQPainter. The styles are .TP -\fCQt::NoPen\fR - no line at all. For example, QPainter::drawRect() fills but does not draw any boundary line. +\fCQt::NoPen\fR - no line at all. For example, TQPainter::drawRect() fills but does not draw any boundary line. .TP \fCQt::SolidLine\fR - a simple line. .TP diff --git a/doc/man/man3/tqtabbar.3qt b/doc/man/man3/tqtabbar.3qt index 288976e96..8291e2010 100644 --- a/doc/man/man3/tqtabbar.3qt +++ b/doc/man/man3/tqtabbar.3qt @@ -115,13 +115,13 @@ Inherits TQWidget. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBpaint\fR ( QPainter * p, QTab * t, bool selected ) const" +.BI "virtual void \fBpaint\fR ( TQPainter * p, QTab * t, bool selected ) const" .br .ti -1c -.BI "virtual void \fBpaintLabel\fR ( QPainter * p, const QRect & br, QTab * t, bool has_focus ) const" +.BI "virtual void \fBpaintLabel\fR ( TQPainter * p, const QRect & br, QTab * t, bool has_focus ) const" .br .ti -1c -.BI "virtual void \fBpaintEvent\fR ( QPaintEvent * e )" +.BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * e )" .br .ti -1c .BI "TQPtrList<QTab> * \fBtabList\fR ()" @@ -204,17 +204,17 @@ Returns the id of the tab that has the keyboard focus. See the "keyboardFocusTab QTabBar emits the signal whenever the layout of the tab bar has been recalculated, for example when the contents of a tab change. .SH "void QTabBar::layoutTabs ()\fC [virtual]\fR" Lays out all existing tabs according to their label and their iconset. -.SH "void QTabBar::paint ( QPainter * p, QTab * t, bool selected ) const\fC [virtual protected]\fR" +.SH "void QTabBar::paint ( TQPainter * p, QTab * t, bool selected ) const\fC [virtual protected]\fR" Paints the tab \fIt\fR using painter \fIp\fR. If and only if \fIselected\fR is TRUE, \fIt\fR is drawn currently selected. .PP This virtual function may be reimplemented to change the look of QTabBar. If you decide to reimplement it, you may also need to reimplement sizeHint(). -.SH "void QTabBar::paintEvent ( QPaintEvent * e )\fC [virtual protected]\fR" +.SH "void QTabBar::paintEvent ( TQPaintEvent * e )\fC [virtual protected]\fR" Repaints the tab row. All the painting is done by paint(); paintEvent() only decides which tabs need painting and in what order. The event is passed in \fIe\fR. .PP See also paint(). .PP Reimplemented from TQWidget. -.SH "void QTabBar::paintLabel ( QPainter * p, const QRect & br, QTab * t, bool has_focus ) const\fC [virtual protected]\fR" +.SH "void QTabBar::paintLabel ( TQPainter * p, const QRect & 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. diff --git a/doc/man/man3/tqtabdialog.3qt b/doc/man/man3/tqtabdialog.3qt index 653085d56..1206c06da 100644 --- a/doc/man/man3/tqtabdialog.3qt +++ b/doc/man/man3/tqtabdialog.3qt @@ -22,7 +22,7 @@ Inherits QDialog. .BI "\fB~QTabDialog\fR ()" .br .ti -1c -.BI "virtual void \fBsetFont\fR ( const QFont & font )" +.BI "virtual void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c .BI "void \fBaddTab\fR ( TQWidget * child, const TQString & label )" @@ -371,7 +371,7 @@ See also setApplyButton(), setCancelButton(), and defaultButtonPressed(). This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds a Defaults button to the dialog. The button's text is set to a localizable "Defaults". -.SH "void QTabDialog::setFont ( const QFont & font )\fC [virtual]\fR" +.SH "void QTabDialog::setFont ( const TQFont & font )\fC [virtual]\fR" Sets the font for the tabs to \fIfont\fR. .PP If the widget is visible, the display is updated with the new font immediately. There may be some geometry changes, depending on the size of the old and new fonts. diff --git a/doc/man/man3/tqtable.3qt b/doc/man/man3/tqtable.3qt index ed03cdd78..ef46969a3 100644 --- a/doc/man/man3/tqtable.3qt +++ b/doc/man/man3/tqtable.3qt @@ -168,13 +168,13 @@ Inherited by TQDataTable. .BI "virtual QRect \fBcellRect\fR ( int row, int col ) const" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( QPainter * p, int row, int col, const QRect & cr, bool selected )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const QRect & cr, bool selected )" .br .ti -1c -.BI "virtual void \fBpaintCell\fR ( QPainter * p, int row, int col, const QRect & cr, bool selected, const QColorGroup & cg )" +.BI "virtual void \fBpaintCell\fR ( TQPainter * p, int row, int col, const QRect & cr, bool selected, const TQColorGroup & cg )" .br .ti -1c -.BI "virtual void \fBpaintFocus\fR ( QPainter * p, const QRect & cr )" +.BI "virtual void \fBpaintFocus\fR ( TQPainter * p, const QRect & cr )" .br .ti -1c .BI "bool \fBisReadOnly\fR () const" @@ -393,7 +393,7 @@ Inherited by TQDataTable. .BI "enum \fBEditMode\fR { NotEditing, Editing, Replacing }" .br .ti -1c -.BI "virtual void \fBdrawContents\fR ( QPainter * p, int cx, int cy, int cw, int ch )" +.BI "virtual void \fBdrawContents\fR ( TQPainter * p, int cx, int cy, int cw, int ch )" .br .ti -1c .BI "void \fBsetEditMode\fR ( EditMode mode, int row, int col )" @@ -417,7 +417,7 @@ Inherited by TQDataTable. .BI "virtual void \fBstartDrag\fR ()" .br .ti -1c -.BI "virtual void \fBpaintEmptyArea\fR ( QPainter * p, int cx, int cy, int cw, int ch )" +.BI "virtual void \fBpaintEmptyArea\fR ( TQPainter * p, int cx, int cy, int cw, int ch )" .br .ti -1c .BI "virtual void \fBactivateNextCell\fR ()" @@ -784,7 +784,7 @@ If the user presses the mouse on a selected cell, starts moving (i.e. dragging), By default this function returns 0. You might reimplement it and create a TQDragObject depending on the selected items. .PP See also dropped(). -.SH "void QTable::drawContents ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" +.SH "void QTable::drawContents ( TQPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" Draws the table contents on the painter \fIp\fR. This function is optimized so that it only draws the cells inside the \fIcw\fR pixels wide and \fIch\fR pixels high clipping rectangle at position \fIcx\fR, \fIcy\fR. .PP Additionally, drawContents() highlights the current cell. @@ -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 ( QPainter * p, int row, int col, const QRect & cr, bool selected, const QColorGroup & cg )\fC [virtual]\fR" +.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const QRect & 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. @@ -945,22 +945,22 @@ Note that the painter is not clipped by default in order to get maximum efficien .PP .nf .br - p->setClipRect( cellRect(row, col), QPainter::CoordPainter ); + p->setClipRect( cellRect(row, col), TQPainter::CoordPainter ); .br //... your drawing code .br p->setClipping( FALSE ); .br .fi -.SH "void QTable::paintCell ( QPainter * p, int row, int col, const QRect & cr, bool selected )\fC [virtual]\fR" +.SH "void QTable::paintCell ( TQPainter * p, int row, int col, const QRect & 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. -.SH "void QTable::paintEmptyArea ( QPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" +.SH "void QTable::paintEmptyArea ( TQPainter * p, int cx, int cy, int cw, int ch )\fC [virtual protected]\fR" 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 ( QPainter * p, const QRect & cr )\fC [virtual]\fR" +.SH "void QTable::paintFocus ( TQPainter * p, const QRect & 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. diff --git a/doc/man/man3/tqtableitem.3qt b/doc/man/man3/tqtableitem.3qt index 481d45a26..9ffef04ff 100644 --- a/doc/man/man3/tqtableitem.3qt +++ b/doc/man/man3/tqtableitem.3qt @@ -99,7 +99,7 @@ Inherited by QComboTableItem and QCheckTableItem. .BI "int \fBcol\fR () const" .br .ti -1c -.BI "virtual void \fBpaint\fR ( QPainter * p, const QColorGroup & cg, const QRect & cr, bool selected )" +.BI "virtual void \fBpaint\fR ( TQPainter * p, const TQColorGroup & cg, const QRect & cr, bool selected )" .br .ti -1c .BI "virtual void \fBsetEnabled\fR ( bool b )" @@ -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 ( QPainter * p, const QColorGroup & cg, const QRect & cr, bool selected )\fC [virtual]\fR" +.SH "void QTableItem::paint ( TQPainter * p, const TQColorGroup & cg, const QRect & 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. @@ -307,7 +307,7 @@ Note that the painter is not clipped by default in order to get maximum efficien .PP .nf .br - p->setClipRect( table()->cellRect(row, col), QPainter::ClipPainter ); + p->setClipRect( table()->cellRect(row, col), TQPainter::ClipPainter ); .br //... your drawing code .br diff --git a/doc/man/man3/tqtextedit.3qt b/doc/man/man3/tqtextedit.3qt index 18f80c315..8a485c423 100644 --- a/doc/man/man3/tqtextedit.3qt +++ b/doc/man/man3/tqtextedit.3qt @@ -96,7 +96,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "TQMimeSourceFactory * \fBmimeSourceFactory\fR () const" .br .ti -1c -.BI "QBrush \fBpaper\fR () const" +.BI "TQBrush \fBpaper\fR () const" .br .ti -1c .BI "bool \fBlinkUnderline\fR () const" @@ -162,10 +162,10 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "TQColor \fBcolor\fR () const" .br .ti -1c -.BI "QFont font () const \fI(obsolete)\fR" +.BI "TQFont font () const \fI(obsolete)\fR" .br .ti -1c -.BI "QFont \fBcurrentFont\fR () const" +.BI "TQFont \fBcurrentFont\fR () const" .br .ti -1c .BI "int \fBalignment\fR () const" @@ -207,7 +207,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "virtual void \fBscrollToAnchor\fR ( const TQString & name )" .br .ti -1c -.BI "virtual void \fBsetPaper\fR ( const QBrush & pap )" +.BI "virtual void \fBsetPaper\fR ( const TQBrush & pap )" .br .ti -1c .BI "virtual void \fBsetLinkUnderline\fR ( bool )" @@ -342,7 +342,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "virtual void \fBremoveSelection\fR ( int selNum = 0 )" .br .ti -1c -.BI "virtual void \fBsetCurrentFont\fR ( const QFont & f )" +.BI "virtual void \fBsetCurrentFont\fR ( const TQFont & f )" .br .ti -1c .BI "virtual void \fBsetOverwriteMode\fR ( bool b )" @@ -402,7 +402,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "void \fBredoAvailable\fR ( bool yes )" .br .ti -1c -.BI "void \fBcurrentFontChanged\fR ( const QFont & f )" +.BI "void \fBcurrentFontChanged\fR ( const TQFont & f )" .br .ti -1c .BI "void \fBcurrentColorChanged\fR ( const TQColor & c )" @@ -453,7 +453,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "bool \fBoverwriteMode\fR - the text edit's overwrite mode" .br .ti -1c -.BI "QBrush \fBpaper\fR - the background (paper) brush" +.BI "TQBrush \fBpaper\fR - the background (paper) brush" .br .ti -1c .BI "bool \fBreadOnly\fR - whether the text edit is read-only" @@ -645,7 +645,7 @@ Stylesheets can also be used in LogText mode. To create and use a custom tag, yo .br item->setColor( "red" ); .br - item->setFontWeight( QFont::Bold ); + item->setFontWeight( TQFont::Bold ); .br item->setFontUnderline( TRUE ); .br @@ -859,11 +859,11 @@ This signal is emitted if the color of the current format has changed. The new color is \fIc\fR. .PP See also setColor(). -.SH "QFont TQTextEdit::currentFont () const" +.SH "TQFont TQTextEdit::currentFont () const" Returns the font of the current format. .PP See also setCurrentFont(), setFamily(), and setPointSize(). -.SH "void TQTextEdit::currentFontChanged ( const QFont & f )\fC [signal]\fR" +.SH "void TQTextEdit::currentFontChanged ( const TQFont & f )\fC [signal]\fR" This signal is emitted if the font of the current format has changed. .PP The new font is \fIf\fR. @@ -921,7 +921,7 @@ Please note that this function will make the next occurrence of the string (if f Using the \fIpara\fR and \fIindex\fR parameters will not work correctly in case the document contains tables. .SH "bool TQTextEdit::focusNextPrevChild ( bool n )\fC [virtual protected]\fR" Reimplemented to allow tabbing through links. If \fIn\fR is TRUE the tab moves the focus to the next child; if \fIn\fR is FALSE the tab moves the focus to the previous child. Returns TRUE if the focus was moved; otherwise returns FALSE. -.SH "QFont TQTextEdit::font () const" +.SH "TQFont TQTextEdit::font () 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 QScrollView::font() @@ -1014,7 +1014,7 @@ This signal is emitted when the modification status of the document has changed. See also modified. .SH "void TQTextEdit::moveCursor ( CursorAction action, bool select )\fC [virtual slot]\fR" 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 "QBrush TQTextEdit::paper () const" +.SH "TQBrush TQTextEdit::paper () const" Returns the background (paper) brush. See the "paper" property for details. .SH "int TQTextEdit::paragraphAt ( const QPoint & pos ) const" Returns the paragraph which is at position \fIpos\fR (in contents coordinates). @@ -1102,7 +1102,7 @@ See also bold(). Sets the color of the current format, i.e. of the text, to \fIc\fR. .PP See also color() and paper. -.SH "void TQTextEdit::setCurrentFont ( const QFont & f )\fC [virtual slot]\fR" +.SH "void TQTextEdit::setCurrentFont ( const TQFont & f )\fC [virtual slot]\fR" Sets the font of the current format to \fIf\fR. .PP If the widget is in LogText mode this function will do nothing. Use setFont() instead. @@ -1134,7 +1134,7 @@ See also mimeSourceFactory(). Sets whether the document has been modified by the user to \fIm\fR. See the "modified" property for details. .SH "void TQTextEdit::setOverwriteMode ( bool b )\fC [virtual slot]\fR" Sets the text edit's overwrite mode to \fIb\fR. See the "overwriteMode" property for details. -.SH "void TQTextEdit::setPaper ( const QBrush & pap )\fC [virtual slot]\fR" +.SH "void TQTextEdit::setPaper ( const TQBrush & pap )\fC [virtual slot]\fR" Sets the background (paper) brush to \fIpap\fR. See the "paper" property for details. .SH "void TQTextEdit::setParagraphBackgroundColor ( int para, const TQColor & bg )\fC [virtual slot]\fR" Sets the background color of the paragraph \fIpara\fR to \fIbg\fR. @@ -1325,7 +1325,7 @@ This property holds the text edit's overwrite mode. If FALSE (the default) characters entered by the user are inserted with any characters to the right being moved out of the way. If TRUE, the editor is in overwrite mode, i.e. characters entered by the user overwrite any characters to the right of the cursor position. .PP Set this property's value with setOverwriteMode() and get this property's value with isOverwriteMode(). -.SH "QBrush paper" +.SH "TQBrush paper" This property holds the background (paper) brush. .PP The brush that is currently used to draw the background of the text edit. The initial setting is an empty brush. diff --git a/doc/man/man3/tqtooltip.3qt b/doc/man/man3/tqtooltip.3qt index d02655ad7..98138cfcc 100644 --- a/doc/man/man3/tqtooltip.3qt +++ b/doc/man/man3/tqtooltip.3qt @@ -52,10 +52,10 @@ Inherits Qt. .BI "void \fBhide\fR ()" .br .ti -1c -.BI "QFont \fBfont\fR ()" +.BI "TQFont \fBfont\fR ()" .br .ti -1c -.BI "void \fBsetFont\fR ( const QFont & font )" +.BI "void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c .BI "QPalette \fBpalette\fR ()" @@ -218,7 +218,7 @@ Normally, \fIgroupText\fR is shown in a status bar or similar. Immediately removes all tool tips for this tooltip's parent widget. .SH "bool TQToolTip::enabled ()\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. -.SH "QFont TQToolTip::font ()\fC [static]\fR" +.SH "TQFont TQToolTip::font ()\fC [static]\fR" Returns the font common to all tool tips. .PP See also setFont(). @@ -283,7 +283,7 @@ Removes any tool tip for \fIrect\fR from \fIwidget\fR. If there is more than one tool tip on \fIwidget\fR, only the one covering rectangle \fIrect\fR is removed. .SH "void TQToolTip::setEnabled ( bool enable )\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. -.SH "void TQToolTip::setFont ( const QFont & font )\fC [static]\fR" +.SH "void TQToolTip::setFont ( const TQFont & font )\fC [static]\fR" Sets the font for all tool tips to \fIfont\fR. .PP See also font(). diff --git a/doc/man/man3/tqvaluelist.3qt b/doc/man/man3/tqvaluelist.3qt index 63f54cc7d..34792bc85 100644 --- a/doc/man/man3/tqvaluelist.3qt +++ b/doc/man/man3/tqvaluelist.3qt @@ -460,7 +460,7 @@ Inserts \fIx\fR at the end of the list. See also insert() and prepend(). .PP Examples: -.)l checklists/checklists.cpp and fonts/simple-qfont-demo/viewer.cpp. +.)l checklists/checklists.cpp and fonts/simple-tqfont-demo/viewer.cpp. .SH "const_iterator TQValueList::at ( size_type i ) const" Returns an iterator pointing to the item at position \fIi\fR in the list, or an undefined value if the index is out of range. .PP @@ -636,7 +636,7 @@ Returns TRUE if the list contains no items; otherwise returns FALSE. See also count(). .PP Examples: -.)l fonts/simple-qfont-demo/viewer.cpp and network/mail/smtp.cpp. +.)l fonts/simple-tqfont-demo/viewer.cpp and network/mail/smtp.cpp. .SH "T & TQValueList::last ()" Returns a reference to the last item. If the list contains no last item (i.e. empty() returns TRUE), the return value is undefined. .SH "const T & TQValueList::last () const" diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt index 37125f393..5a75879ed 100644 --- a/doc/man/man3/tqvariant.3qt +++ b/doc/man/man3/tqvariant.3qt @@ -41,7 +41,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const TQStringList & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QFont & val )" +.BI "\fBQVariant\fR ( const TQFont & val )" .br .ti -1c .BI "\fBQVariant\fR ( const QPixmap & val )" @@ -50,7 +50,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const TQImage & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QBrush & val )" +.BI "\fBQVariant\fR ( const TQBrush & val )" .br .ti -1c .BI "\fBQVariant\fR ( const QPoint & val )" @@ -68,7 +68,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const QPalette & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QColorGroup & val )" +.BI "\fBQVariant\fR ( const TQColorGroup & val )" .br .ti -1c .BI "\fBQVariant\fR ( const TQIconSet & val )" @@ -173,7 +173,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const TQStringList \fBtoStringList\fR () const" .br .ti -1c -.BI "const QFont \fBtoFont\fR () const" +.BI "const TQFont \fBtoFont\fR () const" .br .ti -1c .BI "const QPixmap \fBtoPixmap\fR () const" @@ -182,7 +182,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const TQImage \fBtoImage\fR () const" .br .ti -1c -.BI "const QBrush \fBtoBrush\fR () const" +.BI "const TQBrush \fBtoBrush\fR () const" .br .ti -1c .BI "const QPoint \fBtoPoint\fR () const" @@ -200,7 +200,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const QPalette \fBtoPalette\fR () const" .br .ti -1c -.BI "const QColorGroup \fBtoColorGroup\fR () const" +.BI "const TQColorGroup \fBtoColorGroup\fR () const" .br .ti -1c .BI "const TQIconSet \fBtoIconSet\fR () const" @@ -296,7 +296,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "TQStringList & \fBasStringList\fR ()" .br .ti -1c -.BI "QFont & \fBasFont\fR ()" +.BI "TQFont & \fBasFont\fR ()" .br .ti -1c .BI "QPixmap & \fBasPixmap\fR ()" @@ -305,7 +305,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "TQImage & \fBasImage\fR ()" .br .ti -1c -.BI "QBrush & \fBasBrush\fR ()" +.BI "TQBrush & \fBasBrush\fR ()" .br .ti -1c .BI "QPoint & \fBasPoint\fR ()" @@ -323,7 +323,7 @@ QVariant \- Acts like a union for the most common TQt data types .BI "QPalette & \fBasPalette\fR ()" .br .ti -1c -.BI "QColorGroup & \fBasColorGroup\fR ()" +.BI "TQColorGroup & \fBasColorGroup\fR ()" .br .ti -1c .BI "TQIconSet & \fBasIconSet\fR ()" @@ -484,11 +484,11 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::Bool\fR - a bool .TP -\fCQVariant::Brush\fR - a QBrush +\fCQVariant::Brush\fR - a TQBrush .TP \fCQVariant::Color\fR - a TQColor .TP -\fCQVariant::ColorGroup\fR - a QColorGroup +\fCQVariant::ColorGroup\fR - a TQColorGroup .TP \fCQVariant::Cursor\fR - a QCursor .TP @@ -498,7 +498,7 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::Double\fR - a double .TP -\fCQVariant::Font\fR - a QFont +\fCQVariant::Font\fR - a TQFont .TP \fCQVariant::IconSet\fR - a TQIconSet .TP @@ -570,7 +570,7 @@ Constructs a new variant with a C-string value of \fIval\fR if \fIval\fR is non- If \fIval\fR is null, the resulting variant has type Invalid. .SH "QVariant::QVariant ( const TQStringList & val )" Constructs a new variant with a string list value, \fIval\fR. -.SH "QVariant::QVariant ( const QFont & val )" +.SH "QVariant::QVariant ( const TQFont & val )" Constructs a new variant with a font value, \fIval\fR. .SH "QVariant::QVariant ( const QPixmap & val )" Constructs a new variant with a pixmap value, \fIval\fR. @@ -578,7 +578,7 @@ Constructs a new variant with a pixmap value, \fIval\fR. Constructs a new variant with an image value, \fIval\fR. .PP 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 QBrush & val )" +.SH "QVariant::QVariant ( const TQBrush & val )" Constructs a new variant with a brush value, \fIval\fR. .SH "QVariant::QVariant ( const QPoint & val )" Constructs a new variant with a point value, \fIval\fR. @@ -590,7 +590,7 @@ Constructs a new variant with a size value, \fIval\fR. Constructs a new variant with a color value, \fIval\fR. .SH "QVariant::QVariant ( const QPalette & val )" Constructs a new variant with a color palette value, \fIval\fR. -.SH "QVariant::QVariant ( const QColorGroup & val )" +.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. @@ -648,7 +648,7 @@ Returns a reference to the stored bitmap. See also toBitmap(). .SH "bool & QVariant::asBool ()" Returns the variant's value as bool reference. -.SH "QBrush & QVariant::asBrush ()" +.SH "TQBrush & QVariant::asBrush ()" Tries to convert the variant to hold a brush value. If that is not possible the variant is set to a default black brush. .PP Returns a reference to the stored brush. @@ -672,8 +672,8 @@ Tries to convert the variant to hold a TQColor value. If that is not possible th Returns a reference to the stored color. .PP See also toColor() and TQColor::isValid(). -.SH "QColorGroup & QVariant::asColorGroup ()" -Tries to convert the variant to hold a QColorGroup value. If that is not possible the variant is set to a color group of all black colors. +.SH "TQColorGroup & QVariant::asColorGroup ()" +Tries to convert the variant to hold a TQColorGroup value. If that is not possible the variant is set to a color group of all black colors. .PP Returns a reference to the stored color group. .PP @@ -698,8 +698,8 @@ Returns a reference to the stored date/time. See also toDateTime(). .SH "double & QVariant::asDouble ()" Returns the variant's value as double reference. -.SH "QFont & QVariant::asFont ()" -Tries to convert the variant to hold a QFont. If that is not possible the variant is set to the application's default font. +.SH "TQFont & QVariant::asFont ()" +Tries to convert the variant to hold a TQFont. If that is not possible the variant is set to the application's default font. .PP Returns a reference to the stored font. .PP @@ -929,8 +929,8 @@ Returns the variant as a bool if the variant can be cast to Bool; otherWise retu Returns TRUE if the variant has a numeric type and its value is non-zero, or if the variant has type String, ByteArray or CString and its lower-case content is not empty, "0" or "false"; otherwise returns FALSE. .PP See also asBool() and canCast(). -.SH "const QBrush QVariant::toBrush () const" -Returns the variant as a QBrush if the variant has type() Brush; otherwise returns a default brush (with all black colors). +.SH "const TQBrush QVariant::toBrush () const" +Returns the variant as a TQBrush if the variant has type() Brush; otherwise returns a default brush (with all black colors). .PP See also asBrush(). .SH "const TQByteArray QVariant::toByteArray () const" @@ -945,8 +945,8 @@ See also asCString() and canCast(). Returns the variant as a TQColor if the variant can be cast to Color; otherwise returns an invalid color. .PP See also asColor() and canCast(). -.SH "const QColorGroup QVariant::toColorGroup () const" -Returns the variant as a QColorGroup if the variant has type() ColorGroup; otherwise returns a completely black color group. +.SH "const TQColorGroup QVariant::toColorGroup () const" +Returns the variant as a TQColorGroup if the variant has type() ColorGroup; otherwise returns a completely black color group. .PP See also asColorGroup(). .SH "const QCursor QVariant::toCursor () const" @@ -971,8 +971,8 @@ Returns the variant as a double if the variant can be cast to Double; otherwise If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to a double; otherwise \fI*ok\fR is set to FALSE. .PP See also asDouble() and canCast(). -.SH "const QFont QVariant::toFont () const" -Returns the variant as a QFont if the variant can be cast to Font; otherwise returns the application's default font. +.SH "const TQFont QVariant::toFont () const" +Returns the variant as a TQFont if the variant can be cast to Font; otherwise returns the application's default font. .PP See also asFont() and canCast(). .SH "const TQIconSet QVariant::toIconSet () const" @@ -1124,7 +1124,7 @@ See also asULongLong() and canCast(). .SH "Type QVariant::type () const" Returns the storage type of the value stored in the variant. Usually it's best to test with canCast() whether the variant can deliver the data type you are interested in. .SH "const char * QVariant::typeName () const" -Returns the name of the type stored in the variant. The returned strings describe the C++ datatype used to store the data: for example, "QFont", "TQString", or "TQValueList<QVariant>". An Invalid variant returns 0. +Returns the name of the type stored in the variant. The returned strings describe the C++ datatype used to store the data: for example, "TQFont", "TQString", or "TQValueList<QVariant>". An Invalid variant returns 0. .SH "const char * QVariant::typeToName ( Type typ )\fC [static]\fR" Converts the enum representation of the storage type, \fItyp\fR, to its string representation. diff --git a/doc/man/man3/tqwhatsthis.3qt b/doc/man/man3/tqwhatsthis.3qt index 3a473a463..78fb7b506 100644 --- a/doc/man/man3/tqwhatsthis.3qt +++ b/doc/man/man3/tqwhatsthis.3qt @@ -31,7 +31,7 @@ Inherits Qt. .SS "Static Public Members" .in +1c .ti -1c -.BI "void \fBsetFont\fR ( const QFont & font )" +.BI "void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c .BI "void \fBadd\fR ( TQWidget * widget, const TQString & text )" @@ -158,7 +158,7 @@ See also inWhatsThisMode(), enterWhatsThisMode(), and QWhatsThis::clicked(). Removes the "What's this?" help associated with the \fIwidget\fR. This happens automatically if the widget is destroyed. .PP See also add(). -.SH "void QWhatsThis::setFont ( const QFont & font )\fC [static]\fR" +.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" 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. diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index 38ed2567d..df77229c4 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -11,7 +11,7 @@ TQWidget \- The base class of all user interface objects .SH SYNOPSIS \fC#include <tqwidget.h>\fR .PP -Inherits TQObject and QPaintDevice. +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. .PP @@ -213,7 +213,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetErasePixmap\fR ( const QPixmap & pixmap )" .br .ti -1c -.BI "const QColorGroup & \fBcolorGroup\fR () const" +.BI "const TQColorGroup & \fBcolorGroup\fR () const" .br .ti -1c .BI "const QPalette & \fBpalette\fR () const" @@ -246,25 +246,25 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetPaletteBackgroundPixmap\fR ( const QPixmap & )" .br .ti -1c -.BI "const QBrush & \fBbackgroundBrush\fR () const" +.BI "const TQBrush & \fBbackgroundBrush\fR () const" .br .ti -1c -.BI "QFont \fBfont\fR () const" +.BI "TQFont \fBfont\fR () const" .br .ti -1c .BI "bool \fBownFont\fR () const" .br .ti -1c -.BI "virtual void \fBsetFont\fR ( const QFont & )" +.BI "virtual void \fBsetFont\fR ( const TQFont & )" .br .ti -1c .BI "void \fBunsetFont\fR ()" .br .ti -1c -.BI "QFontMetrics \fBfontMetrics\fR () const" +.BI "TQFontMetrics \fBfontMetrics\fR () const" .br .ti -1c -.BI "QFontInfo \fBfontInfo\fR () const" +.BI "TQFontInfo \fBfontInfo\fR () const" .br .ti -1c .BI "const QCursor & \fBcursor\fR () const" @@ -513,7 +513,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void setPalette ( const QPalette & p, bool ) \fI(obsolete)\fR" .br .ti -1c -.BI "void setFont ( const QFont & f, bool ) \fI(obsolete)\fR" +.BI "void setFont ( const TQFont & f, bool ) \fI(obsolete)\fR" .br .in -1c .SS "Public Slots" @@ -660,7 +660,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBautoMask\fR - whether the auto mask feature is enabled for the widget" .br .ti -1c -.BI "QBrush \fBbackgroundBrush\fR - the widget's background brush \fI(read " "only" ")\fR" +.BI "TQBrush \fBbackgroundBrush\fR - the widget's background brush \fI(read " "only" ")\fR" .br .ti -1c .BI "BackgroundMode \fBbackgroundMode\fR - the color role used for painting the background of the widget" @@ -681,7 +681,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "QRegion \fBchildrenRegion\fR - the combined region occupied by the widget's children \fI(read " "only" ")\fR" .br .ti -1c -.BI "QColorGroup \fBcolorGroup\fR - the current color group of the widget palette \fI(read " "only" ")\fR" +.BI "TQColorGroup \fBcolorGroup\fR - the current color group of the widget palette \fI(read " "only" ")\fR" .br .ti -1c .BI "QCursor \fBcursor\fR - the cursor shape for this widget" @@ -702,7 +702,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "FocusPolicy \fBfocusPolicy\fR - the way the widget accepts keyboard focus" .br .ti -1c -.BI "QFont \fBfont\fR - the font currently set for the widget" +.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" @@ -888,7 +888,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBleaveEvent\fR ( QEvent * )" .br .ti -1c -.BI "virtual void \fBpaintEvent\fR ( QPaintEvent * )" +.BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * )" .br .ti -1c .BI "virtual void \fBmoveEvent\fR ( QMoveEvent * )" @@ -954,7 +954,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBpaletteChange\fR ( const QPalette & oldPalette )" .br .ti -1c -.BI "virtual void \fBfontChange\fR ( const QFont & oldFont )" +.BI "virtual void \fBfontChange\fR ( const TQFont & oldFont )" .br .ti -1c .BI "virtual void \fBwindowActivationChange\fR ( bool oldActive )" @@ -990,7 +990,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetKeyCompression\fR ( bool compress )" .br .ti -1c -.BI "virtual void \fBsetMicroFocusHint\fR ( int x, int y, int width, int height, bool text = TRUE, QFont * f = 0 )" +.BI "virtual void \fBsetMicroFocusHint\fR ( int x, int y, int width, int height, bool text = TRUE, TQFont * f = 0 )" .br .in -1c .SH DESCRIPTION @@ -1101,7 +1101,7 @@ It is almost always useful to reimplement sizeHint() and to set the correct size If your widget is a top-level window, setCaption() and setIcon() set the title bar and icon respectively. .IP .PP -See also QEvent, QPainter, QGridLayout, QBoxLayout, and Abstract Widget Classes. +See also QEvent, TQPainter, QGridLayout, QBoxLayout, and Abstract Widget Classes. .SS "Member Type Documentation" .SH "TQWidget::BackgroundOrigin" This enum defines the origin used to draw a widget's background pixmap. @@ -1169,7 +1169,7 @@ Example: xform/xform.cpp. Reimplemented in QMessageBox. .SH "bool TQWidget::autoMask () const" Returns TRUE if the auto mask feature is enabled for the widget; otherwise returns FALSE. See the "autoMask" property for details. -.SH "const QBrush & TQWidget::backgroundBrush () const" +.SH "const TQBrush & TQWidget::backgroundBrush () const" Returns the widget's background brush. See the "backgroundBrush" property for details. .SH "const TQColor & TQWidget::backgroundColor () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use paletteBackgroundColor() or eraseColor() instead. @@ -1254,7 +1254,7 @@ See also event(), hide(), close(), and QCloseEvent. .PP Examples: .)l action/application.cpp, application/application.cpp, chart/chartform.cpp, i18n/mywidget.cpp, mdi/application.cpp, popup/popup.cpp, and qwerty/qwerty.cpp. -.SH "const QColorGroup & TQWidget::colorGroup () const" +.SH "const TQColorGroup & TQWidget::colorGroup () const" Returns the current color group of the widget palette. See the "colorGroup" property for details. .SH "void TQWidget::constPolish () const\fC [slot]\fR" Ensures that the widget is properly initialized by calling polish(). @@ -1317,7 +1317,7 @@ The \fIy\fR position is the base line position of the text. The text is drawn us .PP 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 QPainter::drawText(). +See also font, foregroundColor(), and TQPainter::drawText(). .SH "void TQWidget::drawText ( const QPoint & pos, const TQString & str )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -1434,9 +1434,9 @@ Returns the focus proxy, or 0 if there is no focus proxy. See also setFocusProxy(). .SH "TQWidget * TQWidget::focusWidget () const" Returns the focus widget in this widget's window. This is not the same as QApplication::focusWidget(), which returns the focus widget in the currently active window. -.SH "QFont TQWidget::font () const" +.SH "TQFont TQWidget::font () const" Returns the font currently set for the widget. See the "font" property for details. -.SH "void TQWidget::fontChange ( const QFont & oldFont )\fC [virtual protected]\fR" +.SH "void TQWidget::fontChange ( const TQFont & oldFont )\fC [virtual protected]\fR" This virtual function is called from setFont(). \fIoldFont\fR is the previous font; you can get the new font from font(). .PP Reimplement this function if your widget needs to know when its font changes. You will almost certainly need to update the widget using update(). @@ -1444,12 +1444,12 @@ Reimplement this function if your widget needs to know when its font changes. Yo The default implementation updates the widget including its geometry. .PP See also font, font, update(), and updateGeometry(). -.SH "QFontInfo TQWidget::fontInfo () const" -Returns the font info for the widget's current font. Equivalent to QFontInto(widget->font()). +.SH "TQFontInfo TQWidget::fontInfo () const" +Returns the font info for the widget's current font. Equivalent to TQFontInto(widget->font()). .PP See also font, fontMetrics(), and font. -.SH "QFontMetrics TQWidget::fontMetrics () const" -Returns the font metrics for the widget's current font. Equivalent to QFontMetrics(widget->font()). +.SH "TQFontMetrics TQWidget::fontMetrics () const" +Returns the font metrics for the widget's current font. Equivalent to TQFontMetrics(widget->font()). .PP See also font, fontInfo(), and font. .PP @@ -1654,7 +1654,7 @@ If the widget does not have a layout, layout() returns 0. See also sizePolicy. .PP Examples: -.)l chart/optionsform.cpp and fonts/simple-qfont-demo/viewer.cpp. +.)l chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp. .SH "void TQWidget::leaveEvent ( QEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive widget leave events. .PP @@ -1712,9 +1712,9 @@ Returns the widget's maximum size. See the "maximumSize" property for details. .SH "int TQWidget::maximumWidth () const" Returns the widget's maximum width. See the "maximumWidth" property for details. .SH "int TQWidget::metric ( int m ) const\fC [virtual protected]\fR" -Internal implementation of the virtual QPaintDevice::metric() function. +Internal implementation of the virtual TQPaintDevice::metric() function. .PP -Use the QPaintDeviceMetrics class instead. +Use the TQPaintDeviceMetrics class instead. .PP \fIm\fR is the metric to get. .SH "QRect TQWidget::microFocusHint () const" @@ -1794,20 +1794,20 @@ Returns TRUE if the widget uses its own cursor; otherwise returns FALSE. See the Returns TRUE if the widget uses its own font; otherwise returns FALSE. See the "ownFont" property for details. .SH "bool TQWidget::ownPalette () const" Returns TRUE if the widget uses its own palette; otherwise returns FALSE. See the "ownPalette" property for details. -.SH "void TQWidget::paintEvent ( QPaintEvent * )\fC [virtual protected]\fR" +.SH "void TQWidget::paintEvent ( TQPaintEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive paint events. .PP A paint event is a request to repaint all or part of the widget. It can happen as a result of repaint() or update(), or because the widget was obscured and has now been uncovered, or for many other reasons. .PP -Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: QPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. QListView and TQCanvas do this, for example. +Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: 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. .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 QPaintEvent::erased() tells you whether the widget has been erased or not. +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(), QPainter, QPixmap, and QPaintEvent. +See also event(), repaint(), update(), TQPainter, QPixmap, 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. @@ -2035,7 +2035,7 @@ Sets both the minimum and maximum heights of the widget to \fIh\fR without chang See also sizeHint, minimumSize, maximumSize, and setFixedSize(). .PP Examples: -.)l fonts/simple-qfont-demo/viewer.cpp, layout/layout.cpp, tqdir/tqdir.cpp, and showimg/showimg.cpp. +.)l fonts/simple-tqfont-demo/viewer.cpp, layout/layout.cpp, tqdir/tqdir.cpp, and showimg/showimg.cpp. .SH "void TQWidget::setFixedSize ( const TQSize & s )" Sets both the minimum and maximum sizes of the widget to \fIs\fR, thereby preventing it from ever growing or shrinking. .PP @@ -2076,14 +2076,14 @@ Some widgets, such as QComboBox, can "have focus", but create a child widget to setFocusProxy() sets the widget which will actually get focus when" this widget" gets it. If there is a focus proxy, focusPolicy(), setFocusPolicy(), setFocus() and hasFocus() all operate on the focus proxy. .PP See also focusProxy(). -.SH "void TQWidget::setFont ( const QFont & )\fC [virtual]\fR" +.SH "void TQWidget::setFont ( const TQFont & )\fC [virtual]\fR" Sets the font currently set for the widget. See the "font" property for details. .PP Reimplemented in QComboBox, QLabel, and QTabDialog. -.SH "void TQWidget::setFont ( const QFont & f, bool )" +.SH "void TQWidget::setFont ( const TQFont & f, 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 setFont(const QFont& font) instead. +Use setFont(const TQFont& font) instead. .SH "void TQWidget::setGeometry ( const QRect & )\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" @@ -2140,7 +2140,7 @@ This is an overloaded member function, provided for convenience. It behaves esse This function corresponds to setMaximumSize( TQSize(\fImaxw\fR, \fImaxh\fR) ). Sets the maximum width to \fImaxw\fR and the maximum height to \fImaxh\fR. .SH "void TQWidget::setMaximumWidth ( int maxw )" Sets the widget's maximum width to \fImaxw\fR. See the "maximumWidth" property for details. -.SH "void TQWidget::setMicroFocusHint ( int x, int y, int width, int height, bool text = TRUE, QFont * f = 0 )\fC [virtual protected]\fR" +.SH "void TQWidget::setMicroFocusHint ( int x, int y, int width, int height, bool text = TRUE, TQFont * f = 0 )\fC [virtual protected]\fR" When a widget gets focus, it should call setMicroFocusHint() with some appropriate position and size, \fIx\fR, \fIy\fR, \fIwidth\fR and \fIheight\fR. This has no \fIvisual\fR effect, it just provides hints to any system-specific input handling tools. .PP The \fItext\fR argument should be TRUE if this is a position for text input. @@ -2545,7 +2545,7 @@ While being a technically appealing concept, masks have a big drawback: when usi See also updateMask(), setMask(), clearMask(), and backgroundOrigin. .PP Set this property's value with setAutoMask() and get this property's value with autoMask(). -.SH "QBrush backgroundBrush" +.SH "TQBrush backgroundBrush" This property holds the widget's background brush. .PP The background brush depends on a widget's palette and its background mode. @@ -2615,7 +2615,7 @@ Hidden children are excluded. See also childrenRect and geometry. .PP Get this property's value with childrenRegion(). -.SH "QColorGroup colorGroup" +.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. @@ -2693,7 +2693,7 @@ You must enable keyboard focus for a widget if it processes keyboard events. Thi See also focusEnabled, focusInEvent(), focusOutEvent(), keyPressEvent(), keyReleaseEvent(), and enabled. .PP Set this property's value with setFocusPolicy() and get this property's value with focusPolicy(). -.SH "QFont font" +.SH "TQFont font" This property holds the font currently set for the widget. .PP The fontInfo() function reports the actual font that is being used by the widget. @@ -2704,7 +2704,7 @@ This code fragment sets a 12 point helvetica bold font: .PP .nf .br - QFont f( "Helvetica", 12, QFont::Bold ); + TQFont f( "Helvetica", 12, TQFont::Bold ); .br setFont( f ); .br @@ -2976,7 +2976,7 @@ 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 QColorGroup::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 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. .PP If there is a background pixmap (set using setPaletteBackgroundPixmap()), then the return value of this function is indeterminate. .PP @@ -2986,7 +2986,7 @@ Set this property's value with setPaletteBackgroundColor(), get this property's .SH "QPixmap 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 QColorGroup::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 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. .PP If there is a plain background color (set using setPaletteBackgroundColor()), then this function returns 0. .PP @@ -2996,7 +2996,7 @@ 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 QColorGroup::ButtonText is set to color. +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. .PP See also palette, QApplication::setPalette(), backgroundMode, foregroundColor(), backgroundMode, and setEraseColor(). .PP diff --git a/doc/man/man3/tqwizard.3qt b/doc/man/man3/tqwizard.3qt index 619d9b487..41db7b131 100644 --- a/doc/man/man3/tqwizard.3qt +++ b/doc/man/man3/tqwizard.3qt @@ -37,10 +37,10 @@ Inherits QDialog. .BI "void \fBsetTitle\fR ( TQWidget * page, const TQString & title )" .br .ti -1c -.BI "QFont \fBtitleFont\fR () const" +.BI "TQFont \fBtitleFont\fR () const" .br .ti -1c -.BI "void \fBsetTitleFont\fR ( const QFont & )" +.BI "void \fBsetTitleFont\fR ( const TQFont & )" .br .ti -1c .BI "virtual void \fBshowPage\fR ( TQWidget * page )" @@ -109,7 +109,7 @@ Inherits QDialog. .SS "Properties" .in +1c .ti -1c -.BI "QFont \fBtitleFont\fR - the font used for page titles" +.BI "TQFont \fBtitleFont\fR - the font used for page titles" .br .in -1c .SS "Protected Members" @@ -242,7 +242,7 @@ If \fIenable\fR is TRUE, page \fIpage\fR has a Help button; otherwise \fIpage\fR If \fIenable\fR is TRUE, page \fIpage\fR has a Next button; otherwise the Next button on \fIpage\fR is disabled. By default all pages have this button. .SH "void QWizard::setTitle ( TQWidget * page, const TQString & title )" Sets the title for page \fIpage\fR to \fItitle\fR. -.SH "void QWizard::setTitleFont ( const QFont & )" +.SH "void QWizard::setTitleFont ( const TQFont & )" Sets the font used for page titles. See the "titleFont" property for details. .SH "void QWizard::showPage ( TQWidget * page )\fC [virtual]\fR" Makes \fIpage\fR the current page and emits the selected() signal. @@ -253,10 +253,10 @@ Examples: .)l distributor/distributor.ui.h and wizard/wizard.cpp. .SH "TQString QWizard::title ( TQWidget * page ) const" Returns the title of page \fIpage\fR. -.SH "QFont QWizard::titleFont () const" +.SH "TQFont QWizard::titleFont () const" Returns the font used for page titles. See the "titleFont" property for details. .SS "Property Documentation" -.SH "QFont titleFont" +.SH "TQFont titleFont" This property holds the font used for page titles. .PP The default is QApplication::font(). diff --git a/doc/man/man3/tqwmatrix.3qt b/doc/man/man3/tqwmatrix.3qt index 2e9353d45..c46e92415 100644 --- a/doc/man/man3/tqwmatrix.3qt +++ b/doc/man/man3/tqwmatrix.3qt @@ -130,17 +130,17 @@ The QWMatrix 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 QPainter, 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 QWMatrix for the painter. .PP Example: .PP .nf .br - MyWidget::paintEvent( QPaintEvent * ) + MyWidget::paintEvent( TQPaintEvent * ) .br { .br - QPainter p; // our painter + TQPainter p; // our painter .br QWMatrix m; // our transformation matrix .br @@ -158,7 +158,7 @@ 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 QPainter 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 QPixmap::xForm(). .PP The QWMatrix class contains a 3x3 matrix of the form: .nf @@ -235,9 +235,9 @@ Here's the same example using basic matrix operations: .br .fi .PP -QPainter 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 QPainter::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 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. .PP -See also QPainter::setWorldMatrix(), QPixmap::xForm(), Graphics Classes, and Image Processing Classes. +See also TQPainter::setWorldMatrix(), QPixmap::xForm(), Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" .SH "QWMatrix::TransformationMode" |