diff options
Diffstat (limited to 'amarok/src/scriptmanager.cpp')
-rw-r--r-- | amarok/src/scriptmanager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/amarok/src/scriptmanager.cpp b/amarok/src/scriptmanager.cpp index f2a44639..30fcc75f 100644 --- a/amarok/src/scriptmanager.cpp +++ b/amarok/src/scriptmanager.cpp @@ -173,7 +173,7 @@ ScriptManager::ScriptManager( TQWidget *parent, const char *name ) m_transcodeCategory->setPixmap( 0, SmallIcon( Amarok::icon( "files" ) ) ); // Restore the open/closed state of the category items - KConfig* const config = Amarok::config( "ScriptManager" ); + TDEConfig* const config = Amarok::config( "ScriptManager" ); m_generalCategory ->setOpen( config->readBoolEntry( "General category open" ) ); m_lyricsCategory ->setOpen( config->readBoolEntry( "Lyrics category open" ) ); m_scoreCategory ->setOpen( config->readBoolEntry( "Score category State" ) ); @@ -225,7 +225,7 @@ ScriptManager::~ScriptManager() } // Save config - KConfig* const config = Amarok::config( "ScriptManager" ); + TDEConfig* const config = Amarok::config( "ScriptManager" ); config->writeEntry( "Running Scripts", runningScripts ); // Save the open/closed state of the category items @@ -365,7 +365,7 @@ ScriptManager::findScripts() //SLOT // Handle auto-run: - KConfig* const config = Amarok::config( "ScriptManager" ); + TDEConfig* const config = Amarok::config( "ScriptManager" ); const TQStringList runningScripts = config->readListEntry( "Running Scripts" ); { @@ -453,7 +453,7 @@ ScriptManager::slotInstallScript( const TQString& path ) "Please inform the package maintainer about this error.</p>" ) ); // Delete directory recursively - KIO::NetAccess::del( KURL::fromPathOrURL( scriptFolder ), 0 ); + TDEIO::NetAccess::del( KURL::fromPathOrURL( scriptFolder ), 0 ); } return false; @@ -537,7 +537,7 @@ ScriptManager::slotUninstallScript() } // Delete script directory recursively - if( !KIO::NetAccess::del( scriptDirURL, 0 ) ) { + if( !TDEIO::NetAccess::del( scriptDirURL, 0 ) ) { KMessageBox::sorry( 0, i18n( "<p>Could not uninstall this script.</p><p>The ScriptManager can only uninstall scripts which have been installed as packages.</p>" ) ); // only true when not running as root (which is reasonable) return; } @@ -879,7 +879,7 @@ ScriptManager::loadScript( const TQString& path ) KListViewItem* li = 0; const TQString specPath = info.dirPath() + '/' + info.baseName( true ) + ".spec"; if( TQFile::exists( specPath ) ) { - KConfig spec( specPath, true, false ); + TDEConfig spec( specPath, true, false ); if( spec.hasKey( "name" ) ) name = spec.readEntry( "name" ); if( spec.hasKey( "type" ) ) { |