summaryrefslogtreecommitdiffstats
path: root/src/optionssimple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/optionssimple.cpp')
-rwxr-xr-xsrc/optionssimple.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/optionssimple.cpp b/src/optionssimple.cpp
index 48bb131..844db2a 100755
--- a/src/optionssimple.cpp
+++ b/src/optionssimple.cpp
@@ -140,12 +140,12 @@ int OptionsSimple::profileIndex( const TQString &string )
else if( profile == "Lossless" ) profile = i18n("Lossless");
else if( profile == "Hybrid" ) profile = i18n("Hybrid");
else if( profile == "User defined" ) profile = i18n("User defined");
- return sProfile.tqfindIndex( profile );
+ return sProfile.findIndex( profile );
}
int OptionsSimple::formatIndex( const TQString &string )
{
- return sFormat.tqfindIndex( string );
+ return sFormat.findIndex( string );
}
void OptionsSimple::profileInfo()
@@ -451,7 +451,7 @@ void OptionsSimple::formatChanged()
void OptionsSimple::outputDirectoryModeChanged( OutputDirectory::Mode mode )
{
optionsDetailed->setOutputDirectoryMode( mode );
- if( cProfile->currentText() != i18n("User defined") && config->getAllProfiles().tqfindIndex(cProfile->currentText()) != -1 ) {
+ if( cProfile->currentText() != i18n("User defined") && config->getAllProfiles().findIndex(cProfile->currentText()) != -1 ) {
ConversionOptions options = config->getProfile( cProfile->currentText() );
// if( options.encodingOptions.sFormat.isEmpty() ) return;
if( outputDirectory->mode() != options.outputOptions.mode || outputDirectory->directory() != options.outputOptions.directory ) {
@@ -465,7 +465,7 @@ void OptionsSimple::outputDirectoryModeChanged( OutputDirectory::Mode mode )
void OptionsSimple::outputDirectoryPathChanged( const TQString& path )
{
optionsDetailed->setOutputDirectoryPath( path );
- if( cProfile->currentText() != i18n("User defined") && config->getAllProfiles().tqfindIndex(cProfile->currentText()) != -1 ) {
+ if( cProfile->currentText() != i18n("User defined") && config->getAllProfiles().findIndex(cProfile->currentText()) != -1 ) {
ConversionOptions options = config->getProfile( cProfile->currentText() );
// if( options.encodingOptions.sFormat.isEmpty() ) return;
if( outputDirectory->mode() != options.outputOptions.mode || outputDirectory->directory() != options.outputOptions.directory ) {