All the values of a model are QVariants, so it does not really matter if an int or something else is fed into the model as long as it converts properly into a boolean.