summaryrefslogtreecommitdiffstats
path: root/src/common/gui/pfile_ext.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:13:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:13:26 -0600
commit151a9ebb248b018d3036f7da2f58f404851917d6 (patch)
tree7583d97e0a0fbed7e158846ed2b4db54152492ae /src/common/gui/pfile_ext.cpp
parentbd55e01bc4764c5daa84bf46db6978d43898d619 (diff)
downloadpiklab-151a9ebb248b018d3036f7da2f58f404851917d6.tar.gz
piklab-151a9ebb248b018d3036f7da2f58f404851917d6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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;
}