diff options
Diffstat (limited to 'kivio/kiviopart/ui/kivio_birdeye_panel.cpp')
-rw-r--r-- | kivio/kiviopart/ui/kivio_birdeye_panel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp index 8cb18976..ed92bff8 100644 --- a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp +++ b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp @@ -99,7 +99,7 @@ bool KivioBirdEyePanel::eventFilter(TQObject* o, TQEvent* ev) } if (o == canvas && ev->type() == TQEvent::MouseMove) { - TQMouseEvent* me = TQT_TQMOUSEEVENT(ev); + TQMouseEvent* me = static_cast<TQMouseEvent*>(ev); if (me->state() == TQt::LeftButton) handleMouseMoveAction(me->pos()); else @@ -110,7 +110,7 @@ bool KivioBirdEyePanel::eventFilter(TQObject* o, TQEvent* ev) } if (o == canvas && ev->type() == TQEvent::MouseButtonPress) { - TQMouseEvent* me = TQT_TQMOUSEEVENT(ev); + TQMouseEvent* me = static_cast<TQMouseEvent*>(ev); if (me->button() == TQt::LeftButton) handleMousePress(me->pos()); |