[Qt-interest] QModelIndex - boost::shared_pointers

Andreas Pakulat apaku at gmx.de
Thu Sep 10 07:09:05 CEST 2009


On 09.09.09 19:02:29, Willy P wrote:
> Any advice for ways of using boost::shared_pointers w/ the Qt Model
> View Framework?  It looks like they use a lot of raw pointers for
> identification.  Is there no way around this?  Thanks for your
> advice...

As its part of the API, no. A QModelIndex' internal pointer will always
be void*. 

Andreas

-- 
Your love life will be happy and harmonious.



More information about the Qt-interest-old mailing list