diff options
Diffstat (limited to 'kivio/plugins/kivioselecttool')
-rw-r--r-- | kivio/plugins/kivioselecttool/tool_select.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kivio/plugins/kivioselecttool/tool_select.cpp b/kivio/plugins/kivioselecttool/tool_select.cpp index 86a05245..50cdecc7 100644 --- a/kivio/plugins/kivioselecttool/tool_select.cpp +++ b/kivio/plugins/kivioselecttool/tool_select.cpp @@ -128,13 +128,13 @@ bool SelectTool::processEvent(TQEvent* e) break; case TQEvent::MouseMove: - mouseMove( TQT_TQMOUSEEVENT(e)); + mouseMove( static_cast<TQMouseEvent*>(e)); return true; break; case TQEvent::KeyPress: - if((TQT_TQKEYEVENT(e)->key() >= Key_Left) && (TQT_TQKEYEVENT(e)->key() <= Key_Down)) { - keyPress(TQT_TQKEYEVENT(e)); + if((static_cast<TQKeyEvent*>(e)->key() >= Key_Left) && (static_cast<TQKeyEvent*>(e)->key() <= Key_Down)) { + keyPress(static_cast<TQKeyEvent*>(e)); return true; } break; |