From 562093b2dca8669276fe2e3e37330b12a15daebb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 20:43:44 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro --- style/qtcurve.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp index 185faca..baab63e 100644 --- a/style/qtcurve.cpp +++ b/style/qtcurve.cpp @@ -2336,7 +2336,7 @@ bool QtCurveStyle::objectEventHandler( const TQStyleControlElementData &ceData, { case TQEvent::Resize: { - TQResizeEvent *re = TQT_TQRESIZEEVENT(event); + TQResizeEvent *re = static_cast(event); if (re->size().height() != re->oldSize().height()) emitMenuSize((TQMenuBar *)object, re->size().height()); @@ -2528,7 +2528,7 @@ bool QtCurveStyle::objectEventHandler( const TQStyleControlElementData &ceData, break; case TQEvent::MouseMove: // Only occurs for widgets with mouse tracking enabled { - TQMouseEvent *me = TQT_TQMOUSEEVENT(event); + TQMouseEvent *me = static_cast(event); if(me && itsHoverWidget && object->isWidgetType()) { -- cgit v1.2.1