summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:22:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:22:21 -0600
commit86885f5c750a906ff4edf8820b26c6a69fd27bf8 (patch)
tree1044146bea0d6461e7c3667ea6458b373225e151
parent3fde37bc74e136b675635c7f82b452ee6538a57c (diff)
downloadsoundkonverter-86885f5c750a906ff4edf8820b26c6a69fd27bf8.tar.gz
soundkonverter-86885f5c750a906ff4edf8820b26c6a69fd27bf8.zip
Rename KStandard for enhanced compatibility with KDE4
-rwxr-xr-xsrc/config.cpp4
-rwxr-xr-xsrc/configbackendspage.cpp4
-rwxr-xr-xsrc/soundkonverterapp.cpp2
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, TQMap<TQString, TQStrin
TQHBox* legendBox = new TQHBox( box );
legendBox->setMargin( 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;
}