diff options
Diffstat (limited to 'lib/kofficeui/KoTooluButton.cpp')
-rw-r--r-- | lib/kofficeui/KoTooluButton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficeui/KoTooluButton.cpp b/lib/kofficeui/KoTooluButton.cpp index 1c5f5f1f..bbe4145a 100644 --- a/lib/kofficeui/KoTooluButton.cpp +++ b/lib/kofficeui/KoTooluButton.cpp @@ -811,7 +811,7 @@ bool KoToolButton::eventFilter( TQObject* o, TQEvent* e ) { if ( o == m_popup ) { if ( e->type() == TQEvent::MouseButtonPress ) - if ( hitArrow( mapFromGlobal( TQT_TQMOUSEEVENT( e )->globalPos() ) ) ) { + if ( hitArrow( mapFromGlobal( static_cast<TQMouseEvent*>( e )->globalPos() ) ) ) { kdDebug() << "KoToolButton::eventFilter-------------->" << endl; m_popup->close(); m_arrowPressed = false; @@ -821,7 +821,7 @@ bool KoToolButton::eventFilter( TQObject* o, TQEvent* e ) } if ( e->type() == TQEvent::MouseButtonPress ) { - m_arrowPressed = hitArrow( TQT_TQMOUSEEVENT( e )->pos() ); + m_arrowPressed = hitArrow( static_cast<TQMouseEvent*>( e )->pos() ); if ( m_arrowPressed ) m_popup->popup( mapToGlobal( TQPoint( 0, height() ) ) ); } |