diff options
Diffstat (limited to 'src/convert.cpp')
-rwxr-xr-x | src/convert.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/convert.cpp b/src/convert.cpp index 5b9b2b5..9f5000a 100755 --- a/src/convert.cpp +++ b/src/convert.cpp @@ -161,12 +161,12 @@ void Convert::rip( ConvertItem* item ) TQString wavFile; TQString args = job->device; if(!args.isEmpty()) - args = TQString("?device=%1").arg(args); + args = TQString("?device=%1").tqarg(args); args = args+"&fileNameTemplate=Track %{number}"; if(job->track < 10) - wavFile = TQString("audiocd:/Wav/Track 0%1.wav%2").arg(job->track).arg(args); + wavFile = TQString("audiocd:/Wav/Track 0%1.wav%2").tqarg(job->track).tqarg(args); else - wavFile = TQString("audiocd:/Wav/Track %1.wav%2").arg(job->track).arg(args); + wavFile = TQString("audiocd:/Wav/Track %1.wav%2").tqarg(job->track).tqarg(args); */ RipperPlugin* plugin = config->getCurrentRipper(); @@ -888,7 +888,7 @@ void Convert::moveFinished( KIO::Job* job ) } else if( (*item)->state == ConvertItem::put ) { if( job->error() != 0 ) { - logger->log( (*item)->logID, i18n("Could not write to file: `%1'").arg(OutputDirectory::calcPath((*item)->fileListItem,config)) ); + logger->log( (*item)->logID, i18n("Could not write to file: `%1'").tqarg(OutputDirectory::calcPath((*item)->fileListItem,config)) ); emit uncountTime( (*item)->getTime ); emit uncountTime( (*item)->getCorrectionTime ); emit uncountTime( (*item)->ripTime ); @@ -1201,7 +1201,7 @@ void Convert::processExit( KProcess* proc ) } if( (*item)->state == ConvertItem::put ) { if( proc->signalled() ) { - logger->log( (*item)->logID, i18n("Could not write to file: `%1'").arg(OutputDirectory::calcPath((*item)->fileListItem,config)) ); + logger->log( (*item)->logID, i18n("Could not write to file: `%1'").tqarg(OutputDirectory::calcPath((*item)->fileListItem,config)) ); emit uncountTime( (*item)->getTime ); emit uncountTime( (*item)->getCorrectionTime ); emit uncountTime( (*item)->ripTime ); @@ -1213,7 +1213,7 @@ void Convert::processExit( KProcess* proc ) return; } if( !proc->normalExit() ) { - logger->log( (*item)->logID, i18n("Could not write to file: `%1'").arg(OutputDirectory::calcPath((*item)->fileListItem,config)) ); + logger->log( (*item)->logID, i18n("Could not write to file: `%1'").tqarg(OutputDirectory::calcPath((*item)->fileListItem,config)) ); emit uncountTime( (*item)->getTime ); emit uncountTime( (*item)->getCorrectionTime ); emit uncountTime( (*item)->ripTime ); @@ -1289,14 +1289,14 @@ void Convert::processExit( KProcess* proc ) void Convert::add( FileListItem* item ) { - logger->log( 1000, i18n("Adding new item to conversion list: `%1'").arg(item->options.filePathName) ); + logger->log( 1000, i18n("Adding new item to conversion list: `%1'").tqarg(item->options.filePathName) ); // append the item to the item list and store the iterator TQValueList<ConvertItem*>::Iterator newItem = items.append( new ConvertItem( item ) ); // register at the logger (*newItem)->logID = logger->registerProcess( item->options.filePathName ); - logger->log( 1000, " " + i18n("Got log ID: %1").arg((*newItem)->logID) ); + logger->log( 1000, " " + i18n("Got log ID: %1").tqarg((*newItem)->logID) ); logger->log( (*newItem)->logID, "Mime Type: " + (*newItem)->fileListItem->mimeType ); if( (*newItem)->fileListItem->tags ) logger->log( (*newItem)->logID, i18n("Tags successfully read") ); @@ -1465,14 +1465,14 @@ void Convert::remove( ConvertItem* item, int state ) //emit uncountTime( item->getTime + item->getCorrectionTime + item->ripTime + // item->decodeTime + item->encodeTime + item->replaygainTime ); - logger->log( item->logID, i18n("Removing file from conversion list. Exit code %1").arg(state) ); + logger->log( item->logID, i18n("Removing file from conversion list. Exit code %1").tqarg(state) ); if( item->fileListItem->notify != "" ) { TQString command = item->fileListItem->notify; command.replace( "%u", item->fileListItem->url ); command.replace( "%i", item->fileListItem->options.filePathName.replace(" ","%20") ); command.replace( "%o", item->outputFilePathName.replace(" ","%20") ); - logger->log( item->logID, " "+i18n("Executing command: \"%1\"").arg(command) ); + logger->log( item->logID, " "+i18n("Executing command: \"%1\"").tqarg(command) ); notify.clearArguments(); TQString paramSplinter; // FIXME split correct (strings with spaces are splited by mistake) |