summaryrefslogtreecommitdiffstats
path: root/kate/app/katesession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/app/katesession.cpp')
-rw-r--r--kate/app/katesession.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/kate/app/katesession.cpp b/kate/app/katesession.cpp
index 51d52b7c3..74c348833 100644
--- a/kate/app/katesession.cpp
+++ b/kate/app/katesession.cpp
@@ -22,7 +22,7 @@
#include "katemainwindow.h"
#include "katedocmanager.h"
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdelocale.h>
#include <kdebug.h>
#include <kdirwatch.h>
@@ -101,7 +101,7 @@ KateSession::KateSession(const KateSession &session, const TQString &newSessionN
createFilename();
if (session.m_config)
{
- m_config = new KSimpleConfig(m_filename);
+ m_config = new TDESimpleConfig(m_filename);
session.m_config->copyTo(m_filename, m_config);
m_config->sync();
}
@@ -139,7 +139,7 @@ void KateSession::load(bool includeGUIInfo)
if (TDEGlobal::dirs()->exists(m_filename))
{
// Create config object if the session file already exists
- m_config = new KSimpleConfig(m_filename, m_readOnly);
+ m_config = new TDESimpleConfig(m_filename, m_readOnly);
m_config->setGroup(KS_GENERAL);
// Session general properties
m_sessionName = m_config->readEntry(KS_NAME, i18n(KS_UNNAMED));
@@ -211,7 +211,7 @@ void KateSession::save(bool saveGUIInfo, bool setReadOnly)
// save session config info
if (!m_config)
{
- m_config = new KSimpleConfig(m_filename);
+ m_config = new TDESimpleConfig(m_filename);
}
if (m_config->hasGroup(KS_GENERAL))
@@ -342,7 +342,7 @@ KateSessionManager::KateSessionManager() :
if (TDEGlobal::dirs()->exists(m_configFile))
{
// Read new style configuration (from TDE R14.1.0)
- m_config = new KSimpleConfig(m_configFile);
+ m_config = new TDESimpleConfig(m_configFile);
m_config->setGroup(KSM_SESSIONS_LIST);
sessionsCount = m_config->readNumEntry(KSM_SESSIONS_COUNT, 0);
m_lastSessionId = m_config->readNumEntry(KSM_LAST_SESSION_ID, INVALID_SESSION);
@@ -503,7 +503,7 @@ void KateSessionManager::saveConfig(bool saveSessions)
if (!m_config)
{
- m_config = new KSimpleConfig(m_configFile);
+ m_config = new TDESimpleConfig(m_configFile);
}
if (m_config->hasGroup(KSM_SESSIONS_LIST))
{
@@ -847,8 +847,8 @@ KateSessionChooser::KateSessionChooser(TQWidget *parent)
m_listview->setSorting(-1);
m_listview->setResizeMode(TQListView::LastColumn);
- connect (m_listview, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()));
- connect (m_listview, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotUser2()));
+ connect (m_listview, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()));
+ connect (m_listview, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotUser2()));
TQPtrList<KateSession> &sessions = KateSessionManager::self()->getSessionsList();
for (int idx = sessions.count()-1; idx >= 0; --idx)
@@ -897,5 +897,3 @@ void KateSessionChooser::slotSelectionChanged()
//END KateSessionChooser
#include "katesession.moc"
-
-// kate: space-indent on; indent-width 2; replace-tabs on; mixed-indent off;