add the parameter of Qt::ConnectionType to invoke() function.