From 089118c18533dfa3e6ce5065dbebdd4db94051f1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:33:51 -0600 Subject: Rename old tq methods that no longer need a unique name --- kdict/matchview.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdict/matchview.cpp') diff --git a/kdict/matchview.cpp b/kdict/matchview.cpp index e4dd030b..f49a4c7f 100644 --- a/kdict/matchview.cpp +++ b/kdict/matchview.cpp @@ -119,7 +119,7 @@ MatchView::MatchView(TQWidget *parent, const char *name) boxLayout->addSpacing(1); w_strat = new TQComboBox(false,this); - w_strat->setFixedHeight(w_strat->tqsizeHint().height()); + w_strat->setFixedHeight(w_strat->sizeHint().height()); connect(w_strat,TQT_SIGNAL(activated(int)),this,TQT_SLOT(strategySelected(int))); boxLayout->addWidget(w_strat,0); boxLayout->addSpacing(1); @@ -133,7 +133,7 @@ MatchView::MatchView(TQWidget *parent, const char *name) w_list->setSelectionMode(TQListView::Extended); w_list->setTreeStepSize(18); w_list->setSorting(-1); // disable sorting - w_list->setMinimumHeight(w_strat->tqsizeHint().height()); + 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 *))); @@ -144,15 +144,15 @@ MatchView::MatchView(TQWidget *parent, const char *name) boxLayout->addSpacing(1); w_get = new TQPushButton(i18n("&Get Selected"),this); - w_get->setFixedHeight(w_get->tqsizeHint().height()-3); - w_get->setMinimumWidth(w_get->tqsizeHint().width()-20); + 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())); boxLayout->addWidget(w_get,0); w_getAll = new TQPushButton(i18n("Get &All"),this); - w_getAll->setFixedHeight(w_getAll->tqsizeHint().height()-3); - w_getAll->setMinimumWidth(w_getAll->tqsizeHint().width()-20); + 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())); boxLayout->addWidget(w_getAll,0); -- cgit v1.2.1