summaryrefslogtreecommitdiffstats
path: root/kdict
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:53:50 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:31:40 +0900
commit203566f83535401b5013d37c4e319b1278a4d650 (patch)
treeaeeac7a86d9225fc54cc8c8c73df440fb9ba1ab5 /kdict
parentc613d3df31b003c077f524cd7184590339b0c04d (diff)
downloadtdenetwork-203566f83535401b5013d37c4e319b1278a4d650.tar.gz
tdenetwork-203566f83535401b5013d37c4e319b1278a4d650.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d37705184967f236c728938b2824abbed628ce26)
Diffstat (limited to 'kdict')
-rw-r--r--kdict/matchview.cpp2
-rw-r--r--kdict/queryview.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kdict/matchview.cpp b/kdict/matchview.cpp
index be2e018b..8d4a7dc6 100644
--- a/kdict/matchview.cpp
+++ b/kdict/matchview.cpp
@@ -125,7 +125,7 @@ MatchView::MatchView(TQWidget *parent, const char *name)
boxLayout->addSpacing(1);
w_list = new TQListView(this);
- w_list->setFocusPolicy(TQ_StrongFocus);
+ w_list->setFocusPolicy(TQWidget::StrongFocus);
w_list->header()->hide();
w_list->addColumn("foo");
w_list->setColumnWidthMode(0,TQListView::Maximum);
diff --git a/kdict/queryview.cpp b/kdict/queryview.cpp
index 902b412e..ea108c60 100644
--- a/kdict/queryview.cpp
+++ b/kdict/queryview.cpp
@@ -140,7 +140,7 @@ QueryView::QueryView(TQWidget *_parent)
part->setJScriptEnabled(false);
part->setJavaEnabled(false);
part->setURLCursor(KCursor::handCursor());
- setFocusPolicy(TQ_NoFocus);
+ setFocusPolicy(TQWidget::NoFocus);
connect(part, TQT_SIGNAL(completed()), TQT_SLOT(partCompleted()));
connect(part, TQT_SIGNAL(middleButtonClicked()), TQT_SLOT(middleButtonClicked()));
rightBtnMenu = new TDEPopupMenu(this);