From 9150603ad32928e9c514c0492a8518b742d82ac3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: 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/kdesdk@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- umbrello/umbrello/ownedcodeblock.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'umbrello/umbrello/ownedcodeblock.cpp') 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(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; } -- cgit v1.2.3