summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQSound.java
blob: 6d710cc1bd469ceb83031dce5220779016e45b56 (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.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();
}