diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:30:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-02 22:50:02 +0900 |
commit | b19e4cab8888a6f486ebdb7242ea5f65435cb68c (patch) | |
tree | b23c2cdc474711742f76fa71df81896c3f421c94 /twin/lib | |
parent | 6b5d95d534223dc1d09d8d8f5eec1f146d8b1dec (diff) | |
download | tdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.tar.gz tdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43)
Diffstat (limited to 'twin/lib')
-rw-r--r-- | twin/lib/kcommondecoration.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/twin/lib/kcommondecoration.cpp b/twin/lib/kcommondecoration.cpp index 6bec9b928..7d219ae7f 100644 --- a/twin/lib/kcommondecoration.cpp +++ b/twin/lib/kcommondecoration.cpp @@ -849,19 +849,19 @@ bool KCommonDecoration::eventFilter( TQObject* o, TQEvent* e ) switch( e->type()) { case TQEvent::Resize: - resizeEvent(TQT_TQRESIZEEVENT(e) ); + resizeEvent(static_cast<TQResizeEvent*>(e) ); return true; case TQEvent::Paint: - paintEvent(TQT_TQPAINTEVENT( e )); + paintEvent(static_cast<TQPaintEvent*>( e )); return true; case TQEvent::MouseButtonDblClick: - mouseDoubleClickEvent(TQT_TQMOUSEEVENT( e )); + mouseDoubleClickEvent(static_cast<TQMouseEvent*>( e )); return true; case TQEvent::MouseButtonPress: - processMousePressEvent(TQT_TQMOUSEEVENT( e )); + processMousePressEvent(static_cast<TQMouseEvent*>( e )); return true; case TQEvent::Wheel: - wheelEvent(TQT_TQWHEELEVENT( e )); + wheelEvent(static_cast<TQWheelEvent*>( e )); return true; default: return false; |