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

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

public class TQSessionManager extends TQObject  {
	protected TQSessionManager(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 TQMetaObject 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);
}
