I insert the values into QMap by QString as a key.
I take all keys by using keys() function. It returns all keys what I inserted. But my problem is it gives the keys by sorted form. But I want what the order I inserted. Anyother way to get the keys?
I insert the values into QMap by QString as a key.
I take all keys by using keys() function. It returns all keys what I inserted. But my problem is it gives the keys by sorted form. But I want what the order I inserted. Anyother way to get the keys?
Maybe you just want a list of pairs, not a map?
I want the keys only in order what I insert.
Bookmarks