diff options
Diffstat (limited to 'sip/qt/qpaintdevice.sip')
-rw-r--r-- | sip/qt/qpaintdevice.sip | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/sip/qt/qpaintdevice.sip b/sip/qt/qpaintdevice.sip index 52b78f2..89bddbb 100644 --- a/sip/qt/qpaintdevice.sip +++ b/sip/qt/qpaintdevice.sip @@ -1,32 +1,32 @@ -// This is the SIP interface definition for QPaintDevice. +// This is the SIP interface definition for TQPaintDevice. // // 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>QPaintDevice</Title> +<Sect2><Title>TQPaintDevice</Title> <FuncSynopsis> <FuncDef>virtual bool <Function>cmd</Function></FuncDef> <ParamDef>int</ParamDef> - <ParamDef>QPainter *</ParamDef> - <ParamDef>QPDevCmdParam *</ParamDef> + <ParamDef>TQPainter *</ParamDef> + <ParamDef>TQPDevCmdParam *</ParamDef> </FuncSynopsis> <Para> Not implemented. @@ -40,7 +40,7 @@ Not implemented. %End -%If (- Qt_2_00) +%If (- TQt_2_00) // Painter device types. @@ -57,29 +57,29 @@ const int PDF_EXTDEV; const int PDF_PAINTACTIVE; -void bitBlt(QPaintDevice *,int,int,const QPaintDevice *,int = 0,int = 0, +void bitBlt(TQPaintDevice *,int,int,const TQPaintDevice *,int = 0,int = 0, int = -1,int = -1,RasterOp = CopyROP,bool = 0); -void bitBlt(QPaintDevice *,int,int,const QImage *,int = 0,int = 0,int = -1, +void bitBlt(TQPaintDevice *,int,int,const TQImage *,int = 0,int = 0,int = -1, int = -1,int = 0); -void bitBlt(QPaintDevice *,const QPoint &,const QPaintDevice *, - const QRect & = QRect(0,0,-1,-1),RasterOp = CopyROP,bool = 0); +void bitBlt(TQPaintDevice *,const TQPoint &,const TQPaintDevice *, + const TQRect & = TQRect(0,0,-1,-1),RasterOp = CopyROP,bool = 0); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) -void bitBlt(QPaintDevice *,int,int,const QPaintDevice *,int = 0,int = 0, - int = -1,int = -1,Qt::RasterOp = Qt::CopyROP,bool = 0); -void bitBlt(QPaintDevice *,int,int,const QImage *,int = 0,int = 0,int = -1, +void bitBlt(TQPaintDevice *,int,int,const TQPaintDevice *,int = 0,int = 0, + int = -1,int = -1,TQt::RasterOp = TQt::CopyROP,bool = 0); +void bitBlt(TQPaintDevice *,int,int,const TQImage *,int = 0,int = 0,int = -1, int = -1,int = 0); -void bitBlt(QPaintDevice *,const QPoint &,const QPaintDevice *, - const QRect & = QRect(0,0,-1,-1),Qt::RasterOp = Qt::CopyROP, +void bitBlt(TQPaintDevice *,const TQPoint &,const TQPaintDevice *, + const TQRect & = TQRect(0,0,-1,-1),TQt::RasterOp = TQt::CopyROP, bool = 0); %End -class QPaintDevice +class TQPaintDevice { %TypeHeaderCode #include <qpaintdevice.h> @@ -90,12 +90,12 @@ public: bool isExtDev() const; bool paintingActive() const; -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) virtual void setResolution(int); virtual int resolution() const; %End -%If (- Qt_2_00) +%If (- TQt_2_00) HANDLE handle() const; %If (WS_X11) Display *x11Display() const; @@ -109,24 +109,24 @@ public: %End %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) %If (WS_X11) -%If (- Qt_3_0_0) +%If (- TQt_3_0_0) HANDLE handle() const; %End -%If (Qt_3_0_0 -) - Qt::HANDLE handle() const; - Qt::HANDLE x11RenderHandle() const; +%If (TQt_3_0_0 -) + TQt::HANDLE handle() const; + TQt::HANDLE x11RenderHandle() const; %End Display *x11Display() const; int x11Screen() const; int x11Depth() const; int x11Cells() const; -%If (- Qt_3_0_0) +%If (- TQt_3_0_0) HANDLE x11Colormap() const; %End -%If (Qt_3_0_0 -) - Qt::HANDLE x11Colormap() const; +%If (TQt_3_0_0 -) + TQt::HANDLE x11Colormap() const; %End bool x11DefaultColormap() const; void *x11Visual() const; @@ -137,30 +137,30 @@ public: static int x11AppDpiX(); static int x11AppDpiY(); -%If (Qt_2_1_0 -) +%If (TQt_2_1_0 -) static void x11SetAppDpiX(int); static void x11SetAppDpiY(int); %End static int x11AppDepth(); static int x11AppCells(); -%If (Qt_3_1_0 -) - static Qt::HANDLE x11AppRootWindow(); +%If (TQt_3_1_0 -) + static TQt::HANDLE x11AppRootWindow(); %End -%If (Qt_3_0_0 -) - static Qt::HANDLE x11AppColormap(); +%If (TQt_3_0_0 -) + static TQt::HANDLE x11AppColormap(); %End -%If (- Qt_3_0_0) +%If (- TQt_3_0_0) static HANDLE x11AppColormap(); %End static bool x11AppDefaultColormap(); static void *x11AppVisual(); static bool x11AppDefaultVisual(); -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) static int x11AppDepth(int); static int x11AppCells(int); - static Qt::HANDLE x11AppRootWindow(int); - static Qt::HANDLE x11AppColormap(int); + static TQt::HANDLE x11AppRootWindow(int); + static TQt::HANDLE x11AppColormap(int); static void *x11AppVisual(int); static bool x11AppDefaultColormap(int); static bool x11AppDefaultVisual(int); @@ -188,10 +188,10 @@ public: PdcDrawLineSegments, PdcDrawPolyline, PdcDrawPolygon, -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) PdcDrawCubicBezier, %End -%If (- Qt_3_0_0) +%If (- TQt_3_0_0) PdcDrawQuadBezier, %End PdcDrawText, @@ -200,7 +200,7 @@ public: PdcDrawImage, PdcDrawText2, PdcDrawText2Formatted, -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) PdcDrawTextItem, %End PdcDrawLast, @@ -236,12 +236,12 @@ public: %End protected: - QPaintDevice(uint); -// virtual bool cmd(int,QPainter *,QPDevCmdParam *); + TQPaintDevice(uint); +// virtual bool cmd(int,TQPainter *,TQPDevCmdParam *); // virtual int metric(int) const; -// virtual int fontMet(QFont *,int,const char *,int = 0) const; -// virtual int fontInf(QFont *,int) const; +// virtual int fontMet(TQFont *,int,const char *,int = 0) const; +// virtual int fontInf(TQFont *,int) const; private: - QPaintDevice(const QPaintDevice &); + TQPaintDevice(const TQPaintDevice &); }; |