summaryrefslogtreecommitdiffstats
path: root/kate/app/kateapp.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-08-14 18:26:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-08-14 18:26:07 +0900
commit2eb61917990c77f0b67ef60a6d60a7fcab3b6ddc (patch)
treec95a51c4920544d24444bee6bfffb4a7874e373d /kate/app/kateapp.cpp
parent192b7af94830ff981760570254cce1a27a81d341 (diff)
downloadtdebase-2eb61917990c77f0b67ef60a6d60a7fcab3b6ddc.tar.gz
tdebase-2eb61917990c77f0b67ef60a6d60a7fcab3b6ddc.zip
Renamed KateSession* --> OldKateSession* (except KateSessionPanel). This is to ease the development and testing of the new KateSession/KateSessionManager code while at the same time preserve session functionality. The OldKateSession* code will be removed once the new code has been fully developed and tested.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/app/kateapp.cpp')
-rw-r--r--kate/app/kateapp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/app/kateapp.cpp b/kate/app/kateapp.cpp
index 9cba61cc6..2f54a8e23 100644
--- a/kate/app/kateapp.cpp
+++ b/kate/app/kateapp.cpp
@@ -75,7 +75,7 @@ KateApp::KateApp (TDECmdLineArgs *args)
m_pluginManager = new KatePluginManager (TQT_TQOBJECT(this));
// session manager up
- m_sessionManager = new KateSessionManager (TQT_TQOBJECT(this));
+ m_sessionManager = new OldKateSessionManager (TQT_TQOBJECT(this));
// application dcop interface
m_obj = new KateAppDCOPIface (this);
@@ -147,7 +147,7 @@ void KateApp::restoreKate ()
// activate again correct session!!!
sessionConfig()->setGroup("General");
TQString lastSession (sessionConfig()->readEntry ("Last Session", "default.katesession"));
- sessionManager()->activateSession (new KateSession (sessionManager(), lastSession, ""), false, false, false);
+ sessionManager()->activateSession (new OldKateSession (sessionManager(), lastSession, ""), false, false, false);
m_docManager->restoreDocumentList (sessionConfig());
@@ -294,7 +294,7 @@ KateDocManager *KateApp::documentManager ()
return m_docManager;
}
-KateSessionManager *KateApp::sessionManager ()
+OldKateSessionManager *KateApp::sessionManager ()
{
return m_sessionManager;
}