summaryrefslogtreecommitdiffstats
path: root/ksim/library/themeloader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:29:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:29:48 -0600
commit2fb1ed0d03dda186096172cb76aedfd5e3953f94 (patch)
treeb9754c7d27d6981c7a3800d3fc2eba9298145d04 /ksim/library/themeloader.cpp
parent6ad068ea54051101d56514791a672144786c7063 (diff)
downloadtdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.tar.gz
tdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'ksim/library/themeloader.cpp')
-rw-r--r--ksim/library/themeloader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksim/library/themeloader.cpp b/ksim/library/themeloader.cpp
index 947ba73..0548f73 100644
--- a/ksim/library/themeloader.cpp
+++ b/ksim/library/themeloader.cpp
@@ -1042,7 +1042,7 @@ void KSim::ThemeLoader::parseDir(const TQString &url, int alt)
homePath.length() ) );
if ( !TQFile::exists( homePath ) )
- KStandardDirs::makeDir( homePath );
+ TDEStandardDirs::makeDir( homePath );
kdWarning() << "Cant write to current dir, setting dir to "
<< homePath << endl;
@@ -1074,7 +1074,7 @@ void KSim::ThemeLoader::parseDir(const TQString &url, int alt)
for (meter = meters.begin(); meter != meters.end(); ++meter) {
TQString bgMeter = TQString::fromLatin1("bg_meter_");
if (TQFile::exists(bgMeter + (*meter) + altString + "." + (*format))) {
- if (KStandardDirs::makeDir(url + (*meter)))
+ if (TDEStandardDirs::makeDir(url + (*meter)))
directory.rename(bgMeter + (*meter) + altString + "." + (*format),
(*meter) + "/bg_meter" + altString + "." + (*format));
}
@@ -1085,7 +1085,7 @@ void KSim::ThemeLoader::parseDir(const TQString &url, int alt)
for (panel = panels.begin(); panel != panels.end(); ++panel) {
TQString bgPanel = TQString::fromLatin1("bg_panel_");
if (TQFile::exists(bgPanel + (*panel) + altString + "." + (*format))) {
- if (KStandardDirs::makeDir(url + (*panel)))
+ if (TDEStandardDirs::makeDir(url + (*panel)))
directory.rename(bgPanel + (*panel) + altString + "." + (*format),
(*panel) + "/bg_panel" + altString + "." + (*format));
}
@@ -1100,7 +1100,7 @@ void KSim::ThemeLoader::parseDir(const TQString &url, int alt)
// move decal_net_leds* to the net folder to be more consistant
tempFile = TQString::fromLatin1("decal_net_leds");
if (TQFile::exists(tempFile + altString + "." + (*format))) {
- if (KStandardDirs::makeDir(url + "net"))
+ if (TDEStandardDirs::makeDir(url + "net"))
directory.rename(tempFile + altString + "." + (*format),
"net/decal_net_leds" + altString + "." + (*format));
}