summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kiviotargettool
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/plugins/kiviotargettool')
-rw-r--r--kivio/plugins/kiviotargettool/kiviotargettool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/plugins/kiviotargettool/kiviotargettool.cpp b/kivio/plugins/kiviotargettool/kiviotargettool.cpp
index be6f60d8..46f6b5c5 100644
--- a/kivio/plugins/kiviotargettool/kiviotargettool.cpp
+++ b/kivio/plugins/kiviotargettool/kiviotargettool.cpp
@@ -49,10 +49,10 @@ namespace Kivio {
bool TargetTool::processEvent(TQEvent* e)
{
if(e->type() == TQEvent::MouseButtonPress) {
- mousePress(TQT_TQMOUSEEVENT(e));
+ mousePress(static_cast<TQMouseEvent*>(e));
return true;
} else if(e->type() == TQEvent::MouseMove) {
- mouseMove(TQT_TQMOUSEEVENT(e));
+ mouseMove(static_cast<TQMouseEvent*>(e));
return true;
}