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

import org.trinitydesktop.qt.TQt;

public class TQPicture extends TQPaintDevice  {
	protected TQPicture(Class dummy){super((Class) null);}
	public TQPicture(int formatVersion) {
		super((Class) null);
		newTQPicture(formatVersion);
	}
	private native void newTQPicture(int formatVersion);
	public TQPicture() {
		super((Class) null);
		newTQPicture();
	}
	private native void newTQPicture();
	public TQPicture(TQPicture arg1) {
		super((Class) null);
		newTQPicture(arg1);
	}
	private native void newTQPicture(TQPicture arg1);
	public native boolean isNull();
	public native int size();
	public native String data();
	public native void setData(String data, int size);
	public native boolean play(TQPainter arg1);
	public native boolean load(TQIODeviceInterface dev, String format);
	public native boolean load(TQIODeviceInterface dev);
	public native boolean load(String fileName, String format);
	public native boolean load(String fileName);
	public native boolean save(TQIODeviceInterface dev, String format);
	public native boolean save(TQIODeviceInterface dev);
	public native boolean save(String fileName, String format);
	public native boolean save(String fileName);
	public native TQRect boundingRect();
	public native void setBoundingRect(TQRect r);
	// bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED
	protected native int metric(int arg1);
	public native void detach();
	public native TQPicture copy();
	/** 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();
}
