Slots can't use varargs. You can use QVariantList to pass a variable number of different types of arguments.