summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/listbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/listbox.cpp')
-rw-r--r--kommander/widgets/listbox.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/widgets/listbox.cpp b/kommander/widgets/listbox.cpp
index 1135a540..ad0cbafa 100644
--- a/kommander/widgets/listbox.cpp
+++ b/kommander/widgets/listbox.cpp
@@ -125,7 +125,7 @@ TQString ListBox::handleDCOP(int function, const TQStringList& args)
}
case DCOP::setSelection:
{
- TQListBoxItem* found = tqfindItem(args[0], TQt::ExactMatch);
+ TQListBoxItem* found = findItem(args[0], TQt::ExactMatch);
if (found)
setCurrentItem(index(found));
break;
@@ -162,14 +162,14 @@ TQString ListBox::handleDCOP(int function, const TQStringList& args)
return TQString();
}
case DCOP::addUniqueItem:
- if (!tqfindItem(args[0], TQt::ExactMatch))
+ if (!findItem(args[0], TQt::ExactMatch))
insertItem(args[0]);
break;
case DCOP::findItem:
{
- TQListBoxItem* found = tqfindItem(args[0], TQt::ExactMatch);
- if (!found) found = tqfindItem(args[0], TQt::BeginsWith);
- if (!found) found = tqfindItem(args[0], TQt::Contains);
+ TQListBoxItem* found = findItem(args[0], TQt::ExactMatch);
+ if (!found) found = findItem(args[0], TQt::BeginsWith);
+ if (!found) found = findItem(args[0], TQt::Contains);
if (found)
return TQString::number(index(found));
else return TQString::number(-1);