Dmitry Teslenko wrote: > Is there a way to return pointers to QObject through model's > data() function, i. e. wrap it with QVariant. Take a look at QVariant::fromValue and qVariantFromValue. This is actually first referenced in the documentation on: QVariant::QVariant ( int typeOrUserType, const void * copy )