summaryrefslogtreecommitdiffstats
path: root/src/profileengine/lib/profile.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 13:53:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 13:53:18 -0600
commit2ecab1a194b0dc551b478820e1aaa3b8713354cc (patch)
treeae4df71ed26f3dc2dd605970d8d455165a1c8ab3 /src/profileengine/lib/profile.cpp
parent549fec618f0b15c9316fc0a5ebe93c2829bc0b1b (diff)
downloadtdevelop-2ecab1a194b0dc551b478820e1aaa3b8713354cc.tar.gz
tdevelop-2ecab1a194b0dc551b478820e1aaa3b8713354cc.zip
Additional renaming of kde to tde
Diffstat (limited to 'src/profileengine/lib/profile.cpp')
-rw-r--r--src/profileengine/lib/profile.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/profileengine/lib/profile.cpp b/src/profileengine/lib/profile.cpp
index 02fe1216..ac30ff87 100644
--- a/src/profileengine/lib/profile.cpp
+++ b/src/profileengine/lib/profile.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2004 by Alexander Dymo <adymo@kdevelop.org> *
+ * Copyright (C) 2004 by Alexander Dymo <adymo@tdevelop.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU Library General Public License as *
@@ -32,7 +32,7 @@ Profile::Profile(Profile *parent, const TQString &name)
if (m_parent)
m_parent->addChildProfile(this);
- TQString profileConfig = locate("data", "kdevelop/profiles" + dirName() + "/profile.config");
+ TQString profileConfig = locate("data", "tdevelop/profiles" + dirName() + "/profile.config");
KConfig config(profileConfig);
config.setGroup("Information");
@@ -83,7 +83,7 @@ TQString Profile::dirName() const
void Profile::save()
{
- TQString profileConfig = locateLocal("data", "kdevelop/profiles" + dirName() + "/profile.config");
+ TQString profileConfig = locateLocal("data", "tdevelop/profiles" + dirName() + "/profile.config");
KConfig config(profileConfig);
config.setGroup("Information");
@@ -165,7 +165,7 @@ bool Profile::hasInEntryList(EntryList &list, TQString value)
bool Profile::remove()
{
- TQStringList dirs = KGlobal::dirs()->findDirs("data", "kdevelop/profiles" + dirName());
+ TQStringList dirs = KGlobal::dirs()->findDirs("data", "tdevelop/profiles" + dirName());
if ((dirs.count() == 1) && dirs[0].startsWith(TQDir::homeDirPath()))
return KIO::NetAccess::del(KURL::fromPathOrURL(dirs[0]), 0);
return false;
@@ -184,7 +184,7 @@ KURL::List Profile::resources(const TQString &nameFilter)
for (TQStringList::const_iterator it = resourceDirs.begin(); it != resourceDirs.end(); ++it)
{
TQString dir = *it;
- dir = dir + "kdevelop/profiles" + dirName();
+ dir = dir + "tdevelop/profiles" + dirName();
TQDir d(dir);
const TQFileInfoList *infoList = d.entryInfoList(nameFilter, TQDir::Files);
@@ -200,6 +200,6 @@ KURL::List Profile::resources(const TQString &nameFilter)
void Profile::addResource(const KURL &url)
{
- TQString saveLocation = KGlobal::dirs()->saveLocation("data", "kdevelop/profiles"+dirName(), true);
+ TQString saveLocation = KGlobal::dirs()->saveLocation("data", "tdevelop/profiles"+dirName(), true);
KIO::NetAccess::file_copy(url, KURL::fromPathOrURL(saveLocation), -1, true);
}