From 33881ea4441221b1ca0789a72c4c7249d923a0df Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- libk3b/projects/audiocd/k3baudiodoc.cpp | 4 ++-- libk3b/projects/audiocd/k3baudionormalizejob.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'libk3b/projects/audiocd') diff --git a/libk3b/projects/audiocd/k3baudiodoc.cpp b/libk3b/projects/audiocd/k3baudiodoc.cpp index 817d5fa..0cd8ae1 100644 --- a/libk3b/projects/audiocd/k3baudiodoc.cpp +++ b/libk3b/projects/audiocd/k3baudiodoc.cpp @@ -382,7 +382,7 @@ K3bAudioDecoder* K3bAudioDoc::getDecoderForUrl( const KURL& url, bool* reused ) K3bAudioDecoder* decoder = 0; // check if we already have a proper decoder - if( m_decoderPresenceMap.tqcontains( url.path() ) ) { + if( m_decoderPresenceMap.contains( url.path() ) ) { decoder = m_decoderPresenceMap[url.path()]; *reused = true; } @@ -997,7 +997,7 @@ void K3bAudioDoc::slotTrackRemoved( K3bAudioTrack* track ) void K3bAudioDoc::increaseDecoderUsage( K3bAudioDecoder* decoder ) { kdDebug() << "(K3bAudioDoc::increaseDecoderUsage)" << endl; - if( !m_decoderUsageCounterMap.tqcontains( decoder ) ) { + if( !m_decoderUsageCounterMap.contains( decoder ) ) { m_decoderUsageCounterMap[decoder] = 1; m_decoderPresenceMap[decoder->filename()] = decoder; } diff --git a/libk3b/projects/audiocd/k3baudionormalizejob.cpp b/libk3b/projects/audiocd/k3baudionormalizejob.cpp index a732bb5..88c769b 100644 --- a/libk3b/projects/audiocd/k3baudionormalizejob.cpp +++ b/libk3b/projects/audiocd/k3baudionormalizejob.cpp @@ -121,13 +121,13 @@ void K3bAudioNormalizeJob::slotStdLine( const TQString& line ) } } - else if( line.tqcontains( "already normalized" ) ) { + else if( line.contains( "already normalized" ) ) { // no normalization necessary for the current track emit infoMessage( i18n("Track %1 is already normalized.").tqarg(m_currentTrack), INFO ); m_currentTrack++; } - else if( line.tqcontains( "--% done") ) { + else if( line.contains( "--% done") ) { if( m_currentAction == ADJUSTING_LEVELS ) { emit newTask( i18n("Adjusting volume level for track %1 of %2").tqarg(m_currentTrack).tqarg(m_files.count()) ); kdDebug() << "(K3bAudioNormalizeJob) adjusting level for track " @@ -148,7 +148,7 @@ void K3bAudioNormalizeJob::slotStdLine( const TQString& line ) m_currentTrack++; } - else if( int pos = line.tqfind( "% done" ) > 0 ) { + else if( int pos = line.find( "% done" ) > 0 ) { // parse progress: "XXX% done" and "batch XXX% done" pos -= 3; bool ok; -- cgit v1.2.1