summaryrefslogtreecommitdiffstats
path: root/khexedit/hexeditorwidget.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:13 -0600
commit4bb787f41f7cdefac2aac33ef59317b7157302c1 (patch)
treec9726401d4eeb6fff8e78c4e35facb644c417e77 /khexedit/hexeditorwidget.cc
parentaef5eada7f51ee48f3d21448db290bd8f06953a8 (diff)
downloadtdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.tar.gz
tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'khexedit/hexeditorwidget.cc')
-rw-r--r--khexedit/hexeditorwidget.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/khexedit/hexeditorwidget.cc b/khexedit/hexeditorwidget.cc
index 5bf6c7f..0656e96 100644
--- a/khexedit/hexeditorwidget.cc
+++ b/khexedit/hexeditorwidget.cc
@@ -121,7 +121,7 @@ void CHexEditorWidget::initialize( void )
}
-void CHexEditorWidget::writeConfiguration( KConfig &config )
+void CHexEditorWidget::writeConfiguration( TDEConfig &config )
{
SDisplayLayout &layout = mDisplayState.layout;
config.setGroup( "Display Options" );
@@ -219,7 +219,7 @@ void CHexEditorWidget::writeConfiguration( KConfig &config )
}
}
-void CHexEditorWidget::readConfiguration( KConfig &config )
+void CHexEditorWidget::readConfiguration( TDEConfig &config )
{
SDisplayLayout &layout = mDisplayState.layout;
config.setGroup( "Display Options" );
@@ -1987,12 +1987,12 @@ int CHexEditorWidget::readURL( const KURL &url, bool insert )
// 3) Load the file.
//
TQString tmpfile;
- if ( !KIO::NetAccess::download( url, tmpfile, this ) )
+ if ( !TDEIO::NetAccess::download( url, tmpfile, this ) )
return Err_ReadFailed;
bool success = readFile( tmpfile, url.url(), insert );
- KIO::NetAccess::removeTempFile( tmpfile );
+ TDEIO::NetAccess::removeTempFile( tmpfile );
return( success == true ? Err_Success : Err_ReadFailed );
}
@@ -2009,7 +2009,7 @@ void CHexEditorWidget::writeURL( TQString &url )
KTempFile tf;
tf.setAutoDelete( true );
writeFile( tf.name() );
- if( !KIO::NetAccess::upload(tf.name(),url,this) )
+ if( !TDEIO::NetAccess::upload(tf.name(),url,this) )
{
mHexView->setModified( modified );
TQString msg = i18n("Could not save remote file.");