diff options
Diffstat (limited to 'src/profileengine/lib/profile.cpp')
-rw-r--r-- | src/profileengine/lib/profile.cpp | 8 |
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); } |