diff options
Diffstat (limited to 'lib/widgets/flagboxes.cpp')
-rw-r--r-- | lib/widgets/flagboxes.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/widgets/flagboxes.cpp b/lib/widgets/flagboxes.cpp index 47659fc4..a12c5092 100644 --- a/lib/widgets/flagboxes.cpp +++ b/lib/widgets/flagboxes.cpp @@ -105,12 +105,12 @@ void FlagListBox::readFlags(TQStringList *list) TQListViewItem *item = firstChild(); for (; item; item = item->nextSibling()) { FlagListItem *flitem = static_cast<FlagListItem*>(item); - TQStringList::Iterator sli = list->tqfind(flitem->flag); + TQStringList::Iterator sli = list->find(flitem->flag); if (sli != list->end()) { flitem->setOn(true); list->remove(sli); } - sli = list->tqfind(flitem->off); + sli = list->find(flitem->off); if (sli != list->end()) { flitem->setOn(false); list->remove(sli); @@ -205,13 +205,13 @@ void FlagCheckBoxController::readFlags(TQStringList *list) TQPtrListIterator<FlagCheckBox> it(cblist); for (; it.current(); ++it) { FlagCheckBox *fitem = it.current(); - TQStringList::Iterator sli = list->tqfind(fitem->flag); + TQStringList::Iterator sli = list->find(fitem->flag); if (sli != list->end()) { fitem->setChecked(true); fitem->useDef = false; list->remove(sli); } - sli = list->tqfind(fitem->off); + sli = list->find(fitem->off); if (sli != list->end()) { fitem->setChecked(false); fitem->includeOff = true; @@ -270,13 +270,13 @@ void FlagPathEditController::readFlags( TQStringList * list ) if ((*sli).startsWith(peitem->flag)) { // kdDebug() << "Processing.." << endl; - peitem->setText((*sli).tqreplace(TQRegExp(TQRegExp_escape(peitem->flag)),"")); + peitem->setText((*sli).replace(TQRegExp(TQRegExp_escape(peitem->flag)),"")); sli = list->remove(sli); continue; } ++sli; } -/* TQStringList::Iterator sli = list->tqfind(peitem->flag); +/* TQStringList::Iterator sli = list->find(peitem->flag); if (sli != list->end()) { peitem->setText((*sli).remove(peitem->flag)); list->remove(sli); @@ -433,7 +433,7 @@ void FlagRadioButtonController::readFlags(TQStringList *list) TQPtrListIterator<FlagRadioButton> it(cblist); for (; it.current(); ++it) { FlagRadioButton *fitem = it.current(); - TQStringList::Iterator sli = list->tqfind(fitem->flag); + TQStringList::Iterator sli = list->find(fitem->flag); if (sli != list->end()) { fitem->setChecked(true); list->remove(sli); @@ -471,7 +471,7 @@ void FlagEditController::readFlags( TQStringList * list ) { if ((*sli).startsWith(peitem->flag)) { - peitem->appendText((*sli).tqreplace(TQRegExp(TQRegExp_escape(peitem->flag)),"")); + peitem->appendText((*sli).replace(TQRegExp(TQRegExp_escape(peitem->flag)),"")); sli = list->remove(sli); continue; } @@ -489,7 +489,7 @@ void FlagEditController::readFlags( TQStringList * list ) { if ((*sli).startsWith(sitem->flag)) { - sitem->setText((*sli).tqreplace(TQRegExp(TQRegExp_escape(sitem->flag)),"")); + sitem->setText((*sli).replace(TQRegExp(TQRegExp_escape(sitem->flag)),"")); sli = list->remove(sli); continue; } |