summaryrefslogtreecommitdiffstats
path: root/parts/classview/classtoolwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview/classtoolwidget.cpp')
-rw-r--r--parts/classview/classtoolwidget.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/parts/classview/classtoolwidget.cpp b/parts/classview/classtoolwidget.cpp
index 59e744f1..2817db82 100644
--- a/parts/classview/classtoolwidget.cpp
+++ b/parts/classview/classtoolwidget.cpp
@@ -60,16 +60,16 @@ void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, TQValueLis
}
-void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, const TQPtrList<ParsedParent> &tqparentList)
+void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, const TQPtrList<ParsedParent> &parentList)
{
ClassTreeItem *root = new ClassTreeClassItem(this, 0, parsedClass);
ClassTreeItem *lastItem = 0;
- TQPtrListIterator<ParsedParent> it(tqparentList);
+ TQPtrListIterator<ParsedParent> it(parentList);
for (; it.current(); ++it) {
- ParsedClass *tqparentClass = m_part->classStore()->getClassByName((*it)->name());
- lastItem = new ClassTreeClassItem(root, lastItem, tqparentClass);
+ ParsedClass *parentClass = m_part->classStore()->getClassByName((*it)->name());
+ lastItem = new ClassTreeClassItem(root, lastItem, parentClass);
lastItem->setExpandable(false);
}
@@ -124,14 +124,14 @@ void ClassToolWidget::insertAllClassMethods(ParsedClass *parsedClass, PIAccess f
{
ClassTreeItem *lastItem = 0;
- // First treat all tqparents.
- for ( ParsedParent *pParent = parsedClass->tqparents.first();
+ // First treat all parents.
+ for ( ParsedParent *pParent = parsedClass->parents.first();
pParent != 0;
- pParent = parsedClass->tqparents.next() )
+ pParent = parsedClass->parents.next() )
{
- ParsedClass *tqparentClass = m_part->classStore()->getClassByName(pParent->name());
- if (tqparentClass)
- addClassAndMethods(tqparentClass, filter, &lastItem);
+ ParsedClass *parentClass = m_part->classStore()->getClassByName(pParent->name());
+ if (parentClass)
+ addClassAndMethods(parentClass, 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 tqparents.
- for ( ParsedParent *pParent = parsedClass->tqparents.first();
+ // First treat all parents.
+ for ( ParsedParent *pParent = parsedClass->parents.first();
pParent != 0;
- pParent = parsedClass->tqparents.next() )
+ pParent = parsedClass->parents.next() )
{
- ParsedClass *tqparentClass = m_part->classStore()->getClassByName(pParent->name());
- if (tqparentClass)
- addClassAndAttributes(tqparentClass, filter, &lastItem);
+ ParsedClass *parentClass = m_part->classStore()->getClassByName(pParent->name());
+ if (parentClass)
+ addClassAndAttributes(parentClass, filter, &lastItem);
}
// Add the current class