summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:34 -0600
commitf78838f2f736acc2b235d8b680f3379a07a6d372 (patch)
tree81d92708252929f5199fbaf6bc03f5a57c0e3ad8 /umbrello/umbrello/codegenerators
parent1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f (diff)
downloadtdesdk-f78838f2f736acc2b235d8b680f3379a07a6d372.tar.gz
tdesdk-f78838f2f736acc2b235d8b680f3379a07a6d372.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'umbrello/umbrello/codegenerators')
-rw-r--r--umbrello/umbrello/codegenerators/cppwriter.cpp2
-rw-r--r--umbrello/umbrello/codegenerators/csharpwriter.cpp2
-rw-r--r--umbrello/umbrello/codegenerators/javawriter.cpp2
-rw-r--r--umbrello/umbrello/codegenerators/php5writer.cpp30
-rw-r--r--umbrello/umbrello/codegenerators/phpwriter.cpp30
-rw-r--r--umbrello/umbrello/codegenerators/xmlschemawriter.cpp2
-rw-r--r--umbrello/umbrello/codegenerators/xmlschemawriter.h2
7 files changed, 35 insertions, 35 deletions
diff --git a/umbrello/umbrello/codegenerators/cppwriter.cpp b/umbrello/umbrello/codegenerators/cppwriter.cpp
index d58ceae4..e748333d 100644
--- a/umbrello/umbrello/codegenerators/cppwriter.cpp
+++ b/umbrello/umbrello/codegenerators/cppwriter.cpp
@@ -627,7 +627,7 @@ void CppWriter::writeAttributeMethods(UMLAttributeList *attribs,
// from what I can tell, this IS the default behavior for
// cleanName. I dunno why its not working -b.t.
methodBaseName = methodBaseName.stripWhiteSpace();
- methodBaseName.replace(0,1,methodBaseName.tqat(0).upper());
+ methodBaseName.replace(0,1,methodBaseName.at(0).upper());
writeSingleAttributeAccessorMethods(at->getTypeName(), varName,
methodBaseName, at->getDoc(), Uml::chg_Changeable, isHeaderMethod,
diff --git a/umbrello/umbrello/codegenerators/csharpwriter.cpp b/umbrello/umbrello/codegenerators/csharpwriter.cpp
index 180ba176..42b055e5 100644
--- a/umbrello/umbrello/codegenerators/csharpwriter.cpp
+++ b/umbrello/umbrello/codegenerators/csharpwriter.cpp
@@ -629,7 +629,7 @@ void CSharpWriter::writeAssociatedAttributes(UMLAssociationList &associated, UML
TQString roleName = cleanName(a->getRoleName(Uml::B));
TQString typeName = cleanName(o->getName());
if (roleName.isEmpty()) {
- roleName = TQString("UnnamedRoleB_%1").tqarg(m_unnamedRoles++);
+ roleName = TQString("UnnamedRoleB_%1").arg(m_unnamedRoles++);
}
TQString roleDoc = a->getRoleDoc(Uml::B);
diff --git a/umbrello/umbrello/codegenerators/javawriter.cpp b/umbrello/umbrello/codegenerators/javawriter.cpp
index 19f3c1fd..db6d6515 100644
--- a/umbrello/umbrello/codegenerators/javawriter.cpp
+++ b/umbrello/umbrello/codegenerators/javawriter.cpp
@@ -408,7 +408,7 @@ void JavaWriter::writeAttributeMethods(UMLAttributeList &atpub, Uml::Visibility
// from what I can tell, this IS the default behavior for
// cleanName. I dunno why its not working -b.t.
fieldName.stripWhiteSpace();
- fieldName.replace(0,1,fieldName.tqat(0).upper());
+ fieldName.replace(0,1,fieldName.at(0).upper());
writeSingleAttributeAccessorMethods(at->getTypeName(),
cleanName(at->getName()),
diff --git a/umbrello/umbrello/codegenerators/php5writer.cpp b/umbrello/umbrello/codegenerators/php5writer.cpp
index f0de28a3..64a01b47 100644
--- a/umbrello/umbrello/codegenerators/php5writer.cpp
+++ b/umbrello/umbrello/codegenerators/php5writer.cpp
@@ -173,7 +173,7 @@ static const char *php5words[] =
"checkout",
"chgrp",
"child_nodes",
- "tqchildren",
+ "children",
"chmod",
"chop",
"chown",
@@ -760,8 +760,8 @@ static const char *php5words[] =
"getrusage",
"getservbyname",
"getservbyport",
- "gettqshape1",
- "gettqshape2",
+ "getshape1",
+ "getshape2",
"gettext",
"gettimeofday",
"gettype",
@@ -2704,7 +2704,7 @@ static const char *php5words[] =
"SWFDisplayItem",
"swf_endbutton",
"swf_enddoaction",
- "swf_endtqshape",
+ "swf_endshape",
"swf_endsymbol",
"SWFFill",
"SWFFont",
@@ -2738,21 +2738,21 @@ static const char *php5words[] =
"swf_setfont",
"swf_setframe",
"SWFShape",
- "swf_tqshapearc",
- "swf_tqshapecurveto",
- "swf_tqshapecurveto3",
- "swf_tqshapefillbitmapclip",
- "swf_tqshapefillbitmaptile",
- "swf_tqshapefilloff",
- "swf_tqshapefillsolid",
- "swf_tqshapelinesolid",
- "swf_tqshapelineto",
- "swf_tqshapemoveto",
+ "swf_shapearc",
+ "swf_shapecurveto",
+ "swf_shapecurveto3",
+ "swf_shapefillbitmapclip",
+ "swf_shapefillbitmaptile",
+ "swf_shapefilloff",
+ "swf_shapefillsolid",
+ "swf_shapelinesolid",
+ "swf_shapelineto",
+ "swf_shapemoveto",
"swf_showframe",
"SWFSprite",
"swf_startbutton",
"swf_startdoaction",
- "swf_starttqshape",
+ "swf_startshape",
"swf_startsymbol",
"SWFText",
"SWFTextField",
diff --git a/umbrello/umbrello/codegenerators/phpwriter.cpp b/umbrello/umbrello/codegenerators/phpwriter.cpp
index f7e1e76e..e9dba103 100644
--- a/umbrello/umbrello/codegenerators/phpwriter.cpp
+++ b/umbrello/umbrello/codegenerators/phpwriter.cpp
@@ -171,7 +171,7 @@ static const char *words[] =
"checkout",
"chgrp",
"child_nodes",
- "tqchildren",
+ "children",
"chmod",
"chop",
"chown",
@@ -758,8 +758,8 @@ static const char *words[] =
"getrusage",
"getservbyname",
"getservbyport",
- "gettqshape1",
- "gettqshape2",
+ "getshape1",
+ "getshape2",
"gettext",
"gettimeofday",
"gettype",
@@ -2700,7 +2700,7 @@ static const char *words[] =
"SWFDisplayItem",
"swf_endbutton",
"swf_enddoaction",
- "swf_endtqshape",
+ "swf_endshape",
"swf_endsymbol",
"SWFFill",
"SWFFont",
@@ -2734,21 +2734,21 @@ static const char *words[] =
"swf_setfont",
"swf_setframe",
"SWFShape",
- "swf_tqshapearc",
- "swf_tqshapecurveto",
- "swf_tqshapecurveto3",
- "swf_tqshapefillbitmapclip",
- "swf_tqshapefillbitmaptile",
- "swf_tqshapefilloff",
- "swf_tqshapefillsolid",
- "swf_tqshapelinesolid",
- "swf_tqshapelineto",
- "swf_tqshapemoveto",
+ "swf_shapearc",
+ "swf_shapecurveto",
+ "swf_shapecurveto3",
+ "swf_shapefillbitmapclip",
+ "swf_shapefillbitmaptile",
+ "swf_shapefilloff",
+ "swf_shapefillsolid",
+ "swf_shapelinesolid",
+ "swf_shapelineto",
+ "swf_shapemoveto",
"swf_showframe",
"SWFSprite",
"swf_startbutton",
"swf_startdoaction",
- "swf_starttqshape",
+ "swf_startshape",
"swf_startsymbol",
"SWFText",
"SWFTextField",
diff --git a/umbrello/umbrello/codegenerators/xmlschemawriter.cpp b/umbrello/umbrello/codegenerators/xmlschemawriter.cpp
index f2bf7a66..8c043a3e 100644
--- a/umbrello/umbrello/codegenerators/xmlschemawriter.cpp
+++ b/umbrello/umbrello/codegenerators/xmlschemawriter.cpp
@@ -543,7 +543,7 @@ void XMLSchemaWriter::writeComment( const TQString &comment, TQTextStream &XMLsc
}
}
-// all that matters here is roleA, the role served by the tqchildren of this class
+// all that matters here is roleA, the role served by the children of this class
// in any composition or aggregation association. In full associations, I have only
// considered the case of "self" association, so it shouldn't matter if we use role A or
// B to find the child class as long as we don't use BOTH roles. I bet this will fail
diff --git a/umbrello/umbrello/codegenerators/xmlschemawriter.h b/umbrello/umbrello/codegenerators/xmlschemawriter.h
index cc4372a2..cb5546d8 100644
--- a/umbrello/umbrello/codegenerators/xmlschemawriter.h
+++ b/umbrello/umbrello/codegenerators/xmlschemawriter.h
@@ -88,7 +88,7 @@ private:
/**
* write a <group> declaration for this classifier. Used for interfaces to classes with
- * inheriting tqchildren.
+ * inheriting children.
*/
void writeGroupClassifierDecl(UMLClassifier *c,
UMLClassifierList superclassifiers,