summaryrefslogtreecommitdiffstats
path: root/kate/app/kateapp.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2015-10-23 17:59:00 +0700
committerMichele Calgaro <[email protected]>2015-10-23 17:59:00 +0700
commitde91a161b1555bca58c4c30c6367dcc38750ca17 (patch)
treeec3ebc67b5391bc395a365ca13f267593eb4f9df /kate/app/kateapp.h
parentf0f642f6b23b9a38727944a6db194bf4d16f0377 (diff)
downloadtdebase-de91a161b1555bca58c4c30c6367dcc38750ca17.tar.gz
tdebase-de91a161b1555bca58c4c30c6367dcc38750ca17.zip
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 <[email protected]>
Diffstat (limited to 'kate/app/kateapp.h')
-rw-r--r--kate/app/kateapp.h8
1 files changed, 6 insertions, 2 deletions
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 <tqvaluelist.h>
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