From d8d8319b3dddc86303699f242be2f1a36206da8e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:30:52 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro (cherry picked from commit f22a9c72dda24871973033123039639af6577eaa) --- tdestyles/keramik/keramik.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tdestyles') diff --git a/tdestyles/keramik/keramik.cpp b/tdestyles/keramik/keramik.cpp index a3f35f176..e9cba8584 100644 --- a/tdestyles/keramik/keramik.cpp +++ b/tdestyles/keramik/keramik.cpp @@ -2808,7 +2808,7 @@ bool KeramikStyle::objectEventHandler( const TQStyleControlElementData &ceData, return false; recursion = true; - object->event( TQT_TQPAINTEVENT( event ) ); + object->event( static_cast( event ) ); TQWidget* widget = TQT_TQWIDGET( object ); TQPainter p( widget ); Keramik::RectTilePainter( keramik_frame_shadow, false, false, 2, 2 ).draw( &p, ceData.rect, @@ -2827,7 +2827,7 @@ bool KeramikStyle::objectEventHandler( const TQStyleControlElementData &ceData, case TQEvent::Resize: { TQListBox* listbox = static_cast(TQT_TQWIDGET(object)); - TQResizeEvent* resize = TQT_TQRESIZEEVENT(event); + TQResizeEvent* resize = static_cast(event); if (resize->size().height() < 6) return false; @@ -2891,7 +2891,7 @@ bool KeramikStyle::objectEventHandler( const TQStyleControlElementData &ceData, { firstComboPopupRelease = false; - TQMouseEvent* mev = TQT_TQMOUSEEVENT(event); + TQMouseEvent* mev = static_cast(event); TQListBox* box = static_cast(TQT_TQWIDGET(object)); TQWidget* parent = box->parentWidget(); -- cgit v1.2.1