summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QEventLoop.java
blob: 22d5a810847378f8efbfebce89d5e68a047cb43a (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QEventLoopSignals} for signals emitted by QEventLoop
*/
public class QEventLoop extends QObject  {
	protected QEventLoop(Class dummy){super((Class) null);}
	public static final int AllEvents = 0x00;
	public static final int ExcludeUserInput = 0x01;
	public static final int ExcludeSocketNotifiers = 0x02;
	public static final int WaitForMore = 0x04;

	public native QMetaObject metaObject();
	public native String className();
	public QEventLoop(QObject parent, String name) {
		super((Class) null);
		newQEventLoop(parent,name);
	}
	private native void newQEventLoop(QObject parent, String name);
	public QEventLoop(QObject parent) {
		super((Class) null);
		newQEventLoop(parent);
	}
	private native void newQEventLoop(QObject parent);
	public QEventLoop() {
		super((Class) null);
		newQEventLoop();
	}
	private native void newQEventLoop();
	public native void processEvents(int flags, int maxtime);
	public native boolean processEvents(int flags);
	public native boolean hasPendingEvents();
	public native void registerSocketNotifier(QSocketNotifier arg1);
	public native void unregisterSocketNotifier(QSocketNotifier arg1);
	public native void setSocketNotifierPending(QSocketNotifier arg1);
	public native int activateSocketNotifiers();
	public native int activateTimers();
	public native int timeToWait();
	public native int exec();
	public native void exit(int retcode);
	public native void exit();
	public native int enterLoop();
	public native void exitLoop();
	public native int loopLevel();
	public native void wakeUp();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	/** 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();
}