diff options
Diffstat (limited to 'qtruby/rubylib')
-rw-r--r-- | qtruby/rubylib/qtruby/Qt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp index bd9e010a..3d71cfc4 100644 --- a/qtruby/rubylib/qtruby/Qt.cpp +++ b/qtruby/rubylib/qtruby/Qt.cpp @@ -1841,7 +1841,7 @@ qt_signal(int argc, VALUE * argv, VALUE self) } static VALUE -qt_invoke(int /*argc*/, VALUE * argv, VALUE self) +tqt_invoke(int /*argc*/, VALUE * argv, VALUE self) { // Arguments: int id, TQUObject *o int id = NUM2INT(argv[0]); @@ -1879,7 +1879,7 @@ qt_invoke(int /*argc*/, VALUE * argv, VALUE self) } // Should never happen.. - rb_raise(rb_eRuntimeError, "Cannot find %s::qt_invoke() method\n", + rb_raise(rb_eRuntimeError, "Cannot find %s::tqt_invoke() method\n", o->smoke->classes[o->classId].className ); } @@ -2272,8 +2272,8 @@ make_metaObject(VALUE /*self*/, VALUE className_value, VALUE parent, VALUE slot_ static VALUE add_metaobject_methods(VALUE self, VALUE klass) { - rb_define_method(klass, "qt_invoke", (VALUE (*) (...)) qt_invoke, -1); - rb_define_method(klass, "qt_emit", (VALUE (*) (...)) qt_invoke, -1); + rb_define_method(klass, "qt_invoke", (VALUE (*) (...)) tqt_invoke, -1); + rb_define_method(klass, "qt_emit", (VALUE (*) (...)) tqt_invoke, -1); rb_define_method(klass, "metaObject", (VALUE (*) (...)) metaObject, 0); return self; } |