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

import org.trinitydesktop.qt.Qt;

public class TQGLColormap implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQGLColormap(Class dummy){}

	public TQGLColormap() {
		newTQGLColormap();
	}
	private native void newTQGLColormap();
	public TQGLColormap(TQGLColormap arg1) {
		newTQGLColormap(arg1);
	}
	private native void newTQGLColormap(TQGLColormap arg1);
	public native boolean isEmpty();
	public native int size();
	public native void detach();
	public native void setEntries(int count, int[] colors, int base);
	public native void setEntries(int count, int[] colors);
	public native void setEntry(int idx, int color);
	public native void setEntry(int idx, TQColor color);
	public native int entryRgb(int idx);
	public native TQColor entryColor(int idx);
	public native int find(int color);
	public native int findNearest(int color);
	/** 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();
}
