Re: [Development] 答复: [Qt-interest] QMultiHash

2013-03-07 Thread Danny Koppel
[mailto:development-bounces+d.koppel=skf-rif...@qt-project.org] Namens pengliang(??) Verzonden: donderdag 7 maart 2013 10:59 Aan: Danny Koppel; development@qt-project.org Onderwerp: [Development] 答复: [Qt-interest] QMultiHash Hi 1. QmultiHash replace() is only replace first item, I want to replace all

Re: [Development] [Qt-interest] QMultiHash

2013-03-07 Thread Danny Koppel
Hello, I don't know if I understand you correctly but the QMultiHash class has the function replace which does what you describe. It replaces the value of an existing key or creates a new one if the key doesn't exist yet. About point 2: the documentation describes it as follows: "When iterating