diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 20:42:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-30 23:42:06 +0900 |
commit | 361bf8191fefa5898299586eaae083d11b8bbb12 (patch) | |
tree | 07a3b487cb2713cda135ddface9fc29ce293e026 /libk3b/tools/k3btoolbutton.cpp | |
parent | c7656114a17453f4f809a9e656f508b4beb5fed3 (diff) | |
download | k3b-361bf8191fefa5898299586eaae083d11b8bbb12.tar.gz k3b-361bf8191fefa5898299586eaae083d11b8bbb12.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 8d72e4c19c6fe86fd9b312f38190dfc7c6026046)
Diffstat (limited to 'libk3b/tools/k3btoolbutton.cpp')
-rw-r--r-- | libk3b/tools/k3btoolbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libk3b/tools/k3btoolbutton.cpp b/libk3b/tools/k3btoolbutton.cpp index 65e8c51..3544ad6 100644 --- a/libk3b/tools/k3btoolbutton.cpp +++ b/libk3b/tools/k3btoolbutton.cpp @@ -83,7 +83,7 @@ bool K3bToolButton::eventFilter( TQObject* o, TQEvent* ev ) // is moved by a small distance. if( TQToolButton::popup() ) { if( ev->type() == TQEvent::MouseButtonPress ) { - TQMouseEvent* mev = TQT_TQMOUSEEVENT(ev); + TQMouseEvent* mev = static_cast<TQMouseEvent*>(ev); if( d->instantMenu ) { setDown(true); @@ -95,7 +95,7 @@ bool K3bToolButton::eventFilter( TQObject* o, TQEvent* ev ) } } else if( ev->type() == TQEvent::MouseMove ) { - TQMouseEvent* mev = TQT_TQMOUSEEVENT(ev); + TQMouseEvent* mev = static_cast<TQMouseEvent*>(ev); if( !d->instantMenu && ( mev->pos() - d->mousePressPos).manhattanLength() > TDEGlobalSettings::dndEventDelay() ) { openPopup(); |