diff options
Diffstat (limited to 'src/itemdocumentdata.cpp')
-rw-r--r-- | src/itemdocumentdata.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/itemdocumentdata.cpp b/src/itemdocumentdata.cpp index 61271f0..28ce741 100644 --- a/src/itemdocumentdata.cpp +++ b/src/itemdocumentdata.cpp @@ -98,11 +98,11 @@ void ItemDocumentData::reset() bool ItemDocumentData::loadData( const KURL &url ) { TQString target; - if ( !KIO::NetAccess::download( url, target, 0l ) ) + if ( !TDEIO::NetAccess::download( url, target, 0l ) ) { // If the file could not be downloaded, for example does not // exist on disk, NetAccess will tell us what error to use - KMessageBox::error( 0l, KIO::NetAccess::lastErrorString() ); + KMessageBox::error( 0l, TDEIO::NetAccess::lastErrorString() ); return false; } @@ -194,9 +194,9 @@ bool ItemDocumentData::saveData( const KURL &url ) *file.textStream() << toXML(); file.close(); - if ( !KIO::NetAccess::upload( file.name(), url, 0l ) ) + if ( !TDEIO::NetAccess::upload( file.name(), url, 0l ) ) { - KMessageBox::error( 0l, KIO::NetAccess::lastErrorString() ); + KMessageBox::error( 0l, TDEIO::NetAccess::lastErrorString() ); return false; } } |