I would need to keep track of a sorted (the order does matter) list of entries that should nevertheless be hashed using a QString for quick look up.
If i do understand the Qt generic collection classes correctly this cannot be done or at least not in an easy way.
- QHash provides the keyed access but does not keep track of the order of insertion
- QList on the other hand has it's order but does not support hashed access
What would be the best way to solve this in Qt?