summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/rubycodegenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/rubycodegenerator.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/rubycodegenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/codegenerators/rubycodegenerator.cpp b/umbrello/umbrello/codegenerators/rubycodegenerator.cpp
index 05fe6482..0b6eb488 100644
--- a/umbrello/umbrello/codegenerators/rubycodegenerator.cpp
+++ b/umbrello/umbrello/codegenerators/rubycodegenerator.cpp
@@ -93,9 +93,9 @@ TQString RubyCodeGenerator::cppToRubyType(const TQString &typeStr) {
type.replace("const ", "");
type.replace(TQRegExp("[*&\\s]"), "");
type.replace(TQRegExp("[<>]"), "_");
- type.replace(TQSTRINGLIST_OBJECT_NAME_STRING, "Array");
+ type.replace("TQStringList", "Array");
type.replace(TQRegExp("^string$"),"String");
- type.replace(TQSTRING_OBJECT_NAME_STRING, "String");
+ type.replace("TQString", "String");
type.replace("bool", "true|false");
type.replace(TQRegExp("^(uint|int|ushort|short|ulong|long)$"), "Integer");
type.replace(TQRegExp("^(float|double)$"), "Float");