From 151a9ebb248b018d3036f7da2f58f404851917d6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:13:26 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/common/gui/pfile_ext.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/common/gui/pfile_ext.cpp') 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; } -- cgit v1.2.3