summaryrefslogtreecommitdiffstats
path: root/kmix/mdwslider.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-11-30 21:31:00 +0900
commit7ef70d6552605c1df5653f039314c3ac568069cc (patch)
treedb2665f267bfba3c2eac260ba5c5fcc29b1ff4d7 /kmix/mdwslider.cpp
parent1304109bee51323c2fb7258df91b2d4eccd83030 (diff)
downloadtdemultimedia-7ef70d6552605c1df5653f039314c3ac568069cc.tar.gz
tdemultimedia-7ef70d6552605c1df5653f039314c3ac568069cc.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmix/mdwslider.cpp')
-rw-r--r--kmix/mdwslider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmix/mdwslider.cpp b/kmix/mdwslider.cpp
index f75041d9..6b493e48 100644
--- a/kmix/mdwslider.cpp
+++ b/kmix/mdwslider.cpp
@@ -934,7 +934,7 @@ TQSize MDWSlider::sizeHint() const {
bool MDWSlider::eventFilter( TQObject* obj, TQEvent* e )
{
if (e->type() == TQEvent::MouseButtonPress) {
- TQMouseEvent *qme = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *qme = static_cast<TQMouseEvent*>(e);
if (qme->button() == TQt::RightButton) {
showContextMenu();
return true;
@@ -942,7 +942,7 @@ bool MDWSlider::eventFilter( TQObject* obj, TQEvent* e )
}
// Attention: We don't filter WheelEvents for KSmallSlider, because it handles WheelEvents itself
else if ( (e->type() == TQEvent::Wheel) && !obj->isA("KSmallSlider") ) {
- TQWheelEvent *qwe = TQT_TQWHEELEVENT(e);
+ TQWheelEvent *qwe = static_cast<TQWheelEvent*>(e);
if (qwe->delta() > 0) {
increaseVolume();
}