summaryrefslogtreecommitdiffstats
path: root/ksim
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
parent6ad068ea54051101d56514791a672144786c7063 (diff)
downloadtdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.tar.gz
tdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'ksim')
-rw-r--r--ksim/ksimview.cpp4
-rw-r--r--ksim/library/themeloader.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/ksim/ksimview.cpp b/ksim/ksimview.cpp
index 572579c..09b5cf7 100644
--- a/ksim/ksimview.cpp
+++ b/ksim/ksimview.cpp
@@ -190,8 +190,8 @@ void KSim::MainView::makeDirs()
if (TQFile::exists(themeDir) && TQFile::exists(monitorDir))
return;
- bool themeCreated = KStandardDirs::makeDir(themeDir);
- bool monitorCreated = KStandardDirs::makeDir(monitorDir);
+ bool themeCreated = TDEStandardDirs::makeDir(themeDir);
+ bool monitorCreated = TDEStandardDirs::makeDir(monitorDir);
if (!themeCreated || !monitorCreated)
{
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));
}