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.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/parts/classview/classtoolwidget.cpp b/parts/classview/classtoolwidget.cpp
index f800bd15..5aefe6e5 100644
--- a/parts/classview/classtoolwidget.cpp
+++ b/parts/classview/classtoolwidget.cpp
@@ -20,7 +20,7 @@
#include "classstore.h"
-ClassToolWidget::ClassToolWidget(ClassViewPart *part, QWidget *parent)
+ClassToolWidget::ClassToolWidget(ClassViewPart *part, TQWidget *parent)
: ClassTreeBase(part, parent, "class tool widget")
{}
@@ -41,13 +41,13 @@ KPopupMenu *ClassToolWidget::createPopup()
}
-void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, QValueList<ParsedClass*> classList)
+void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, TQValueList<ParsedClass*> classList)
{
ClassTreeItem *root = new ClassTreeClassItem(this, 0, parsedClass);
ClassTreeItem *lastItem = 0;
- QValueList<ParsedClass*>::ConstIterator it;
+ TQValueList<ParsedClass*>::ConstIterator it;
for (it = classList.begin(); it != classList.end(); ++it) {
lastItem = new ClassTreeClassItem(root, lastItem, *it);
lastItem->setExpandable(false);
@@ -60,13 +60,13 @@ void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, QValueList
}
-void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, const QPtrList<ParsedParent> &parentList)
+void ClassToolWidget::insertClassAndClasses(ParsedClass *parsedClass, const TQPtrList<ParsedParent> &parentList)
{
ClassTreeItem *root = new ClassTreeClassItem(this, 0, parsedClass);
ClassTreeItem *lastItem = 0;
- QPtrListIterator<ParsedParent> it(parentList);
+ TQPtrListIterator<ParsedParent> it(parentList);
for (; it.current(); ++it) {
ParsedClass *parentClass = m_part->classStore()->getClassByName((*it)->name());
lastItem = new ClassTreeClassItem(root, lastItem, parentClass);
@@ -86,8 +86,8 @@ void ClassToolWidget::addClassAndAttributes(ParsedClass *parsedClass, PIAccess f
ClassTreeItem *ilastItem = 0;
- QValueList<ParsedAttribute*> attrList = parsedClass->getSortedAttributeList();
- QValueList<ParsedAttribute*>::ConstIterator it;
+ TQValueList<ParsedAttribute*> attrList = parsedClass->getSortedAttributeList();
+ TQValueList<ParsedAttribute*>::ConstIterator it;
for (it = attrList.begin(); it != attrList.end(); ++it) {
if (filter == (PIAccess)-1 || filter == (*it)->access())
ilastItem = new ClassTreeAttrItem(*lastItem, ilastItem, *it);
@@ -106,8 +106,8 @@ void ClassToolWidget::addClassAndMethods(ParsedClass *parsedClass, PIAccess filt
ClassTreeItem *ilastItem = 0;
- QValueList<ParsedMethod*> methodList = parsedClass->getSortedMethodList();
- QValueList<ParsedMethod*>::ConstIterator it;
+ TQValueList<ParsedMethod*> methodList = parsedClass->getSortedMethodList();
+ TQValueList<ParsedMethod*>::ConstIterator it;
for (it = methodList.begin(); it != methodList.end(); ++it) {
if (filter == (PIAccess)-1 || filter == (*it)->access())
ilastItem = new ClassTreeMethodItem(*lastItem, ilastItem, *it);