diff options
Diffstat (limited to 'src/configbackendspage.cpp')
-rwxr-xr-x | src/configbackendspage.cpp | 16 |
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 + "\" )" ); } |