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/jobs/k3bcdda2wavreader.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libk3b/jobs/k3bcdda2wavreader.cpp') diff --git a/libk3b/jobs/k3bcdda2wavreader.cpp b/libk3b/jobs/k3bcdda2wavreader.cpp index 901f77b..c583ec8 100644 --- a/libk3b/jobs/k3bcdda2wavreader.cpp +++ b/libk3b/jobs/k3bcdda2wavreader.cpp @@ -95,7 +95,7 @@ void K3bCdda2wavReader::start( bool onlyInfo ) d->cdda2wavBin = k3bcore->externalBinManager()->binObject( "cdda2wav" ); if( !d->cdda2wavBin ) { - emit infoMessage( i18n("Could not tqfind %1 executable.").tqarg("cdda2wav"), ERROR ); + emit infoMessage( i18n("Could not find %1 executable.").tqarg("cdda2wav"), ERROR ); jobFinished(false); d->running = false; return; @@ -181,9 +181,9 @@ void K3bCdda2wavReader::slotProcessLine( const TQString& line ) static TQRegExp rx( "T\\d\\d:" ); if( rx.exactMatch( line.left(4) ) || line.startsWith( "Leadout" ) ) { - int pos = line.tqfind( " " ); - int endpos = line.tqfind( TQRegExp( "\\d" ), pos ); - endpos = line.tqfind( " ", endpos ); + int pos = line.find( " " ); + int endpos = line.find( TQRegExp( "\\d" ), pos ); + endpos = line.find( " ", endpos ); bool ok; int offset = line.mid( pos, endpos-pos ).toInt(&ok); if( ok ) @@ -198,12 +198,12 @@ void K3bCdda2wavReader::slotProcessLine( const TQString& line ) emit nextTrack( d->currentTrack, d->trackOffsets.count() ); } - else if( line.tqcontains("successfully recorded") ) { + else if( line.contains("successfully recorded") ) { d->currentTrack++; emit nextTrack( d->currentTrack, d->trackOffsets.count() ); } - else if( line.tqcontains("%") ) { + else if( line.contains("%") ) { // parse progress bool ok; int p = line.left(3).toInt(&ok); -- cgit v1.2.1