summaryrefslogtreecommitdiffstats
path: root/src/itemdocumentdata.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/itemdocumentdata.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/itemdocumentdata.cpp')
-rw-r--r--src/itemdocumentdata.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/itemdocumentdata.cpp b/src/itemdocumentdata.cpp
index a352b04..8981980 100644
--- a/src/itemdocumentdata.cpp
+++ b/src/itemdocumentdata.cpp
@@ -423,8 +423,8 @@ TQDomElement ItemDocumentData::itemDataToElement( TQDomDocument &doc, const Item
node.setAttribute( "flip", itemData.flipped );
}
- if ( !itemData.tqparentId.isEmpty() )
- node.setAttribute( "tqparent", itemData.tqparentId );
+ if ( !itemData.parentId.isEmpty() )
+ node.setAttribute( "tqparent", itemData.parentId );
const TQStringMap::const_iterator stringEnd = itemData.dataString.end();
for ( TQStringMap::const_iterator it = itemData.dataString.begin(); it != stringEnd; ++it )
@@ -528,7 +528,7 @@ void ItemDocumentData::elementToItemData( TQDomElement element )
itemData.angleDegrees = element.attribute( "angle", "0" ).toInt();
itemData.flipped = element.attribute( "flip", "0" ).toInt();
itemData.orientation = element.attribute( "orientation", "-1" ).toInt();
- itemData.tqparentId = element.attribute( "tqparent", TQString() );
+ itemData.parentId = element.attribute( "tqparent", TQString() );
m_itemDataMap[id] = itemData;
@@ -548,7 +548,7 @@ void ItemDocumentData::elementToItemData( TQDomElement element )
elementToItemData(childElement);
TQString childId = childElement.attribute( "id", TQString() );
if ( !childId.isNull() )
- m_itemDataMap[childId].tqparentId = id;
+ m_itemDataMap[childId].parentId = id;
}
else if ( tagName == "data" )
@@ -826,7 +826,7 @@ void ItemDocumentData::generateUniqueIDs( ItemDocument *itemDocument )
const ItemDataMap::iterator end = newItemDataMap.end();
for ( ItemDataMap::iterator it = newItemDataMap.begin(); it != end; ++it )
{
- it.data().tqparentId = replaced[it.data().tqparentId];
+ it.data().parentId = replaced[it.data().parentId];
}
}
{
@@ -1000,7 +1000,7 @@ void ItemDocumentData::mergeWithDocument( ItemDocument *itemDocument, bool selec
}
if (item)
{
- //HACK We move the item now before restoreFromItemData is called later, in case it is to be tqparented
+ //HACK We move the item now before restoreFromItemData is called later, in case it is to be parented
//(as we don't want to move tqchildren)...
item->move( it.data().x, it.data().y );
}