summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp b/umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp
index 0ab67b85..d96ad398 100644
--- a/umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp
+++ b/umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp
@@ -62,9 +62,9 @@ void CPPHeaderCodeAccessorMethod::updateContent( )
CPPCodeGenerationPolicy * policy = dynamic_cast<CPPCodeGenerationPolicy*>(pe);
bool isInlineMethod = policy->getAccessorsAreInline( );
Uml::Visibility scope = parentField->getVisibility();
- QString variableName = cppfield->getFieldName();
- QString itemClassName = cppfield->getTypeName();
- QString text;
+ TQString variableName = cppfield->getFieldName();
+ TQString itemClassName = cppfield->getTypeName();
+ TQString text;
if(isInlineMethod) {
switch(getType()) {
@@ -100,18 +100,18 @@ void CPPHeaderCodeAccessorMethod::updateMethodDeclaration()
bool isInlineMethod = policy->getAccessorsAreInline( );
- QString vectorClassName = policy->getVectorClassName();
- QString fieldName = cppfield->getFieldName();
- QString fieldType = cppfield->getTypeName();
- QString objectType = cppfield->getListObjectType();
+ TQString vectorClassName = policy->getVectorClassName();
+ TQString fieldName = cppfield->getFieldName();
+ TQString fieldType = cppfield->getTypeName();
+ TQString objectType = cppfield->getListObjectType();
if(objectType.isEmpty())
objectType = fieldName;
- QString methodReturnType = "void";
- QString methodName;
- QString methodParams;
- QString headerText;
- QString endLine = UMLApp::app()->getCommonPolicy()->getNewLineEndingChars();
+ TQString methodReturnType = "void";
+ TQString methodName;
+ TQString methodParams;
+ TQString headerText;
+ TQString endLine = UMLApp::app()->getCommonPolicy()->getNewLineEndingChars();
switch(getType()) {
case CodeAccessorMethod::ADD:
@@ -152,12 +152,12 @@ void CPPHeaderCodeAccessorMethod::updateMethodDeclaration()
setComment(header);
// set start/end method text
- QString startText = methodReturnType + ' ' + methodName + " (" + methodParams +')';
+ TQString startText = methodReturnType + ' ' + methodName + " (" + methodParams +')';
if (isInlineMethod)
startText += " {";
else
startText += ';';
- QString endText = (isInlineMethod ? "}" : "");
+ TQString endText = (isInlineMethod ? "}" : "");
setStartMethodText(startText);
setEndMethodText(endText);