summaryrefslogtreecommitdiffstats
path: root/src/common/gui/pfile_ext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/gui/pfile_ext.cpp')
-rw-r--r--src/common/gui/pfile_ext.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/gui/pfile_ext.cpp b/src/common/gui/pfile_ext.cpp
index 080421f..f15baf8 100644
--- a/src/common/gui/pfile_ext.cpp
+++ b/src/common/gui/pfile_ext.cpp
@@ -34,13 +34,13 @@ bool PURL::File::close()
else _file->close();
bool ok = (_tmp ? _tmp->status() : _file->status())==IO_Ok;
if ( !_file->name().isEmpty() ) {
- KIO::NetAccess::removeTempFile(_file->name());
+ TDEIO::NetAccess::removeTempFile(_file->name());
_file->setName(TQString());
}
delete _stream;
_stream = 0;
- if ( ok && _tmp && !_url.isEmpty() && !KIO::NetAccess::upload(_tmp->name(), _url.kurl(), tqApp->mainWidget()) ) {
- _error = KIO::NetAccess::lastErrorString();
+ if ( ok && _tmp && !_url.isEmpty() && !TDEIO::NetAccess::upload(_tmp->name(), _url.kurl(), tqApp->mainWidget()) ) {
+ _error = TDEIO::NetAccess::lastErrorString();
ok = false;
_log.sorry(i18n("Could not save file."), errorString());
}
@@ -53,8 +53,8 @@ bool PURL::File::openForRead()
{
close();
TQString tmp;
- if ( !KIO::NetAccess::download(_url.kurl(), tmp, tqApp->mainWidget()) ) {
- _error = KIO::NetAccess::lastErrorString();
+ if ( !TDEIO::NetAccess::download(_url.kurl(), tmp, tqApp->mainWidget()) ) {
+ _error = TDEIO::NetAccess::lastErrorString();
_log.sorry(i18n("Could not open file for reading."), errorString());
return false;
}