[Development] Renaming QGenericItemModel

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Tue May 20 12:50:38 CEST 2025


On 20/05/2025 10:26, Richard Gustavsen wrote:
> Would it be more convenient to put the range API directly on QRangeModel instead? E.g:
> 
> QRangeModel model({1, 2, 3, 4, 5});
> listView.setModel(&model);
> model.erase(model.begin());
> model[0] = x;
> model.push_back(y);

Yes, this is an important question -- in order to understand the future 
of this API, and thus the name of the class.

Thanks,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - Trusted Software Excellence

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4613 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250520/844ec339/attachment.bin>


More information about the Development mailing list