diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:01:15 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:01:15 -0600 |
commit | d418a41f966e7d99d77349165a9e837890881ce7 (patch) | |
tree | b0b711024a3eb42e48cdb5e0adca0d61d08a1bb1 | |
parent | 73e73cc7fdbbbf0307a91edc237b4c521ebe272d (diff) | |
download | gtk-qt-engine-d418a41f966e7d99d77349165a9e837890881ce7.tar.gz gtk-qt-engine-d418a41f966e7d99d77349165a9e837890881ce7.zip |
Rename KIcon to enhance compatibility with KDE4
-rw-r--r-- | kcm_gtk/kcmgtk.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp index e42c8ef..92b2480 100644 --- a/kcm_gtk/kcmgtk.cpp +++ b/kcm_gtk/kcmgtk.cpp @@ -184,12 +184,12 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&) l->addWidget(widget); // Load the icons - KIconLoader iconLoader; - widget->styleIcon->setPixmap(iconLoader.loadIcon("style", KIcon::Desktop)); - widget->styleIcon3->setPixmap(iconLoader.loadIcon("style", KIcon::Desktop)); - widget->fontIcon->setPixmap(iconLoader.loadIcon("fonts", KIcon::Desktop)); - widget->firefoxIcon->setPixmap(iconLoader.loadIcon("firefox", KIcon::Desktop)); - widget->keyboardIcon->setPixmap(iconLoader.loadIcon("keyboard", KIcon::Desktop)); + TDEIconLoader iconLoader; + widget->styleIcon->setPixmap(iconLoader.loadIcon("style", TDEIcon::Desktop)); + widget->styleIcon3->setPixmap(iconLoader.loadIcon("style", TDEIcon::Desktop)); + widget->fontIcon->setPixmap(iconLoader.loadIcon("fonts", TDEIcon::Desktop)); + widget->firefoxIcon->setPixmap(iconLoader.loadIcon("firefox", TDEIcon::Desktop)); + widget->keyboardIcon->setPixmap(iconLoader.loadIcon("keyboard", TDEIcon::Desktop)); getInstalledThemes(); load(); @@ -565,7 +565,7 @@ void KcmGtk::firefoxFixClicked() w->profilesList->header()->hide(); w->profilesList->hideColumn(1); - TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kuser", KIcon::Small); + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kuser", TDEIcon::Small); for ( TQMapIterator<TQString,TQString> it = profiles.begin(); it != profiles.end(); ++it ) { |