summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QSound.java
blob: eb436d59386191a8894a1fe15eb2745d84a2802e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//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();
}