diff options
Diffstat (limited to 'umbrello/umbrello/classifier.cpp')
-rw-r--r-- | umbrello/umbrello/classifier.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/umbrello/umbrello/classifier.cpp b/umbrello/umbrello/classifier.cpp index 947590c1..167bf674 100644 --- a/umbrello/umbrello/classifier.cpp +++ b/umbrello/umbrello/classifier.cpp @@ -218,8 +218,8 @@ UMLOperation* UMLClassifier::createOperation(const TQString &name /*=null*/, bool UMLClassifier::addOperation(UMLOperation* op, int position ) { - if (m_List.tqfindRef(op) != -1) { - kDebug() << "UMLClassifier::addOperation: tqfindRef(" + if (m_List.findRef(op) != -1) { + kDebug() << "UMLClassifier::addOperation: findRef(" << op->getName() << ") finds op (bad)" << endl; return false; @@ -380,7 +380,7 @@ UMLClassifierList UMLClassifier::findSubClassConcepts (ClassifierType type) { UMLClassifier *concept = dynamic_cast<UMLClassifier*>(obj); if (concept && (type == ALL || (!concept->isInterface() && type == CLASS) || (concept->isInterface() && type == INTERFACE)) - && (inheritingConcepts.tqfindRef(concept) == -1)) + && (inheritingConcepts.findRef(concept) == -1)) inheritingConcepts.append(concept); } } @@ -409,7 +409,7 @@ UMLClassifierList UMLClassifier::findSuperClassConcepts (ClassifierType type) { UMLClassifier *concept = dynamic_cast<UMLClassifier*>(obj); if (concept && (type == ALL || (!concept->isInterface() && type == CLASS) || (concept->isInterface() && type == INTERFACE)) - && (parentConcepts.tqfindRef(concept) == -1)) + && (parentConcepts.findRef(concept) == -1)) parentConcepts.append(concept); } } @@ -765,7 +765,7 @@ int UMLClassifier::takeItem(UMLClassifierListItem *item) { buf.append(' ' + currentAtt->getName()); } kDebug() << " UMLClassifier::takeItem (before): m_List is " << buf << endl; - int index = m_List.tqfindRef(item); + int index = m_List.findRef(item); if (index == -1) return -1; switch (item->getBaseType()) { |