diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 20:43:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-30 21:03:28 +0900 |
commit | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (patch) | |
tree | 4d12f786f3541b9ff0225f0ceb2bec0b9268a163 /lib/kofficeui | |
parent | b727f4b3b1957bec28a350575237b93f8f278cdb (diff) | |
download | koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.tar.gz koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/kofficeui')
-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() ) ) ); } |