diff options
Diffstat (limited to 'kcontrol/icons')
-rw-r--r-- | kcontrol/icons/icons.cpp | 10 | ||||
-rw-r--r-- | kcontrol/icons/iconthemes.cpp | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/icons/icons.cpp b/kcontrol/icons/icons.cpp index 80eb4f1ad..8f9e46fbc 100644 --- a/kcontrol/icons/icons.cpp +++ b/kcontrol/icons/icons.cpp @@ -135,8 +135,8 @@ TQPushButton *KIconConfig::addPreviewIcon(int i, const TQString &str, TQWidget * void KIconConfig::init() { - mpLoader = KGlobal::iconLoader(); - mpConfig = KGlobal::config(); + mpLoader = TDEGlobal::iconLoader(); + mpConfig = TDEGlobal::config(); mpEffect = new KIconEffect; mpTheme = mpLoader->theme(); mUsage = 0; @@ -289,7 +289,7 @@ void KIconConfig::read() mpKickerConfig->setGroup("General"); mQuickLaunchSize = mpKickerConfig->readNumEntry("panelIconWidth", KIcon::SizeLarge); - KConfigGroup g( KGlobal::config(), "KDE" ); + KConfigGroup g( TDEGlobal::config(), "KDE" ); mpRoundedCheck->setChecked(g.readBoolEntry("IconUseRoundedRect", KDE_DEFAULT_ICONTEXTROUNDED)); mpActiveEffectCheck->setChecked(g.readBoolEntry("ShowKonqIconActivationEffect", KDE_DEFAULT_KONQ_ACTIVATION_EFFECT)); } @@ -410,7 +410,7 @@ void KIconConfig::load() void KIconConfig::load( bool useDefaults ) { - mpConfig = KGlobal::config(); + mpConfig = TDEGlobal::config(); mpConfig->setReadDefaults( useDefaults ); read(); apply(); @@ -473,7 +473,7 @@ void KIconConfig::save() mpKickerConfig->setGroup("General"); mpKickerConfig->writeEntry("panelIconWidth", mQuickLaunchSize); - KConfigGroup g( KGlobal::config(), "KDE" ); + KConfigGroup g( TDEGlobal::config(), "KDE" ); g.writeEntry("IconUseRoundedRect", mpRoundedCheck->isChecked(), true, true); g.writeEntry("ShowKonqIconActivationEffect", mpActiveEffectCheck->isChecked(), true, true); diff --git a/kcontrol/icons/iconthemes.cpp b/kcontrol/icons/iconthemes.cpp index 5d7f924a9..6e8824cce 100644 --- a/kcontrol/icons/iconthemes.cpp +++ b/kcontrol/icons/iconthemes.cpp @@ -191,7 +191,7 @@ void IconThemesConfig::installNewTheme() KIO::NetAccess::removeTempFile(themeTmpFile); - KGlobal::instance()->newIconLoader(); + TDEGlobal::instance()->newIconLoader(); loadThemes(); TQListViewItem *item=iconThemeItem(KIconTheme::current()); @@ -302,7 +302,7 @@ void IconThemesConfig::removeSelectedTheme() unlink(TQFile::encodeName(icontheme.dir()+"/index.desktop").data()); KIO::del(KURL( icontheme.dir() )); - KGlobal::instance()->newIconLoader(); + TDEGlobal::instance()->newIconLoader(); loadThemes(); |