summaryrefslogtreecommitdiffstats
path: root/src/configbackendspage.cpp
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
commit3a2300ed7cee06b5b49c4bc71f38d5cee72171b5 (patch)
treeebc2fc901d7584145d9c40de18d9e4931283360a /src/configbackendspage.cpp
parent633d093981e9e04c06921459694cd095cdf85c23 (diff)
downloadsoundkonverter-3a2300ed7cee06b5b49c4bc71f38d5cee72171b5.tar.gz
soundkonverter-3a2300ed7cee06b5b49c4bc71f38d5cee72171b5.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/configbackendspage.cpp')
-rwxr-xr-xsrc/configbackendspage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/configbackendspage.cpp b/src/configbackendspage.cpp
index 5d61cb3..ace3e06 100755
--- a/src/configbackendspage.cpp
+++ b/src/configbackendspage.cpp
@@ -237,12 +237,12 @@ void ConfigBackendsPage::rebuild()
TQString title;
if( formatItem ) {
for( TQStringList::Iterator at = formatItem->extensions.begin(); at != formatItem->extensions.end(); ++at ) {
- if( !title.tqcontains((*at).lower()) ) title += (*at).lower() + ", ";
+ if( !title.contains((*at).lower()) ) title += (*at).lower() + ", ";
}
title = title.left( title.length() - 2 );
/* title += " [";
for( TQStringList::Iterator bt = formatItem->mime_types.begin(); bt != formatItem->mime_types.end(); ++bt ) {
- if( !title.tqcontains((*bt).lower()) ) title += (*bt).lower() + ", ";
+ if( !title.contains((*bt).lower()) ) title += (*bt).lower() + ", ";
}
title = title.left( title.length() - 2 ) + "]";*/
}
@@ -467,21 +467,21 @@ void ConfigBackendsPage::strengthChanged()
if( (*b)->enc.strength.profiles.empty() ) {
if( (*b)->enc.strength.step < 1 ) {
if( (*b)->enc.strength.range_max >= (*b)->enc.strength.range_min )
- strength.tqreplace( "%c", TQString::number( compressionLevel * (*b)->enc.strength.step ) );
+ strength.replace( "%c", TQString::number( compressionLevel * (*b)->enc.strength.step ) );
else
- strength.tqreplace( "%c", TQString::number( (*b)->enc.strength.range_min - compressionLevel * (*b)->enc.strength.step ) );
+ strength.replace( "%c", TQString::number( (*b)->enc.strength.range_min - compressionLevel * (*b)->enc.strength.step ) );
}
else {
if( (*b)->enc.strength.range_max >= (*b)->enc.strength.range_min )
- strength.tqreplace( "%c", TQString::number( (int)(compressionLevel * (*b)->enc.strength.step) ) );
+ strength.replace( "%c", TQString::number( (int)(compressionLevel * (*b)->enc.strength.step) ) );
else
- strength.tqreplace( "%c", TQString::number( (int)((*b)->enc.strength.range_min - compressionLevel * (*b)->enc.strength.step) ) );
+ strength.replace( "%c", TQString::number( (int)((*b)->enc.strength.range_min - compressionLevel * (*b)->enc.strength.step) ) );
}
- if( (*b)->enc.strength.separator != '.' ) strength.tqreplace( TQChar('.'), (*b)->enc.strength.separator );
+ if( (*b)->enc.strength.separator != '.' ) strength.replace( TQChar('.'), (*b)->enc.strength.separator );
}
else {
TQStringList::Iterator it = (*b)->enc.strength.profiles.at( (int)compressionLevel );
- strength.tqreplace( "%c", *it );
+ strength.replace( "%c", *it );
}
(*a).lStrengthDisplay->setText( "( \"" + strength + "\" )" );
}