diff options
Diffstat (limited to 'src/libgui/watch_view.cpp')
-rw-r--r-- | src/libgui/watch_view.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libgui/watch_view.cpp b/src/libgui/watch_view.cpp index 4f5ef89..789b64a 100644 --- a/src/libgui/watch_view.cpp +++ b/src/libgui/watch_view.cpp @@ -21,8 +21,8 @@ #include "common/gui/list_container.h" //----------------------------------------------------------------------------- -Register::BaseListView::BaseListView(TQWidget *tqparent) - : ListView(tqparent), _root(0) +Register::BaseListView::BaseListView(TQWidget *parent) + : ListView(parent), _root(0) { header()->hide(); setSorting(-1); @@ -36,8 +36,8 @@ Register::BaseListView::BaseListView(TQWidget *tqparent) } //----------------------------------------------------------------------------- -Register::RegisterListView::RegisterListView(TQWidget *tqparent) - : BaseListView(tqparent) +Register::RegisterListView::RegisterListView(TQWidget *parent) + : BaseListView(parent) { addColumn(TQString()); } @@ -76,8 +76,8 @@ void Register::RegisterListView::itemClicked(int button, TQListViewItem *item, c } //----------------------------------------------------------------------------- -Register::WatchedListView::WatchedListView(TQWidget *tqparent) - : BaseListView(tqparent), _popup(0), _base(NumberBase::Hex) +Register::WatchedListView::WatchedListView(TQWidget *parent) + : BaseListView(parent), _popup(0), _base(NumberBase::Hex) { setSorting(0); addColumn(TQString()); @@ -91,14 +91,14 @@ Register::WatchedListView::WatchedListView(TQWidget *tqparent) _root->setOpen(true); } -KPopupMenu *Register::WatchedListView::appendFormatMenu(KPopupMenu *tqparent, uint offset) +KPopupMenu *Register::WatchedListView::appendFormatMenu(KPopupMenu *parent, uint offset) { KIconLoader loader; TQPixmap icon = loader.loadIcon("fonts", KIcon::Small); KPopupMenu *popup = new KPopupMenu; popup->insertTitle(i18n("Format")); FOR_EACH(NumberBase, base) popup->insertItem(base.label(), offset + base.type()); - tqparent->insertItem(icon, i18n("Format"), popup); + parent->insertItem(icon, i18n("Format"), popup); return popup; } @@ -196,8 +196,8 @@ void Register::WatchedListView::contextMenu(TQListViewItem *item, const TQPoint } //----------------------------------------------------------------------------- -Register::WatchView::WatchView(TQWidget *tqparent) - : TQWidget(tqparent, "watch_view"), GenericView(Register::list()), _data(0) +Register::WatchView::WatchView(TQWidget *parent) + : TQWidget(parent, "watch_view"), GenericView(Register::list()), _data(0) { TQVBoxLayout *top = new TQVBoxLayout(this); TQValueList<int> sizes; |