summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQEventLoop.java
blob: 956c4d381e8b8c0a5871b5d0f696a7021c4e940e (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 TQEventLoopSignals} for signals emitted by TQEventLoop
*/
public class TQEventLoop extends TQObject  {
	protected TQEventLoop(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 TQMetaObject metaObject();
	public native String className();
	public TQEventLoop(TQObject parent, String name) {
		super((Class) null);
		newTQEventLoop(parent,name);
	}
	private native void newTQEventLoop(TQObject parent, String name);
	public TQEventLoop(TQObject parent) {
		super((Class) null);
		newTQEventLoop(parent);
	}
	private native void newTQEventLoop(TQObject parent);
	public TQEventLoop() {
		super((Class) null);
		newTQEventLoop();
	}
	private native void newTQEventLoop();
	public native void processEvents(int flags, int maxtime);
	public native boolean processEvents(int flags);
	public native boolean hasPendingEvents();
	public native void registerSocketNotifier(TQSocketNotifier arg1);
	public native void unregisterSocketNotifier(TQSocketNotifier arg1);
	public native void setSocketNotifierPending(TQSocketNotifier 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();
}