//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQGLWidget extends TQGL  {
	protected TQGLWidget(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f) {
		super((Class) null);
		newTQGLWidget(parent,name,shareWidget,f);
	}
	private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f);
	public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget) {
		super((Class) null);
		newTQGLWidget(parent,name,shareWidget);
	}
	private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget);
	public TQGLWidget(TQWidget parent, String name) {
		super((Class) null);
		newTQGLWidget(parent,name);
	}
	private native void newTQGLWidget(TQWidget parent, String name);
	public TQGLWidget(TQWidget parent) {
		super((Class) null);
		newTQGLWidget(parent);
	}
	private native void newTQGLWidget(TQWidget parent);
	public TQGLWidget() {
		super((Class) null);
		newTQGLWidget();
	}
	private native void newTQGLWidget();
	public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f) {
		super((Class) null);
		newTQGLWidget(context,parent,name,shareWidget,f);
	}
	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);
		newTQGLWidget(context,parent,name,shareWidget);
	}
	private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget);
	public TQGLWidget(TQGLContext context, TQWidget parent, String name) {
		super((Class) null);
		newTQGLWidget(context,parent,name);
	}
	private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name);
	public TQGLWidget(TQGLContext context, TQWidget parent) {
		super((Class) null);
		newTQGLWidget(context,parent);
	}
	private native void newTQGLWidget(TQGLContext context, TQWidget parent);
	public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f) {
		super((Class) null);
		newTQGLWidget(format,parent,name,shareWidget,f);
	}
	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);
		newTQGLWidget(format,parent,name,shareWidget);
	}
	private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget);
	public TQGLWidget(TQGLFormat format, TQWidget parent, String name) {
		super((Class) null);
		newTQGLWidget(format,parent,name);
	}
	private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name);
	public TQGLWidget(TQGLFormat format, TQWidget parent) {
		super((Class) null);
		newTQGLWidget(format,parent);
	}
	private native void newTQGLWidget(TQGLFormat format, TQWidget parent);
	public TQGLWidget(TQGLFormat format) {
		super((Class) null);
		newTQGLWidget(format);
	}
	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 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 TQGLContext overlayContext();
	public native void setMouseTracking(boolean enable);
	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, 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 TQImage convertToGLFormat(TQImage img);
	protected native void initializeGL();
	protected native void resizeGL(int w, int h);
	protected native void paintGL();
	protected native void initializeOverlayGL();
	protected native void resizeOverlayGL(int w, int h);
	protected native void paintOverlayGL();
	protected native void setAutoBufferSwap(boolean on);
	protected native boolean autoBufferSwap();
	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 */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
