From 07ee42fec37a3bee1c18f7dc776389063787f894 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:50:01 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- kmymoney2/widgets/kmymoneycompletion.cpp | 2 +- kmymoney2/widgets/kmymoneydatetbl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kmymoney2/widgets') 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()); -- cgit v1.2.1