From de91a161b1555bca58c4c30c6367dcc38750ca17 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 23 Oct 2015 17:59:00 +0700 Subject: Populated session panel. Now able to switch session within the new panel. *** NOTE *** In this commit both the old and new session managers are active, therefore funny things occasionally happen. Then won't be the case from the next commit since the old session manager will be disabled. Signed-off-by: Michele Calgaro --- kate/app/kateapp.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'kate/app/kateapp.h') diff --git a/kate/app/kateapp.h b/kate/app/kateapp.h index 2b6c1e2cd..73b9553ee 100644 --- a/kate/app/kateapp.h +++ b/kate/app/kateapp.h @@ -27,6 +27,7 @@ #include class OldKateSessionManager; +class KateSessionManager; class KateAppDCOPIface; namespace Kate { @@ -128,7 +129,8 @@ class KDE_EXPORT KateApp : public TDEApplication * accessor to session manager * @return session manager instance */ - OldKateSessionManager *sessionManager (); + OldKateSessionManager *oldSessionManager (); + KateSessionManager *sessionManager(); /** * window management @@ -222,7 +224,9 @@ class KDE_EXPORT KateApp : public TDEApplication /** * session manager */ - OldKateSessionManager *m_sessionManager; + OldKateSessionManager *m_oldSessionManager; + KateSessionManager *m_sessionManager; + /** * known main windows -- cgit v1.2.1