diff options
Diffstat (limited to 'plugins/encoder/external')
-rw-r--r-- | plugins/encoder/external/k3bexternalencoder.cpp | 20 | ||||
-rw-r--r-- | plugins/encoder/external/k3bexternalencoderconfigwidget.cpp | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/plugins/encoder/external/k3bexternalencoder.cpp b/plugins/encoder/external/k3bexternalencoder.cpp index 52cd0d0..6db4ea3 100644 --- a/plugins/encoder/external/k3bexternalencoder.cpp +++ b/plugins/encoder/external/k3bexternalencoder.cpp @@ -218,16 +218,16 @@ bool K3bExternalEncoder::initEncoderInternal( const TQString& extension ) // create the commandline TQStringList params = TQStringList::split( ' ', d->cmd.command, false ); for( TQStringList::iterator it = params.begin(); it != params.end(); ++it ) { - (*it).tqreplace( "%f", d->fileName ); - (*it).tqreplace( "%a", d->artist ); - (*it).tqreplace( "%t", d->title ); - (*it).tqreplace( "%c", d->comment ); - (*it).tqreplace( "%y", d->year ); - (*it).tqreplace( "%m", d->cdTitle ); - (*it).tqreplace( "%r", d->cdArtist ); - (*it).tqreplace( "%x", d->cdComment ); - (*it).tqreplace( "%n", d->trackNumber ); - (*it).tqreplace( "%g", d->genre ); + (*it).replace( "%f", d->fileName ); + (*it).replace( "%a", d->artist ); + (*it).replace( "%t", d->title ); + (*it).replace( "%c", d->comment ); + (*it).replace( "%y", d->year ); + (*it).replace( "%m", d->cdTitle ); + (*it).replace( "%r", d->cdArtist ); + (*it).replace( "%x", d->cdComment ); + (*it).replace( "%n", d->trackNumber ); + (*it).replace( "%g", d->genre ); *d->process << *it; } diff --git a/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp b/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp index 3daf9ad..473c2ab 100644 --- a/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp +++ b/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp @@ -86,7 +86,7 @@ void K3bExternalEncoderEditDialog::slotOk() i18n("Please specify the command line."), i18n("No command line specified") ); } - else if( !m_editW->m_editCommand->text().tqcontains( "%f" ) ) { + else if( !m_editW->m_editCommand->text().contains( "%f" ) ) { KMessageBox::error( this, i18n("Please add the output filename (%f) to the command line."), i18n("No filename specified") ); |