summaryrefslogtreecommitdiffstats
path: root/src/config.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:14:05 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:14:05 -0600
commit87e49a06e2f4ee153caeabfa4240e9ab94fbd135 (patch)
treee4569b2b2451b0ed73dda25a4402fa1aed389a75 /src/config.cpp
parentbece9aa3ad05fe774bf89d9a840235ee8adfd4da (diff)
downloadsoundkonverter-87e49a06e2f4ee153caeabfa4240e9ab94fbd135.tar.gz
soundkonverter-87e49a06e2f4ee153caeabfa4240e9ab94fbd135.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/config.cpp')
-rwxr-xr-xsrc/config.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 12a1430..4ec463b 100755
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -58,7 +58,7 @@ void Config::read()
loadPlugins();
readProfiles();
- KConfig *conf = kapp->config();
+ TDEConfig *conf = kapp->config();
TQStringList listDefaults;
int intDefault;
bool boolDefault;
@@ -266,7 +266,7 @@ void Config::write( bool sync )
writeServiceMenu();
writeAmarokScript();
- KConfig *conf = kapp->config();
+ TDEConfig *conf = kapp->config();
conf->setGroup( "Ripper" );
conf->writeEntry( "ripper", (currentRipper)?currentRipper->rip.bin:"kio_audiocd" );
@@ -640,10 +640,10 @@ void Config::writeAmarokScript()
KStandardDirs* stdDirs = new KStandardDirs();
if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb")) ) {
- KIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/soundKonverter.rb"), locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb"), 0755, true );
+ TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/soundKonverter.rb"), locateLocal("data","amarok/scripts/soundKonverter/soundKonverter.rb"), 0755, true );
}
if( !TQFile::exists(locateLocal("data","amarok/scripts/soundKonverter/README")) ) {
- KIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/README"), locateLocal("data","amarok/scripts/soundKonverter/README"), -1, true );
+ TDEIO::NetAccess::file_copy( stdDirs->findResource("data","soundkonverter/amarokscript/README"), locateLocal("data","amarok/scripts/soundKonverter/README"), -1, true );
}
delete stdDirs;
}