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