summaryrefslogtreecommitdiffstats
path: root/kdict/matchview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdict/matchview.cpp')
-rw-r--r--kdict/matchview.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kdict/matchview.cpp b/kdict/matchview.cpp
index 556685f5..424ae13e 100644
--- a/kdict/matchview.cpp
+++ b/kdict/matchview.cpp
@@ -120,7 +120,7 @@ MatchView::MatchView(TQWidget *parent, const char *name)
boxLayout->addSpacing(1);
w_strat = new TQComboBox(false,this);
w_strat->setFixedHeight(w_strat->sizeHint().height());
- connect(w_strat,TQT_SIGNAL(activated(int)),this,TQT_SLOT(strategySelected(int)));
+ connect(w_strat,TQ_SIGNAL(activated(int)),this,TQ_SLOT(strategySelected(int)));
boxLayout->addWidget(w_strat,0);
boxLayout->addSpacing(1);
@@ -134,12 +134,12 @@ MatchView::MatchView(TQWidget *parent, const char *name)
w_list->setTreeStepSize(18);
w_list->setSorting(-1); // disable sorting
w_list->setMinimumHeight(w_strat->sizeHint().height());
- connect(w_list,TQT_SIGNAL(selectionChanged()),TQT_SLOT(enableGetButton()));
- connect(w_list,TQT_SIGNAL(returnPressed(TQListViewItem *)),TQT_SLOT(returnPressed(TQListViewItem *)));
- connect(w_list,TQT_SIGNAL(doubleClicked(TQListViewItem *)),TQT_SLOT(getOneItem(TQListViewItem *)));
- connect(w_list,TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem *, const TQPoint &, int)),
- TQT_SLOT(mouseButtonPressed(int, TQListViewItem *, const TQPoint &, int)));
- connect(w_list,TQT_SIGNAL(rightButtonPressed(TQListViewItem *,const TQPoint &,int)),TQT_SLOT(buildPopupMenu(TQListViewItem *,const TQPoint &,int)));
+ connect(w_list,TQ_SIGNAL(selectionChanged()),TQ_SLOT(enableGetButton()));
+ connect(w_list,TQ_SIGNAL(returnPressed(TQListViewItem *)),TQ_SLOT(returnPressed(TQListViewItem *)));
+ connect(w_list,TQ_SIGNAL(doubleClicked(TQListViewItem *)),TQ_SLOT(getOneItem(TQListViewItem *)));
+ connect(w_list,TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem *, const TQPoint &, int)),
+ TQ_SLOT(mouseButtonPressed(int, TQListViewItem *, const TQPoint &, int)));
+ connect(w_list,TQ_SIGNAL(rightButtonPressed(TQListViewItem *,const TQPoint &,int)),TQ_SLOT(buildPopupMenu(TQListViewItem *,const TQPoint &,int)));
boxLayout->addWidget(w_list,1);
boxLayout->addSpacing(1);
@@ -147,16 +147,16 @@ MatchView::MatchView(TQWidget *parent, const char *name)
w_get->setFixedHeight(w_get->sizeHint().height()-3);
w_get->setMinimumWidth(w_get->sizeHint().width()-20);
w_get->setEnabled(false);
- connect(w_get, TQT_SIGNAL(clicked()), this, TQT_SLOT(getSelected()));
+ connect(w_get, TQ_SIGNAL(clicked()), this, TQ_SLOT(getSelected()));
boxLayout->addWidget(w_get,0);
w_getAll = new TQPushButton(i18n("Get &All"),this);
w_getAll->setFixedHeight(w_getAll->sizeHint().height()-3);
w_getAll->setMinimumWidth(w_getAll->sizeHint().width()-20);
w_getAll->setEnabled(false);
- connect(w_getAll, TQT_SIGNAL(clicked()), this, TQT_SLOT(getAll()));
+ connect(w_getAll, TQ_SIGNAL(clicked()), this, TQ_SLOT(getAll()));
boxLayout->addWidget(w_getAll,0);
- connect(interface,TQT_SIGNAL(matchReady(const TQStringList &)),this,TQT_SLOT(newList(const TQStringList &)));
+ connect(interface,TQ_SIGNAL(matchReady(const TQStringList &)),this,TQ_SLOT(newList(const TQStringList &)));
rightBtnMenu = new TDEPopupMenu();
}
@@ -380,10 +380,10 @@ void MatchView::buildPopupMenu(TQListViewItem *i, const TQPoint &_point, int)
if ((i!=0L)&&(i->isExpandable()||i->parent())) {
popupCurrent = (MatchViewItem *)(i);
- rightBtnMenu->insertItem(i18n("&Get"),this,TQT_SLOT(popupGetCurrent()));
+ rightBtnMenu->insertItem(i18n("&Get"),this,TQ_SLOT(popupGetCurrent()));
if (!i->isExpandable()) { // toplevel item -> only "get"
- rightBtnMenu->insertItem(i18n("&Match"),this,TQT_SLOT(popupMatchCurrent()));
- rightBtnMenu->insertItem(i18n("&Define"),this,TQT_SLOT(popupDefineCurrent()));
+ rightBtnMenu->insertItem(i18n("&Match"),this,TQ_SLOT(popupMatchCurrent()));
+ rightBtnMenu->insertItem(i18n("&Define"),this,TQ_SLOT(popupDefineCurrent()));
}
rightBtnMenu->insertSeparator();
}
@@ -396,20 +396,20 @@ void MatchView::buildPopupMenu(TQListViewItem *i, const TQPoint &_point, int)
}
if (!text.isEmpty()) {
popupClip = kapp->clipboard()->text();
- rightBtnMenu->insertItem(i18n("Match &Clipboard Content"),this,TQT_SLOT(popupMatchClip()));
- rightBtnMenu->insertItem(SmallIcon("define_clip"),i18n("D&efine Clipboard Content"),this,TQT_SLOT(popupDefineClip()));
+ rightBtnMenu->insertItem(i18n("Match &Clipboard Content"),this,TQ_SLOT(popupMatchClip()));
+ rightBtnMenu->insertItem(SmallIcon("define_clip"),i18n("D&efine Clipboard Content"),this,TQ_SLOT(popupDefineClip()));
rightBtnMenu->insertSeparator();
}
- int ID = rightBtnMenu->insertItem(i18n("Get &Selected"),this,TQT_SLOT(getSelected()));
+ int ID = rightBtnMenu->insertItem(i18n("Get &Selected"),this,TQ_SLOT(getSelected()));
rightBtnMenu->setItemEnabled(ID,getOn);
- ID = rightBtnMenu->insertItem(i18n("Get &All"),this,TQT_SLOT(getAll()));
+ ID = rightBtnMenu->insertItem(i18n("Get &All"),this,TQ_SLOT(getAll()));
rightBtnMenu->setItemEnabled(ID,getAllOn);
if (w_list->childCount()) {
rightBtnMenu->insertSeparator();
- rightBtnMenu->insertItem(i18n("E&xpand List"),this,TQT_SLOT(expandList()));
- rightBtnMenu->insertItem(i18n("C&ollapse List"),this,TQT_SLOT(collapseList()));
+ rightBtnMenu->insertItem(i18n("E&xpand List"),this,TQ_SLOT(expandList()));
+ rightBtnMenu->insertItem(i18n("C&ollapse List"),this,TQ_SLOT(collapseList()));
}
rightBtnMenu->popup(_point);