summaryrefslogtreecommitdiffstats
path: root/src/mechanics/mechanicsgroup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9 (patch)
tree31d759580e3bf977fd7fea7a451b535f3c0741a6 /src/mechanics/mechanicsgroup.cpp
parent87a016680e3677da3993f333561e79eb0cead7d5 (diff)
downloadktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.tar.gz
ktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/mechanics/mechanicsgroup.cpp')
-rw-r--r--src/mechanics/mechanicsgroup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mechanics/mechanicsgroup.cpp b/src/mechanics/mechanicsgroup.cpp
index 8d27579..32f1748 100644
--- a/src/mechanics/mechanicsgroup.cpp
+++ b/src/mechanics/mechanicsgroup.cpp
@@ -31,12 +31,12 @@ bool MechanicsGroup::addItem( Item *item )
}
// Check that the item's tqparent isn't already selected
- Item *tqparent = item->tqparentItem();
+ Item *tqparent = item->parentItem();
while (tqparent)
{
if ( m_itemList.tqcontains(tqparent) )
return false;
- tqparent = tqparent->tqparentItem();
+ tqparent = tqparent->parentItem();
}
removeChildren(item);
@@ -134,10 +134,10 @@ MechanicsItemList MechanicsGroup::toplevelMechItemList() const
MechanicsItem* tqparent = *it;
while (tqparent)
{
- if ( !tqparent->tqparentItem() && !toplevel.tqcontains(tqparent) )
+ if ( !tqparent->parentItem() && !toplevel.tqcontains(tqparent) )
toplevel.append(tqparent);
- tqparent = dynamic_cast<MechanicsItem*>(tqparent->tqparentItem());
+ tqparent = dynamic_cast<MechanicsItem*>(tqparent->parentItem());
}
}