summaryrefslogtreecommitdiffstats
path: root/noatun/modules/noatunui/userinterface.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:46:24 +0900
commit452c1e8191d38a7449364467ae0601ace808e7f7 (patch)
treed468d9f534be62e275feb15dc903af92f02e7547 /noatun/modules/noatunui/userinterface.cpp
parentbd26faa962728155a0a4337ea54b3eb6a454df0b (diff)
downloadtdemultimedia-452c1e8191d38a7449364467ae0601ace808e7f7.tar.gz
tdemultimedia-452c1e8191d38a7449364467ae0601ace808e7f7.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7ef70d6552605c1df5653f039314c3ac568069cc)
Diffstat (limited to 'noatun/modules/noatunui/userinterface.cpp')
-rw-r--r--noatun/modules/noatunui/userinterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/modules/noatunui/userinterface.cpp b/noatun/modules/noatunui/userinterface.cpp
index 7019aea5..250d79a9 100644
--- a/noatun/modules/noatunui/userinterface.cpp
+++ b/noatun/modules/noatunui/userinterface.cpp
@@ -281,15 +281,15 @@ void MilkChocolate::changeLoopType(int t)
bool MilkChocolate::eventFilter(TQObject *o, TQEvent *e)
{
if ((e->type() == TQEvent::MouseButtonRelease)
- && ((TQT_TQMOUSEEVENT(e))->button()==TQt::RightButton))
+ && ((static_cast<TQMouseEvent*>(e))->button()==TQt::RightButton))
{
- mouseReleaseEvent(TQT_TQMOUSEEVENT(e));
+ mouseReleaseEvent(static_cast<TQMouseEvent*>(e));
return true;
}
if (e->type() == TQEvent::Wheel)
{
- wheelEvent(TQT_TQWHEELEVENT(e));
+ wheelEvent(static_cast<TQWheelEvent*>(e));
return true;
}
return TQWidget::eventFilter(o, e);