summaryrefslogtreecommitdiffstats
path: root/src/libgui/watch_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/watch_view.cpp')
-rw-r--r--src/libgui/watch_view.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libgui/watch_view.cpp b/src/libgui/watch_view.cpp
index 789b64a..097960d 100644
--- a/src/libgui/watch_view.cpp
+++ b/src/libgui/watch_view.cpp
@@ -91,11 +91,11 @@ Register::WatchedListView::WatchedListView(TQWidget *parent)
_root->setOpen(true);
}
-KPopupMenu *Register::WatchedListView::appendFormatMenu(KPopupMenu *parent, uint offset)
+TDEPopupMenu *Register::WatchedListView::appendFormatMenu(TDEPopupMenu *parent, uint offset)
{
KIconLoader loader;
TQPixmap icon = loader.loadIcon("fonts", KIcon::Small);
- KPopupMenu *popup = new KPopupMenu;
+ TDEPopupMenu *popup = new TDEPopupMenu;
popup->insertTitle(i18n("Format"));
FOR_EACH(NumberBase, base) popup->insertItem(base.label(), offset + base.type());
parent->insertItem(icon, i18n("Format"), popup);
@@ -176,7 +176,7 @@ void Register::WatchedListView::contextMenu(TQListViewItem *item, const TQPoint
} else {
if ( item->rtti()==Register::PortBitRtti ) return;
Register::ListViewItem *ritem = static_cast<ListViewItem *>(item);
- KPopupMenu *pop = new KPopupMenu;
+ TDEPopupMenu *pop = new TDEPopupMenu;
pop->insertTitle(ritem->label());
TQPopupMenu *fpop = appendFormatMenu(pop, 0);
FOR_EACH(NumberBase, base) fpop->setItemChecked(base.type(), ritem->base()==base);