diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/cppheadercodeclassfielddeclarationblock.cpp')
-rw-r--r-- | umbrello/umbrello/codegenerators/cppheadercodeclassfielddeclarationblock.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/umbrello/umbrello/codegenerators/cppheadercodeclassfielddeclarationblock.cpp b/umbrello/umbrello/codegenerators/cppheadercodeclassfielddeclarationblock.cpp index 55edd167..3f15d05b 100644 --- a/umbrello/umbrello/codegenerators/cppheadercodeclassfielddeclarationblock.cpp +++ b/umbrello/umbrello/codegenerators/cppheadercodeclassfielddeclarationblock.cpp @@ -21,8 +21,8 @@ // Constructors/Destructors // -CPPHeaderCodeClassFieldDeclarationBlock::CPPHeaderCodeClassFieldDeclarationBlock ( CodeClassField * tqparent ) - : CodeClassFieldDeclarationBlock ( tqparent ) +CPPHeaderCodeClassFieldDeclarationBlock::CPPHeaderCodeClassFieldDeclarationBlock ( CodeClassField * parent ) + : CodeClassFieldDeclarationBlock ( parent ) { setOverallIndentationLevel(1); updateContent(); @@ -41,8 +41,8 @@ CPPHeaderCodeClassFieldDeclarationBlock::~CPPHeaderCodeClassFieldDeclarationBloc */ void CPPHeaderCodeClassFieldDeclarationBlock::updateContent( ) { - UMLObject *umltqparent = CodeClassFieldDeclarationBlock::getParentObject(); - if (umltqparent == NULL) { + UMLObject *umlparent = CodeClassFieldDeclarationBlock::getParentObject(); + if (umlparent == NULL) { return; } @@ -50,7 +50,7 @@ void CPPHeaderCodeClassFieldDeclarationBlock::updateContent( ) CPPCodeClassField * hcppcf = dynamic_cast<CPPCodeClassField*>(cf); // Set the comment - TQString notes = umltqparent->getDoc(); + TQString notes = umlparent->getDoc(); getComment()->setText(notes); if(notes.isEmpty()) getComment()->setWriteOutText(false); @@ -59,7 +59,7 @@ void CPPHeaderCodeClassFieldDeclarationBlock::updateContent( ) // Set the body - TQString staticValue = umltqparent->getStatic() ? "static " : ""; + TQString staticValue = umlparent->getStatic() ? "static " : ""; TQString typeName = hcppcf->getTypeName(); TQString fieldName = hcppcf->getFieldName(); |