summaryrefslogtreecommitdiffstats
path: root/src/projects/k3baudiotracksplitdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projects/k3baudiotracksplitdialog.cpp')
-rw-r--r--src/projects/k3baudiotracksplitdialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/projects/k3baudiotracksplitdialog.cpp b/src/projects/k3baudiotracksplitdialog.cpp
index 3ba799b..2c67cb3 100644
--- a/src/projects/k3baudiotracksplitdialog.cpp
+++ b/src/projects/k3baudiotracksplitdialog.cpp
@@ -60,14 +60,14 @@ K3bAudioTrackSplitDialog::K3bAudioTrackSplitDialog( K3bAudioTrack* track, TQWidg
m_editorWidget->enableRangeSelection( true );
m_editorWidget->installEventFilter( this );
- connect( m_editorWidget, TQT_SIGNAL(rangeChanged(int, const K3b::Msf&, const K3b::Msf&)),
- this, TQT_SLOT(slotRangeModified(int, const K3b::Msf&, const K3b::Msf&)) );
- connect( m_editorWidget, TQT_SIGNAL(selectedRangeChanged(int)),
- this, TQT_SLOT(slotRangeSelectionChanged(int)) );
- connect( m_msfEditStart, TQT_SIGNAL(valueChanged(const K3b::Msf&)),
- this, TQT_SLOT(slotMsfEditChanged(const K3b::Msf&)) );
- connect( m_msfEditEnd, TQT_SIGNAL(valueChanged(const K3b::Msf&)),
- this, TQT_SLOT(slotMsfEditChanged(const K3b::Msf&)) );
+ connect( m_editorWidget, TQ_SIGNAL(rangeChanged(int, const K3b::Msf&, const K3b::Msf&)),
+ this, TQ_SLOT(slotRangeModified(int, const K3b::Msf&, const K3b::Msf&)) );
+ connect( m_editorWidget, TQ_SIGNAL(selectedRangeChanged(int)),
+ this, TQ_SLOT(slotRangeSelectionChanged(int)) );
+ connect( m_msfEditStart, TQ_SIGNAL(valueChanged(const K3b::Msf&)),
+ this, TQ_SLOT(slotMsfEditChanged(const K3b::Msf&)) );
+ connect( m_msfEditEnd, TQ_SIGNAL(valueChanged(const K3b::Msf&)),
+ this, TQ_SLOT(slotMsfEditChanged(const K3b::Msf&)) );
setupActions();
@@ -94,11 +94,11 @@ void K3bAudioTrackSplitDialog::setupActions()
m_popupMenu = new TDEPopupMenu( this );
TDEAction* actionSplitHere = new TDEAction( i18n("Split Here"), 0,
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotSplitHere()),
+ TDEShortcut(), this, TQ_SLOT(slotSplitHere()),
actionCollection(), "range_split" );
// FIXME: after the message freeze give this action a proper name like "Remove track part"
TDEAction* actionRemoveRange = new TDEAction( i18n("Remove this Range"), 0,
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotRemoveRange()),
+ TDEShortcut(), this, TQ_SLOT(slotRemoveRange()),
actionCollection(), "range_remove" );
actionSplitHere->plug( m_popupMenu );
@@ -162,13 +162,13 @@ 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 );
+ 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 )