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