From 5e5046aefa744f5dd80a1742a10212a25d133912 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:30:19 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- twin-styles/smooth-blend/client/smoothblend.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'twin-styles/smooth-blend') diff --git a/twin-styles/smooth-blend/client/smoothblend.cpp b/twin-styles/smooth-blend/client/smoothblend.cpp index b097a32b..ba9d5973 100644 --- a/twin-styles/smooth-blend/client/smoothblend.cpp +++ b/twin-styles/smooth-blend/client/smoothblend.cpp @@ -1047,27 +1047,27 @@ bool smoothblendClient::eventFilter(TQObject *obj, TQEvent *e) { switch (e->type()) { case TQEvent::MouseButtonDblClick: { - mouseDoubleClickEvent(TQT_TQMOUSEEVENT(e)); + mouseDoubleClickEvent(static_cast(e)); return true; } case TQEvent::MouseButtonPress: { - processMousePressEvent(TQT_TQMOUSEEVENT(e)); + processMousePressEvent(static_cast(e)); return true; } case TQEvent::Paint: { - paintEvent(TQT_TQPAINTEVENT(e)); + paintEvent(static_cast(e)); return true; } case TQEvent::Resize: { - resizeEvent(TQT_TQRESIZEEVENT(e)); + resizeEvent(static_cast(e)); return true; } case TQEvent::Show: { - showEvent(TQT_TQSHOWEVENT(e)); + showEvent(static_cast(e)); return true; } case TQEvent::Wheel: { - wheelEvent(TQT_TQWHEELEVENT( e )); + wheelEvent(static_cast( e )); return true; } default: { -- cgit v1.2.1