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/item.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/item.cpp')
-rw-r--r-- | src/item.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/item.cpp b/src/item.cpp index e5f7466..e2cd3b0 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -138,14 +138,14 @@ ItemData Item::itemData() const itemData.x = x(); itemData.y = y(); - if ( !tqparentItem() ) + if ( !parentItem() ) itemData.z = m_baseZ; itemData.size = m_sizeRect; itemData.setSize = canResize(); if (p_parentItem) - itemData.tqparentId = p_parentItem->id(); + itemData.parentId = p_parentItem->id(); const VariantDataMap::const_iterator end = m_variantData.end(); for ( VariantDataMap::const_iterator it = m_variantData.begin(); it != end; ++it ) @@ -212,9 +212,9 @@ void Item::restoreFromItemData( const ItemData &itemData ) if ( canResize() ) setSize( itemData.size ); - Item *tqparentItem = p_itemDocument->itemWithID( itemData.tqparentId ); - if (tqparentItem) - setParentItem(tqparentItem); + Item *parentItem = p_itemDocument->itemWithID( itemData.parentId ); + if (parentItem) + setParentItem(parentItem); else m_baseZ = itemData.z; |