Originally Posted by
baluk
Yes may be I can use QList, but what I am afraid of is if this approch makes confused. my QMap structre is QMap<QString, QMap<QString,QString> >, So in this case Qlist approach might be bit comlicated. isn't it so. This is just my basic opinion.
Which QMap is the one you want to stop ordering; the inner or the outer?
Perhaps these are worth trying?
QList<QPair<QString, QMap<QString,QString> > > // replaces the outer QMap
QMap<QString, QList<QPair<QString,QString> > > // the inner one replaced
QList<QPair<QString, QMap<QString,QString> > > // replaces the outer QMap
QMap<QString, QList<QPair<QString,QString> > > // the inner one replaced
To copy to clipboard, switch view to plain text mode
Bookmarks