summaryrefslogtreecommitdiffstats
path: root/tdecore/kicontheme.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:28:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:28:26 -0600
commitd3afa6baf98ef5ac191996cc9b909ff9074c168c (patch)
treea1e1247371cd17715f83036a3664755206ab9ba2 /tdecore/kicontheme.cpp
parent12f3d421cd2991c0e3f96994efb836ce244172ff (diff)
downloadtdelibs-d3afa6baf98ef5ac191996cc9b909ff9074c168c.tar.gz
tdelibs-d3afa6baf98ef5ac191996cc9b909ff9074c168c.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'tdecore/kicontheme.cpp')
-rw-r--r--tdecore/kicontheme.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kicontheme.cpp b/tdecore/kicontheme.cpp
index d985cc8b0..f967dc36c 100644
--- a/tdecore/kicontheme.cpp
+++ b/tdecore/kicontheme.cpp
@@ -113,11 +113,11 @@ KIconTheme::KIconTheme(const TQString& name, const TQString& appName)
for (it=icnlibs.begin(); it!=icnlibs.end(); ++it)
{
cDir = *it + name + "/";
- if (KStandardDirs::exists(cDir))
+ if (TDEStandardDirs::exists(cDir))
{
themeDirs += cDir;
if (mDir.isEmpty()
- && (KStandardDirs::exists( cDir + "index.desktop") || KStandardDirs::exists( cDir + "index.theme")))
+ && (TDEStandardDirs::exists( cDir + "index.desktop") || TDEStandardDirs::exists( cDir + "index.theme")))
mDir = cDir;
}
}
@@ -166,7 +166,7 @@ KIconTheme::KIconTheme(const TQString& name, const TQString& appName)
cfg.setGroup(*it);
for (itDir=themeDirs.begin(); itDir!=themeDirs.end(); ++itDir)
{
- if (KStandardDirs::exists(*itDir + *it + "/"))
+ if (TDEStandardDirs::exists(*itDir + *it + "/"))
{
KIconThemeDir *dir = new KIconThemeDir(*itDir + *it, &cfg);
if (!dir->isValid())
@@ -487,7 +487,7 @@ TQStringList KIconTheme::list()
{
if ((*it2 == ".") || (*it2 == "..") || (*it2).startsWith("default.") )
continue;
- if (!KStandardDirs::exists(*it + *it2 + "/index.desktop") && !KStandardDirs::exists(*it + *it2 + "/index.theme"))
+ if (!TDEStandardDirs::exists(*it + *it2 + "/index.desktop") && !TDEStandardDirs::exists(*it + *it2 + "/index.theme"))
continue;
KIconTheme oink(*it2);
if (!oink.isValid()) continue;