summaryrefslogtreecommitdiffstats
path: root/kdict
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:50 +0900
commitd37705184967f236c728938b2824abbed628ce26 (patch)
tree891cb2133b5edea3d2c78fc5ee31ba1b0e3d49ee /kdict
parent42857567f953e2f9bdda1ac81ee6c3557dee5a29 (diff)
downloadtdenetwork-d37705184967f236c728938b2824abbed628ce26.tar.gz
tdenetwork-d37705184967f236c728938b2824abbed628ce26.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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);