summaryrefslogtreecommitdiffstats
path: root/kdesktop/desktop.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:50:02 +0900
commitb19e4cab8888a6f486ebdb7242ea5f65435cb68c (patch)
treeb23c2cdc474711742f76fa71df81896c3f421c94 /kdesktop/desktop.cpp
parent6b5d95d534223dc1d09d8d8f5eec1f146d8b1dec (diff)
downloadtdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.tar.gz
tdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43)
Diffstat (limited to 'kdesktop/desktop.cpp')
-rw-r--r--kdesktop/desktop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdesktop/desktop.cpp b/kdesktop/desktop.cpp
index 52e0d0c4a..989d07d73 100644
--- a/kdesktop/desktop.cpp
+++ b/kdesktop/desktop.cpp
@@ -79,13 +79,13 @@ bool KRootWidget::eventFilter ( TQObject *, TQEvent * e )
{
if (e->type() == TQEvent::MouseButtonPress)
{
- TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *me = static_cast<TQMouseEvent*>(e);
KRootWm::self()->mousePressed( me->globalPos(), me->button() );
return true;
}
else if (e->type() == TQEvent::Wheel)
{
- TQWheelEvent *we = TQT_TQWHEELEVENT(e);
+ TQWheelEvent *we = static_cast<TQWheelEvent*>(e);
emit wheelRolled(we->delta());
return true;
}