From 703fb0c89c2eee56a1e613e67a446db9d4287929 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:35:07 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- tdecore/kicontheme.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tdecore/kicontheme.cpp') diff --git a/tdecore/kicontheme.cpp b/tdecore/kicontheme.cpp index 103d37a05..853c0ab78 100644 --- a/tdecore/kicontheme.cpp +++ b/tdecore/kicontheme.cpp @@ -52,7 +52,7 @@ public: class KIconThemeDir { public: - KIconThemeDir(const TQString& dir, const KConfigBase *config); + KIconThemeDir(const TQString& dir, const TDEConfigBase *config); bool isValid() const { return mbValid; } TQString iconPath(const TQString& name) const; @@ -139,7 +139,7 @@ KIconTheme::KIconTheme(const TQString& name, const TQString& appName) // Use KSharedConfig to avoid parsing the file many times, from each kinstance. // Need to keep a ref to it to make this useful d->sharedConfig = KSharedConfig::openConfig( fileName, true /*readonly*/, false /*useKDEGlobals*/ ); - KConfig& cfg = *d->sharedConfig; + TDEConfig& cfg = *d->sharedConfig; //was: KSimpleConfig cfg(fileName); cfg.setGroup(mainSection); @@ -448,8 +448,8 @@ TQString KIconTheme::current() return *_theme; _theme = new TQString(); - KConfig *config = TDEGlobal::config(); - KConfigGroupSaver saver(config, "Icons"); + TDEConfig *config = TDEGlobal::config(); + TDEConfigGroupSaver saver(config, "Icons"); *_theme = config->readEntry("Theme",defaultThemeName()); if ( *_theme == TQString::fromLatin1("hicolor") ) *_theme = defaultThemeName(); /* if (_theme->isEmpty()) @@ -516,7 +516,7 @@ TQString KIconTheme::defaultThemeName() /*** KIconThemeDir ***/ -KIconThemeDir::KIconThemeDir(const TQString& dir, const KConfigBase *config) +KIconThemeDir::KIconThemeDir(const TQString& dir, const TDEConfigBase *config) { mbValid = false; mDir = dir; -- cgit v1.2.1