Possible bug in Qt code. Testing

Aaron J. Seigo aseigo at kde.org
Sun Dec 10 16:35:31 GMT 2006


On Sunday 10 December 2006 7:30, Rafael Fernández López wrote:
> Well the definition of persistent indexes is "The QPersistentModelIndex
> class is used to locate data in a data model". 

yes, not to store data but to locate it.

> David, ok i will rewrite it without using the QPersistentModelIndexes, but
> then I can't understand for what are they...

QPMIs can be held onto and when the model updates the QPMI will be updated as 
well. a regular QMI doesn't have this feature and so you shouldn't hold on to 
them, rather QMIs should be used and then discarded.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061210/f19fba78/attachment.sig>


More information about the kde-core-devel mailing list