implemented contains with qvariant