diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/rubycodeclassfield.cpp')
-rw-r--r-- | umbrello/umbrello/codegenerators/rubycodeclassfield.cpp | 12 |
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()); } |