diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 21:30:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-02 22:49:42 +0900 |
commit | d8d8319b3dddc86303699f242be2f1a36206da8e (patch) | |
tree | 4d8df38004b23ec50344a7126746bbb3453994a5 /tdeui/tdetoolbarbutton.cpp | |
parent | 3a837ecf257dc334d65818d456d5a6bd6a8b98ef (diff) | |
download | tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.tar.gz tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit f22a9c72dda24871973033123039639af6577eaa)
Diffstat (limited to 'tdeui/tdetoolbarbutton.cpp')
-rw-r--r-- | tdeui/tdetoolbarbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/tdetoolbarbutton.cpp b/tdeui/tdetoolbarbutton.cpp index 854ad2f9b..d957a2edf 100644 --- a/tdeui/tdetoolbarbutton.cpp +++ b/tdeui/tdetoolbarbutton.cpp @@ -419,12 +419,12 @@ bool TDEToolBarButton::eventFilter(TQObject *o, TQEvent *ev) { if (ev->type() == TQEvent::MouseButtonPress) { - TQMouseEvent* mev = TQT_TQMOUSEEVENT(ev); + TQMouseEvent* mev = static_cast<TQMouseEvent*>(ev); d->m_mousePressPos = mev->pos(); } else if (ev->type() == TQEvent::MouseMove) { - TQMouseEvent* mev = TQT_TQMOUSEEVENT(ev); + TQMouseEvent* mev = static_cast<TQMouseEvent*>(ev); if ((mev->pos() - d->m_mousePressPos).manhattanLength() > TDEGlobalSettings::dndEventDelay()) { |