diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 20:42:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-30 20:42:57 +0900 |
commit | 8d72e4c19c6fe86fd9b312f38190dfc7c6026046 (patch) | |
tree | b1f3d6ae717569550bad606bd1390e1adb17cd7a /src | |
parent | 987871f05f53afb7ea9d2b787ff515ab8ae4002a (diff) | |
download | k3b-8d72e4c19c6fe86fd9b312f38190dfc7c6026046.tar.gz k3b-8d72e4c19c6fe86fd9b312f38190dfc7c6026046.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/k3bprojecttabwidget.cpp | 2 | ||||
-rw-r--r-- | src/projects/k3baudiotracksplitdialog.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/k3bprojecttabwidget.cpp b/src/k3bprojecttabwidget.cpp index 88537be..006e045 100644 --- a/src/k3bprojecttabwidget.cpp +++ b/src/k3bprojecttabwidget.cpp @@ -176,7 +176,7 @@ bool K3bProjectTabWidget::eventFilter( TQObject* o, TQEvent* e ) { if( o == tabBar() ) { if( e->type() == TQEvent::MouseButtonPress ) { - TQMouseEvent* me = TQT_TQMOUSEEVENT(e); + TQMouseEvent* me = static_cast<TQMouseEvent*>(e); if( me->button() == TQt::RightButton ) { if( projectAt( me->pos() ) ) { // we need change the tab because the actions work on the current tab diff --git a/src/projects/k3baudiotracksplitdialog.cpp b/src/projects/k3baudiotracksplitdialog.cpp index d6584ae..80426bb 100644 --- a/src/projects/k3baudiotracksplitdialog.cpp +++ b/src/projects/k3baudiotracksplitdialog.cpp @@ -164,11 +164,11 @@ bool K3bAudioTrackSplitDialog::eventFilter( TQObject* o, TQEvent* e ) { if( o == m_editorWidget ) { if( e->type() == TQEvent::MouseButtonDblClick ) { - TQMouseEvent* me = TQT_TQMOUSEEVENT( e ); + TQMouseEvent* me = static_cast<TQMouseEvent*>( e ); splitAt( me->pos() ); } else if( e->type() == TQEvent::ContextMenu ) { - TQContextMenuEvent* ce = TQT_TQCONTEXTMENUEVENT( e ); + TQContextMenuEvent* ce = static_cast<TQContextMenuEvent*>( e ); ce->consume(); m_lastClickPosition = ce->pos(); if( m_editorWidget->findRange( ce->pos().x() ) > 0 ) |