diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:30:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-02 22:49:42 +0900 |
commit | d8d8319b3dddc86303699f242be2f1a36206da8e (patch) | |
tree | 4d8df38004b23ec50344a7126746bbb3453994a5 /tdecore/kcheckaccelerators.cpp | |
parent | 3a837ecf257dc334d65818d456d5a6bd6a8b98ef (diff) | |
download | tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.tar.gz tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f22a9c72dda24871973033123039639af6577eaa)
Diffstat (limited to 'tdecore/kcheckaccelerators.cpp')
-rw-r--r-- | tdecore/kcheckaccelerators.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/kcheckaccelerators.cpp b/tdecore/kcheckaccelerators.cpp index 306591e67..b71084243 100644 --- a/tdecore/kcheckaccelerators.cpp +++ b/tdecore/kcheckaccelerators.cpp @@ -99,11 +99,11 @@ bool KCheckAccelerators::eventFilter( TQObject * , TQEvent * e) switch ( e->type() ) { // just simplify debuggin case TQEvent::Accel: - if ( key && (TQT_TQKEYEVENT(e)->key() == key) ) { + if ( key && (static_cast<TQKeyEvent*>(e)->key() == key) ) { block = true; checkAccelerators( false ); block = false; - TQT_TQKEYEVENT(e)->accept(); + static_cast<TQKeyEvent*>(e)->accept(); return true; } break; |