diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:30:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:30:52 +0900 |
commit | f22a9c72dda24871973033123039639af6577eaa (patch) | |
tree | 3e9e1aa31f39f5945b92282e7d14a0c88a0ebcbf /tdestyles | |
parent | 7a00e005dd5806a1056488e3a1199bf382a42623 (diff) | |
download | tdelibs-f22a9c72dda24871973033123039639af6577eaa.tar.gz tdelibs-f22a9c72dda24871973033123039639af6577eaa.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 d09fd6f58..13fef3417 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(); |