summaryrefslogtreecommitdiffstats
path: root/kpackage/packageInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/packageInfo.cpp')
-rw-r--r--kpackage/packageInfo.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpackage/packageInfo.cpp b/kpackage/packageInfo.cpp
index aab5be2..b5a3a52 100644
--- a/kpackage/packageInfo.cpp
+++ b/kpackage/packageInfo.cpp
@@ -391,7 +391,7 @@ bool packageInfo::display(int treeType)
KpTreeListItem *packageInfo::place(KpTreeList *tree, bool insertI)
{
- KpTreeListItem *search = tree->firstChild(), *tqparent=NULL, *child=NULL;
+ KpTreeListItem *search = tree->firstChild(), *parent=NULL, *child=NULL;
TQString qtmp, tmp;
bool doit = FALSE;
@@ -410,17 +410,17 @@ KpTreeListItem *packageInfo::place(KpTreeList *tree, bool insertI)
KpTreeListItem *group;
if( search && (group=findGroup(*it, search)) ) {
- tqparent = group;
- tqparent->setOpen(TRUE);
+ parent = group;
+ parent->setOpen(TRUE);
search = group->firstChild();
} else {
- if (tqparent) {
- group = new KpTreeListItem(tqparent, 0, interface->folder, *it);
+ if (parent) {
+ group = new KpTreeListItem(parent, 0, interface->folder, *it);
} else {
group = new KpTreeListItem(tree, 0, interface->folder, *it);
}
- tqparent = group;
- tqparent->setOpen(TRUE);
+ parent = group;
+ parent->setOpen(TRUE);
search = NULL;
}
cnt++;
@@ -480,13 +480,13 @@ KpTreeListItem *packageInfo::place(KpTreeList *tree, bool insertI)
if (child) {
item = new KpTreeListItem(child, this, pic, tmp, "", summary, sz, ver, over);
} else {
- item = new KpTreeListItem(tqparent, this, pic, tmp, "", summary, sz, ver, over);
+ item = new KpTreeListItem(parent, this, pic, tmp, "", summary, sz, ver, over);
}
if (insertI) {
- tqparent->setOpen(TRUE);
+ parent->setOpen(TRUE);
} else {
- tqparent->setOpen(FALSE);
+ parent->setOpen(FALSE);
}
return item;