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

import org.kde.qt.Qt;

public class QPicture extends QPaintDevice  {
	protected QPicture(Class dummy){super((Class) null);}
	public QPicture(int formatVersion) {
		super((Class) null);
		newQPicture(formatVersion);
	}
	private native void newQPicture(int formatVersion);
	public QPicture() {
		super((Class) null);
		newQPicture();
	}
	private native void newQPicture();
	public QPicture(QPicture arg1) {
		super((Class) null);
		newQPicture(arg1);
	}
	private native void newQPicture(QPicture 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(QPainter arg1);
	public native boolean load(QIODeviceInterface dev, String format);
	public native boolean load(QIODeviceInterface dev);
	public native boolean load(String fileName, String format);
	public native boolean load(String fileName);
	public native boolean save(QIODeviceInterface dev, String format);
	public native boolean save(QIODeviceInterface dev);
	public native boolean save(String fileName, String format);
	public native boolean save(String fileName);
	public native QRect boundingRect();
	public native void setBoundingRect(QRect r);
	// bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
	protected native int metric(int arg1);
	public native void detach();
	public native QPicture 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();
}
