On Tuesday 21 August 2012 20:55:00 Stephen Chu wrote: > Is there a way to store a 64-bit internal ID in QModelIndex? The > function QModelIndex::internalId() returns a 64-bit number but > there's no way to put one in. The constructor takes only a 32-bit > integer.
Try using the overload that takes the void * pointer. The return value is 64 bit, because pointers can also be 64 bit, and C++ doesn't allow different overloads with different return values. -- Christoph Feck http://kdepepo.wordpress.com/ KDE Quality Team _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest