[Qt5-feedback] Add internalVariant to QModelIndex
Stephen Kelly
steveire at gmail.com
Tue Jul 12 17:57:03 CEST 2011
Stephen Kelly wrote:
>> I understand the issues regarding performance and the current trivial
>> constructor/copy-constructor for QModelIndex, so I can "settle" for an
>> additional int-or-enum value (in addition to the current void* inside
>> the QModelIndex).
>
> There is
>
> int QModelIndex::internalId()
>
> already. Does that help?
I see now that you mean something different. I don't see how your idea of
something like:
int QModelIndex::internalType() const
would help or make anything easier though.
More information about the Qt5-feedback
mailing list