summaryrefslogtreecommitdiffstats
path: root/client/crystalclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/crystalclient.cpp')
-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;
}