[Development] Renaming QGenericItemModel
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Fri May 9 15:01:21 CEST 2025
Hi,
QGenericItemModel is a new API (TP?) in 6.10:
https://doc-snapshots.qt.io/qt6-dev/qgenericitemmodel.html
In a nutshell, it's an adaptor that wraps a range and exposes it through
the QAIM API. This allows to expose e.g. a std::vector<X> to the
model/view framework without writing boilerplate.
The only issue I have is with the name. It doesn't really *say* anything
about what it does. We also end up with having "Abstract" and "Generic"
classes (confusion). I'd like not to repeat the precedent of
"QStandardItemModel" (there's nothing _standard_ about it).
So, well before 6.10 freezes, can we discuss the possibility of renaming
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: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250509/6368af44/attachment.bin>
More information about the Development
mailing list