summaryrefslogtreecommitdiffstats
path: root/sip/qt/qpainter.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qpainter.sip')
-rw-r--r--sip/qt/qpainter.sip440
1 files changed, 220 insertions, 220 deletions
diff --git a/sip/qt/qpainter.sip b/sip/qt/qpainter.sip
index f9b1fca..5d42678 100644
--- a/sip/qt/qpainter.sip
+++ b/sip/qt/qpainter.sip
@@ -1,29 +1,29 @@
-// This is the SIP interface definition for QPainter.
+// This is the SIP interface definition for TQPainter.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// This file is part of PyQt.
+// This file is part of PyTQt.
//
-// This copy of PyQt is free software; you can redistribute it and/or modify it
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
-// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
-// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%ExportedDoc
-<Sect2><Title>QPainter</Title>
+<Sect2><Title>TQPainter</Title>
<FuncSynopsis>
- <FuncDef>QRect <Function>boundingRect</Function></FuncDef>
+ <FuncDef>TQRect <Function>boundingRect</Function></FuncDef>
<ParamDef>int <Parameter>x</Parameter></ParamDef>
<ParamDef>int <Parameter>y</Parameter></ParamDef>
<ParamDef>int <Parameter>w</Parameter></ParamDef>
@@ -38,8 +38,8 @@ The <Literal>intern</Literal> parameter is not supported.
</Para>
<FuncSynopsis>
- <FuncDef>QRect <Function>boundingRect</Function></FuncDef>
- <ParamDef>const QRect&</ParamDef>
+ <FuncDef>TQRect <Function>boundingRect</Function></FuncDef>
+ <ParamDef>const TQRect&</ParamDef>
<ParamDef>int <Parameter>flags</Parameter></ParamDef>
<ParamDef>const char *<Parameter>str</Parameter></ParamDef>
<ParamDef>int <Parameter>len</Parameter> = -1</ParamDef>
@@ -58,7 +58,7 @@ The <Literal>intern</Literal> parameter is not supported.
<ParamDef>int <Parameter>flags</Parameter></ParamDef>
<ParamDef>const char *<Parameter>str</Parameter></ParamDef>
<ParamDef>int <Parameter>len</Parameter> = -1</ParamDef>
- <ParamDef>QRect *<Parameter>br</Parameter> = 0</ParamDef>
+ <ParamDef>TQRect *<Parameter>br</Parameter> = 0</ParamDef>
<ParamDef>char **<Parameter>intern</Parameter> = 0</ParamDef>
</FuncSynopsis>
<Para>
@@ -67,11 +67,11 @@ The <Literal>intern</Literal> parameter is not supported.
<FuncSynopsis>
<FuncDef>void <Function>drawText</Function></FuncDef>
- <ParamDef>const QRect&</ParamDef>
+ <ParamDef>const TQRect&</ParamDef>
<ParamDef>int <Parameter>flags</Parameter></ParamDef>
<ParamDef>const char *<Parameter>str</Parameter></ParamDef>
<ParamDef>int <Parameter>len</Parameter> = -1</ParamDef>
- <ParamDef>QRect *<Parameter>br</Parameter> = 0</ParamDef>
+ <ParamDef>TQRect *<Parameter>br</Parameter> = 0</ParamDef>
<ParamDef>char **<Parameter>intern</Parameter> = 0</ParamDef>
</FuncSynopsis>
<Para>
@@ -97,7 +97,7 @@ This returns a list of tab stops.
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
%ModuleHeaderCode
#include <qpainter.h>
@@ -118,67 +118,67 @@ enum PaintUnit {
};
-class QPainter
+class TQPainter
{
%TypeHeaderCode
#include <qpainter.h>
%End
public:
- QPainter();
- QPainter(const QPaintDevice *);
- QPainter(const QPaintDevice *,const QWidget *);
+ TQPainter();
+ TQPainter(const TQPaintDevice *);
+ TQPainter(const TQPaintDevice *,const TQWidget *);
- bool begin(const QPaintDevice *);
- bool begin(const QPaintDevice *,const QWidget *);
+ bool begin(const TQPaintDevice *);
+ bool begin(const TQPaintDevice *,const TQWidget *);
bool end();
- QPaintDevice *device() const;
+ TQPaintDevice *device() const;
- static void redirect(QPaintDevice *,QPaintDevice *);
-%If (Qt_3_2_0 -)
- static QPaintDevice *redirect(QPaintDevice *);
+ static void redirect(TQPaintDevice *,TQPaintDevice *);
+%If (TQt_3_2_0 -)
+ static TQPaintDevice *redirect(TQPaintDevice *);
%End
bool isActive() const;
void flush();
void save();
void restore();
- QFontMetrics fontMetrics() const;
- QFontInfo fontInfo() const;
- const QFont &font() const;
- void setFont(const QFont&);
- const QPen &pen() const;
- void setPen(const QPen &);
+ TQFontMetrics fontMetrics() const;
+ TQFontInfo fontInfo() const;
+ const TQFont &font() const;
+ void setFont(const TQFont&);
+ const TQPen &pen() const;
+ void setPen(const TQPen &);
void setPen(PenStyle);
- void setPen(const QColor &);
- const QBrush &brush() const;
- void setBrush(const QBrush &);
+ void setPen(const TQColor &);
+ const TQBrush &brush() const;
+ void setBrush(const TQBrush &);
void setBrush(BrushStyle);
- void setBrush(const QColor &);
- const QColor &backgroundColor() const;
- void setBackgroundColor(const QColor &);
+ void setBrush(const TQColor &);
+ const TQColor &backgroundColor() const;
+ void setBackgroundColor(const TQColor &);
BGMode backgroundMode() const;
void setBackgroundMode(BGMode);
RasterOp rasterOp() const;
void setRasterOp(RasterOp);
- const QPoint &brushOrigin() const;
+ const TQPoint &brushOrigin() const;
void setBrushOrigin(int,int);
- void setBrushOrigin(const QPoint &);
+ void setBrushOrigin(const TQPoint &);
bool hasViewXForm() const;
bool hasWorldXForm() const;
void setViewXForm(bool);
- QRect window() const;
- void setWindow(const QRect &);
+ TQRect window() const;
+ void setWindow(const TQRect &);
void setWindow(int,int,int,int);
- QRect viewport() const;
- void setViewport(const QRect &);
+ TQRect viewport() const;
+ void setViewport(const TQRect &);
void setViewport(int,int,int,int);
void setWorldXForm(bool);
- const QWMatrix &worldMatrix() const;
- void setWorldMatrix(const QWMatrix &,bool = 0);
+ const TQWMatrix &worldMatrix() const;
+ void setWorldMatrix(const TQWMatrix &,bool = 0);
void scale(float,float);
void shear(float,float);
@@ -187,75 +187,75 @@ public:
void translate(float,float);
void resetXForm();
- QPoint xForm(QPoint &) const;
- QRect xForm(QRect &) const;
- QPointArray xForm(QPointArray &) const;
- QPointArray xForm(QPointArray &,int,int) const;
- QPoint xFormDev(QPoint &) const;
- QRect xFormDev(QRect &) const;
- QPointArray xFormDev(QPointArray &) const;
- QPointArray xFormDev(QPointArray &,int,int) const;
+ TQPoint xForm(TQPoint &) const;
+ TQRect xForm(TQRect &) const;
+ TQPointArray xForm(TQPointArray &) const;
+ TQPointArray xForm(TQPointArray &,int,int) const;
+ TQPoint xFormDev(TQPoint &) const;
+ TQRect xFormDev(TQRect &) const;
+ TQPointArray xFormDev(TQPointArray &) const;
+ TQPointArray xFormDev(TQPointArray &,int,int) const;
void setClipping(bool);
bool hasClipping() const;
- const QRegion &clipRegion() const;
- void setClipRect(const QRect &);
+ const TQRegion &clipRegion() const;
+ void setClipRect(const TQRect &);
void setClipRect(int,int,int,int);
- void setClipRegion(const QRegion &);
+ void setClipRegion(const TQRegion &);
void drawPoint(int,int);
- void drawPoint(const QPoint &);
- void drawPoints(const QPointArray &,int,int = -1);
+ void drawPoint(const TQPoint &);
+ void drawPoints(const TQPointArray &,int,int = -1);
void moveTo(int,int);
- void moveTo(const QPoint &);
+ void moveTo(const TQPoint &);
void lineTo(int,int);
- void lineTo(const QPoint &);
+ void lineTo(const TQPoint &);
void drawLine(int,int,int,int);
- void drawLine(const QPoint &,const QPoint &);
+ void drawLine(const TQPoint &,const TQPoint &);
void drawRect(int,int,int,int);
- void drawRect(const QRect &);
+ void drawRect(const TQRect &);
void drawWinFocusRect(int,int,int,int);
- void drawWinFocusRect(int,int,int,int,const QColor &);
- void drawWinFocusRect(const QRect &);
- void drawWinFocusRect(const QRect &,const QColor &);
+ void drawWinFocusRect(int,int,int,int,const TQColor &);
+ void drawWinFocusRect(const TQRect &);
+ void drawWinFocusRect(const TQRect &,const TQColor &);
void drawRoundRect(int,int,int,int,int,int);
- void drawRoundRect(const QRect &,int,int);
+ void drawRoundRect(const TQRect &,int,int);
void drawEllipse(int,int,int,int);
- void drawEllipse(const QRect &);
+ void drawEllipse(const TQRect &);
void drawArc(int,int,int,int,int,int);
- void drawArc(const QRect &,int,int);
+ void drawArc(const TQRect &,int,int);
void drawPie(int,int,int,int,int,int);
- void drawPie(const QRect &,int,int);
+ void drawPie(const TQRect &,int,int);
void drawChord(int,int,int,int,int,int);
- void drawChord(const QRect &,int,int);
- void drawLineSegments(const QPointArray &,int = 0,int = -1);
- void drawPolyline(const QPointArray &,int = 0,int = -1);
- void drawPolygon(const QPointArray &,bool = 0,int = 0,int = -1);
- void drawQuadBezier(const QPointArray &,int = 0);
- void drawPixmap(int,int,const QPixmap &,int = 0,int = 0,int = -1,int = -1);
- void drawPixmap(const QPoint &,const QPixmap &,const QRect &);
- void drawPixmap(const QPoint &,const QPixmap &);
- void drawImage(int,int,const QImage &,int = 0,int = 0,int = -1,int = -1);
- void drawImage(const QPoint &,const QImage &,const QRect &);
- void drawImage(const QPoint &,const QImage &);
- void drawTiledPixmap(int,int,int,int,const QPixmap &,int = 0,int = 0);
- void drawTiledPixmap(const QRect &,const QPixmap &,const QPoint &);
- void drawTiledPixmap(const QRect &,const QPixmap &);
- void drawPicture(const QPicture &);
- void fillRect(int,int,int,int,const QBrush &);
- void fillRect(const QRect &,const QBrush &);
+ void drawChord(const TQRect &,int,int);
+ void drawLineSegments(const TQPointArray &,int = 0,int = -1);
+ void drawPolyline(const TQPointArray &,int = 0,int = -1);
+ void drawPolygon(const TQPointArray &,bool = 0,int = 0,int = -1);
+ void drawQuadBezier(const TQPointArray &,int = 0);
+ void drawPixmap(int,int,const TQPixmap &,int = 0,int = 0,int = -1,int = -1);
+ void drawPixmap(const TQPoint &,const TQPixmap &,const TQRect &);
+ void drawPixmap(const TQPoint &,const TQPixmap &);
+ void drawImage(int,int,const TQImage &,int = 0,int = 0,int = -1,int = -1);
+ void drawImage(const TQPoint &,const TQImage &,const TQRect &);
+ void drawImage(const TQPoint &,const TQImage &);
+ void drawTiledPixmap(int,int,int,int,const TQPixmap &,int = 0,int = 0);
+ void drawTiledPixmap(const TQRect &,const TQPixmap &,const TQPoint &);
+ void drawTiledPixmap(const TQRect &,const TQPixmap &);
+ void drawPicture(const TQPicture &);
+ void fillRect(int,int,int,int,const TQBrush &);
+ void fillRect(const TQRect &,const TQBrush &);
void eraseRect(int,int,int,int);
- void eraseRect(const QRect &);
+ void eraseRect(const TQRect &);
void drawText(int,int,char *,int = -1);
- void drawText(const QPoint &,const char *,int = -1);
- void drawText(int,int,int,int,int,const char *,int = -1,QRect * = 0);
- void drawText(const QRect &,int,const char *,int = -1,QRect * = 0);
+ void drawText(const TQPoint &,const char *,int = -1);
+ void drawText(int,int,int,int,int,const char *,int = -1,TQRect * = 0);
+ void drawText(const TQRect &,int,const char *,int = -1,TQRect * = 0);
-%If (Qt_3_2_0 -)
- void drawTextItem(int,int,const QTextItem &,int = 0);
- void drawTextItem(const QPoint &,const QTextItem &,int = 0);
+%If (TQt_3_2_0 -)
+ void drawTextItem(int,int,const TQTextItem &,int = 0);
+ void drawTextItem(const TQPoint &,const TQTextItem &,int = 0);
%End
- QRect boundingRect(int,int,int,int,int,const char *,int = -1);
- QRect boundingRect(const QRect &,int,const char *,int = -1);
+ TQRect boundingRect(int,int,int,int,int,const char *,int = -1);
+ TQRect boundingRect(const TQRect &,int,const char *,int = -1);
int tabStops() const;
void setTabStops(int);
@@ -344,101 +344,101 @@ public:
static void cleanup();
private:
- QPainter(const QPainter &);
+ TQPainter(const TQPainter &);
};
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-class QPainter : Qt
+class TQPainter : TQt
{
%TypeHeaderCode
#include <qpainter.h>
%End
public:
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
enum CoordinateMode {
CoordDevice,
CoordPainter
};
%End
- QPainter();
-%If (- Qt_3_0_0)
- QPainter(const QPaintDevice *);
- QPainter(const QPaintDevice *,const QWidget *);
+ TQPainter();
+%If (- TQt_3_0_0)
+ TQPainter(const TQPaintDevice *);
+ TQPainter(const TQPaintDevice *,const TQWidget *);
%End
-%If (Qt_3_0_0 -)
- QPainter(const QPaintDevice *,bool = 0);
- QPainter(const QPaintDevice *,const QWidget *,bool = 0);
+%If (TQt_3_0_0 -)
+ TQPainter(const TQPaintDevice *,bool = 0);
+ TQPainter(const TQPaintDevice *,const TQWidget *,bool = 0);
%End
-%If (- Qt_3_0_0)
- bool begin(const QPaintDevice *);
- bool begin(const QPaintDevice *,const QWidget *);
+%If (- TQt_3_0_0)
+ bool begin(const TQPaintDevice *);
+ bool begin(const TQPaintDevice *,const TQWidget *);
%End
-%If (Qt_3_0_0 -)
- bool begin(const QPaintDevice *,bool = 0);
- bool begin(const QPaintDevice *,const QWidget *,bool = 0);
+%If (TQt_3_0_0 -)
+ bool begin(const TQPaintDevice *,bool = 0);
+ bool begin(const TQPaintDevice *,const TQWidget *,bool = 0);
%End
bool end();
- QPaintDevice *device() const;
+ TQPaintDevice *device() const;
- static void redirect(QPaintDevice *,QPaintDevice *);
+ static void redirect(TQPaintDevice *,TQPaintDevice *);
bool isActive() const;
-%If (Qt_3_0_0 -)
- void flush(const QRegion &,CoordinateMode = CoordDevice);
+%If (TQt_3_0_0 -)
+ void flush(const TQRegion &,CoordinateMode = CoordDevice);
%End
void flush();
void save();
void restore();
- QFontMetrics fontMetrics() const;
- QFontInfo fontInfo() const;
+ TQFontMetrics fontMetrics() const;
+ TQFontInfo fontInfo() const;
- const QFont &font() const;
- void setFont(const QFont&);
- const QPen &pen() const;
- void setPen(const QPen &);
+ const TQFont &font() const;
+ void setFont(const TQFont&);
+ const TQPen &pen() const;
+ void setPen(const TQPen &);
void setPen(PenStyle);
- void setPen(const QColor &);
- const QBrush &brush() const;
- void setBrush(const QBrush &);
+ void setPen(const TQColor &);
+ const TQBrush &brush() const;
+ void setBrush(const TQBrush &);
void setBrush(BrushStyle);
- void setBrush(const QColor &);
-%If (Qt_2_1_0 -)
- // The omission of this from Qt/Embedded is probably a bug.
+ void setBrush(const TQColor &);
+%If (TQt_2_1_0 -)
+ // The omission of this from TQt/Embedded is probably a bug.
%End
- const QColor &backgroundColor() const;
- void setBackgroundColor(const QColor &);
+ const TQColor &backgroundColor() const;
+ void setBackgroundColor(const TQColor &);
BGMode backgroundMode() const;
void setBackgroundMode(BGMode);
RasterOp rasterOp() const;
void setRasterOp(RasterOp);
- const QPoint &brushOrigin() const;
+ const TQPoint &brushOrigin() const;
void setBrushOrigin(int,int);
- void setBrushOrigin(const QPoint &);
+ void setBrushOrigin(const TQPoint &);
bool hasViewXForm() const;
bool hasWorldXForm() const;
-%If (Qt_TRANSFORMATIONS)
+%If (TQt_TRANSFORMATIONS)
void setViewXForm(bool);
- QRect window() const;
- void setWindow(const QRect &);
+ TQRect window() const;
+ void setWindow(const TQRect &);
void setWindow(int,int,int,int);
- QRect viewport() const;
- void setViewport(const QRect &);
+ TQRect viewport() const;
+ void setViewport(const TQRect &);
void setViewport(int,int,int,int);
void setWorldXForm(bool);
- const QWMatrix &worldMatrix() const;
- void setWorldMatrix(const QWMatrix &,bool = 0);
+ const TQWMatrix &worldMatrix() const;
+ void setWorldMatrix(const TQWMatrix &,bool = 0);
void saveWorldMatrix();
void restoreWorldMatrix();
@@ -449,113 +449,113 @@ public:
%End
void translate(double,double);
void resetXForm();
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
double translationX() const;
double translationY() const;
%End
- QPoint xForm(const QPoint &) const;
- QRect xForm(const QRect &) const;
- QPointArray xForm(const QPointArray &) const;
- QPointArray xForm(const QPointArray &,int,int) const;
- QPoint xFormDev(const QPoint &) const;
- QRect xFormDev(const QRect &) const;
- QPointArray xFormDev(const QPointArray &) const;
- QPointArray xFormDev(const QPointArray &,int,int) const;
+ TQPoint xForm(const TQPoint &) const;
+ TQRect xForm(const TQRect &) const;
+ TQPointArray xForm(const TQPointArray &) const;
+ TQPointArray xForm(const TQPointArray &,int,int) const;
+ TQPoint xFormDev(const TQPoint &) const;
+ TQRect xFormDev(const TQRect &) const;
+ TQPointArray xFormDev(const TQPointArray &) const;
+ TQPointArray xFormDev(const TQPointArray &,int,int) const;
void setClipping(bool);
bool hasClipping() const;
-%If (- Qt_3_0_0)
- const QRegion &clipRegion() const;
- void setClipRect(const QRect &);
+%If (- TQt_3_0_0)
+ const TQRegion &clipRegion() const;
+ void setClipRect(const TQRect &);
void setClipRect(int,int,int,int);
- void setClipRegion(const QRegion &);
+ void setClipRegion(const TQRegion &);
%End
-%If (Qt_3_0_0 -)
- QRegion clipRegion(CoordinateMode = CoordDevice) const;
- void setClipRect(const QRect &,CoordinateMode = CoordDevice);
+%If (TQt_3_0_0 -)
+ TQRegion clipRegion(CoordinateMode = CoordDevice) const;
+ void setClipRect(const TQRect &,CoordinateMode = CoordDevice);
void setClipRect(int,int,int,int,CoordinateMode = CoordDevice);
- void setClipRegion(const QRegion &,CoordinateMode = CoordDevice);
+ void setClipRegion(const TQRegion &,CoordinateMode = CoordDevice);
%End
void drawPoint(int,int);
- void drawPoint(const QPoint &);
- void drawPoints(const QPointArray &,int,int = -1);
+ void drawPoint(const TQPoint &);
+ void drawPoints(const TQPointArray &,int,int = -1);
void moveTo(int,int);
- void moveTo(const QPoint &);
+ void moveTo(const TQPoint &);
void lineTo(int,int);
- void lineTo(const QPoint &);
+ void lineTo(const TQPoint &);
void drawLine(int,int,int,int);
- void drawLine(const QPoint &,const QPoint &);
+ void drawLine(const TQPoint &,const TQPoint &);
void drawRect(int,int,int,int);
- void drawRect(const QRect &);
+ void drawRect(const TQRect &);
void drawWinFocusRect(int,int,int,int);
- void drawWinFocusRect(int,int,int,int,const QColor &);
- void drawWinFocusRect(const QRect &);
- void drawWinFocusRect(const QRect &,const QColor &);
-%If (- Qt_3_0_0)
+ void drawWinFocusRect(int,int,int,int,const TQColor &);
+ void drawWinFocusRect(const TQRect &);
+ void drawWinFocusRect(const TQRect &,const TQColor &);
+%If (- TQt_3_0_0)
void drawRoundRect(int,int,int,int,int,int);
- void drawRoundRect(const QRect &,int,int);
+ void drawRoundRect(const TQRect &,int,int);
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
void drawRoundRect(int,int,int,int,int = 25,int = 25);
- void drawRoundRect(const QRect &,int = 25,int = 25);
+ void drawRoundRect(const TQRect &,int = 25,int = 25);
%End
void drawEllipse(int,int,int,int);
- void drawEllipse(const QRect &);
+ void drawEllipse(const TQRect &);
void drawArc(int,int,int,int,int,int);
- void drawArc(const QRect &,int,int);
+ void drawArc(const TQRect &,int,int);
void drawPie(int,int,int,int,int,int);
- void drawPie(const QRect &,int,int);
+ void drawPie(const TQRect &,int,int);
void drawChord(int,int,int,int,int,int);
- void drawChord(const QRect &,int,int);
- void drawLineSegments(const QPointArray &,int = 0,int = -1);
- void drawPolyline(const QPointArray &,int = 0,int = -1);
- void drawPolygon(const QPointArray &,bool = 0,int = 0,int = -1);
-%If (- Qt_3_0_0)
- void drawQuadBezier(const QPointArray &,int = 0);
-%End
-%If (Qt_3_0_0 -)
- void drawConvexPolygon(const QPointArray &,int = 0,int = -1);
- void drawCubicBezier(const QPointArray &,int = 0);
-%End
- void drawPixmap(int,int,const QPixmap &,int = 0,int = 0,int = -1,
+ void drawChord(const TQRect &,int,int);
+ void drawLineSegments(const TQPointArray &,int = 0,int = -1);
+ void drawPolyline(const TQPointArray &,int = 0,int = -1);
+ void drawPolygon(const TQPointArray &,bool = 0,int = 0,int = -1);
+%If (- TQt_3_0_0)
+ void drawQuadBezier(const TQPointArray &,int = 0);
+%End
+%If (TQt_3_0_0 -)
+ void drawConvexPolygon(const TQPointArray &,int = 0,int = -1);
+ void drawCubicBezier(const TQPointArray &,int = 0);
+%End
+ void drawPixmap(int,int,const TQPixmap &,int = 0,int = 0,int = -1,
int = -1);
- void drawPixmap(const QPoint &,const QPixmap &,const QRect &);
- void drawPixmap(const QPoint &,const QPixmap &);
-%If (Qt_3_0_0 -)
- void drawPixmap(const QRect &,const QPixmap &);
+ void drawPixmap(const TQPoint &,const TQPixmap &,const TQRect &);
+ void drawPixmap(const TQPoint &,const TQPixmap &);
+%If (TQt_3_0_0 -)
+ void drawPixmap(const TQRect &,const TQPixmap &);
%End
-%If (- Qt_3_0_0)
- void drawImage(int,int,const QImage &,int = 0,int = 0,int = -1,
+%If (- TQt_3_0_0)
+ void drawImage(int,int,const TQImage &,int = 0,int = 0,int = -1,
int = -1);
- void drawImage(const QPoint &,const QImage &,const QRect &);
- void drawImage(const QPoint &,const QImage &);
+ void drawImage(const TQPoint &,const TQImage &,const TQRect &);
+ void drawImage(const TQPoint &,const TQImage &);
%End
-%If (Qt_3_0_0 -)
- void drawImage(int,int,const QImage &,int = 0,int = 0,int = -1,
+%If (TQt_3_0_0 -)
+ void drawImage(int,int,const TQImage &,int = 0,int = 0,int = -1,
int = -1,int = 0);
- void drawImage(const QPoint &,const QImage &,const QRect &,int = 0);
- void drawImage(const QPoint &,const QImage &,int = 0);
- void drawImage(const QRect &,const QImage &);
+ void drawImage(const TQPoint &,const TQImage &,const TQRect &,int = 0);
+ void drawImage(const TQPoint &,const TQImage &,int = 0);
+ void drawImage(const TQRect &,const TQImage &);
%End
- void drawTiledPixmap(int,int,int,int,const QPixmap &,int = 0,int = 0);
- void drawTiledPixmap(const QRect &,const QPixmap &,const QPoint &);
- void drawTiledPixmap(const QRect &,const QPixmap &);
-%If (Qt_PICTURE)
- void drawPicture(const QPicture &);
-%If (Qt_3_0_0 -)
- void drawPicture(int,int,const QPicture &);
- void drawPicture(const QPoint &,const QPicture &);
+ void drawTiledPixmap(int,int,int,int,const TQPixmap &,int = 0,int = 0);
+ void drawTiledPixmap(const TQRect &,const TQPixmap &,const TQPoint &);
+ void drawTiledPixmap(const TQRect &,const TQPixmap &);
+%If (TQt_PICTURE)
+ void drawPicture(const TQPicture &);
+%If (TQt_3_0_0 -)
+ void drawPicture(int,int,const TQPicture &);
+ void drawPicture(const TQPoint &,const TQPicture &);
%End
%End
- void fillRect(int,int,int,int,const QBrush &);
- void fillRect(const QRect &,const QBrush &);
+ void fillRect(int,int,int,int,const TQBrush &);
+ void fillRect(const TQRect &,const TQBrush &);
void eraseRect(int,int,int,int);
- void eraseRect(const QRect &);
+ void eraseRect(const TQRect &);
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
enum TextDirection {
Auto,
RTL,
@@ -563,23 +563,23 @@ public:
};
%End
-%If (- Qt_3_0_0)
- void drawText(int,int,const QString &,int = -1);
- void drawText(const QPoint &,const QString &,int = -1);
+%If (- TQt_3_0_0)
+ void drawText(int,int,const TQString &,int = -1);
+ void drawText(const TQPoint &,const TQString &,int = -1);
%End
-%If (Qt_3_0_0 -)
- void drawText(int,int,const QString &,int = -1,TextDirection = Auto);
- void drawText(const QPoint &,const QString &,int = -1,
+%If (TQt_3_0_0 -)
+ void drawText(int,int,const TQString &,int = -1,TextDirection = Auto);
+ void drawText(const TQPoint &,const TQString &,int = -1,
TextDirection = Auto);
- void drawText(int,int,const QString &,int,int,TextDirection = Auto);
- void drawText(const QPoint &,const QString &,int,int,
+ void drawText(int,int,const TQString &,int,int,TextDirection = Auto);
+ void drawText(const TQPoint &,const TQString &,int,int,
TextDirection = Auto);
%End
- void drawText(int,int,int,int,int,const QString &,int = -1,QRect * = 0);
- void drawText(const QRect &,int,const QString &,int = -1,QRect * = 0);
+ void drawText(int,int,int,int,int,const TQString &,int = -1,TQRect * = 0);
+ void drawText(const TQRect &,int,const TQString &,int = -1,TQRect * = 0);
- QRect boundingRect(int,int,int,int,int,const QString &,int = -1);
- QRect boundingRect(const QRect &,int,const QString &,int = -1);
+ TQRect boundingRect(int,int,int,int,int,const TQString &,int = -1);
+ TQRect boundingRect(const TQRect &,int,const TQString &,int = -1);
int tabStops() const;
void setTabStops(int);
@@ -670,7 +670,7 @@ public:
static void cleanup();
private:
- QPainter(const QPainter &);
+ TQPainter(const TQPainter &);
};
%End