Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QString QApplication::sessionKey (  )  const

Returns the session key in the current session.

If the application has been restored from an earlier session, this key is the same as it was when the previous session ended.

The session key changes with every call of commitData() or saveState().

See also:
isSessionRestored(), sessionId(), commitData(), saveState()

Definition at line 2696 of file qapplication.cpp.

    Q_D(const QApplication);
    return d->session_key;

Generated by  Doxygen 1.6.0   Back to index