summaryrefslogtreecommitdiffstats
path: root/kooka/ksaneocr.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:45:35 +0900
commit556d90cb570e370385fcf5515e1a6e0532822d82 (patch)
tree679cdf46e3b80698af2cddef09f74079aec59738 /kooka/ksaneocr.cpp
parent7ec27f89c574376989e3199731debf8a01cd2919 (diff)
downloadtdegraphics-556d90cb570e370385fcf5515e1a6e0532822d82.tar.gz
tdegraphics-556d90cb570e370385fcf5515e1a6e0532822d82.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c3aa1feaab76f93138ae16090af4b2acb4dcc147)
Diffstat (limited to 'kooka/ksaneocr.cpp')
-rw-r--r--kooka/ksaneocr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kooka/ksaneocr.cpp b/kooka/ksaneocr.cpp
index a0a3de38..672989b1 100644
--- a/kooka/ksaneocr.cpp
+++ b/kooka/ksaneocr.cpp
@@ -1127,7 +1127,7 @@ bool KSANEOCR::eventFilter( TQObject *object, TQEvent *event )
{
if( event->type() == TQEvent::MouseButtonDblClick )
{
- TQMouseEvent *mev = TQT_TQMOUSEEVENT(event);
+ TQMouseEvent *mev = static_cast<TQMouseEvent*>(event);
int x = mev->x();
int y = mev->y();