From 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:30:28 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- twin/clients/keramik/keramik.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'twin/clients/keramik') diff --git a/twin/clients/keramik/keramik.cpp b/twin/clients/keramik/keramik.cpp index 0a9c7e2d5..fe7cc37d7 100644 --- a/twin/clients/keramik/keramik.cpp +++ b/twin/clients/keramik/keramik.cpp @@ -1802,23 +1802,23 @@ bool KeramikClient::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: -- cgit v1.2.1