src/dbus/qdbusinterface.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   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;