summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_view.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 21:30:28 +0900
committerMichele Calgaro <[email protected]>2023-12-02 14:46:25 +0900
commit8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43 (patch)
tree9bb7ea2dce56ce30b2ea9a7006542a2a72ae323b /konqueror/konq_view.cpp
parent5590077e66774b629235516744993014360c3d25 (diff)
downloadtdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.tar.gz
tdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konqueror/konq_view.cpp')
-rw-r--r--konqueror/konq_view.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/konqueror/konq_view.cpp b/konqueror/konq_view.cpp
index 856c4aa92..0bacb9c5b 100644
--- a/konqueror/konq_view.cpp
+++ b/konqueror/konq_view.cpp
@@ -1293,7 +1293,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e )
{
if ( e->type() == TQEvent::ContextMenu )
{
- TQContextMenuEvent *ev = TQT_TQCONTEXTMENUEVENT( e );
+ TQContextMenuEvent *ev = static_cast<TQContextMenuEvent*>( e );
if ( ev->reason() == TQContextMenuEvent::Mouse )
{
return true;
@@ -1301,7 +1301,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e )
}
else if ( e->type() == TQEvent::MouseButtonPress )
{
- TQMouseEvent *ev = TQT_TQMOUSEEVENT( e );
+ TQMouseEvent *ev = static_cast<TQMouseEvent*>( e );
if ( ev->button() == TQt::RightButton )
{
return true;
@@ -1309,7 +1309,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e )
}
else if ( e->type() == TQEvent::MouseButtonRelease )
{
- TQMouseEvent *ev = TQT_TQMOUSEEVENT( e );
+ TQMouseEvent *ev = static_cast<TQMouseEvent*>( e );
if ( ev->button() == TQt::RightButton )
{
emit backRightClick();
@@ -1318,7 +1318,7 @@ bool KonqView::eventFilter( TQObject *obj, TQEvent *e )
}
else if ( e->type() == TQEvent::MouseMove )
{
- TQMouseEvent *ev = TQT_TQMOUSEEVENT( e );
+ TQMouseEvent *ev = static_cast<TQMouseEvent*>( e );
if ( ev->state() == TQt::RightButton )
{
obj->removeEventFilter( this );