summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-03 22:55:03 +0900
commite35b2733a1684d98854079cdc9453b4bb22e49a4 (patch)
treeba2ce7edbff3fc1d66645d86f7b56cbb843fba9f /kmymoney2/dialogs
parentcc8fe772c82c78fd09df04d6ece600bdc72a3618 (diff)
downloadkmymoney-e35b2733a1684d98854079cdc9453b4bb22e49a4.tar.gz
kmymoney-e35b2733a1684d98854079cdc9453b4bb22e49a4.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 07ee42fec37a3bee1c18f7dc776389063787f894)
Diffstat (limited to 'kmymoney2/dialogs')
-rw-r--r--kmymoney2/dialogs/keditscheduledlg.cpp2
-rw-r--r--kmymoney2/dialogs/kenterscheduledlg.cpp2
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp2
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.cpp6
4 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/dialogs/keditscheduledlg.cpp b/kmymoney2/dialogs/keditscheduledlg.cpp
index 92d19c1..0d6a3a1 100644
--- a/kmymoney2/dialogs/keditscheduledlg.cpp
+++ b/kmymoney2/dialogs/keditscheduledlg.cpp
@@ -412,7 +412,7 @@ bool KEditScheduleDlg::focusNextPrevChild(bool next)
}
if(w != currentWidget
- && ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
+ && ((w->focusPolicy() & TQWidget::TabFocus) == TQWidget::TabFocus)
&& w->isVisible() && w->isEnabled()) {
// tqDebug("Selecting '%s' as focus", w->className());
w->setFocus();
diff --git a/kmymoney2/dialogs/kenterscheduledlg.cpp b/kmymoney2/dialogs/kenterscheduledlg.cpp
index 263e35e..bae7247 100644
--- a/kmymoney2/dialogs/kenterscheduledlg.cpp
+++ b/kmymoney2/dialogs/kenterscheduledlg.cpp
@@ -308,7 +308,7 @@ bool KEnterScheduleDlg::focusNextPrevChild(bool next)
}
if(w != currentWidget
- && ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
+ && ((w->focusPolicy() & TQWidget::TabFocus) == TQWidget::TabFocus)
&& w->isVisible() && w->isEnabled()) {
// tqDebug("Selecting '%s' as focus", w->className());
w->setFocus();
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index 6f62d44..5a93427 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -981,7 +981,7 @@ bool kMyMoneySplitTable::focusNextPrevChild(bool next)
}
if(w != currentWidget
- && ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
+ && ((w->focusPolicy() & TQWidget::TabFocus) == TQWidget::TabFocus)
&& w->isVisible() && w->isEnabled()) {
w->setFocus();
rc = true;
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp
index 6a06618..30a8a51 100644
--- a/kmymoney2/dialogs/ksplittransactiondlg.cpp
+++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp
@@ -94,9 +94,9 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t,
finishBtn->setDefault(true);
// setup the focus
- cancelBtn->setFocusPolicy(TQ_NoFocus);
- finishBtn->setFocusPolicy(TQ_NoFocus);
- clearAllBtn->setFocusPolicy(TQ_NoFocus);
+ cancelBtn->setFocusPolicy(TQWidget::NoFocus);
+ finishBtn->setFocusPolicy(TQWidget::NoFocus);
+ clearAllBtn->setFocusPolicy(TQWidget::NoFocus);
// connect signals with slots
connect(transactionsTable, TQT_SIGNAL(transactionChanged(const MyMoneyTransaction&)),