summaryrefslogtreecommitdiffstats
path: root/plugins/encoder/external
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit33881ea4441221b1ca0789a72c4c7249d923a0df (patch)
treeffe5603da373bb346bb29c8e0f533776f66560a5 /plugins/encoder/external
parent6d99e1e138ae5aafc10f14682c48221bf563152e (diff)
downloadk3b-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 'plugins/encoder/external')
-rw-r--r--plugins/encoder/external/k3bexternalencoder.cpp20
-rw-r--r--plugins/encoder/external/k3bexternalencoderconfigwidget.cpp2
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") );