diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:12:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:12:31 -0600 |
commit | 2b37df4ca0c9bae516c4fa00579584d6e3fcfd27 (patch) | |
tree | 721ba8b0e0effd9676667acdb25b5c07d2a82061 /src/itemdocumentdata.cpp | |
parent | b0a967eb693adc458fdf7d070379b8c1ec3e9415 (diff) | |
download | ktechlab-2b37df4ca0c9bae516c4fa00579584d6e3fcfd27.tar.gz ktechlab-2b37df4ca0c9bae516c4fa00579584d6e3fcfd27.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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; } } |