summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:29:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:39:27 +0900
commit588c6181fa91c6a060db06750d97cbb328b76847 (patch)
tree16227afced2d9fe02787182b927acee39df3cdb6
parenta67df8047e64fb24b7a584dd603872996568b15a (diff)
downloadtdeaddons-588c6181fa91c6a060db06750d97cbb328b76847.tar.gz
tdeaddons-588c6181fa91c6a060db06750d97cbb328b76847.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ddcc35a4b1cb5de03a552cbd89a794c4998703f5)
-rw-r--r--kicker-applets/mediacontrol/mediacontrol.cpp2
-rw-r--r--konq-plugins/domtreeviewer/domtreeview.cpp2
-rw-r--r--noatun-plugins/alsaplayer/userinterface.cpp4
-rw-r--r--noatun-plugins/charlatan/userinterface.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/kicker-applets/mediacontrol/mediacontrol.cpp b/kicker-applets/mediacontrol/mediacontrol.cpp
index e2d5492..31d1076 100644
--- a/kicker-applets/mediacontrol/mediacontrol.cpp
+++ b/kicker-applets/mediacontrol/mediacontrol.cpp
@@ -506,7 +506,7 @@ bool MediaControl::eventFilter(TQObject *, TQEvent *e)
{
if (e->type() == TQEvent::MouseButtonPress)
{
- TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent *me = static_cast<TQMouseEvent*>(e);
if (me->button() == TQt::RightButton)
{
rmbMenu->popup(me->globalPos());
diff --git a/konq-plugins/domtreeviewer/domtreeview.cpp b/konq-plugins/domtreeviewer/domtreeview.cpp
index 55a95d0..8f698f3 100644
--- a/konq-plugins/domtreeviewer/domtreeview.cpp
+++ b/konq-plugins/domtreeviewer/domtreeview.cpp
@@ -137,7 +137,7 @@ DOMTreeWindow *DOMTreeView::mainWindow() const
bool DOMTreeView::eventFilter(TQObject *o, TQEvent *e)
{
if (e->type() == TQEvent::AccelOverride) {
- TQKeyEvent *ke = TQT_TQKEYEVENT(e);
+ TQKeyEvent *ke = static_cast<TQKeyEvent*>(e);
kdDebug(90180) << " acceloverride " << ke->key() << " o " << o->name() << endl;
if (o == m_listView) { // DOM tree
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;