summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:42:22 +0900
committerMichele Calgaro <[email protected]>2023-11-30 20:42:22 +0900
commit26d900d0839aac3760b6dbf5a0e79d1a66ea4d8a (patch)
tree1f1f210528fb32f45c7237d7b6c23eff9fdb078f /src/gvcore/imageview.cpp
parent357bdcb4722d4fbfe02cdd8685d76fd0be17259b (diff)
downloadgwenview-26d900d0839aac3760b6dbf5a0e79d1a66ea4d8a.tar.gz
gwenview-26d900d0839aac3760b6dbf5a0e79d1a66ea4d8a.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gvcore/imageview.cpp')
-rw-r--r--src/gvcore/imageview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp
index 11ffb94..3f1db66 100644
--- a/src/gvcore/imageview.cpp
+++ b/src/gvcore/imageview.cpp
@@ -280,7 +280,7 @@ public:
case TQEvent::KeyRelease:
case TQEvent::AccelOverride:
return static_cast< ImageView* >( TQT_TQWIDGET(parent()))
- ->viewportKeyEvent(TQT_TQKEYEVENT(event));
+ ->viewportKeyEvent(static_cast<TQKeyEvent*>(event));
default:
break;
}
@@ -1015,7 +1015,7 @@ bool ImageView::eventFilter(TQObject* obj, TQEvent* event) {
case TQEvent::KeyPress:
case TQEvent::KeyRelease:
case TQEvent::AccelOverride:
- return viewportKeyEvent(TQT_TQKEYEVENT(event));
+ return viewportKeyEvent(static_cast<TQKeyEvent*>(event));
case TQEvent::MouseButtonDblClick:
if (d->mToolID==ZOOM) return false;