Invoking a method
Normal way :
QMetaObject::invokeMethod(obj, "function");
But instead of using string.This is what I want :
QMetaObject::invokeMethod(obj, function());
// or any macro like SLOT
QMetaObject::invokeMethod(obj, FUNC_NAME(function()));