summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/javaclassifiercodedocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/javaclassifiercodedocument.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/javaclassifiercodedocument.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/umbrello/umbrello/codegenerators/javaclassifiercodedocument.cpp b/umbrello/umbrello/codegenerators/javaclassifiercodedocument.cpp
index bcf46bb6..e386d01d 100644
--- a/umbrello/umbrello/codegenerators/javaclassifiercodedocument.cpp
+++ b/umbrello/umbrello/codegenerators/javaclassifiercodedocument.cpp
@@ -222,7 +222,7 @@ void JavaClassifierCodeDocument::loadChildTextBlocksFromNode ( TQDomElement & ro
} else
if( name == "codeoperation" ) {
// find the code operation by id
- TQString id = element.attribute("tqparent_id","-1");
+ TQString id = element.attribute("parent_id","-1");
UMLObject * obj = UMLApp::app()->getDocument()->findObjectById(STR2ID(id));
UMLOperation * op = dynamic_cast<UMLOperation*>(obj);
if(op) {
@@ -344,7 +344,7 @@ void JavaClassifierCodeDocument::updateContent( )
// This depends on whether or not we have attribute/association classes
CodeClassFieldList * cfList = getCodeClassFieldList();
for(CodeClassField * field = cfList->first(); field; field = cfList->next())
- if(field->tqparentIsAttribute())
+ if(field->parentIsAttribute())
field->setWriteOutMethods(policy->getAutoGenerateAttribAccessors());
else
field->setWriteOutMethods(policy->getAutoGenerateAssocAccessors());
@@ -359,7 +359,7 @@ void JavaClassifierCodeDocument::updateContent( )
CodeClassFieldList aggregationClassFields = getSpecificClassFields ( CodeClassField::Aggregation );
CodeClassFieldList compositionClassFields = getSpecificClassFields ( CodeClassField::Composition );
- bool isInterface = tqparentIsInterface();
+ bool isInterface = parentIsInterface();
bool hasOperationMethods = c->getOpList().last() ? true : false;
TQString endLine = commonPolicy->getNewLineEndingChars(); // a shortcut..so we don't have to call this all the time
@@ -532,7 +532,7 @@ void JavaClassifierCodeDocument::updateContent( )
constBlock->addOrUpdateTaggedCodeBlockWithComments("emptyconstructor", emptyConstStatement, "Empty Constructor", 1, false);
// Now, as an additional condition we only show the empty constructor block
// IF it was desired to be shown
- if(tqparentIsClass() && pol->getAutoGenerateConstructors())
+ if(parentIsClass() && pol->getAutoGenerateConstructors())
emptyConstBlock->setWriteOutText(true);
else
emptyConstBlock->setWriteOutText(false);