summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:43:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:43:50 +0900
commit3c18be9389a9ec9c6a3ad3703a88d076f6de0e52 (patch)
tree7dcd8524ec691ac90d62901e50febe5dbfed4941
parent56e2987fe786539a529bb2263a20fbf4b3627467 (diff)
downloadtwin-style-crystal-3c18be9389a9ec9c6a3ad3703a88d076f6de0e52.tar.gz
twin-style-crystal-3c18be9389a9ec9c6a3ad3703a88d076f6de0e52.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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;
}