summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/ownedcodeblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/ownedcodeblock.cpp')
-rw-r--r--umbrello/umbrello/ownedcodeblock.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/umbrello/umbrello/ownedcodeblock.cpp b/umbrello/umbrello/ownedcodeblock.cpp
index 22ceeed1..3b141500 100644
--- a/umbrello/umbrello/ownedcodeblock.cpp
+++ b/umbrello/umbrello/ownedcodeblock.cpp
@@ -90,7 +90,7 @@ void OwnedCodeBlock::setAttributesOnNode(TQDomDocument& /*doc*/, TQDomElement& e
UMLRole * role = dynamic_cast<UMLRole*>(m_parentObject);
if(role)
{
- elem.setAttribute("tqparent_id",ID2STR(role->getParentAssociation()->getID()));
+ elem.setAttribute("parent_id",ID2STR(role->getParentAssociation()->getID()));
// CAUTION: role_id here is numerically inverted wrt Uml::Role_Type,
// i.e. role A is 1 and role B is 0.
// I'll resist the temptation to change this -
@@ -99,7 +99,7 @@ void OwnedCodeBlock::setAttributesOnNode(TQDomDocument& /*doc*/, TQDomElement& e
}
else
{
- elem.setAttribute("tqparent_id",ID2STR(m_parentObject->getID()));
+ elem.setAttribute("parent_id",ID2STR(m_parentObject->getID()));
//elem.setAttribute("role_id","-1");
}
@@ -111,7 +111,7 @@ void OwnedCodeBlock::setAttributesOnNode(TQDomDocument& /*doc*/, TQDomElement& e
void OwnedCodeBlock::setAttributesFromNode ( TQDomElement & elem) {
// set local attributes, tqparent object first
- TQString idStr = elem.attribute("tqparent_id","-1");
+ TQString idStr = elem.attribute("parent_id","-1");
Uml::IDType id = STR2ID(idStr);
// always disconnect from current tqparent
@@ -154,7 +154,7 @@ void OwnedCodeBlock::setAttributesFromNode ( TQDomElement & elem) {
}
else
- kError() << "ERROR: can't load ownedcodeblock: tqparentUMLObject w/id:"
+ kError() << "ERROR: can't load ownedcodeblock: parentUMLObject w/id:"
<< ID2STR(id) << " not found, corrupt save file?" << endl;
}