summaryrefslogtreecommitdiffstats
path: root/noatun-plugins
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 21:29:50 +0900
committerMichele Calgaro <[email protected]>2023-11-30 21:29:50 +0900
commitddcc35a4b1cb5de03a552cbd89a794c4998703f5 (patch)
treeb4eda0da3b00a896387b4251313911784d511da0 /noatun-plugins
parentd4040cfd7374195819e8caa9724c3c582f987b5b (diff)
downloadtdeaddons-ddcc35a4b1cb5de03a552cbd89a794c4998703f5.tar.gz
tdeaddons-ddcc35a4b1cb5de03a552cbd89a794c4998703f5.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'noatun-plugins')
-rw-r--r--noatun-plugins/alsaplayer/userinterface.cpp4
-rw-r--r--noatun-plugins/charlatan/userinterface.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/noatun-plugins/alsaplayer/userinterface.cpp b/noatun-plugins/alsaplayer/userinterface.cpp
index cbd6598..4745e1f 100644
--- a/noatun-plugins/alsaplayer/userinterface.cpp
+++ b/noatun-plugins/alsaplayer/userinterface.cpp
@@ -223,11 +223,11 @@ bool AlsaPlayer::eventFilter(TQObject *o, TQEvent *e)
switch (e->type())
{
case TQEvent::MouseButtonPress:
- mousePressEvent(TQT_TQMOUSEEVENT(e));
+ mousePressEvent(static_cast<TQMouseEvent*>(e));
break;
case TQEvent::Wheel:
- wheelEvent(TQT_TQWHEELEVENT(e));
+ wheelEvent(static_cast<TQWheelEvent*>(e));
return true;
break;
diff --git a/noatun-plugins/charlatan/userinterface.cpp b/noatun-plugins/charlatan/userinterface.cpp
index 88314d5..f673fb1 100644
--- a/noatun-plugins/charlatan/userinterface.cpp
+++ b/noatun-plugins/charlatan/userinterface.cpp
@@ -321,7 +321,7 @@ bool Charlatan::eventFilter(TQObject *o, TQEvent *e)
switch (e->type())
{
case TQEvent::Wheel:
- wheelEvent(TQT_TQWHEELEVENT(e));
+ wheelEvent(static_cast<TQWheelEvent*>(e));
return true;
break;