[Qt-interest] Online sorted structure

Andrea Franceschini therealmorpheu5 at gmail.com
Tue Mar 24 18:48:06 CET 2009


2009/3/24, Ian Thomson <Ian.Thomson at iongeo.com>:

> QSet and QMap's keys are enforced to always be unique, no duplicates.
> That might not be what you want.

"Keys that occur multiple times in the map (because items were
inserted with insertMulti(), or unite() was used) also occur multiple
times in the list."

> You can make your own template class which has a QList inside it

Of course I can but I was looking for a more general solution. For the
moment I think I'll go for the QMap approach since I don't really have
so much elements.

-- 
Andrea



More information about the Qt-interest-old mailing list