diff options
Diffstat (limited to 'parts/classview/classtoolwidget.cpp')
-rw-r--r-- | parts/classview/classtoolwidget.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/parts/classview/classtoolwidget.cpp b/parts/classview/classtoolwidget.cpp index 5aefe6e5..59e744f1 100644 --- a/parts/classview/classtoolwidget.cpp +++ b/parts/classview/classtoolwidget.cpp @@ -20,8 +20,8 @@ #include "classstore.h" -ClassToolWidget::ClassToolWidget(ClassViewPart *part, TQWidget *parent) - : ClassTreeBase(part, parent, "class tool widget") +ClassToolWidget::ClassToolWidget(ClassViewPart *part, TQWidget *tqparent) + : ClassTreeBase(part, tqparent, "class tool widget") {} @@ -60,16 +60,16 @@ void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, TQValueLis } -void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, const TQPtrList<ParsedParent> &parentList) +void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, const TQPtrList<ParsedParent> &tqparentList) { ClassTreeItem *root = new ClassTreeClassItem(this, 0, parsedClass); ClassTreeItem *lastItem = 0; - TQPtrListIterator<ParsedParent> it(parentList); + TQPtrListIterator<ParsedParent> it(tqparentList); for (; it.current(); ++it) { - ParsedClass *parentClass = m_part->classStore()->getClassByName((*it)->name()); - lastItem = new ClassTreeClassItem(root, lastItem, parentClass); + ParsedClass *tqparentClass = m_part->classStore()->getClassByName((*it)->name()); + lastItem = new ClassTreeClassItem(root, lastItem, tqparentClass); lastItem->setExpandable(false); } @@ -124,14 +124,14 @@ void ClassToolWidget::insertAllClassMethods(ParsedClass *parsedClass, PIAccess f { ClassTreeItem *lastItem = 0; - // First treat all parents. - for ( ParsedParent *pParent = parsedClass->parents.first(); + // First treat all tqparents. + for ( ParsedParent *pParent = parsedClass->tqparents.first(); pParent != 0; - pParent = parsedClass->parents.next() ) + pParent = parsedClass->tqparents.next() ) { - ParsedClass *parentClass = m_part->classStore()->getClassByName(pParent->name()); - if (parentClass) - addClassAndMethods(parentClass, filter, &lastItem); + ParsedClass *tqparentClass = m_part->classStore()->getClassByName(pParent->name()); + if (tqparentClass) + addClassAndMethods(tqparentClass, filter, &lastItem); } // Add the current class @@ -142,14 +142,14 @@ void ClassToolWidget::insertAllClassMethods(ParsedClass *parsedClass, PIAccess f void ClassToolWidget::insertAllClassAttributes(ParsedClass *parsedClass, PIAccess filter) { ClassTreeItem *lastItem = 0; - // First treat all parents. - for ( ParsedParent *pParent = parsedClass->parents.first(); + // First treat all tqparents. + for ( ParsedParent *pParent = parsedClass->tqparents.first(); pParent != 0; - pParent = parsedClass->parents.next() ) + pParent = parsedClass->tqparents.next() ) { - ParsedClass *parentClass = m_part->classStore()->getClassByName(pParent->name()); - if (parentClass) - addClassAndAttributes(parentClass, filter, &lastItem); + ParsedClass *tqparentClass = m_part->classStore()->getClassByName(pParent->name()); + if (tqparentClass) + addClassAndAttributes(tqparentClass, filter, &lastItem); } // Add the current class |