Qt and finding partial matches in a QList
- by ExpatEgghead
I have a struct viz:
struct NameKey
{
std::string fullName;
std::string probeName;
std::string format;
std::string source;
}
which are held in a QList:
QList<NameKey> keyList;
what I need to do is find an occurence in keyList of a partial match where the search is for a NameKey that only has two…