summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/rubycodeclassfielddeclarationblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/rubycodeclassfielddeclarationblock.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/rubycodeclassfielddeclarationblock.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/codegenerators/rubycodeclassfielddeclarationblock.cpp b/umbrello/umbrello/codegenerators/rubycodeclassfielddeclarationblock.cpp
index 380c05e0..e99ca774 100644
--- a/umbrello/umbrello/codegenerators/rubycodeclassfielddeclarationblock.cpp
+++ b/umbrello/umbrello/codegenerators/rubycodeclassfielddeclarationblock.cpp
@@ -53,12 +53,12 @@ void RubyCodeClassFieldDeclarationBlock::updateContent( )
CodeGenerationPolicy::ScopePolicy scopePolicy = p->getAssociationFieldScope();
// Set the comment
- QString notes = getParentObject()->getDoc();
+ TQString notes = getParentObject()->getDoc();
getComment()->setText(notes);
// Set the body
- QString staticValue = getParentObject()->getStatic() ? "static " : "";
- QString scopeStr = rdoc->scopeToRubyDecl(getParentObject()->getVisibility());
+ TQString staticValue = getParentObject()->getStatic() ? "static " : "";
+ TQString scopeStr = rdoc->scopeToRubyDecl(getParentObject()->getVisibility());
// IF this is from an association, then scope taken as appropriate to policy
if(!rcf->parentIsAttribute())
@@ -76,14 +76,14 @@ void RubyCodeClassFieldDeclarationBlock::updateContent( )
}
}
- QString typeName = rcf->getTypeName();
- QString fieldName = rcf->getFieldName();
- QString initialV = rcf->getInitialValue();
+ TQString typeName = rcf->getTypeName();
+ TQString fieldName = rcf->getFieldName();
+ TQString initialV = rcf->getInitialValue();
if (!cf->parentIsAttribute() && !cf->fieldIsSingleValue())
typeName = "Array";
- QString body = staticValue+scopeStr+' '+typeName+' '+fieldName;
+ TQString body = staticValue+scopeStr+' '+typeName+' '+fieldName;
if (!initialV.isEmpty())
body.append(" = " + initialV);
else if (!cf->parentIsAttribute())