diff options
Diffstat (limited to 'sip/qt/qpaintdevice.sip')
-rw-r--r-- | sip/qt/qpaintdevice.sip | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/sip/qt/qpaintdevice.sip b/sip/qt/qpaintdevice.sip index dc2ad64..80a2765 100644 --- a/sip/qt/qpaintdevice.sip +++ b/sip/qt/qpaintdevice.sip @@ -40,34 +40,6 @@ Not implemented. %End -%If (- TQt_2_00) - -// Painter device types. - -const int PDT_UNDEF; -const int PDT_WIDGET; -const int PDT_PIXMAP; -const int PDT_PRINTER; -const int PDT_PICTURE; -const int PDT_MASK; - -// Painter device flags. - -const int PDF_EXTDEV; -const int PDF_PAINTACTIVE; - - -void bitBlt(TQPaintDevice *,int,int,const TQPaintDevice *,int = 0,int = 0, - int = -1,int = -1,RasterOp = CopyROP,bool = 0); -void bitBlt(TQPaintDevice *,int,int,const TQImage *,int = 0,int = 0,int = -1, - int = -1,int = 0); -void bitBlt(TQPaintDevice *,const TQPoint &,const TQPaintDevice *, - const TQRect & = TQRect(0,0,-1,-1),RasterOp = CopyROP,bool = 0); - -%End - -%If (TQt_2_00 -) - 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, @@ -76,8 +48,6 @@ void bitBlt(TQPaintDevice *,const TQPoint &,const TQPaintDevice *, const TQRect & = TQRect(0,0,-1,-1),TQt::RasterOp = TQt::CopyROP, bool = 0); -%End - class TQPaintDevice { @@ -90,44 +60,17 @@ public: bool isExtDev() const; bool paintingActive() const; -%If (TQt_3_0_0 -) virtual void setResolution(int); virtual int resolution() const; -%End - -%If (- TQt_2_00) - HANDLE handle() const; -%If (WS_X11) - Display *x11Display() const; - static int x11Screen(); - static int x11Depth(); - static int x11Cells(); - static HANDLE x11Colormap(); - static bool x11DefaultColormap(); - static void *x11Visual(); - static bool x11DefaultVisual(); -%End -%End -%If (TQt_2_00 -) %If (WS_X11) -%If (- TQt_3_0_0) - HANDLE handle() const; -%End -%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 (- TQt_3_0_0) - HANDLE x11Colormap() const; -%End -%If (TQt_3_0_0 -) TQt::HANDLE x11Colormap() const; -%End bool x11DefaultColormap() const; void *x11Visual() const; bool x11DefaultVisual() const; @@ -137,26 +80,16 @@ public: static int x11AppDpiX(); static int x11AppDpiY(); -%If (TQt_2_1_0 -) static void x11SetAppDpiX(int); static void x11SetAppDpiY(int); -%End static int x11AppDepth(); static int x11AppCells(); -%If (TQt_3_1_0 -) static TQt::HANDLE x11AppRootWindow(); -%End -%If (TQt_3_0_0 -) static TQt::HANDLE x11AppColormap(); -%End -%If (- TQt_3_0_0) - static HANDLE x11AppColormap(); -%End static bool x11AppDefaultColormap(); static void *x11AppVisual(); static bool x11AppDefaultVisual(); -%If (TQt_3_1_0 -) static int x11AppDepth(int); static int x11AppCells(int); static TQt::HANDLE x11AppRootWindow(int); @@ -169,7 +102,6 @@ public: static void x11SetAppDpiX(int,int); static void x11SetAppDpiY(int,int); %End -%End enum PDevCmd { @@ -188,21 +120,14 @@ public: PdcDrawLineSegments, PdcDrawPolyline, PdcDrawPolygon, -%If (TQt_3_0_0 -) PdcDrawCubicBezier, -%End -%If (- TQt_3_0_0) - PdcDrawQuadBezier, -%End PdcDrawText, PdcDrawTextFormatted, PdcDrawPixmap, PdcDrawImage, PdcDrawText2, PdcDrawText2Formatted, -%If (TQt_3_2_0 -) PdcDrawTextItem, -%End PdcDrawLast, PdcBegin, @@ -233,8 +158,6 @@ public: PdcReservedStop }; -%End - protected: TQPaintDevice(uint); // virtual bool cmd(int,TQPainter *,TQPDevCmdParam *); |