summaryrefslogtreecommitdiffstats
path: root/ksim/library/themeloader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:20 -0600
commitaef5eada7f51ee48f3d21448db290bd8f06953a8 (patch)
tree9d6e7572ebcc27e402501d6966f9b46361a1702c /ksim/library/themeloader.cpp
parent95d05392f9bc01594738a1e06ebf23123b3d3e6e (diff)
downloadtdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.tar.gz
tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts 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 ff52525..60e2031 100644
--- a/ksim/library/themeloader.cpp
+++ b/ksim/library/themeloader.cpp
@@ -362,7 +362,7 @@ TQFont KSim::Theme::currentFont() const
return KSim::ThemeLoader::currentFont();
break;
case 4:
- return KGlobalSettings::generalFont();
+ return TDEGlobalSettings::generalFont();
break;
}
@@ -660,7 +660,7 @@ TQColor KSim::Theme::textColour(const TQString &itemType,
const TQString &entry) const
{
if (d->recolour)
- return KGlobalSettings::textColor();
+ return TDEGlobalSettings::textColor();
return readColourEntry(itemType, entry, 0);
}
@@ -1134,7 +1134,7 @@ TQString KSim::ThemeLoader::currentUrl()
KSim::Config::config()->setGroup("Theme");
TQString folder(KSim::Config::config()->readEntry("Name"));
folder.prepend("ksim/themes/").append("/");
- TQString dirName(KGlobal::dirs()->findResourceDir("data", folder));
+ TQString dirName(TDEGlobal::dirs()->findResourceDir("data", folder));
dirName += folder;
return dirName;
@@ -1142,7 +1142,7 @@ TQString KSim::ThemeLoader::currentUrl()
TQString KSim::ThemeLoader::defaultUrl()
{
- return KGlobal::dirs()->findDirs("data", "ksim/themes/ksim").first();
+ return TDEGlobal::dirs()->findDirs("data", "ksim/themes/ksim").first();
}
int KSim::ThemeLoader::currentAlternative()