diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 21:30:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-02 22:49:42 +0900 |
commit | d8d8319b3dddc86303699f242be2f1a36206da8e (patch) | |
tree | 4d8df38004b23ec50344a7126746bbb3453994a5 /tdestyles | |
parent | 3a837ecf257dc334d65818d456d5a6bd6a8b98ef (diff) | |
download | tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.tar.gz tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit f22a9c72dda24871973033123039639af6577eaa)
Diffstat (limited to 'tdestyles')
-rw-r--r-- | tdestyles/keramik/keramik.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<TQPaintEvent*>( 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<TQListBox*>(TQT_TQWIDGET(object)); - TQResizeEvent* resize = TQT_TQRESIZEEVENT(event); + TQResizeEvent* resize = static_cast<TQResizeEvent*>(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<TQMouseEvent*>(event); TQListBox* box = static_cast<TQListBox*>(TQT_TQWIDGET(object)); TQWidget* parent = box->parentWidget(); |