summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/themer/tdmthemer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/kfrontend/themer/tdmthemer.cpp')
-rw-r--r--tdm/kfrontend/themer/tdmthemer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdm/kfrontend/themer/tdmthemer.cpp b/tdm/kfrontend/themer/tdmthemer.cpp
index 8e7d33bf1..0a0e7fabb 100644
--- a/tdm/kfrontend/themer/tdmthemer.cpp
+++ b/tdm/kfrontend/themer/tdmthemer.cpp
@@ -139,19 +139,19 @@ KdmThemer::widgetEvent( TQEvent *e )
switch (e->type()) {
case TQEvent::MouseMove:
{
- TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *me = static_cast<TQMouseEvent*>(e);
rootItem->mouseEvent( me->x(), me->y() );
}
break;
case TQEvent::MouseButtonPress:
{
- TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *me = static_cast<TQMouseEvent*>(e);
rootItem->mouseEvent( me->x(), me->y(), true );
}
break;
case TQEvent::MouseButtonRelease:
{
- TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *me = static_cast<TQMouseEvent*>(e);
rootItem->mouseEvent( me->x(), me->y(), false, true );
}
break;
@@ -164,7 +164,7 @@ KdmThemer::widgetEvent( TQEvent *e )
break;
case TQEvent::Paint:
{
- TQRect paintRect = TQT_TQPAINTEVENT(e)->rect();
+ TQRect paintRect = static_cast<TQPaintEvent*>(e)->rect();
kdDebug() << timestamp() << " paint on: " << paintRect << endl;
if (!argb_visual_available) {