diff options
Diffstat (limited to 'sip/qt/qimage.sip')
-rw-r--r-- | sip/qt/qimage.sip | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/sip/qt/qimage.sip b/sip/qt/qimage.sip index 47f44a0..b1628c5 100644 --- a/sip/qt/qimage.sip +++ b/sip/qt/qimage.sip @@ -149,12 +149,7 @@ public: TQImage(); TQImage(int,int,int,int = 0,Endian = IgnoreEndian); TQImage(const TQSize &,int,int = 0,Endian = IgnoreEndian); -%If (- TQt_2_00) - TQImage(const char *,char * = 0); -%End -%If (TQt_2_00 -) TQImage(const TQString &,char * = 0); -%End TQImage(SIP_PYLIST) [(const char **)]; %MethodCode @@ -177,11 +172,8 @@ public: } %End -%If (TQt_2_00 -) TQImage(const TQByteArray &); -%End -%If (TQt_2_1_0 -) TQImage(uchar *,int,int,int,SIP_PYLIST /AllowNone/,int,Endian) [(uchar *,int,int,int,int,TQRgb *,int,Endian)]; %MethodCode // The Python interface takes a list of TQRgb instances. @@ -235,7 +227,6 @@ public: Py_END_ALLOW_THREADS } %End -%End TQImage(const TQImage &); @@ -245,15 +236,8 @@ public: void detach(); TQImage copy() const; TQImage copy(int,int,int,int,int = 0) const; -%If (- TQt_3_0_0) - TQImage copy(TQRect &) const; -%End -%If (TQt_3_0_0 -) TQImage copy(const TQRect &) const; -%End -%If (TQt_3_1_0 -) static TQImage fromMimeSource(const TQString &); -%End bool isNull() const; int width() const; @@ -290,19 +274,13 @@ public: void reset(); void fill(uint); -%If (TQt_2_00 -) void invertPixels(bool = 1); -%End TQImage convertDepth(int) const; // TQImage convertDepthWithPalette(int,TQRgb *,int,int = 0) const; TQImage convertDepth(int,int) const; TQImage convertBitOrder(Endian) const; -%If (- TQt_3_0_0) - TQImage smoothScale(int,int) const; -%End -%If (TQt_3_0_0 -) enum ScaleMode { ScaleFree, ScaleMin, @@ -316,72 +294,33 @@ public: TQImage scaleWidth(int) const; TQImage scaleHeight(int) const; TQImage xForm(const TQWMatrix &) const; -%End -%If (- TQt_2_00) - TQImage createAlphaMask(bool = 0) const; - TQImage createAlphaMask(int) const; -%End -%If (TQt_2_00 -) TQImage createAlphaMask(int = 0) const; -%End TQImage createHeuristicMask(bool = 1) const; -%If (TQt_2_00 -) TQImage mirror() const; -%End -%If (TQt_2_1_0 -) TQImage mirror(bool,bool) const; -%End -%If (TQt_2_00 -) TQImage swapRGB() const; -%End static Endian systemBitOrder(); static Endian systemByteOrder(); -%If (- TQt_2_00) - static const char *imageFormat(const char *); -%End -%If (TQt_2_00 -) static const char *imageFormat(const TQString &); -%End static TQStrList inputFormats(); static TQStrList outputFormats(); -%If (TQt_2_1_0 -) static TQStringList inputFormatList(); static TQStringList outputFormatList(); -%End -%If (- TQt_2_00) - bool load(const char *,const char * = 0); -%End -%If (TQt_2_00 -) bool load(const TQString &,const char * = 0); -%End bool loadFromData(const uchar * /Array/,uint /ArraySize/, const char * = 0); bool loadFromData(TQByteArray,char * = 0); -%If (- TQt_2_00) - bool save(const char *,const char *) const; -%End -%If (TQt_2_00 - TQt_3_0_0) - bool save(const TQString &,const char *) const; -%End -%If (TQt_2_2_0 - TQt_3_0_0) - bool save(const TQString &,const char *,int) const; -%End -%If (TQt_3_0_0 -) bool save(const TQString &,const char *,int = -1) const; -%End -%If (TQt_3_2_0 -) bool save(TQIODevice *,const char *,int = -1) const; -%End bool valid(int,int) const; int pixelIndex(int,int) const; TQRgb pixel(int,int) const; void setPixel(int,int,uint); -%If (TQt_2_1_0 -) int dotsPerMeterX() const; int dotsPerMeterY() const; void setDotsPerMeterX(int); @@ -396,7 +335,6 @@ public: TQString text(const TQImageTextKeyLang &) const; void setText(const char *,const char *,const TQString &); %End -%End }; @@ -413,60 +351,27 @@ class TQImageIO public: TQImageIO(); TQImageIO(TQIODevice *,const char *); -%If (TQt_2_00 -) TQImageIO(const TQString &,const char *); -%End -%If (- TQt_2_00) - TQImageIO(const char *,const char *); -%End const TQImage &image() const; int status() const; const char *format() const; TQIODevice *ioDevice() const; -%If (TQt_2_00 -) TQString fileName() const; -%End -%If (- TQt_2_00) - const char *fileName() const; -%End -%If (TQt_3_0_0 -) int quality() const; -%End -%If (TQt_2_00 -) TQString description() const; -%End -%If (- TQt_2_00) - const char *description() const; -%End const char *parameters() const; -%If (TQt_3_0_0 -) float gamma() const; -%End void setImage(const TQImage &); void setStatus(int); void setFormat(const char *); void setIODevice(TQIODevice *); -%If (TQt_2_00 -) void setFileName(const TQString &); -%End -%If (- TQt_2_00) - void setFileName(const char *); -%End -%If (TQt_3_0_0 -) void setQuality(int); -%End -%If (TQt_2_00 -) void setDescription(const TQString &); -%End -%If (- TQt_2_00) - void setDescription(const char *); -%End void setParameters(const char *); -%If (TQt_3_0_0 -) void setGamma(float); -%End bool read(); bool write(); @@ -484,7 +389,6 @@ private: }; -%If (TQt_2_1_0 -) %If (TQt_IMAGE_TEXT) class TQImageTextKeyLang @@ -502,7 +406,6 @@ public: }; %End -%End %ModuleHeaderCode |