From 2b37df4ca0c9bae516c4fa00579584d6e3fcfd27 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:12:31 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/itemdocumentdata.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/itemdocumentdata.cpp') 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; } } -- cgit v1.2.3