summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/rubycodeclassfield.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/rubycodeclassfield.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/rubycodeclassfield.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/rubycodeclassfield.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp b/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp
index 35438abd..b3b723b9 100644
--- a/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp
+++ b/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp
@@ -21,7 +21,7 @@
#include "rubycodeclassfield.h"
// qt/kde includes
-#include <qregexp.h>
+#include <tqregexp.h>
#include <kdebug.h>
// local includes
@@ -59,7 +59,7 @@ RubyCodeClassField::~RubyCodeClassField ( ) { }
// Other methods
//
-QString RubyCodeClassField::getFieldName() {
+TQString RubyCodeClassField::getFieldName() {
if (parentIsAttribute())
{
UMLAttribute * at = (UMLAttribute*) getParentObject();
@@ -68,7 +68,7 @@ QString RubyCodeClassField::getFieldName() {
else
{
UMLRole * role = (UMLRole*) getParentObject();
- QString roleName = role->getName();
+ TQString roleName = role->getName();
if(fieldIsSingleValue()) {
return roleName.replace(0, 1, roleName.left(1).lower());
} else {
@@ -78,7 +78,7 @@ QString RubyCodeClassField::getFieldName() {
}
-QString RubyCodeClassField::getInitialValue() {
+TQString RubyCodeClassField::getInitialValue() {
if (parentIsAttribute())
{
@@ -97,7 +97,7 @@ QString RubyCodeClassField::getInitialValue() {
if(fieldIsSingleValue()) {
// FIX : IF the multiplicity is "1" then we should init a new object here, if its 0 or 1,
// then we can just return 'empty' string (minor problem).
- return QString("");
+ return TQString("");
} else {
return RubyCodeGenerator::getListFieldClassName()+".new()";
}
@@ -105,7 +105,7 @@ QString RubyCodeClassField::getInitialValue() {
}
-QString RubyCodeClassField::getTypeName ( )
+TQString RubyCodeClassField::getTypeName ( )
{
return RubyCodeGenerator::cppToRubyType(CodeClassField::getTypeName());
}