diff options
Diffstat (limited to 'kdict/matchview.cpp')
-rw-r--r-- | kdict/matchview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdict/matchview.cpp b/kdict/matchview.cpp index 76e05c6f..e4dd030b 100644 --- a/kdict/matchview.cpp +++ b/kdict/matchview.cpp @@ -110,8 +110,8 @@ void MatchViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, //********* MatchView ****************************************** -MatchView::MatchView(TQWidget *tqparent, const char *name) - : TQWidget(tqparent,name),getOn(false),getAllOn(false) +MatchView::MatchView(TQWidget *parent, const char *name) + : TQWidget(parent,name),getOn(false),getAllOn(false) { setCaption(kapp->makeStdCaption(i18n("Match List"))); @@ -232,7 +232,7 @@ void MatchView::getOneItem(TQListViewItem *i) { TQStringList defines; - if ((!i->childCount())&&(i->tqparent())) + if ((!i->childCount())&&(i->parent())) defines.append(((MatchViewItem *)(i))->command); else { i = i->firstChild(); @@ -378,7 +378,7 @@ void MatchView::buildPopupMenu(TQListViewItem *i, const TQPoint &_point, int) { rightBtnMenu->clear(); - if ((i!=0L)&&(i->isExpandable()||i->tqparent())) { + if ((i!=0L)&&(i->isExpandable()||i->parent())) { popupCurrent = (MatchViewItem *)(i); rightBtnMenu->insertItem(i18n("&Get"),this,TQT_SLOT(popupGetCurrent())); if (!i->isExpandable()) { // toplevel item -> only "get" |