summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/cppsourcecodeclassfielddeclarationblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/cppsourcecodeclassfielddeclarationblock.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/cppsourcecodeclassfielddeclarationblock.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/codegenerators/cppsourcecodeclassfielddeclarationblock.cpp b/umbrello/umbrello/codegenerators/cppsourcecodeclassfielddeclarationblock.cpp
index 7d60b1c3..016249e5 100644
--- a/umbrello/umbrello/codegenerators/cppsourcecodeclassfielddeclarationblock.cpp
+++ b/umbrello/umbrello/codegenerators/cppsourcecodeclassfielddeclarationblock.cpp
@@ -48,18 +48,18 @@ void CPPSourceCodeClassFieldDeclarationBlock::updateContent( )
CPPClassifierCodeDocument* jdoc = dynamic_cast<CPPClassifierCodeDocument*>(doc);
// Set the comment
- QString notes = getParentObject()->getDoc();
+ TQString notes = getParentObject()->getDoc();
getComment()->setText(notes);
// Set the body
- QString staticValue = getParentObject()->getStatic() ? "static " : "";
- QString scopeStr = getParentObject()->getVisibility().toString();
+ TQString staticValue = getParentObject()->getStatic() ? "static " : "";
+ TQString scopeStr = getParentObject()->getVisibility().toString();
- QString typeName = jcf->getTypeName();
- QString fieldName = jcf->getFieldName();
- QString initialV = jcf->getInitialValue();
+ TQString typeName = jcf->getTypeName();
+ TQString fieldName = jcf->getFieldName();
+ TQString initialV = jcf->getInitialValue();
- QString body = staticValue+scopeStr+" "+typeName+" "+fieldName;
+ TQString body = staticValue+scopeStr+" "+typeName+" "+fieldName;
if (!initialV.isEmpty())
body.append(" = " + initialV);
setText(body+";");