diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:42:46 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-16 17:27:53 +0900 |
commit | eb0f6cbe601863f888b78f7c518bf5dd0e36c0d8 (patch) | |
tree | 82a9e4f40eb0c35c33b771f3e7689d9b1ffacf54 /src/projects | |
parent | 9f8bd22e4ec224b451e049c836ef00ada9bfd2fa (diff) | |
download | k3b-eb0f6cbe601863f888b78f7c518bf5dd0e36c0d8.tar.gz k3b-eb0f6cbe601863f888b78f7c518bf5dd0e36c0d8.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit eac5a923bfe691153309b671a4aa0c8a31d9a776)
Diffstat (limited to 'src/projects')
-rw-r--r-- | src/projects/k3baudiotracksplitdialog.cpp | 2 | ||||
-rw-r--r-- | src/projects/k3bview.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/projects/k3baudiotracksplitdialog.cpp b/src/projects/k3baudiotracksplitdialog.cpp index 3ba799b..d6584ae 100644 --- a/src/projects/k3baudiotracksplitdialog.cpp +++ b/src/projects/k3baudiotracksplitdialog.cpp @@ -162,7 +162,7 @@ void K3bAudioTrackSplitDialog::splitAt( const TQPoint& p ) bool K3bAudioTrackSplitDialog::eventFilter( TQObject* o, TQEvent* e ) { - if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_editorWidget) ) { + if( o == m_editorWidget ) { if( e->type() == TQEvent::MouseButtonDblClick ) { TQMouseEvent* me = TQT_TQMOUSEEVENT( e ); splitAt( me->pos() ); diff --git a/src/projects/k3bview.cpp b/src/projects/k3bview.cpp index df3384d..717aa7f 100644 --- a/src/projects/k3bview.cpp +++ b/src/projects/k3bview.cpp @@ -149,7 +149,7 @@ void K3bView::addPluginButtons( int projectType ) void K3bView::slotPluginButtonClicked() { - TQObject* o = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); + TQObject* o = const_cast<TQObject*>(sender()); if( K3bProjectPlugin* p = m_plugins[static_cast<void*>(o)] ) { if( p->hasGUI() ) { K3bProjectPluginDialog dlg( p, doc(), this ); |