summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQMovie.java
blob: 40d7b99ba5755c75cf1597493c5af5c0d2d51468 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

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();
}