summaryrefslogtreecommitdiffstats
path: root/src/common/gui/purl_ext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/gui/purl_ext.cpp')
-rw-r--r--src/common/gui/purl_ext.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/common/gui/purl_ext.cpp b/src/common/gui/purl_ext.cpp
index df657a7..8e4a255 100644
--- a/src/common/gui/purl_ext.cpp
+++ b/src/common/gui/purl_ext.cpp
@@ -27,8 +27,8 @@ bool PURL::Url::copyTo(const Url &destination, Log::Generic &log) const
// }
//#else
// do not overwrite
- bool ok = KIO::NetAccess::file_copy(_url, destination._url, -1, false, false, tqApp->mainWidget());
- if ( !ok ) log.sorry(i18n("Could not copy file"), KIO::NetAccess::lastErrorString());
+ bool ok = TDEIO::NetAccess::file_copy(_url, destination._url, -1, false, false, tqApp->mainWidget());
+ if ( !ok ) log.sorry(i18n("Could not copy file"), TDEIO::NetAccess::lastErrorString());
return ok;
//#endif
}
@@ -44,12 +44,12 @@ bool PURL::Url::create(Log::Generic &log) const
// }
//#else
// assume file do no exist if ioslave cannot tell...
- if ( KIO::NetAccess::exists(_url, false, tqApp->mainWidget()) ) return true;
+ if ( TDEIO::NetAccess::exists(_url, false, tqApp->mainWidget()) ) return true;
KTempFile tmp;
tmp.setAutoDelete(true);
// do not overwrite
- bool ok = KIO::NetAccess::file_copy(tmp.name(), _url, -1, false, false, tqApp->mainWidget());
- if ( !ok ) log.sorry(i18n("Could not create file"), KIO::NetAccess::lastErrorString());
+ bool ok = TDEIO::NetAccess::file_copy(tmp.name(), _url, -1, false, false, tqApp->mainWidget());
+ if ( !ok ) log.sorry(i18n("Could not create file"), TDEIO::NetAccess::lastErrorString());
//#endif
return ok;
}
@@ -71,8 +71,8 @@ bool PURL::Url::del(Log::Generic &log) const
// return false;
// }
//#else
- bool ok = KIO::NetAccess::del(_url, tqApp->mainWidget());
- if ( !ok ) log.sorry(i18n("Could not delete file."), KIO::NetAccess::lastErrorString());
+ bool ok = TDEIO::NetAccess::del(_url, tqApp->mainWidget());
+ if ( !ok ) log.sorry(i18n("Could not delete file."), TDEIO::NetAccess::lastErrorString());
return ok;
//#endif
}
@@ -103,9 +103,9 @@ bool PURL::Directory::create(Log::Generic &log) const
// }
//#else
// assume dir do no exist if ioslave cannot tell...
- if ( KIO::NetAccess::exists(_url, false, tqApp->mainWidget()) ) return true;
- bool ok = KIO::NetAccess::mkdir(_url, tqApp->mainWidget());
- if ( !ok ) log.sorry(i18n("Could not create directory"), KIO::NetAccess::lastErrorString());
+ if ( TDEIO::NetAccess::exists(_url, false, tqApp->mainWidget()) ) return true;
+ bool ok = TDEIO::NetAccess::mkdir(_url, tqApp->mainWidget());
+ if ( !ok ) log.sorry(i18n("Could not create directory"), TDEIO::NetAccess::lastErrorString());
//#endif
return ok;
}