diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 20:43:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:03:28 +0900 |
commit | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (patch) | |
tree | 4d12f786f3541b9ff0225f0ceb2bec0b9268a163 /kpresenter | |
parent | b727f4b3b1957bec28a350575237b93f8f278cdb (diff) | |
download | koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.tar.gz koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpresenter')
-rw-r--r-- | kpresenter/KPrCanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrCanvas.cpp b/kpresenter/KPrCanvas.cpp index 04a81ae3..245d83f2 100644 --- a/kpresenter/KPrCanvas.cpp +++ b/kpresenter/KPrCanvas.cpp @@ -226,7 +226,7 @@ bool KPrCanvas::eventFilter( TQObject *o, TQEvent *e ) return TRUE; case TQEvent::KeyPress: { - TQKeyEvent * keyev = TQT_TQKEYEVENT(e); + TQKeyEvent * keyev = static_cast<TQKeyEvent*>(e); if ( keyev->key() == TDEGlobalSettings::contextMenuKey() ) { popupContextMenu(); return true; @@ -249,7 +249,7 @@ bool KPrCanvas::eventFilter( TQObject *o, TQEvent *e ) case TQEvent::AccelOverride: { #ifndef NDEBUG - TQKeyEvent * keyev = TQT_TQKEYEVENT(e); + TQKeyEvent * keyev = static_cast<TQKeyEvent*>(e); // Debug keys if ( ( keyev->state() & ControlButton ) && ( keyev->state() & ShiftButton ) ) { |