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

import org.trinitydesktop.qt.Qt;

public class TQSound extends TQObject  {
	protected TQSound(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQSound(String filename, TQObject parent, String name) {
		super((Class) null);
		newTQSound(filename,parent,name);
	}
	private native void newTQSound(String filename, TQObject parent, String name);
	public TQSound(String filename, TQObject parent) {
		super((Class) null);
		newTQSound(filename,parent);
	}
	private native void newTQSound(String filename, TQObject parent);
	public TQSound(String filename) {
		super((Class) null);
		newTQSound(filename);
	}
	private native void newTQSound(String filename);
	public native int loops();
	public native int loopsRemaining();
	public native void setLoops(int arg1);
	public native String fileName();
	public native boolean isFinished();
	public native void play();
	public native void stop();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public static native boolean isAvailable();
	public static native void play(String filename);
	public static native boolean available();
	/** 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();
}
