//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.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();
}
