summaryrefslogtreecommitdiffstats
path: root/src/project.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-10-08 00:16:56 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-08 05:14:54 +0200
commit78114a50964bc7bb5d7d99f713bb815ed5a623ef (patch)
tree871f5d697fb8825c02152c43ea0e671319b742cf /src/project.cpp
parent84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (diff)
downloadkscope-78114a50964bc7bb5d7d99f713bb815ed5a623ef.tar.gz
kscope-78114a50964bc7bb5d7d99f713bb815ed5a623ef.zip
Initial TDE conversion
Diffstat (limited to 'src/project.cpp')
-rw-r--r--src/project.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/project.cpp b/src/project.cpp
index 9e72648..2938778 100644
--- a/src/project.cpp
+++ b/src/project.cpp
@@ -28,8 +28,8 @@
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
-#include <kmessagebox.h>
-#include <klocale.h>
+#include <tdemessagebox.h>
+#include <tdelocale.h>
#include "project.h"
#include "kscopeconfig.h"
#include "cscopefrontend.h"
@@ -103,7 +103,7 @@ bool Project::open(const TQString& sPath)
m_fiFileList.setName(sPath + "/cscope.files");
// Open the configuration files
- m_pConf = new KConfig(sPath + "/cscope.proj");
+ m_pConf = new TDEConfig(sPath + "/cscope.proj");
// Verify the configuration file's version is compatible
m_pConf->setGroup("");
@@ -402,7 +402,7 @@ bool Project::create(const TQString& sName, const TQString& sPath,
const Options& opt)
{
// Prepare the project's files
- KConfig conf(sPath + "/cscope.proj");
+ TDEConfig conf(sPath + "/cscope.proj");
// Write the configuration file version
conf.setGroup("");
@@ -420,7 +420,7 @@ bool Project::create(const TQString& sName, const TQString& sPath,
return true;
}
-void Project::writeOptions(KConfig* pConf, const Options& opt)
+void Project::writeOptions(TDEConfig* pConf, const Options& opt)
{
pConf->setGroup("Project");
pConf->writeEntry("RootPath", opt.sSrcRootPath);