summaryrefslogtreecommitdiffstats
path: root/sip/qtcanvas/qcanvas.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qtcanvas/qcanvas.sip')
-rw-r--r--sip/qtcanvas/qcanvas.sip108
1 files changed, 0 insertions, 108 deletions
diff --git a/sip/qtcanvas/qcanvas.sip b/sip/qtcanvas/qcanvas.sip
index fb14a63..21586ee 100644
--- a/sip/qtcanvas/qcanvas.sip
+++ b/sip/qtcanvas/qcanvas.sip
@@ -129,8 +129,6 @@ The <Literal>pixmaps</Literal> argument is a Python list of TQPixmap instances.
%End
-%If (TQt_2_2_0 -)
-
%MappedType TQCanvasItemList
{
%TypeHeaderCode
@@ -229,11 +227,9 @@ public:
sipClass = sipClass_TQCanvasLine;
break;
-#if TQT_VERSION >= 0x030000
case 8:
sipClass = sipClass_TQCanvasSpline;
break;
-#endif
default:
sipClass = 0;
@@ -286,35 +282,14 @@ public:
void hide();
virtual void setVisible(bool);
-%If (- TQt_3_0_0)
- bool visible() const;
-%End
-%If (TQt_3_0_0 -)
bool isVisible() const;
-%End
virtual void setSelected(bool);
-%If (- TQt_3_0_0)
- bool selected() const;
-%End
-%If (TQt_3_0_0 -)
bool isSelected() const;
-%End
virtual void setEnabled(bool);
-%If (- TQt_3_0_0)
- bool enabled() const;
-%End
-%If (TQt_3_0_0 -)
bool isEnabled() const;
-%End
virtual void setActive(bool);
-%If (- TQt_3_0_0)
- bool active() const;
-%End
-%If (TQt_3_0_0 -)
bool isActive() const;
-%End
-%If (TQt_3_0_0 -)
enum RttiValues {
Rtti_Item,
Rtti_Sprite,
@@ -326,7 +301,6 @@ public:
Rtti_Line,
Rtti_Spline
};
-%End
virtual int rtti() const;
@@ -336,9 +310,7 @@ public:
TQCanvas *canvas() const;
protected:
-%If (TQt_3_0_0 -)
void update();
-%End
private:
virtual bool collidesWith(const TQCanvasSprite *,
@@ -409,9 +381,7 @@ public:
int width() const;
int height() const;
TQSize size() const;
-%If (TQt_3_0_0 -)
TQRect rect() const;
-%End
bool onCanvas(int,int) const;
bool onCanvas(const TQPoint &) const;
bool validChunk(int,int) const;
@@ -427,9 +397,7 @@ public:
// virtual void setChangedChunkContaining(int,int);
virtual void setAllChanged();
virtual void setChanged(const TQRect &);
-%If (TQt_3_0_0 -)
virtual void setUnchanged(const TQRect &);
-%End
TQCanvasItemList allItems();
TQCanvasItemList collisions(const TQPoint &) const;
@@ -437,9 +405,7 @@ public:
TQCanvasItemList collisions(const TQPointArray &,const TQCanvasItem *,
bool) const;
-%If (TQt_3_0_0 -)
void drawArea(const TQRect &,TQPainter *,bool = 0);
-%End
virtual void setAdvancePeriod(int);
virtual void setUpdatePeriod(int);
@@ -458,9 +424,7 @@ protected:
virtual void drawForeground(TQPainter &,const TQRect &);
private:
-%If (TQt_3_1_0 -)
TQCanvas(const TQCanvas &);
-%End
};
@@ -471,33 +435,23 @@ class TQCanvasView : TQScrollView
%End
public:
-%If (- TQt_3_0_0)
- TQCanvasView(TQCanvas * = 0,TQWidget * /TransferThis/ = 0,
- const char * = 0,WFlags = 0);
-%End
-%If (TQt_3_0_0 -)
TQCanvasView(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
TQCanvasView(TQCanvas *,TQWidget * /TransferThis/ = 0,const char * = 0,
WFlags = 0);
-%End
TQCanvas* canvas() const;
void setCanvas(TQCanvas *);
-%If (TQt_3_0_0 -)
const TQWMatrix &worldMatrix() const;
const TQWMatrix &inverseWorldMatrix() const;
bool setWorldMatrix(const TQWMatrix &);
-%End
protected:
void drawContents(TQPainter *,int,int,int,int);
TQSize sizeHint() const;
private:
-%If (TQt_3_1_0 -)
TQCanvasView(const TQCanvasView &);
-%End
};
@@ -510,21 +464,14 @@ class TQCanvasPixmap : TQPixmap
public:
TQCanvasPixmap(const TQString &);
TQCanvasPixmap(const TQImage &);
-%If (- TQt_3_0_0)
- TQCanvasPixmap(const TQPixmap &,TQPoint);
-%End
-%If (TQt_3_0_0 -)
TQCanvasPixmap(const TQPixmap &,const TQPoint &);
-%End
int offsetX() const;
int offsetY() const;
void setOffset(int,int);
private:
-%If (TQt_3_1_0 -)
TQCanvasPixmap(const TQCanvasPixmap &);
-%End
};
@@ -537,28 +484,19 @@ class TQCanvasPixmapArray
public:
TQCanvasPixmapArray();
TQCanvasPixmapArray(const TQString &,int = 0);
-%If (- TQt_3_0_0)
- TQCanvasPixmapArray(TQPtrList<TQPixmap>,TQPtrList<TQPoint>);
-%End
-%If (TQt_3_0_0 -)
TQCanvasPixmapArray(TQValueList<TQPixmap>,TQPointArray = TQPointArray());
-%End
bool readPixmaps(const TQString &,int = 0) /ReleaseGIL/;
bool readCollisionMasks(const TQString &) /ReleaseGIL/;
-%If (TQt_3_0_0 -)
bool isValid() const;
-%End
TQCanvasPixmap *image(int) const;
void setImage(int,TQCanvasPixmap * /Transfer/);
uint count() const;
private:
-%If (TQt_3_1_0 -)
TQCanvasPixmapArray(const TQCanvasPixmapArray &);
-%End
};
@@ -577,7 +515,6 @@ public:
virtual void move(double,double,int);
void setFrame(int);
-%If (TQt_3_0_0 -)
enum FrameAnimationType {
Cycle,
Oscillate
@@ -585,22 +522,15 @@ public:
virtual void setFrameAnimation(FrameAnimationType = Cycle,int = 1,
int = 0);
-%End
int frame() const;
int frameCount() const;
-%If (- TQt_3_0_0)
- virtual int rtti() const;
-%End
-%If (TQt_3_0_0 -)
int rtti() const;
-%End
bool collidesWith(const TQCanvasItem *) const;
TQRect boundingRect() const;
-%If (TQt_3_0_0 -)
int width() const;
int height() const;
@@ -621,30 +551,9 @@ public:
void advance(int);
void draw(TQPainter &);
-%End
-
-protected:
-%If (- TQt_3_0_0)
- void draw(TQPainter &);
- int width() const;
- int height() const;
- int absX() const;
- int absY() const;
- int absX2() const;
- int absY2() const;
- int absX(int) const;
- int absY(int) const;
- int absX2(int) const;
- int absY2(int) const;
- TQCanvasPixmap *image() const;
- virtual TQCanvasPixmap *imageAdvanced() const;
- TQCanvasPixmap *image(int) const;
-%End
private:
-%If (TQt_3_1_0 -)
TQCanvasSprite(const TQCanvasSprite &);
-%End
};
@@ -678,10 +587,8 @@ protected:
bool winding() const;
void setWinding(bool);
-%If (TQt_3_1_0 -)
void invalidate();
bool isValid() const;
-%End
};
@@ -735,8 +642,6 @@ protected:
};
-%If (TQt_3_0_0 -)
-
class TQCanvasSpline : TQCanvasPolygon
{
%TypeHeaderCode
@@ -753,8 +658,6 @@ public:
int rtti() const;
};
-%End
-
class TQCanvasLine : TQCanvasPolygonalItem
{
@@ -773,9 +676,7 @@ public:
int rtti() const;
void setPen(TQPen);
-%If (TQt_3_3_0 -)
void moveBy(double,double);
-%End
protected:
void drawShape(TQPainter &);
@@ -838,20 +739,11 @@ public:
bool collidesWith(const TQCanvasItem *) const;
-%If (- TQt_3_0_0)
- virtual int rtti() const;
-%End
-%If (TQt_3_0_0 -)
int rtti() const;
-%End
protected:
virtual void draw(TQPainter &);
private:
-%If (TQt_3_1_0 -)
TQCanvasText(const TQCanvasText &);
-%End
};
-
-%End