summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QMovie.java
blob: 6ad290af70e7a1ce0ca0f1fd0ac01dff81ba24c0 (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.kde.qt;

import org.kde.qt.Qt;

public class QMovie implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QMovie(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 QMovie() {
		newQMovie();
	}
	private native void newQMovie();
	public QMovie(int bufsize) {
		newQMovie(bufsize);
	}
	private native void newQMovie(int bufsize);
	public QMovie(QDataSource arg1, int bufsize) {
		newQMovie(arg1,bufsize);
	}
	private native void newQMovie(QDataSource arg1, int bufsize);
	public QMovie(QDataSource arg1) {
		newQMovie(arg1);
	}
	private native void newQMovie(QDataSource arg1);
	public QMovie(String fileName, int bufsize) {
		newQMovie(fileName,bufsize);
	}
	private native void newQMovie(String fileName, int bufsize);
	public QMovie(String fileName) {
		newQMovie(fileName);
	}
	private native void newQMovie(String fileName);
	public QMovie(byte[] data, int bufsize) {
		newQMovie(data,bufsize);
	}
	private native void newQMovie(byte[] data, int bufsize);
	public QMovie(byte[] data) {
		newQMovie(data);
	}
	private native void newQMovie(byte[] data);
	public QMovie(QMovie arg1) {
		newQMovie(arg1);
	}
	private native void newQMovie(QMovie arg1);
	public native int pushSpace();
	public native void pushData(char[] data, int length);
	public native QColor backgroundColor();
	public native void setBackgroundColor(QColor arg1);
	public native QRect getValidRect();
	public native QPixmap framePixmap();
	public native QImage 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(QObject receiver, String member);
	public native void disconnectResize(QObject receiver, String member);
	public native void disconnectResize(QObject receiver);
	public native void connectUpdate(QObject receiver, String member);
	public native void disconnectUpdate(QObject receiver, String member);
	public native void disconnectUpdate(QObject receiver);
	public native void connectStatus(QObject receiver, String member);
	public native void disconnectStatus(QObject receiver, String member);
	public native void disconnectStatus(QObject 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();
}