diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 21:30:19 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-02 22:40:29 +0900 |
commit | fc6c321edcec4a054663de7a00dcfb6a9f079513 (patch) | |
tree | e3134eef4983fc231d64e868eb62f085b8e80abb /twin-styles/kde1/kde1client.cpp | |
parent | e243bddfaeb49af5e2225097032e6f88e3634498 (diff) | |
download | tdeartwork-fc6c321edcec4a054663de7a00dcfb6a9f079513.tar.gz tdeartwork-fc6c321edcec4a054663de7a00dcfb6a9f079513.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 5e5046aefa744f5dd80a1742a10212a25d133912)
Diffstat (limited to 'twin-styles/kde1/kde1client.cpp')
-rw-r--r-- | twin-styles/kde1/kde1client.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/twin-styles/kde1/kde1client.cpp b/twin-styles/kde1/kde1client.cpp index 5e569d42..c06af33d 100644 --- a/twin-styles/kde1/kde1client.cpp +++ b/twin-styles/kde1/kde1client.cpp @@ -549,23 +549,23 @@ bool StdClient::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: @@ -698,23 +698,23 @@ bool StdToolClient::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: |