diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /korganizer/eventarchiver.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'korganizer/eventarchiver.cpp')
-rw-r--r-- | korganizer/eventarchiver.cpp | 8 |
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 ) { |