summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets
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/widgets
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/widgets')
-rw-r--r--kmymoney2/widgets/kmymoneycompletion.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneydatetbl.cpp2
2 files changed, 2 insertions, 2 deletions
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());