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/plugins/kivioselecttool | |
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/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; |