From fc6c321edcec4a054663de7a00dcfb6a9f079513 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 (cherry picked from commit 5e5046aefa744f5dd80a1742a10212a25d133912) --- twin-styles/system/systemclient.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'twin-styles/system') diff --git a/twin-styles/system/systemclient.cpp b/twin-styles/system/systemclient.cpp index 822fb6df..17b93e20 100644 --- a/twin-styles/system/systemclient.cpp +++ b/twin-styles/system/systemclient.cpp @@ -417,19 +417,19 @@ bool SystemClient::eventFilter( TQObject* o, TQEvent* e ) switch( e->type()) { case TQEvent::Resize: - resizeEvent(TQT_TQRESIZEEVENT( e ) ); + resizeEvent(static_cast( e ) ); return true; case TQEvent::Paint: - paintEvent(TQT_TQPAINTEVENT( e ) ); + paintEvent(static_cast( e ) ); return true; 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::Wheel: - wheelEvent( TQT_TQWHEELEVENT( e )); + wheelEvent( static_cast( e )); return true; default: break; -- cgit v1.2.1