summaryrefslogtreecommitdiffstats
path: root/twin-styles/cde/cdeclient.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 21:30:19 +0900
committerMichele Calgaro <[email protected]>2023-11-30 21:30:19 +0900
commit5e5046aefa744f5dd80a1742a10212a25d133912 (patch)
tree332d4a45b7c65ed95e844201522e3f353fb83e64 /twin-styles/cde/cdeclient.cpp
parentf6494efdde0a3cf0f93fd8e51f2f84accaeb19c1 (diff)
downloadtdeartwork-5e5046aefa744f5dd80a1742a10212a25d133912.tar.gz
tdeartwork-5e5046aefa744f5dd80a1742a10212a25d133912.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin-styles/cde/cdeclient.cpp')
-rw-r--r--twin-styles/cde/cdeclient.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/twin-styles/cde/cdeclient.cpp b/twin-styles/cde/cdeclient.cpp
index eaea2002..5aa8215e 100644
--- a/twin-styles/cde/cdeclient.cpp
+++ b/twin-styles/cde/cdeclient.cpp
@@ -758,22 +758,22 @@ bool CdeClient::eventFilter(TQObject *o, TQEvent *e)
return false;
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::Show:
- showEvent(TQT_TQSHOWEVENT(e));
+ showEvent(static_cast<TQShowEvent*>(e));
return true;
case TQEvent::Wheel:
- wheelEvent( TQT_TQWHEELEVENT( e ));
+ wheelEvent( static_cast<TQWheelEvent*>( e ));
return true;
default:
break;