diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:30:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-02 14:46:25 +0900 |
commit | 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43 (patch) | |
tree | 9bb7ea2dce56ce30b2ea9a7006542a2a72ae323b /kicker/libkicker | |
parent | 5590077e66774b629235516744993014360c3d25 (diff) | |
download | tdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.tar.gz tdebase-8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kicker/libkicker')
-rw-r--r-- | kicker/libkicker/panelbutton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kicker/libkicker/panelbutton.cpp b/kicker/libkicker/panelbutton.cpp index 926ef2686..aef83bbb3 100644 --- a/kicker/libkicker/panelbutton.cpp +++ b/kicker/libkicker/panelbutton.cpp @@ -996,7 +996,7 @@ bool PanelPopupButton::eventFilter(TQObject *, TQEvent *e) { if (e->type() == TQEvent::MouseMove) { - TQMouseEvent *me = TQT_TQMOUSEEVENT(e); + TQMouseEvent *me = static_cast<TQMouseEvent*>(e); if (rect().contains(mapFromGlobal(me->globalPos())) && ((me->state() & ControlButton) != 0 || (me->state() & ShiftButton) != 0)) @@ -1008,7 +1008,7 @@ bool PanelPopupButton::eventFilter(TQObject *, TQEvent *e) else if (e->type() == TQEvent::MouseButtonPress || e->type() == TQEvent::MouseButtonDblClick) { - TQMouseEvent *me = TQT_TQMOUSEEVENT(e); + TQMouseEvent *me = static_cast<TQMouseEvent*>(e); if (rect().contains(mapFromGlobal(me->globalPos()))) { m_pressedDuringPopup = true; @@ -1017,7 +1017,7 @@ bool PanelPopupButton::eventFilter(TQObject *, TQEvent *e) } else if (e->type() == TQEvent::MouseButtonRelease) { - TQMouseEvent *me = TQT_TQMOUSEEVENT(e); + TQMouseEvent *me = static_cast<TQMouseEvent*>(e); if (rect().contains(mapFromGlobal(me->globalPos()))) { if (m_pressedDuringPopup && m_popup) |