summaryrefslogtreecommitdiffstats
path: root/sip/qtgl/qgl.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qtgl/qgl.sip')
-rw-r--r--sip/qtgl/qgl.sip24
1 files changed, 1 insertions, 23 deletions
diff --git a/sip/qtgl/qgl.sip b/sip/qtgl/qgl.sip
index b40e630..1d1b080 100644
--- a/sip/qtgl/qgl.sip
+++ b/sip/qtgl/qgl.sip
@@ -48,8 +48,6 @@
%End
-%If (TQt_2_00 -)
-
const int TQGL_VERSION;
const char *TQGL_VERSION_STR;
@@ -140,9 +138,7 @@ class TQGLContext : TQGL
public:
TQGLContext(const TQGLFormat &,TQPaintDevice *);
-%If (TQt_3_2_0 -)
TQGLContext(const TQGLFormat &);
-%End
virtual bool create(const TQGLContext * = 0);
bool isValid() const;
@@ -150,9 +146,7 @@ public:
virtual void reset();
TQGLFormat format() const;
-%If (TQt_3_0_0 -)
TQGLFormat requestedFormat() const;
-%End
virtual void setFormat(const TQGLFormat &);
virtual void makeCurrent();
@@ -178,15 +172,11 @@ protected:
void setWindowCreated(bool);
bool initialized() const;
void setInitialized(bool);
-%If (TQt_3_1_0 -)
void generateFontDisplayLists(const TQFont &,int);
-%End
uint colorIndex(const TQColor &) const;
-%If (TQt_3_2_0 -)
void setValid(bool);
void setDevice(TQPaintDevice *);
-%End
private:
TQGLContext();
@@ -203,10 +193,8 @@ class TQGLWidget : TQWidget, TQGL
public:
TQGLWidget(TQWidget * /TransferThis/ = 0,const char * = 0,
const TQGLWidget * = 0,WFlags = 0);
-%If (TQt_3_2_0 -)
TQGLWidget(TQGLContext * /Transfer/,TQWidget * /TransferThis/ = 0,const char * = 0,
const TQGLWidget * = 0,WFlags = 0);
-%End
TQGLWidget(const TQGLFormat &,TQWidget * /TransferThis/ = 0,
const char * = 0,const TQGLWidget * = 0,WFlags = 0);
@@ -220,9 +208,7 @@ public:
bool isValid() const;
bool isSharing() const;
virtual void makeCurrent();
-%If (TQt_3_2_0 -)
void doneCurrent();
-%End
bool doubleBuffer() const;
virtual void swapBuffers();
@@ -232,9 +218,7 @@ public:
const TQGLContext *context() const;
virtual TQPixmap renderPixmap(int = 0,int = 0,bool = 0);
-%If (TQt_3_0_0 -)
virtual TQImage grabFrameBuffer(bool = 0);
-%End
virtual void makeOverlayCurrent();
const TQGLContext *overlayContext() const;
@@ -243,8 +227,7 @@ public:
void setMouseTracking(bool);
-%If (TQt_3_0_0 -)
- virtual void reparent(TQWidget * /GetWrapper/,WFlags,const TQPoint &,
+ virtual void reparent(TQWidget * /GetWrapper/,WFlags,const TQPoint &,
bool = 0);
%MethodCode
if (sipCpp -> parent() != a0)
@@ -260,14 +243,11 @@ public:
const TQGLColormap &colormap() const;
void setColormap(const TQGLColormap &);
-%End
-%If (TQt_3_1_0 -)
void renderText(int,int,const TQString &,const TQFont & = TQFont(),
int = 2000);
void renderText(double,double,double,const TQString &,
const TQFont & = TQFont(),int = 2000);
-%End
public slots:
virtual void updateGL();
@@ -294,5 +274,3 @@ protected:
private:
TQGLWidget(const TQGLWidget &);
};
-
-%End