diff options
Diffstat (limited to 'umbrello/umbrello/codeclassfielddeclarationblock.cpp')
-rw-r--r-- | umbrello/umbrello/codeclassfielddeclarationblock.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/umbrello/umbrello/codeclassfielddeclarationblock.cpp b/umbrello/umbrello/codeclassfielddeclarationblock.cpp index 5283cb38..7c4f5af6 100644 --- a/umbrello/umbrello/codeclassfielddeclarationblock.cpp +++ b/umbrello/umbrello/codeclassfielddeclarationblock.cpp @@ -14,7 +14,7 @@ */ /** basicially a class to allow for syncronization of the contents based on the - * values of the tqparentClassField's tqparentObject + * values of the parentClassField's parentObject */ #include "codeclassfielddeclarationblock.h" @@ -24,11 +24,11 @@ // Constructors/Destructors // -CodeClassFieldDeclarationBlock::CodeClassFieldDeclarationBlock ( CodeClassField * tqparentCF ) - : CodeBlockWithComments ( (CodeDocument*) tqparentCF->getParentDocument() ), - OwnedCodeBlock ((UMLObject*) tqparentCF->getParentObject()) +CodeClassFieldDeclarationBlock::CodeClassFieldDeclarationBlock ( CodeClassField * parentCF ) + : CodeBlockWithComments ( (CodeDocument*) parentCF->getParentDocument() ), + OwnedCodeBlock ((UMLObject*) parentCF->getParentObject()) { - init(tqparentCF); + init(parentCF); } CodeClassFieldDeclarationBlock::~CodeClassFieldDeclarationBlock ( ) { @@ -51,7 +51,7 @@ CodeClassField * CodeClassFieldDeclarationBlock::getParentClassField ( ) { return m_parentclassfield; } -/** Get the tqparent object of the tqparentCodeClassfield +/** Get the tqparent object of the parentCodeClassfield */ UMLObject * CodeClassFieldDeclarationBlock::getParentObject ( ) { return m_parentclassfield->getParentObject(); @@ -141,7 +141,7 @@ void CodeClassFieldDeclarationBlock::syncToParent () { // for role-based accessors, we DONT write ourselves out when // the name of the role is not defined. - if(!(getParentClassField()->tqparentIsAttribute())) + if(!(getParentClassField()->parentIsAttribute())) { UMLRole * tqparent = dynamic_cast<UMLRole*>(getParentObject()); if (tqparent == NULL) @@ -164,9 +164,9 @@ void CodeClassFieldDeclarationBlock::syncToParent () { } -void CodeClassFieldDeclarationBlock::init (CodeClassField * tqparentCF) +void CodeClassFieldDeclarationBlock::init (CodeClassField * parentCF) { - m_parentclassfield = tqparentCF; + m_parentclassfield = parentCF; m_canDelete = false; connect(m_parentclassfield,TQT_SIGNAL(modified()),this,TQT_SLOT(syncToParent())); } |