summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/entity.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 (patch)
treebabc4a761925023e16fa94633959f35d1c251887 /umbrello/umbrello/entity.cpp
parent0813b39aed2cf4c84157a22c4c9594336d93d412 (diff)
downloadtdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.tar.gz
tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/entity.cpp')
-rw-r--r--umbrello/umbrello/entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/entity.cpp b/umbrello/umbrello/entity.cpp
index 38c73138..31ef1513 100644
--- a/umbrello/umbrello/entity.cpp
+++ b/umbrello/umbrello/entity.cpp
@@ -107,7 +107,7 @@ UMLObject* UMLEntity::addEntityAttribute(const TQString& name, Uml::IDType id) {
bool UMLEntity::addEntityAttribute(UMLEntityAttribute* attribute, IDChangeLog* Log /* = 0*/) {
TQString name = (TQString)attribute->getName();
if (findChildObject(name) == NULL) {
- attribute->tqparent()->removeChild(attribute);
+ attribute->parent()->removeChild(attribute);
this->insertChild(attribute);
m_List.append(attribute);
emit entityAttributeAdded(attribute);
@@ -124,7 +124,7 @@ bool UMLEntity::addEntityAttribute(UMLEntityAttribute* attribute, IDChangeLog* L
bool UMLEntity::addEntityAttribute(UMLEntityAttribute* attribute, int position) {
TQString name = (TQString)attribute->getName();
if (findChildObject(name) == NULL) {
- attribute->tqparent()->removeChild(attribute);
+ attribute->parent()->removeChild(attribute);
this->insertChild(attribute);
if ( position >= 0 && position <= (int)m_List.count() ) {
m_List.insert(position,attribute);