summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter/mymoneytemplate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/converter/mymoneytemplate.cpp')
-rw-r--r--kmymoney2/converter/mymoneytemplate.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/converter/mymoneytemplate.cpp b/kmymoney2/converter/mymoneytemplate.cpp
index 553e682..191474f 100644
--- a/kmymoney2/converter/mymoneytemplate.cpp
+++ b/kmymoney2/converter/mymoneytemplate.cpp
@@ -67,11 +67,11 @@ bool MyMoneyTemplate::loadTemplate(const KURL& url)
} else {
bool rc;
- rc = KIO::NetAccess::download(url, filename, tqApp->mainWidget());
+ rc = TDEIO::NetAccess::download(url, filename, tqApp->mainWidget());
if(!rc) {
KMessageBox::detailedError(tqApp->mainWidget(),
i18n("Error while loading file '%1'!").arg(url.url()),
- KIO::NetAccess::lastErrorString(),
+ TDEIO::NetAccess::lastErrorString(),
i18n("File access error"));
return false;
}
@@ -105,7 +105,7 @@ bool MyMoneyTemplate::loadTemplate(const KURL& url)
// if a temporary file was constructed by NetAccess::download,
// then it will be removed with the next call. Otherwise, it
// stays untouched on the local filesystem
- KIO::NetAccess::removeTempFile(filename);
+ TDEIO::NetAccess::removeTempFile(filename);
return rc;
}
@@ -403,7 +403,7 @@ bool MyMoneyTemplate::saveTemplate(const KURL& url)
} else {
KTempFile tmpfile;
saveToLocalFile(tmpfile.file());
- if(!KIO::NetAccess::upload(tmpfile.name(), url, NULL))
+ if(!TDEIO::NetAccess::upload(tmpfile.name(), url, NULL))
throw new MYMONEYEXCEPTION(i18n("Unable to upload to '%1'").arg(url.url()));
tmpfile.unlink();
}