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.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/umbrello/umbrello/ownedcodeblock.cpp b/umbrello/umbrello/ownedcodeblock.cpp
index 3b141500..f80fd315 100644
--- a/umbrello/umbrello/ownedcodeblock.cpp
+++ b/umbrello/umbrello/ownedcodeblock.cpp
@@ -34,10 +34,10 @@
// Constructors/Destructors
//
-OwnedCodeBlock::OwnedCodeBlock ( UMLObject * tqparent )
- : TQObject ( (TQObject*)tqparent, "anOwnedCodeBlock" )
+OwnedCodeBlock::OwnedCodeBlock ( UMLObject * parent )
+ : TQObject ( (TQObject*)parent, "anOwnedCodeBlock" )
{
- initFields(tqparent);
+ initFields(parent);
}
OwnedCodeBlock::~OwnedCodeBlock ( ) {
@@ -110,11 +110,11 @@ void OwnedCodeBlock::setAttributesOnNode(TQDomDocument& /*doc*/, TQDomElement& e
*/
void OwnedCodeBlock::setAttributesFromNode ( TQDomElement & elem) {
- // set local attributes, tqparent object first
+ // set local attributes, parent object first
TQString idStr = elem.attribute("parent_id","-1");
Uml::IDType id = STR2ID(idStr);
- // always disconnect from current tqparent
+ // always disconnect from current parent
getParentObject()->disconnect(this);
// now, what is the new object we want to set?
@@ -125,7 +125,7 @@ void OwnedCodeBlock::setAttributesFromNode ( TQDomElement & elem) {
// FIX..one day.
// Ugh. This is UGLY, but we have to do it this way because UMLRoles
// don't go into the document list of UMLobjects, and have the same
- // ID as their tqparent UMLAssociations. So..the drill is then special
+ // ID as their parent UMLAssociations. So..the drill is then special
// for Associations..in that case we need to find out which role will
// serve as the parametger here. The REAL fix, of course, would be to
// treat UMLRoles on a more even footing, but im not sure how that change
@@ -159,13 +159,13 @@ void OwnedCodeBlock::setAttributesFromNode ( TQDomElement & elem) {
}
-void OwnedCodeBlock::initFields(UMLObject * tqparent )
+void OwnedCodeBlock::initFields(UMLObject * parent )
{
- m_parentObject = tqparent;
+ m_parentObject = parent;
// one reason for being: set up the connection between
- // this code block and the tqparent UMLObject..when the tqparent
+ // this code block and the parent UMLObject..when the parent
// signals a change has been made, we automatically update
// ourselves
connect(m_parentObject, TQT_SIGNAL(modified()), this, TQT_SLOT(syncToParent()));