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/previewdialog.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/previewdialog.cpp')
-rw-r--r-- | korganizer/previewdialog.cpp | 12 |
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; } } |