summaryrefslogtreecommitdiffstats
path: root/korganizer/eventarchiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/eventarchiver.cpp')
-rw-r--r--korganizer/eventarchiver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/eventarchiver.cpp b/korganizer/eventarchiver.cpp
index 536c37f73..d4afada2f 100644
--- a/korganizer/eventarchiver.cpp
+++ b/korganizer/eventarchiver.cpp
@@ -199,8 +199,8 @@ void EventArchiver::archiveIncidences( Calendar* calendar, const TQDate& /*limit
KURL archiveURL( KOPrefs::instance()->mArchiveFile );
TQString archiveFile;
- if ( KIO::NetAccess::exists( archiveURL, true, widget ) ) {
- if( !KIO::NetAccess::download( archiveURL, archiveFile, widget ) ) {
+ if ( TDEIO::NetAccess::exists( archiveURL, true, widget ) ) {
+ if( !TDEIO::NetAccess::download( archiveURL, archiveFile, widget ) ) {
kdDebug(5850) << "EventArchiver::archiveEvents(): Can't download archive file" << endl;
return;
}
@@ -224,13 +224,13 @@ void EventArchiver::archiveIncidences( Calendar* calendar, const TQDate& /*limit
KURL srcUrl;
srcUrl.setPath(archiveFile);
if (srcUrl != archiveURL) {
- if ( !KIO::NetAccess::upload( archiveFile, archiveURL, widget ) ) {
+ if ( !TDEIO::NetAccess::upload( archiveFile, archiveURL, widget ) ) {
KMessageBox::error(widget,i18n("Cannot write archive to final destination."));
return;
}
}
- KIO::NetAccess::removeTempFile(archiveFile);
+ TDEIO::NetAccess::removeTempFile(archiveFile);
// Delete archived events from calendar
for( it = incidences.begin(); it != incidences.end(); ++it ) {