View Full Version : CMapWordToOb QT4 equivalent
steg90
9th May 2007, 14:50
Hi,
I was wondering what the best or closest container class there is in Qt for MFC's CMapWordToOb ? QMap maybe?
Kind regards,
Steve
marcel
9th May 2007, 19:08
You could try QMap<qint16, QObject*>, but without the serialization functionality.
This you will have to do it on your own, if you need it.
Regards
steg90
10th May 2007, 07:54
Thanks Marcel,
Don't need the serialization.
Regards,
Steve
QMap stores its data as ordered. QHash is a faster alternative if the order doesn't matter. More information (http://doc.trolltech.com/4.2/containers.html#the-container-classes).
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.