equal
deleted
inserted
replaced
275 |
275 |
276 if (mm.methodType() == QMetaMethod::Signal) { |
276 if (mm.methodType() == QMetaMethod::Signal) { |
277 // signal relay from D-Bus world to Qt world |
277 // signal relay from D-Bus world to Qt world |
278 QMetaObject::activate(q, metaObject, id, argv); |
278 QMetaObject::activate(q, metaObject, id, argv); |
279 |
279 |
280 } else if (mm.methodType() == QMetaMethod::Slot) { |
280 } else if (mm.methodType() == QMetaMethod::Slot || mm.methodType() == QMetaMethod::Method) { |
281 // method call relay from Qt world to D-Bus world |
281 // method call relay from Qt world to D-Bus world |
282 // get D-Bus equivalent signature |
282 // get D-Bus equivalent signature |
283 QString methodName = QLatin1String(metaObject->dbusNameForMethod(id)); |
283 QString methodName = QLatin1String(metaObject->dbusNameForMethod(id)); |
284 const int *inputTypes = metaObject->inputTypesForMethod(id); |
284 const int *inputTypes = metaObject->inputTypesForMethod(id); |
285 int inputTypesCount = *inputTypes; |
285 int inputTypesCount = *inputTypes; |