summaryrefslogtreecommitdiffstats
path: root/src/projects/k3baudiotrackview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projects/k3baudiotrackview.cpp')
-rw-r--r--src/projects/k3baudiotrackview.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/projects/k3baudiotrackview.cpp b/src/projects/k3baudiotrackview.cpp
index 5eaf550..2cd161f 100644
--- a/src/projects/k3baudiotrackview.cpp
+++ b/src/projects/k3baudiotrackview.cpp
@@ -68,11 +68,11 @@ K3bAudioTrackView::K3bAudioTrackView( K3bAudioDoc* doc, TQWidget* parent, const
m_currentMouseOverItem(0),
m_currentlyPlayingTrack(0)
{
- m_player = new K3bAudioTrackPlayer( m_doc, TQT_TQOBJECT(this) );
- connect( m_player, TQT_SIGNAL(playingTrack(K3bAudioTrack*)), TQT_TQOBJECT(this),
+ m_player = new K3bAudioTrackPlayer( m_doc, this );
+ connect( m_player, TQT_SIGNAL(playingTrack(K3bAudioTrack*)), this,
TQT_SLOT(showPlayerIndicator(K3bAudioTrack*)) );
- connect( m_player, TQT_SIGNAL(paused(bool)), TQT_TQOBJECT(this), TQT_SLOT(togglePauseIndicator(bool)) );
- connect( m_player, TQT_SIGNAL(stopped()), TQT_TQOBJECT(this), TQT_SLOT(removePlayerIndicator()) );
+ connect( m_player, TQT_SIGNAL(paused(bool)), this, TQT_SLOT(togglePauseIndicator(bool)) );
+ connect( m_player, TQT_SIGNAL(stopped()), this, TQT_SLOT(removePlayerIndicator()) );
setItemMargin( 5 );
setAcceptDrops( true );
@@ -90,13 +90,13 @@ K3bAudioTrackView::K3bAudioTrackView( K3bAudioDoc* doc, TQWidget* parent, const
setupColumns();
setupActions();
- m_playerItemAnimator = new K3bListViewItemAnimator( TQT_TQOBJECT(this) );
+ m_playerItemAnimator = new K3bListViewItemAnimator( this );
m_animationTimer = new TQTimer( this );
- connect( m_animationTimer, TQT_SIGNAL(timeout()), TQT_TQOBJECT(this), TQT_SLOT(slotAnimation()) );
+ connect( m_animationTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAnimation()) );
m_autoOpenTrackTimer = new TQTimer( this );
- connect( m_autoOpenTrackTimer, TQT_SIGNAL(timeout()), TQT_TQOBJECT(this), TQT_SLOT(slotDragTimeout()) );
+ connect( m_autoOpenTrackTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotDragTimeout()) );
connect( this, TQT_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
this, TQT_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)) );
@@ -155,32 +155,32 @@ void K3bAudioTrackView::setupActions()
m_popupMenu = new TDEPopupMenu( this );
m_actionProperties = new TDEAction( i18n("Properties"), "misc",
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotProperties()),
+ TDEShortcut(), this, TQT_SLOT(slotProperties()),
actionCollection(), "track_properties" );
m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete",
- Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemove()),
+ Key_Delete, this, TQT_SLOT(slotRemove()),
actionCollection(), "track_remove" );
m_actionAddSilence = new TDEAction( i18n("Add Silence") + "...", "misc",
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotAddSilence()),
+ TDEShortcut(), this, TQT_SLOT(slotAddSilence()),
actionCollection(), "track_add_silence" );
m_actionMergeTracks = new TDEAction( i18n("Merge Tracks"), "misc",
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotMergeTracks()),
+ TDEShortcut(), this, TQT_SLOT(slotMergeTracks()),
actionCollection(), "track_merge" );
m_actionSplitSource = new TDEAction( i18n("Source to Track"), "misc",
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotSplitSource()),
+ TDEShortcut(), this, TQT_SLOT(slotSplitSource()),
actionCollection(), "source_split" );
m_actionSplitTrack = new TDEAction( i18n("Split Track..."), 0,
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotSplitTrack()),
+ TDEShortcut(), this, TQT_SLOT(slotSplitTrack()),
actionCollection(), "track_split" );
m_actionEditSource = new TDEAction( i18n("Edit Source..."), 0,
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotEditSource()),
+ TDEShortcut(), this, TQT_SLOT(slotEditSource()),
actionCollection(), "source_edit" );
m_actionPlayTrack = new TDEAction( i18n("Play Track"), "media-playback-start",
- TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotPlayTrack()),
+ TDEShortcut(), this, TQT_SLOT(slotPlayTrack()),
actionCollection(), "track_play" );
#ifdef HAVE_MUSICBRAINZ
- TDEAction* mbAction = new TDEAction( i18n("Musicbrainz Lookup"), "musicbrainz", 0, TQT_TQOBJECT(this),
+ TDEAction* mbAction = new TDEAction( i18n("Musicbrainz Lookup"), "musicbrainz", 0, this,
TQT_SLOT(slotQueryMusicBrainz()),
actionCollection(), "project_audio_musicbrainz" );
mbAction->setToolTip( i18n("Try to determine meta information over the internet") );
@@ -394,7 +394,7 @@ void K3bAudioTrackView::slotDropped( TQDropEvent* e, TQListViewItem* parent, TQL
// event queues: the url adding dialog will be non-modal regardless of
// the settings in case we open it directly.
//
- TQTimer::singleShot( 0, TQT_TQOBJECT(this), TQT_SLOT(slotAddUrls()) );
+ TQTimer::singleShot( 0, this, TQT_SLOT(slotAddUrls()) );
}
}