summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/toolselectionwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-13 00:26:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-13 00:26:14 +0000
commite192d1b3be27a26e344ae48cc6aea31185fe0a99 (patch)
tree080c21ee8a1a1a496c0b37b2a8fcb3381de04cd2 /kbabel/commonui/toolselectionwidget.cpp
parent6e7b4925121d177e954df2cca45443cfd78bda40 (diff)
downloadtdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.tar.gz
tdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.zip
Finish TQt4 porting of kdesdk (kbabel)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236386 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/commonui/toolselectionwidget.cpp')
-rw-r--r--kbabel/commonui/toolselectionwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbabel/commonui/toolselectionwidget.cpp b/kbabel/commonui/toolselectionwidget.cpp
index 4fadd865..78a3c0a4 100644
--- a/kbabel/commonui/toolselectionwidget.cpp
+++ b/kbabel/commonui/toolselectionwidget.cpp
@@ -78,7 +78,7 @@ void ToolSelectionWidget::setSelectedTools( const TQStringList& tools )
TQValueList<KDataToolInfo>::ConstIterator entry = _allTools.begin();
for( ; entry != _allTools.end(); ++entry )
{
- TQString uic=*(*entry).userCommands().at((*entry).commands().findIndex("validate"));
+ TQString uic=*(*entry).userCommands().at((*entry).commands().tqfindIndex("validate"));
if( tools.tqcontains((*entry).service()->library()) )
selectedListBox()->insertItem( uic );
else
@@ -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().findIndex("validate")))) )
+ if( usedNames.tqcontains(*((*entry).userCommands().at((*entry).commands().tqfindIndex("validate")))) )
result += (*entry).service()->library();
}
return result;