From de9b6c9ad15f9f51812daae17cce635d1050a9ba Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:14:55 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kxkb/kxkbtraywindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kxkb') diff --git a/kxkb/kxkbtraywindow.cpp b/kxkb/kxkbtraywindow.cpp index 80b4979de..dae4f7092 100644 --- a/kxkb/kxkbtraywindow.cpp +++ b/kxkb/kxkbtraywindow.cpp @@ -43,8 +43,8 @@ void KxkbLabelController::setToolTip(const TQString& tip) void KxkbLabelController::setPixmap(const TQPixmap& pixmap) { - KIconEffect iconeffect; - label->setPixmap( iconeffect.apply(pixmap, KIcon::Panel, KIcon::DefaultState) ); + TDEIconEffect iconeffect; + label->setPixmap( iconeffect.apply(pixmap, TDEIcon::Panel, TDEIcon::DefaultState) ); } @@ -81,7 +81,7 @@ void KxkbLabelController::initLayoutList(const TQValueList& layouts, /* menu->removeItem(CONFIG_MENU_ID); menu->removeItem(HELP_MENU_ID);*/ - KIconEffect iconeffect; + TDEIconEffect iconeffect; int cnt = 0; TQValueList::ConstIterator it; @@ -91,7 +91,7 @@ void KxkbLabelController::initLayoutList(const TQValueList& layouts, const TQString variantName = (*it).variant; const TQPixmap& layoutPixmap = LayoutIcon::getInstance().findPixmap(layoutName, m_showFlag, (*it).displayName); - const TQPixmap pix = iconeffect.apply(layoutPixmap, KIcon::Small, KIcon::DefaultState); + const TQPixmap pix = iconeffect.apply(layoutPixmap, TDEIcon::Small, TDEIcon::DefaultState); TQString fullName = i18n((rules.layouts()[layoutName])); if( variantName.isEmpty() == false ) -- cgit v1.2.3