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

import org.kde.qt.Qt;

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

	public static final int SourceEmpty = -2;
	public static final int UnrecognizedFormat = -1;
	public static final int Paused = 1;
	public static final int EndOfFrame = 2;
	public static final int EndOfLoop = 3;
	public static final int EndOfMovie = 4;
	public static final int SpeedChanged = 5;

	public QMovie() {
		newQMovie();
	}
	private native void newQMovie();
	public QMovie(int bufsize) {
		newQMovie(bufsize);
	}
	private native void newQMovie(int bufsize);
	public QMovie(QDataSource arg1, int bufsize) {
		newQMovie(arg1,bufsize);
	}
	private native void newQMovie(QDataSource arg1, int bufsize);
	public QMovie(QDataSource arg1) {
		newQMovie(arg1);
	}
	private native void newQMovie(QDataSource arg1);
	public QMovie(String fileName, int bufsize) {
		newQMovie(fileName,bufsize);
	}
	private native void newQMovie(String fileName, int bufsize);
	public QMovie(String fileName) {
		newQMovie(fileName);
	}
	private native void newQMovie(String fileName);
	public QMovie(byte[] data, int bufsize) {
		newQMovie(data,bufsize);
	}
	private native void newQMovie(byte[] data, int bufsize);
	public QMovie(byte[] data) {
		newQMovie(data);
	}
	private native void newQMovie(byte[] data);
	public QMovie(QMovie arg1) {
		newQMovie(arg1);
	}
	private native void newQMovie(QMovie arg1);
	public native int pushSpace();
	public native void pushData(char[] data, int length);
	public native QColor backgroundColor();
	public native void setBackgroundColor(QColor arg1);
	public native QRect getValidRect();
	public native QPixmap framePixmap();
	public native QImage frameImage();
	public native boolean isNull();
	public native int frameNumber();
	public native int steps();
	public native boolean paused();
	public native boolean finished();
	public native boolean running();
	public native void unpause();
	public native void pause();
	public native void step();
	public native void step(int arg1);
	public native void restart();
	public native int speed();
	public native void setSpeed(int arg1);
	public native void connectResize(QObject receiver, String member);
	public native void disconnectResize(QObject receiver, String member);
	public native void disconnectResize(QObject receiver);
	public native void connectUpdate(QObject receiver, String member);
	public native void disconnectUpdate(QObject receiver, String member);
	public native void disconnectUpdate(QObject receiver);
	public native void connectStatus(QObject receiver, String member);
	public native void disconnectStatus(QObject receiver, String member);
	public native void disconnectStatus(QObject receiver);
	/** 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();
}
