diff options
Diffstat (limited to 'umbrello')
-rw-r--r-- | umbrello/umbrello/codegenerators/rubycodegenerator.cpp | 4 | ||||
-rw-r--r-- | umbrello/umbrello/codegenerators/rubywriter.cpp | 4 | ||||
-rw-r--r-- | umbrello/umbrello/umllistview.cpp | 2 |
3 files changed, 5 insertions, 5 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"); diff --git a/umbrello/umbrello/codegenerators/rubywriter.cpp b/umbrello/umbrello/codegenerators/rubywriter.cpp index 9eedaba7..90d55eab 100644 --- a/umbrello/umbrello/codegenerators/rubywriter.cpp +++ b/umbrello/umbrello/codegenerators/rubywriter.cpp @@ -149,8 +149,8 @@ TQString RubyWriter::cppToRubyType(const TQString &typeStr) { type.replace("const ", ""); type.replace(TQRegExp("[*&\\s]"), ""); type.replace(TQRegExp("[<>]"), "_"); - type.replace(TQSTRINGLIST_OBJECT_NAME_STRING, "Array"); - type.replace(TQSTRING_OBJECT_NAME_STRING, "String"); + type.replace("TQStringList", "Array"); + 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"); diff --git a/umbrello/umbrello/umllistview.cpp b/umbrello/umbrello/umllistview.cpp index 8e0279fe..6069800d 100644 --- a/umbrello/umbrello/umllistview.cpp +++ b/umbrello/umbrello/umllistview.cpp @@ -142,7 +142,7 @@ UMLListView::UMLListView(TQWidget *parent, const char *name) UMLListView::~UMLListView() {} bool UMLListView::eventFilter(TQObject *o, TQEvent *e) { - if (e->type() != TQEvent::MouseButtonPress || !o->isA(TQHEADER_OBJECT_NAME_STRING)) + if (e->type() != TQEvent::MouseButtonPress || !o->isA("TQHeader")) return TQListView::eventFilter(o, e); TQMouseEvent *me = TQT_TQMOUSEEVENT(e); if (me->button() == Qt::RightButton) { |