summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QtUtils.java
blob: dedc0ad5ffece98dad77ba10b5b0a53d2018cce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.kde.qt;

public class QtUtils {

	public interface Compute {
	    public Object run();
	}

	public static native Object execSyncOnGUIThread(Compute c);
	public static native void execSyncOnGUIThread(Runnable r);

	public static native void execAsyncOnGUIThread(Runnable r);

}