summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kivioselecttool
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:43:20 +0900
committerMichele Calgaro <[email protected]>2023-11-30 23:46:05 +0900
commit5761876d3a71e9b3c5a93b5b535b071d2240b08e (patch)
tree0ea383b7af28380ecec4a4059b1ed0bdcdbe8338 /kivio/plugins/kivioselecttool
parent2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4 (diff)
downloadkoffice-5761876d3a71e9b3c5a93b5b535b071d2240b08e.tar.gz
koffice-5761876d3a71e9b3c5a93b5b535b071d2240b08e.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d7ae9fb514226c126e04cfe4f34800beb9f4ea19)
Diffstat (limited to 'kivio/plugins/kivioselecttool')
-rw-r--r--kivio/plugins/kivioselecttool/tool_select.cpp6
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;