I am looking for Qt's implemention of the function QObject::qt_metacall(_c, _id, _a);
this is where a given function name is converted into index. But I am not able to find the function implementation anywhere in their source code.
int ssObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
switch (_id) {
case 0: readyToPrint(); break;
case 1: readyToPrint1((*reinterpret_cast< int(*)>(_a[1]))); break;
//''''
}
return _id;
}
Why is parent class's qt_metacall
is called ?