diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:31:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:31:00 +0900 |
commit | 7ef70d6552605c1df5653f039314c3ac568069cc (patch) | |
tree | db2665f267bfba3c2eac260ba5c5fcc29b1ff4d7 /noatun | |
parent | 1304109bee51323c2fb7258df91b2d4eccd83030 (diff) | |
download | tdemultimedia-7ef70d6552605c1df5653f039314c3ac568069cc.tar.gz tdemultimedia-7ef70d6552605c1df5653f039314c3ac568069cc.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'noatun')
-rw-r--r-- | noatun/modules/excellent/userinterface.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/noatunui/userinterface.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/noatun/modules/excellent/userinterface.cpp b/noatun/modules/excellent/userinterface.cpp index 40154489..540a3abc 100644 --- a/noatun/modules/excellent/userinterface.cpp +++ b/noatun/modules/excellent/userinterface.cpp @@ -248,7 +248,7 @@ bool Excellent::eventFilter(TQObject *o, TQEvent *e) { if (e->type() == TQEvent::Wheel) { - wheelEvent(TQT_TQWHEELEVENT(e)); + wheelEvent(static_cast<TQWheelEvent*>(e)); return true; } return TQWidget::eventFilter(o, e); 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); |