summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/ownedhierarchicalcodeblock.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /umbrello/umbrello/ownedhierarchicalcodeblock.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/ownedhierarchicalcodeblock.cpp')
-rw-r--r--umbrello/umbrello/ownedhierarchicalcodeblock.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/umbrello/umbrello/ownedhierarchicalcodeblock.cpp b/umbrello/umbrello/ownedhierarchicalcodeblock.cpp
index 078a02b7..45e41875 100644
--- a/umbrello/umbrello/ownedhierarchicalcodeblock.cpp
+++ b/umbrello/umbrello/ownedhierarchicalcodeblock.cpp
@@ -31,8 +31,8 @@
// Constructors/Destructors
//
-OwnedHierarchicalCodeBlock::OwnedHierarchicalCodeBlock ( UMLObject *parent, CodeDocument * doc, const TQString &start, const TQString &end, const TQString &comment)
- : HierarchicalCodeBlock ( doc, start, end, comment), OwnedCodeBlock(parent)
+OwnedHierarchicalCodeBlock::OwnedHierarchicalCodeBlock ( UMLObject *tqparent, CodeDocument * doc, const TQString &start, const TQString &end, const TQString &comment)
+ : HierarchicalCodeBlock ( doc, start, end, comment), OwnedCodeBlock(tqparent)
{
}
@@ -68,7 +68,7 @@ void OwnedHierarchicalCodeBlock::setAttributesOnNode (TQDomDocument & doc, TQDom
OwnedCodeBlock::setAttributesOnNode(doc, elem);
// set local class attributes
- elem.setAttribute("parent_id",ID2STR(getParentObject()->getID()));
+ elem.setAttribute("tqparent_id",ID2STR(getParentObject()->getID()));
// setting ID's takes special treatment
// as UMLRoles arent properly stored in the XMI right now.