summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/popupmenu.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:20:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:20:11 -0600
commit1c53bf78a70a66d8ec15a77cbf98606694d7e6e7 (patch)
treeb7ec7a54f705aa5ef6388b9818ae394ba3ca2b9c /kommander/widgets/popupmenu.cpp
parentc46f36d00839916c8b6cde8ed2ca54aeb40dba19 (diff)
downloadtdewebdev-1c53bf78a70a66d8ec15a77cbf98606694d7e6e7.tar.gz
tdewebdev-1c53bf78a70a66d8ec15a77cbf98606694d7e6e7.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kommander/widgets/popupmenu.cpp')
-rw-r--r--kommander/widgets/popupmenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kommander/widgets/popupmenu.cpp b/kommander/widgets/popupmenu.cpp
index 1320ce8b..cfeb1e7d 100644
--- a/kommander/widgets/popupmenu.cpp
+++ b/kommander/widgets/popupmenu.cpp
@@ -41,7 +41,7 @@ PopupMenu::PopupMenu(TQWidget *parent, const char *name)
setDisplayStates(states);
if (KommanderWidget::inEditor)
{
- setPixmap(TDEGlobal::iconLoader()->loadIcon("contents", KIcon::NoGroup, KIcon::SizeMedium));
+ setPixmap(TDEGlobal::iconLoader()->loadIcon("contents", TDEIcon::NoGroup, TDEIcon::SizeMedium));
setFrameStyle(TQFrame::Box | TQFrame::Plain);
setLineWidth(1);
setFixedSize(pixmap()->size());
@@ -130,7 +130,7 @@ TQString PopupMenu::insertSubmenu(const TQString& title, const TQString &menuWid
if (icon.isEmpty())
return TQString::number(m_menu->insertItem(title, dynamic_cast<PopupMenu*>(w)->menu(), index));
else
- return TQString::number( m_menu->insertItem(TDEGlobal::iconLoader()->loadIcon(icon, KIcon::NoGroup, KIcon::SizeMedium), title, dynamic_cast<PopupMenu*>(w)->menu(), index));
+ return TQString::number( m_menu->insertItem(TDEGlobal::iconLoader()->loadIcon(icon, TDEIcon::NoGroup, TDEIcon::SizeMedium), title, dynamic_cast<PopupMenu*>(w)->menu(), index));
}
return TQString();
}
@@ -159,7 +159,7 @@ TQString PopupMenu::handleDCOP(int function, const TQStringList& args)
if (args[3].isEmpty())
id = m_menu->insertItem(args[0], index);
else
- id = m_menu->insertItem(TDEGlobal::iconLoader()->loadIcon(args[3], KIcon::NoGroup, KIcon::SizeMedium), args[0], index);
+ id = m_menu->insertItem(TDEGlobal::iconLoader()->loadIcon(args[3], TDEIcon::NoGroup, TDEIcon::SizeMedium), args[0], index);
m_associations[id] = args[1];
return TQString::number(id);
break;
@@ -175,7 +175,7 @@ TQString PopupMenu::handleDCOP(int function, const TQStringList& args)
if (args[3].isEmpty())
m_menu->changeItem(id, args[1]);
else
- m_menu->changeItem(id, TDEGlobal::iconLoader()->loadIcon(args[3], KIcon::NoGroup, KIcon::SizeMedium), args[1]);
+ m_menu->changeItem(id, TDEGlobal::iconLoader()->loadIcon(args[3], TDEIcon::NoGroup, TDEIcon::SizeMedium), args[1]);
m_associations[id] = args[2];
break;
}