summaryrefslogtreecommitdiffstats
path: root/kmymoney2
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-02 15:50:01 +0900
commit07ee42fec37a3bee1c18f7dc776389063787f894 (patch)
tree4802090974d400700158c5ed0b434843d7d45008 /kmymoney2
parent67a43ced38fe2ab8b9b572639d9d420375d237b0 (diff)
downloadkmymoney-07ee42fec37a3bee1c18f7dc776389063787f894.tar.gz
kmymoney-07ee42fec37a3bee1c18f7dc776389063787f894.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmymoney2')
-rw-r--r--kmymoney2/converter/webpricequote.cpp2
-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
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneycompletion.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneydatetbl.cpp2
8 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/converter/webpricequote.cpp b/kmymoney2/converter/webpricequote.cpp
index ff2104b..b6732dd 100644
--- a/kmymoney2/converter/webpricequote.cpp
+++ b/kmymoney2/converter/webpricequote.cpp
@@ -239,7 +239,7 @@ void tqt_leave_modal( TQWidget *widget );
void WebPriceQuote::enter_loop(void)
{
TQWidget dummy(0,0,WType_Dialog | WShowModal);
- dummy.setFocusPolicy( TQ_NoFocus );
+ dummy.setFocusPolicy( TQWidget::NoFocus );
tqt_enter_modal(&dummy);
tqApp->enter_loop();
tqt_leave_modal(&dummy);
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&)),
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index 7d05df1..34eb118 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -1230,7 +1230,7 @@ bool TDEGlobalLedgerView::focusNextPrevChild(bool next)
}
if(w != currentWidget
- && ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus)
+ && ((w->focusPolicy() & TQWidget::TabFocus) == TQWidget::TabFocus)
&& w->isVisible() && w->isEnabled()) {
// tqDebug(TQString("Selecting '%1' as focus").arg(w->className()));
w->setFocus();
diff --git a/kmymoney2/widgets/kmymoneycompletion.cpp b/kmymoney2/widgets/kmymoneycompletion.cpp
index 529ec7f..ef763cc 100644
--- a/kmymoney2/widgets/kmymoneycompletion.cpp
+++ b/kmymoney2/widgets/kmymoneycompletion.cpp
@@ -51,7 +51,7 @@ kMyMoneyCompletion::kMyMoneyCompletion(TQWidget *parent, const char *name ) :
m_selector->listView()->setFocusProxy(this);
m_parent = parent;
- setFocusProxy((parent) ? parent : (TQWidget*) TQ_NoFocus);
+ setFocusProxy((parent) ? parent : (TQWidget*) TQWidget::NoFocus);
setFrameStyle(TQFrame::PopupPanel | TQFrame::Raised);
connectSignals(m_selector, m_selector->listView());
}
diff --git a/kmymoney2/widgets/kmymoneydatetbl.cpp b/kmymoney2/widgets/kmymoneydatetbl.cpp
index 971891f..989badd 100644
--- a/kmymoney2/widgets/kmymoneydatetbl.cpp
+++ b/kmymoney2/widgets/kmymoneydatetbl.cpp
@@ -86,7 +86,7 @@ kMyMoneyDateTbl::kMyMoneyDateTbl(TQWidget *parent, TQDate date_, const char* nam
kdDebug() << "kMyMoneyDateTbl ctor: WARNING: Given date is invalid, using current date." << endl;
date_=TQDate::currentDate();
}
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
viewport()->setEraseColor(TDEGlobalSettings::baseColor());