Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QSessionManager.RestartHint

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QSessionManager.RestartHint

All Implemented Interfaces:
  QtEnumerator, java.io.Serializable, java.lang.Comparable

Enclosing class:
  QSessionManager

    public static final class QSessionManager.RestartHint

extends java.lang.Enum
implements QtEnumerator

This enum type defines the circumstances under which this application wants to be restarted by the session manager. The current values are The default hint is `RestartIfRunning`.

See Also:
  Serialized Form

Field Summary
`static QSessionManager.RestartHint` | `RestartAnyway` the application wants to be started at the start of the next session, no matter what.
`static QSessionManager.RestartHint` | `RestartIfRunning` if the application is still running when the session is shut down, it wants to be restarted at the start of the next session.
`static QSessionManager.RestartHint` | `RestartImmediately` the application wants to be started immediately whenever it is not running.
`static QSessionManager.RestartHint` | `RestartNever` the application does not want to be restarted automatically.

Method Summary
`static QSessionManager.RestartHint` | `resolve(int value)` Returns the RestartHint constant with the specified `int`.
`int` | `value()` This function should return an integer value for the enum values of the enumeration that implements this interface.
`static QSessionManager.RestartHint` | `valueOf(java.lang.String name)`
`static QSessionManager.RestartHint[]` | `values()`

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### RestartIfRunning

    public static final QSessionManager.RestartHint RestartIfRunning

  if the application is still running when the session is shut down, it wants to be restarted at the start of the next session.

### RestartAnyway

    public static final QSessionManager.RestartHint RestartAnyway

  the application wants to be started at the start of the next session, no matter what. (This is useful for utilities that run just after startup and then quit.)

### RestartImmediately

    public static final QSessionManager.RestartHint RestartImmediately

  the application wants to be started immediately whenever it is not running.

### RestartNever

    public static final QSessionManager.RestartHint RestartNever

  the application does not want to be restarted automatically.

Method Detail

### values

    public static QSessionManager.RestartHint[] values()

### valueOf

    public static QSessionManager.RestartHint valueOf(java.lang.String name)

### value

    public int value()

  This function should return an integer value for the enum values of the enumeration that implements this interface.

  Specified by:
    `value` in interface `QtEnumerator`

### resolve

    public static QSessionManager.RestartHint resolve(int value)

  Returns the RestartHint constant with the specified `int`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD