From 86885f5c750a906ff4edf8820b26c6a69fd27bf8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:22:21 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- src/config.cpp | 4 ++-- src/configbackendspage.cpp | 4 ++-- src/soundkonverterapp.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index ea71d2f..76ae2c2 100755 --- a/src/config.cpp +++ b/src/config.cpp @@ -638,7 +638,7 @@ void Config::writeAmarokScript() } } - KStandardDirs* stdDirs = new KStandardDirs(); + TDEStandardDirs* stdDirs = new TDEStandardDirs(); if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb")) ) { TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/soundKonverter.rb"), locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb"), 0755, true ); } @@ -672,7 +672,7 @@ void Config::loadPlugins() ReplayGainPluginLoader* replaygainPluginLoader = new ReplayGainPluginLoader(); RipperPluginLoader* ripperPluginLoader = new RipperPluginLoader(); - KStandardDirs stddir; + TDEStandardDirs stddir; TQStringList directories = stddir.findDirs( "data", "soundkonverter/plugins/" ); for( TQStringList::Iterator a = directories.begin(); a != directories.end(); ++a ) { diff --git a/src/configbackendspage.cpp b/src/configbackendspage.cpp index c84a493..b8bf272 100755 --- a/src/configbackendspage.cpp +++ b/src/configbackendspage.cpp @@ -38,7 +38,7 @@ ConfigBackendsPage::ConfigBackendsPage( Config* _config, TQMapsetMargin( 0 ); legendBox->setSpacing( 6 ); - KStandardDirs* stdDirs = new KStandardDirs(); + TDEStandardDirs* stdDirs = new TDEStandardDirs(); TQLabel* lLegendLabel = new TQLabel( i18n("Legend")+":", legendBox, "lLegendLabel" ); TQLabel* lLegendGreen = new TQLabel( "", legendBox, "lLegendGreen" ); lLegendGreen->setPixmap( TQPixmap(stdDirs->findResource("data","soundkonverter/pics/ledgreen_legend.png")) ); @@ -329,7 +329,7 @@ void ConfigBackendsPage::rebuild() void ConfigBackendsPage::refill() { - KStandardDirs* stdDirs = new KStandardDirs(); + TDEStandardDirs* stdDirs = new TDEStandardDirs(); int i, item; cRipper->clear(); diff --git a/src/soundkonverterapp.cpp b/src/soundkonverterapp.cpp index 8453991..ec2060b 100755 --- a/src/soundkonverterapp.cpp +++ b/src/soundkonverterapp.cpp @@ -88,7 +88,7 @@ int soundKonverterApp::newInstance() widget->autoclose = true; widget->hide(); widget->systemTray->show(); - KStandardDirs* stdDirs = new KStandardDirs(); + TDEStandardDirs* stdDirs = new TDEStandardDirs(); widget->systemTray->setMovie( TQMovie(stdDirs->findResource("data","soundkonverter/pics/systray.mng")) ); delete stdDirs; } -- cgit v1.2.1