From cc74f360bb40da3d79f58048f8e8611804980aa6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:30:47 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- ksysguard/gui/Workspace.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ksysguard/gui/Workspace.cc') diff --git a/ksysguard/gui/Workspace.cc b/ksysguard/gui/Workspace.cc index 1fb1e1e62..7271bab8e 100644 --- a/ksysguard/gui/Workspace.cc +++ b/ksysguard/gui/Workspace.cc @@ -66,7 +66,7 @@ Workspace::~Workspace() TQT_SLOT( updateCaption( TQWidget* ) ) ); } -void Workspace::saveProperties( KConfig *cfg ) +void Workspace::saveProperties( TDEConfig *cfg ) { cfg->writePathEntry( "WorkDir", mWorkDir ); cfg->writeEntry( "CurrentSheet", tabLabel( currentPage() ) ); @@ -81,7 +81,7 @@ void Workspace::saveProperties( KConfig *cfg ) cfg->writePathEntry( "Sheets", list ); } -void Workspace::readProperties( KConfig *cfg ) +void Workspace::readProperties( TDEConfig *cfg ) { TQString currentSheet; @@ -195,7 +195,7 @@ void Workspace::loadWorkSheet( const KURL &url ) * transparent. Unless s/o beats me up I use this pseudo transparent * code. */ TQString tmpFile; - KIO::NetAccess::download( url, tmpFile, this ); + TDEIO::NetAccess::download( url, tmpFile, this ); mWorkDir = tmpFile.left( tmpFile.findRev( '/' ) ); // Load sheet from file. @@ -208,7 +208,7 @@ void Workspace::loadWorkSheet( const KURL &url ) tmpFileUrl.setPath( tmpFile ); if ( tmpFileUrl != url.url() ) mSheetList.last()->setFileName( TQString::null ); - KIO::NetAccess::removeTempFile( tmpFile ); + TDEIO::NetAccess::removeTempFile( tmpFile ); emit announceRecentURL( KURL( url ) ); } -- cgit v1.2.1