summaryrefslogtreecommitdiffstats
path: root/src/profileengine/lib/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profileengine/lib/profile.cpp')
-rw-r--r--src/profileengine/lib/profile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profileengine/lib/profile.cpp b/src/profileengine/lib/profile.cpp
index 68666f3a..4a75b387 100644
--- a/src/profileengine/lib/profile.cpp
+++ b/src/profileengine/lib/profile.cpp
@@ -165,7 +165,7 @@ bool Profile::hasInEntryList(EntryList &list, TQString value)
bool Profile::remove()
{
- TQStringList dirs = KGlobal::dirs()->findDirs("data", "tdevelop/profiles" + dirName());
+ TQStringList dirs = TDEGlobal::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;
@@ -180,7 +180,7 @@ void Profile::detachFromParent()
KURL::List Profile::resources(const TQString &nameFilter)
{
TQStringList resources;
- TQStringList resourceDirs = KGlobal::dirs()->resourceDirs("data");
+ TQStringList resourceDirs = TDEGlobal::dirs()->resourceDirs("data");
for (TQStringList::const_iterator it = resourceDirs.begin(); it != resourceDirs.end(); ++it)
{
TQString dir = *it;
@@ -200,6 +200,6 @@ KURL::List Profile::resources(const TQString &nameFilter)
void Profile::addResource(const KURL &url)
{
- TQString saveLocation = KGlobal::dirs()->saveLocation("data", "tdevelop/profiles"+dirName(), true);
+ TQString saveLocation = TDEGlobal::dirs()->saveLocation("data", "tdevelop/profiles"+dirName(), true);
KIO::NetAccess::file_copy(url, KURL::fromPathOrURL(saveLocation), -1, true);
}