From d3afa6baf98ef5ac191996cc9b909ff9074c168c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:28:26 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- tdecore/kicontheme.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdecore/kicontheme.cpp') 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; -- cgit v1.2.1