From b50df900ce9ce1c9ad3b2e6dd25feb5cde644e1d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 20:43:12 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- kmymoney2/widgets/kmymoneycompletion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kmymoney2/widgets/kmymoneycompletion.cpp') diff --git a/kmymoney2/widgets/kmymoneycompletion.cpp b/kmymoney2/widgets/kmymoneycompletion.cpp index ef763cc..eb818d8 100644 --- a/kmymoney2/widgets/kmymoneycompletion.cpp +++ b/kmymoney2/widgets/kmymoneycompletion.cpp @@ -172,7 +172,7 @@ bool kMyMoneyCompletion::eventFilter(TQObject* o, TQEvent* e) if(o == m_parent || (c && o == c->lineEdit())) { if(isVisible()) { if(type == TQEvent::KeyPress) { - TQKeyEvent* ev = TQT_TQKEYEVENT (e); + TQKeyEvent* ev = static_cast (e); TQKeyEvent evt(TQEvent::KeyPress, Key_Down, 0, ev->state(), TQString(), ev->isAutoRepeat(), ev->count()); -- cgit v1.2.1