diff options
Diffstat (limited to 'src/libgui/watch_view.cpp')
-rw-r--r-- | src/libgui/watch_view.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libgui/watch_view.cpp b/src/libgui/watch_view.cpp index 097960d..7fd5e8d 100644 --- a/src/libgui/watch_view.cpp +++ b/src/libgui/watch_view.cpp @@ -46,8 +46,8 @@ void Register::RegisterListView::init(const Device::Data *data) { delete _root; _root = new ListViewItemContainer(i18n("Registers"), this); - KIconLoader loader; - _root->setPixmap(0, loader.loadIcon("piklab_chip", KIcon::Small)); + TDEIconLoader loader; + _root->setPixmap(0, loader.loadIcon("piklab_chip", TDEIcon::Small)); _root->setSelectable(false); _root->setOpen(true); if (data) Device::groupui(*data).fillWatchListContainer(_root, _ids); @@ -85,16 +85,16 @@ Register::WatchedListView::WatchedListView(TQWidget *parent) addColumn(TQString()); _root = new ListViewItemContainer(i18n("Watched"), this); - KIconLoader loader; - _root->setPixmap(0, loader.loadIcon("viewmag", KIcon::Small)); + TDEIconLoader loader; + _root->setPixmap(0, loader.loadIcon("viewmag", TDEIcon::Small)); _root->setSelectable(false); _root->setOpen(true); } TDEPopupMenu *Register::WatchedListView::appendFormatMenu(TDEPopupMenu *parent, uint offset) { - KIconLoader loader; - TQPixmap icon = loader.loadIcon("fonts", KIcon::Small); + TDEIconLoader loader; + TQPixmap icon = loader.loadIcon("fonts", TDEIcon::Small); TDEPopupMenu *popup = new TDEPopupMenu; popup->insertTitle(i18n("Format")); FOR_EACH(NumberBase, base) popup->insertItem(base.label(), offset + base.type()); @@ -111,8 +111,8 @@ void Register::WatchedListView::init(const Device::Data *data) Device::groupui(*data).fillWatchListContainer(_popup, _ids); _popup->insertSeparator(); _formatPopup = appendFormatMenu(_popup, _ids.count()); - KIconLoader loader; - TQPixmap icon = loader.loadIcon("cancel", KIcon::Small); + TDEIconLoader loader; + TQPixmap icon = loader.loadIcon("cancel", TDEIcon::Small); _popup->insertItem(icon, i18n("Clear"), Debugger::manager, TQT_SLOT(stopWatchAll())); } @@ -181,11 +181,11 @@ void Register::WatchedListView::contextMenu(TQListViewItem *item, const TQPoint TQPopupMenu *fpop = appendFormatMenu(pop, 0); FOR_EACH(NumberBase, base) fpop->setItemChecked(base.type(), ritem->base()==base); pop->insertSeparator(); - KIconLoader loader; - TQPixmap icon = loader.loadIcon("edit", KIcon::Small); + TDEIconLoader loader; + TQPixmap icon = loader.loadIcon("edit", TDEIcon::Small); int editId = pop->insertItem(icon, i18n("Edit")); pop->setItemEnabled(editId, Main::programmerState()==Programmer::Halted); - icon = loader.loadIcon("cancel", KIcon::Small); + icon = loader.loadIcon("cancel", TDEIcon::Small); int removeId = pop->insertItem(icon, i18n("Remove")); int res = pop->exec(p); if ( res==editId ) ritem->startRename(); |