Use std::vector for lists of keys everywhere
This way we avoid unnecessary conversions between std::vector and QVector.