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 --- tdm/kfrontend/themer/tdmthemer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdm/kfrontend') diff --git a/tdm/kfrontend/themer/tdmthemer.cpp b/tdm/kfrontend/themer/tdmthemer.cpp index 8e7d33bf1..0a0e7fabb 100644 --- a/tdm/kfrontend/themer/tdmthemer.cpp +++ b/tdm/kfrontend/themer/tdmthemer.cpp @@ -139,19 +139,19 @@ KdmThemer::widgetEvent( TQEvent *e ) switch (e->type()) { case TQEvent::MouseMove: { - TQMouseEvent *me = TQT_TQMOUSEEVENT(e); + TQMouseEvent *me = static_cast(e); rootItem->mouseEvent( me->x(), me->y() ); } break; case TQEvent::MouseButtonPress: { - TQMouseEvent *me = TQT_TQMOUSEEVENT(e); + TQMouseEvent *me = static_cast(e); rootItem->mouseEvent( me->x(), me->y(), true ); } break; case TQEvent::MouseButtonRelease: { - TQMouseEvent *me = TQT_TQMOUSEEVENT(e); + TQMouseEvent *me = static_cast(e); rootItem->mouseEvent( me->x(), me->y(), false, true ); } break; @@ -164,7 +164,7 @@ KdmThemer::widgetEvent( TQEvent *e ) break; case TQEvent::Paint: { - TQRect paintRect = TQT_TQPAINTEVENT(e)->rect(); + TQRect paintRect = static_cast(e)->rect(); kdDebug() << timestamp() << " paint on: " << paintRect << endl; if (!argb_visual_available) { -- cgit v1.2.1