summaryrefslogtreecommitdiffstats
path: root/korganizer/previewdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/previewdialog.cpp')
-rw-r--r--korganizer/previewdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/previewdialog.cpp b/korganizer/previewdialog.cpp
index 23671bd92..dd42e1632 100644
--- a/korganizer/previewdialog.cpp
+++ b/korganizer/previewdialog.cpp
@@ -81,7 +81,7 @@ PreviewDialog::PreviewDialog( const KURL &url, TQWidget *parent )
PreviewDialog::~PreviewDialog()
{
if ( mLocalUrl && !mOriginalUrl.isLocalFile() ) {
- KIO::NetAccess::removeTempFile( mLocalUrl->path() );
+ TDEIO::NetAccess::removeTempFile( mLocalUrl->path() );
delete mLocalUrl;
}
@@ -94,12 +94,12 @@ bool PreviewDialog::loadCalendar()
if ( !mOriginalUrl.isLocalFile() ) {
if ( mLocalUrl ) {
// loadCalendar already called.. remove old one.
- KIO::NetAccess::removeTempFile( mLocalUrl->path() );
+ TDEIO::NetAccess::removeTempFile( mLocalUrl->path() );
delete mLocalUrl;
}
TQString tmpFile;
- if ( KIO::NetAccess::download( mOriginalUrl, tmpFile, 0 ) ) {
+ if ( TDEIO::NetAccess::download( mOriginalUrl, tmpFile, 0 ) ) {
mLocalUrl = new KURL( tmpFile );
} else {
mLocalUrl = 0;
@@ -112,7 +112,7 @@ bool PreviewDialog::loadCalendar()
const bool success = mCalendar->load( mLocalUrl->path() );
if ( !success && !mOriginalUrl.isLocalFile() ) {
- KIO::NetAccess::removeTempFile( mLocalUrl->path() );
+ TDEIO::NetAccess::removeTempFile( mLocalUrl->path() );
} else {
mListView->showAll();
}
@@ -142,8 +142,8 @@ void PreviewDialog::slotAdd()
finalUrl = KURL( fileName );
- if ( !KIO::NetAccess::copy( mOriginalUrl, finalUrl, this ) && KIO::NetAccess::lastError() ) {
- KMessageBox::error( this, KIO::NetAccess::lastErrorString() );
+ if ( !TDEIO::NetAccess::copy( mOriginalUrl, finalUrl, this ) && TDEIO::NetAccess::lastError() ) {
+ KMessageBox::error( this, TDEIO::NetAccess::lastErrorString() );
return;
}
}