diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 20:43:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-30 21:03:28 +0900 |
commit | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (patch) | |
tree | 4d12f786f3541b9ff0225f0ceb2bec0b9268a163 /kivio/kiviopart/ui/kivio_birdeye_panel.cpp | |
parent | b727f4b3b1957bec28a350575237b93f8f278cdb (diff) | |
download | koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.tar.gz koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
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()); |