replaced the input QVariantList in the record method by a vector; consistent with the rest of the interface