diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:30:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-02 14:46:25 +0900 |
commit | 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43 (patch) | |
tree | 9bb7ea2dce56ce30b2ea9a7006542a2a72ae323b /tdm | |
parent | 5590077e66774b629235516744993014360c3d25 (diff) | |
download | tdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.tar.gz tdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdm')
-rw-r--r-- | tdm/kfrontend/themer/tdmthemer.cpp | 8 |
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) { |