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

import org.kde.qt.Qt;

public class QSound extends QObject  {
	protected QSound(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public QSound(String filename, QObject parent, String name) {
		super((Class) null);
		newQSound(filename,parent,name);
	}
	private native void newQSound(String filename, QObject parent, String name);
	public QSound(String filename, QObject parent) {
		super((Class) null);
		newQSound(filename,parent);
	}
	private native void newQSound(String filename, QObject parent);
	public QSound(String filename) {
		super((Class) null);
		newQSound(filename);
	}
	private native void newQSound(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();
}
