summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 21:16:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 21:16:01 -0600
commit3b7651a94758312b42fa63076c3299b6d2b9d0c9 (patch)
tree0b747d309e82f954ae7b7bd703ffc4f64fef3329 /qtruby
parentbf94c81467706e92d33741649b8da9fe03c25077 (diff)
downloadtdebindings-3b7651a94758312b42fa63076c3299b6d2b9d0c9.tar.gz
tdebindings-3b7651a94758312b42fa63076c3299b6d2b9d0c9.zip
Rename additional members for tqt3
Diffstat (limited to 'qtruby')
-rw-r--r--qtruby/rubylib/qtruby/Qt.cpp8
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;
}