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

import org.kde.qt.Qt;
import java.util.ArrayList;

public class QSessionManager extends QObject  {
	protected QSessionManager(Class dummy){super((Class) null);}
	public static final int RestartIfRunning = 0;
	public static final int RestartAnyway = 1;
	public static final int RestartImmediately = 2;
	public static final int RestartNever = 3;

	public native QMetaObject metaObject();
	public native String className();
	public native String sessionId();
	public native String sessionKey();
	public native boolean allowsInteraction();
	public native boolean allowsErrorInteraction();
	public native void release();
	public native void cancel();
	public native void setRestartHint(int arg1);
	public native int restartHint();
	public native void setRestartCommand(String[] arg1);
	public native ArrayList restartCommand();
	public native void setDiscardCommand(String[] arg1);
	public native ArrayList discardCommand();
	public native void setManagerProperty(String name, String value);
	public native void setManagerProperty(String name, String[] value);
	public native boolean isPhase2();
	public native void requestPhase2();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
}