summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:43:50 +0900
committerMichele Calgaro <[email protected]>2023-11-30 23:45:17 +0900
commite87fce4fe4a15394a8f686cec10d73ba171c80b4 (patch)
tree0c90bedf71cdbf2effe994244da114dd42b0f9a0
parent857dc031181e871c8833b592a67b3d56a2a6be0d (diff)
downloadtwin-style-crystal-e87fce4fe4a15394a8f686cec10d73ba171c80b4.tar.gz
twin-style-crystal-e87fce4fe4a15394a8f686cec10d73ba171c80b4.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 3c18be9389a9ec9c6a3ad3703a88d076f6de0e52)
-rw-r--r--client/crystalclient.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/crystalclient.cpp b/client/crystalclient.cpp
index 32eca46..8199478 100644
--- a/client/crystalclient.cpp
+++ b/client/crystalclient.cpp
@@ -1146,27 +1146,27 @@ bool CrystalClient::eventFilter(TQObject *obj, TQEvent *e)
switch (e->type()) {
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::Paint:
- paintEvent(TQT_TQPAINTEVENT(e));
+ paintEvent(static_cast<TQPaintEvent*>(e));
return true;
case TQEvent::Wheel:
- mouseWheelEvent(TQT_TQWHEELEVENT(e));
+ mouseWheelEvent(static_cast<TQWheelEvent*>(e));
return true;
case TQEvent::Resize:
- resizeEvent(TQT_TQRESIZEEVENT(e));
+ resizeEvent(static_cast<TQResizeEvent*>(e));
return true;
case TQEvent::Show:
- showEvent(TQT_TQSHOWEVENT(e));
+ showEvent(static_cast<TQShowEvent*>(e));
return true;
case TQEvent::Move:
- moveEvent(TQT_TQMOVEEVENT(e));
+ moveEvent(static_cast<TQMoveEvent*>(e));
return true;
default:return false;
}