diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9 (patch) | |
tree | 31d759580e3bf977fd7fea7a451b535f3c0741a6 /src/mechanics/mechanicsgroup.cpp | |
parent | 87a016680e3677da3993f333561e79eb0cead7d5 (diff) | |
download | ktechlab-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.cpp | 8 |
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()); } } |