summaryrefslogtreecommitdiffstats
path: root/kdesktop/kcustommenu.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
commitde9b6c9ad15f9f51812daae17cce635d1050a9ba (patch)
tree6b26400ab1a616925443c5d365246eb86c9bad57 /kdesktop/kcustommenu.cc
parent4f841fbbbc5d3399535ade061699cc76363c7a3f (diff)
downloadtdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz
tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kdesktop/kcustommenu.cc')
-rw-r--r--kdesktop/kcustommenu.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdesktop/kcustommenu.cc b/kdesktop/kcustommenu.cc
index a0bf92556..d114e443f 100644
--- a/kdesktop/kcustommenu.cc
+++ b/kdesktop/kcustommenu.cc
@@ -84,10 +84,10 @@ KCustomMenu::insertMenuItem(KService::Ptr & s, int nId, int nIndex/*= -1*/)
// to accelators, replace them with two ampersands.
serviceName.replace("&", "&&");
- TQPixmap normal = TDEGlobal::instance()->iconLoader()->loadIcon(s->icon(), KIcon::Small,
- 0, KIcon::DefaultState, 0L, true);
- TQPixmap active = TDEGlobal::instance()->iconLoader()->loadIcon(s->icon(), KIcon::Small,
- 0, KIcon::ActiveState, 0L, true);
+ TQPixmap normal = TDEGlobal::instance()->iconLoader()->loadIcon(s->icon(), TDEIcon::Small,
+ 0, TDEIcon::DefaultState, 0L, true);
+ TQPixmap active = TDEGlobal::instance()->iconLoader()->loadIcon(s->icon(), TDEIcon::Small,
+ 0, TDEIcon::ActiveState, 0L, true);
// make sure they are not larger than 16x16
if (normal.width() > 16 || normal.height() > 16) {
TQImage tmp = normal.convertToImage();