How to connect to a slot with multiple arguments