[Interest] 64-bit internal ID for QModelIndex?
jkt at flaska.net
Wed Aug 22 00:52:25 CEST 2012
On 08/21/12 23:47, Nikos Chantziaras wrote:
> createIndex(row, column, new qint64(value));
This will leak, badly. It also won't likely work the way you intend it
to work, if I understand your problem correctly.
What do you need the 64bit indexing for, actually? From some of the
sample code proposed in this thread, it seems that you are fine with
adding a custom mapping to your QAIM subclass. There are many possible
ways to do that, but it is better to know what is the problem you're
trying to solve before suggesting solutions.
With kind regards,
Trojita, a fast e-mail client -- http://trojita.flaska.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the Interest