summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QGLWidget.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QGLWidget.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QGLWidget.java142
1 files changed, 71 insertions, 71 deletions
diff --git a/qtjava/javalib/org/kde/qt/QGLWidget.java b/qtjava/javalib/org/kde/qt/QGLWidget.java
index 83af7d6c..a7d1fe51 100644
--- a/qtjava/javalib/org/kde/qt/QGLWidget.java
+++ b/qtjava/javalib/org/kde/qt/QGLWidget.java
@@ -3,118 +3,118 @@ package org.kde.qt;
import org.kde.qt.Qt;
-public class QGLWidget extends QGL {
- protected QGLWidget(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+public class TQGLWidget extends TQGL {
+ protected TQGLWidget(Class dummy){super((Class) null);}
+ public native TQMetaObject metaObject();
public native String className();
- public QGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f) {
+ public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f) {
super((Class) null);
- newQGLWidget(parent,name,shareWidget,f);
+ newTQGLWidget(parent,name,shareWidget,f);
}
- private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f);
- public QGLWidget(QWidget parent, String name, QGLWidget shareWidget) {
+ private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f);
+ public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget) {
super((Class) null);
- newQGLWidget(parent,name,shareWidget);
+ newTQGLWidget(parent,name,shareWidget);
}
- private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget);
- public QGLWidget(QWidget parent, String name) {
+ private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget);
+ public TQGLWidget(TQWidget parent, String name) {
super((Class) null);
- newQGLWidget(parent,name);
+ newTQGLWidget(parent,name);
}
- private native void newQGLWidget(QWidget parent, String name);
- public QGLWidget(QWidget parent) {
+ private native void newTQGLWidget(TQWidget parent, String name);
+ public TQGLWidget(TQWidget parent) {
super((Class) null);
- newQGLWidget(parent);
+ newTQGLWidget(parent);
}
- private native void newQGLWidget(QWidget parent);
- public QGLWidget() {
+ private native void newTQGLWidget(TQWidget parent);
+ public TQGLWidget() {
super((Class) null);
- newQGLWidget();
+ newTQGLWidget();
}
- private native void newQGLWidget();
- public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f) {
+ private native void newTQGLWidget();
+ public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f) {
super((Class) null);
- newQGLWidget(context,parent,name,shareWidget,f);
+ newTQGLWidget(context,parent,name,shareWidget,f);
}
- private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f);
- public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget) {
+ private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f);
+ public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget) {
super((Class) null);
- newQGLWidget(context,parent,name,shareWidget);
+ newTQGLWidget(context,parent,name,shareWidget);
}
- private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget);
- public QGLWidget(QGLContext context, QWidget parent, String name) {
+ private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget);
+ public TQGLWidget(TQGLContext context, TQWidget parent, String name) {
super((Class) null);
- newQGLWidget(context,parent,name);
+ newTQGLWidget(context,parent,name);
}
- private native void newQGLWidget(QGLContext context, QWidget parent, String name);
- public QGLWidget(QGLContext context, QWidget parent) {
+ private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name);
+ public TQGLWidget(TQGLContext context, TQWidget parent) {
super((Class) null);
- newQGLWidget(context,parent);
+ newTQGLWidget(context,parent);
}
- private native void newQGLWidget(QGLContext context, QWidget parent);
- public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f) {
+ private native void newTQGLWidget(TQGLContext context, TQWidget parent);
+ public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f) {
super((Class) null);
- newQGLWidget(format,parent,name,shareWidget,f);
+ newTQGLWidget(format,parent,name,shareWidget,f);
}
- private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f);
- public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget) {
+ private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f);
+ public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget) {
super((Class) null);
- newQGLWidget(format,parent,name,shareWidget);
+ newTQGLWidget(format,parent,name,shareWidget);
}
- private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget);
- public QGLWidget(QGLFormat format, QWidget parent, String name) {
+ private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget);
+ public TQGLWidget(TQGLFormat format, TQWidget parent, String name) {
super((Class) null);
- newQGLWidget(format,parent,name);
+ newTQGLWidget(format,parent,name);
}
- private native void newQGLWidget(QGLFormat format, QWidget parent, String name);
- public QGLWidget(QGLFormat format, QWidget parent) {
+ private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name);
+ public TQGLWidget(TQGLFormat format, TQWidget parent) {
super((Class) null);
- newQGLWidget(format,parent);
+ newTQGLWidget(format,parent);
}
- private native void newQGLWidget(QGLFormat format, QWidget parent);
- public QGLWidget(QGLFormat format) {
+ private native void newTQGLWidget(TQGLFormat format, TQWidget parent);
+ public TQGLWidget(TQGLFormat format) {
super((Class) null);
- newQGLWidget(format);
+ newTQGLWidget(format);
}
- private native void newQGLWidget(QGLFormat format);
- public native void qglColor(QColor c);
- public native void qglClearColor(QColor c);
+ private native void newTQGLWidget(TQGLFormat format);
+ public native void qglColor(TQColor c);
+ public native void qglClearColor(TQColor c);
public native boolean isValid();
public native boolean isSharing();
public native void makeCurrent();
public native void doneCurrent();
public native boolean doubleBuffer();
public native void swapBuffers();
- public native QGLFormat format();
- public native void setFormat(QGLFormat format);
- public native QGLContext context();
- public native void setContext(QGLContext context, QGLContext shareContext, boolean deleteOldContext);
- public native void setContext(QGLContext context, QGLContext shareContext);
- public native void setContext(QGLContext context);
- public native QPixmap renderPixmap(int w, int h, boolean useContext);
- public native QPixmap renderPixmap(int w, int h);
- public native QPixmap renderPixmap(int w);
- public native QPixmap renderPixmap();
- public native QImage grabFrameBuffer(boolean withAlpha);
- public native QImage grabFrameBuffer();
+ public native TQGLFormat format();
+ public native void setFormat(TQGLFormat format);
+ public native TQGLContext context();
+ public native void setContext(TQGLContext context, TQGLContext shareContext, boolean deleteOldContext);
+ public native void setContext(TQGLContext context, TQGLContext shareContext);
+ public native void setContext(TQGLContext context);
+ public native TQPixmap renderPixmap(int w, int h, boolean useContext);
+ public native TQPixmap renderPixmap(int w, int h);
+ public native TQPixmap renderPixmap(int w);
+ public native TQPixmap renderPixmap();
+ public native TQImage grabFrameBuffer(boolean withAlpha);
+ public native TQImage grabFrameBuffer();
public native void makeOverlayCurrent();
- public native QGLContext overlayContext();
+ public native TQGLContext overlayContext();
public native void setMouseTracking(boolean enable);
- public native void reparent(QWidget parent, int f, QPoint p, boolean showIt);
- public native void reparent(QWidget parent, int f, QPoint p);
- public native QGLColormap colormap();
- public native void setColormap(QGLColormap map);
- public native void renderText(int x, int y, String str, QFont fnt, int listBase);
- public native void renderText(int x, int y, String str, QFont fnt);
+ public native void reparent(TQWidget parent, int f, TQPoint p, boolean showIt);
+ public native void reparent(TQWidget parent, int f, TQPoint p);
+ public native TQGLColormap colormap();
+ public native void setColormap(TQGLColormap map);
+ public native void renderText(int x, int y, String str, TQFont fnt, int listBase);
+ public native void renderText(int x, int y, String str, TQFont fnt);
public native void renderText(int x, int y, String str);
- public native void renderText(double x, double y, double z, String str, QFont fnt, int listBase);
- public native void renderText(double x, double y, double z, String str, QFont fnt);
+ public native void renderText(double x, double y, double z, String str, TQFont fnt, int listBase);
+ public native void renderText(double x, double y, double z, String str, TQFont fnt);
public native void renderText(double x, double y, double z, String str);
public native void updateGL();
public native void updateOverlayGL();
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
- public static native QImage convertToGLFormat(QImage img);
+ public static native TQImage convertToGLFormat(TQImage img);
protected native void initializeGL();
protected native void resizeGL(int w, int h);
protected native void paintGL();
@@ -123,8 +123,8 @@ public class QGLWidget extends QGL {
protected native void paintOverlayGL();
protected native void setAutoBufferSwap(boolean on);
protected native boolean autoBufferSwap();
- protected native void paintEvent(QPaintEvent arg1);
- protected native void resizeEvent(QResizeEvent arg1);
+ protected native void paintEvent(TQPaintEvent arg1);
+ protected native void resizeEvent(TQResizeEvent arg1);
protected native void glInit();
protected native void glDraw();
/** Deletes the wrapped C++ instance */