diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 33881ea4441221b1ca0789a72c4c7249d923a0df (patch) | |
tree | ffe5603da373bb346bb29c8e0f533776f66560a5 /src/projects/k3baudiotrackview.cpp | |
parent | 6d99e1e138ae5aafc10f14682c48221bf563152e (diff) | |
download | k3b-33881ea4441221b1ca0789a72c4c7249d923a0df.tar.gz k3b-33881ea4441221b1ca0789a72c4c7249d923a0df.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/projects/k3baudiotrackview.cpp')
-rw-r--r-- | src/projects/k3baudiotrackview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/projects/k3baudiotrackview.cpp b/src/projects/k3baudiotrackview.cpp index 8f6c475..4aebd99 100644 --- a/src/projects/k3baudiotrackview.cpp +++ b/src/projects/k3baudiotrackview.cpp @@ -280,7 +280,7 @@ void K3bAudioTrackView::slotDropped( TQDropEvent* e, TQListViewItem* tqparent, T // TQPtrListIterator<K3bAudioDataSource> srcIt( sources ); while( srcIt.current() ) { - if( tracks.tqcontainsRef( srcIt.current()->track() ) ) + if( tracks.containsRef( srcIt.current()->track() ) ) sources.removeRef( *srcIt ); else ++srcIt; @@ -439,11 +439,11 @@ void K3bAudioTrackView::slotChanged() K3bAudioTrackViewItem* K3bAudioTrackView::getTrackViewItem( K3bAudioTrack* track, bool* isNewItem ) { - TQMap<K3bAudioTrack*, K3bAudioTrackViewItem*>::iterator itemIt = m_trackItemMap.tqfind(track); + TQMap<K3bAudioTrack*, K3bAudioTrackViewItem*>::iterator itemIt = m_trackItemMap.find(track); if( itemIt == m_trackItemMap.end() ) { kdDebug() << "(K3bAudioTrackView) new track " << track << endl; K3bAudioTrackViewItem* prevItem = 0; - if( track->prev() && m_trackItemMap.tqcontains( track->prev() ) ) + if( track->prev() && m_trackItemMap.contains( track->prev() ) ) prevItem = m_trackItemMap[track->prev()]; K3bAudioTrackViewItem* newItem = new K3bAudioTrackViewItem( this, prevItem, track ); // @@ -491,7 +491,7 @@ void K3bAudioTrackView::slotTrackChanged( K3bAudioTrack* track ) // FIXME: only do this if the position really changed // move the item if the position has changed - if( track->prev() && m_trackItemMap.tqcontains(track->prev()) ) + if( track->prev() && m_trackItemMap.contains(track->prev()) ) item->moveItem( m_trackItemMap[track->prev()] ); else if( !track->prev() ) { takeItem( item ); @@ -735,7 +735,7 @@ void K3bAudioTrackView::slotRemove() // TQPtrListIterator<K3bAudioDataSource> srcIt( sources ); while( srcIt.current() ) { - if( tracks.tqcontainsRef( srcIt.current()->track() ) ) + if( tracks.containsRef( srcIt.current()->track() ) ) sources.removeRef( *srcIt ); else ++srcIt; @@ -993,7 +993,7 @@ void K3bAudioTrackView::slotQueryMusicBrainz() // only one may use the tracks at the same time if( m_currentlyPlayingTrack && - tracks.tqcontainsRef( m_currentlyPlayingTrack ) ) + tracks.containsRef( m_currentlyPlayingTrack ) ) m_player->stop(); // now do the lookup on the files. |