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(
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,
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);
}