Re: [Development] [Qt-interest] QMultiHash

2013-03-07 Thread André Somers
Op 7-3-2013 10:24, pengliang(??) schreef: Hi All QMultiHashhh; I need to find some key and change their values. I found If I use QmutableHashIteratorit , its bool *findNext *( const T &/value/) Its parameter is a value, not a key. So I need to : While(it.hasNext()) { It.next(

Re: [Development] [Qt-interest] QMultiHash

2013-03-07 Thread Danny Koppel
n: donderdag 7 maart 2013 10:25 Aan: development@qt-project.org Onderwerp: [Development] [Qt-interest] QMultiHash Hi All QMultiHashhh; I need to find some key and change their values. I found If I use QmutableHashIteratorit , its bool findNext ( const T & value ) Its parameter is a value,

[Development] [Qt-interest] QMultiHash

2013-03-07 Thread 彭亮
Hi All QMultiHashhh; I need to find some key and change their values. I found If I use QmutableHashIteratorit , its bool findNext ( const T & value ) Its parameter is a value, not a key. So I need to : While(it.hasNext()) { It.next(); If(it.key() == ikey) { It.setValue(ivalue); }