From 85fc95f346a33173cea107f799cbcff2b92f6dfb Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Tue, 20 Aug 2013 18:14:48 +0200 Subject: Add QPA session manager The QSessionManager doesn't allow customization in platform independent way. The new QPlatformSessionManager aims to change that. Now the QSessionManagerPrivate has a new QPlatformSessionManager member to forward all the calls to QSessionManager's functions. If no platform manager is present, the current behavior is used. QPlatformSessionManager mimics the current QSessionManager behavior. A new factory function has been added to QPlatformIntegration to return a QPlatformSessionManager Task-number: QTBUG-28228 Change-Id: Ida7ac16a8f5303df5014fcb67878170ebdb37203 Reviewed-by: Friedemann Kleint Reviewed-by: Kevin Ottens Reviewed-by: David Faure (KDE) --- src/gui/kernel/qguiapplication_p.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/gui/kernel/qguiapplication_p.h') diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index 79e826f330..7a4a161476 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -234,12 +234,10 @@ public: #ifndef QT_NO_SESSIONMANAGER QSessionManager *session_manager; - QString session_id; - QString session_key; bool is_session_restored; bool is_saving_session; - void commitData(QSessionManager& sm); - void saveState(QSessionManager& sm); + void commitData(); + void saveState(); #endif struct ActiveTouchPointsKey { -- cgit v1.2.3