summaryrefslogtreecommitdiffstats
path: root/src/profileengine
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
commitda1522385e5367bae56b90fac55c4355e475905b (patch)
treebfa432864dbf322feb4ed3a878f1222ee8ea7727 /src/profileengine
parentb9e542d0c805e9adee3a67e44532d5321032e21e (diff)
downloadtdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz
tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/profileengine')
-rw-r--r--src/profileengine/lib/profile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/profileengine/lib/profile.cpp b/src/profileengine/lib/profile.cpp
index 4a75b387..e568313f 100644
--- a/src/profileengine/lib/profile.cpp
+++ b/src/profileengine/lib/profile.cpp
@@ -33,7 +33,7 @@ Profile::Profile(Profile *parent, const TQString &name)
m_parent->addChildProfile(this);
TQString profileConfig = locate("data", "tdevelop/profiles" + dirName() + "/profile.config");
- KConfig config(profileConfig);
+ TDEConfig config(profileConfig);
config.setGroup("Information");
m_genericName = config.readEntry("GenericName");
@@ -84,7 +84,7 @@ TQString Profile::dirName() const
void Profile::save()
{
TQString profileConfig = locateLocal("data", "tdevelop/profiles" + dirName() + "/profile.config");
- KConfig config(profileConfig);
+ TDEConfig config(profileConfig);
config.setGroup("Information");
config.writeEntry("GenericName", m_genericName);
@@ -167,7 +167,7 @@ bool Profile::remove()
{
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 TDEIO::NetAccess::del(KURL::fromPathOrURL(dirs[0]), 0);
return false;
}
@@ -201,5 +201,5 @@ KURL::List Profile::resources(const TQString &nameFilter)
void Profile::addResource(const KURL &url)
{
TQString saveLocation = TDEGlobal::dirs()->saveLocation("data", "tdevelop/profiles"+dirName(), true);
- KIO::NetAccess::file_copy(url, KURL::fromPathOrURL(saveLocation), -1, true);
+ TDEIO::NetAccess::file_copy(url, KURL::fromPathOrURL(saveLocation), -1, true);
}