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

import org.trinitydesktop.qt.TQt;

public class TQMovie implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQMovie(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 TQMovie() {
		newTQMovie();
	}
	private native void newTQMovie();
	public TQMovie(int bufsize) {
		newTQMovie(bufsize);
	}
	private native void newTQMovie(int bufsize);
	public TQMovie(TQDataSource arg1, int bufsize) {
		newTQMovie(arg1,bufsize);
	}
	private native void newTQMovie(TQDataSource arg1, int bufsize);
	public TQMovie(TQDataSource arg1) {
		newTQMovie(arg1);
	}
	private native void newTQMovie(TQDataSource arg1);
	public TQMovie(String fileName, int bufsize) {
		newTQMovie(fileName,bufsize);
	}
	private native void newTQMovie(String fileName, int bufsize);
	public TQMovie(String fileName) {
		newTQMovie(fileName);
	}
	private native void newTQMovie(String fileName);
	public TQMovie(byte[] data, int bufsize) {
		newTQMovie(data,bufsize);
	}
	private native void newTQMovie(byte[] data, int bufsize);
	public TQMovie(byte[] data) {
		newTQMovie(data);
	}
	private native void newTQMovie(byte[] data);
	public TQMovie(TQMovie arg1) {
		newTQMovie(arg1);
	}
	private native void newTQMovie(TQMovie arg1);
	public native int pushSpace();
	public native void pushData(char[] data, int length);
	public native TQColor backgroundColor();
	public native void setBackgroundColor(TQColor arg1);
	public native TQRect getValidRect();
	public native TQPixmap framePixmap();
	public native TQImage 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(TQObject receiver, String member);
	public native void disconnectResize(TQObject receiver, String member);
	public native void disconnectResize(TQObject receiver);
	public native void connectUpdate(TQObject receiver, String member);
	public native void disconnectUpdate(TQObject receiver, String member);
	public native void disconnectUpdate(TQObject receiver);
	public native void connectStatus(TQObject receiver, String member);
	public native void disconnectStatus(TQObject receiver, String member);
	public native void disconnectStatus(TQObject 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();
}
