summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/KMultiFormListBox/kmultiformlistbox-multivisible.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/KMultiFormListBox/kmultiformlistbox-multivisible.cpp')
-rw-r--r--kregexpeditor/KMultiFormListBox/kmultiformlistbox-multivisible.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/KMultiFormListBox/kmultiformlistbox-multivisible.cpp b/kregexpeditor/KMultiFormListBox/kmultiformlistbox-multivisible.cpp
index 0dfa991..ba37b73 100644
--- a/kregexpeditor/KMultiFormListBox/kmultiformlistbox-multivisible.cpp
+++ b/kregexpeditor/KMultiFormListBox/kmultiformlistbox-multivisible.cpp
@@ -154,7 +154,7 @@ void KMultiFormListBoxMultiVisible::append(KMultiFormListBoxEntry *elm)
void KMultiFormListBoxMultiVisible::delElement(TQWidget *elm)
{
- int index = elms->tqfind(elm);
+ int index = elms->find(elm);
TQWidget *next = elms->at(index+1);
if (strcmp(next->name(),"seperator") != 0) {
elms->removeRef(next);
@@ -186,7 +186,7 @@ void KMultiFormListBoxMultiVisible::insertElmIntoWidget(KMultiFormListBoxEntry *
// Find the location to insert the new element.
int index = elms->count();
if (after) {
- index = elms->tqfindRef(after);
+ index = elms->findRef(after);
}
// Now show the new element.