diff options
Diffstat (limited to 'karbon/vtool.cpp')
-rw-r--r-- | karbon/vtool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karbon/vtool.cpp b/karbon/vtool.cpp index a9b29ac8..906f53c9 100644 --- a/karbon/vtool.cpp +++ b/karbon/vtool.cpp @@ -150,7 +150,7 @@ VTool::keyEvent( TQEvent* event ) // Key press events. if( event->type() == TQEvent::KeyPress ) { - TQKeyEvent* keyEvent = TQT_TQKEYEVENT( event ); + TQKeyEvent* keyEvent = static_cast<TQKeyEvent*>( event ); // Terminate the current drawing with the Enter-key: if( @@ -211,7 +211,7 @@ VTool::keyEvent( TQEvent* event ) // Key release events: if( event->type() == TQEvent::KeyRelease ) { - TQKeyEvent* keyEvent = TQT_TQKEYEVENT( event ); + TQKeyEvent* keyEvent = static_cast<TQKeyEvent*>( event ); TQt::Key key = (TQt::Key)keyEvent->key(); if( key == TQt::Key_Shift ) |