summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoContainerHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoContainerHandler.cpp')
-rw-r--r--lib/kofficecore/KoContainerHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoContainerHandler.cpp b/lib/kofficecore/KoContainerHandler.cpp
index ff81b632..74c49a7e 100644
--- a/lib/kofficecore/KoContainerHandler.cpp
+++ b/lib/kofficecore/KoContainerHandler.cpp
@@ -302,7 +302,7 @@ bool KoContainerHandler::eventFilter( TQObject*, TQEvent* ev )
{
KoChild::Gadget gadget;
TQPoint pos;
- TQMouseEvent *e=TQT_TQMOUSEEVENT(ev);
+ TQMouseEvent *e=static_cast<TQMouseEvent*>(ev);
KoChild *ch=child(gadget, pos, e);
if ( e->button() == TQt::RightButton && gadget != KoChild::NoGadget )
@@ -327,7 +327,7 @@ bool KoContainerHandler::eventFilter( TQObject*, TQEvent* ev )
TQWidget *targetWidget = TQT_TQWIDGET( target() );
KoChild::Gadget gadget;
TQPoint pos;
- TQMouseEvent *e=TQT_TQMOUSEEVENT(ev);
+ TQMouseEvent *e=static_cast<TQMouseEvent*>(ev);
child(gadget, pos, e);
bool retval = true;