diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 21:30:28 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-02 22:50:02 +0900 |
commit | b19e4cab8888a6f486ebdb7242ea5f65435cb68c (patch) | |
tree | b23c2cdc474711742f76fa71df81896c3f421c94 /kicker/libkicker/panelbutton.cpp | |
parent | 6b5d95d534223dc1d09d8d8f5eec1f146d8b1dec (diff) | |
download | tdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.tar.gz tdebase-b19e4cab8888a6f486ebdb7242ea5f65435cb68c.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43)
Diffstat (limited to 'kicker/libkicker/panelbutton.cpp')
-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) |