Answer the question
In order to leave comments, you need to log in
How to correctly pass and then clear QMultiMap?
There is class A which has QMultiMap. There is also a method that should return data from this multiword, and then clear it in class A, but in the place where I get it, I should be able to use it. I implemented this method like this:
QMultiMap<QString*,QString*>* getdata()
{
return &data;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question