diff options
Diffstat (limited to 'kbabel/commonui/toolselectionwidget.cpp')
-rw-r--r-- | kbabel/commonui/toolselectionwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kbabel/commonui/toolselectionwidget.cpp b/kbabel/commonui/toolselectionwidget.cpp index 78a3c0a4..3b10f09d 100644 --- a/kbabel/commonui/toolselectionwidget.cpp +++ b/kbabel/commonui/toolselectionwidget.cpp @@ -63,7 +63,7 @@ void ToolSelectionWidget::loadTools( const TQStringList &commands, TQStringList::ConstIterator cit = toolCommands.begin(); for (; uit != userCommands.end() && cit != toolCommands.end(); ++uit, ++cit ) { - if( commands.tqcontains(*cit) ) + if( commands.contains(*cit) ) { availableListBox()->insertItem( *uit ); } @@ -78,8 +78,8 @@ void ToolSelectionWidget::setSelectedTools( const TQStringList& tools ) TQValueList<KDataToolInfo>::ConstIterator entry = _allTools.begin(); for( ; entry != _allTools.end(); ++entry ) { - TQString uic=*(*entry).userCommands().at((*entry).commands().tqfindIndex("validate")); - if( tools.tqcontains((*entry).service()->library()) ) + TQString uic=*(*entry).userCommands().at((*entry).commands().findIndex("validate")); + if( tools.contains((*entry).service()->library()) ) selectedListBox()->insertItem( uic ); else availableListBox()->insertItem( uic ); @@ -96,7 +96,7 @@ TQStringList ToolSelectionWidget::selectedTools() TQValueList<KDataToolInfo>::ConstIterator entry = _allTools.begin(); for( ; entry != _allTools.end(); ++entry ) { - if( usedNames.tqcontains(*((*entry).userCommands().at((*entry).commands().tqfindIndex("validate")))) ) + if( usedNames.contains(*((*entry).userCommands().at((*entry).commands().findIndex("validate")))) ) result += (*entry).service()->library(); } return result; |