summaryrefslogtreecommitdiffstats
path: root/parts/classview/classtoolwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/classview/classtoolwidget.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);