[Development] Renaming QGenericItemModel

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon May 12 10:41:36 CEST 2025


On 12/05/2025 09:53, Volker Hilsheimer wrote:
> Would a simple
> 
> QRangeItemModel
> 
> be clear enough? The “Based” doesn’t seem to add a lot of clarity.

It does what it says, though. But before discussing this further...


> Also, as discussed at Qt CS (and mentioned in the last point of the notes athttps://wiki.qt.io/QtCS25_-_QGenericItemModel):
> 
> I
>   would like to come up with some C++ template class that gives type-safe
>   access to the model while also respecting QAIM requirements, but
> doesn’t require any usage of QModelIndex, role values etc. I suspect
> that “Adaptor” will be a good term to use for such a class. Something
> along the lines of:

... this is a more important issue. Is the above planned for 
QGenericItemModel itself, or would that be feature creep/out-of-scope 
and should be done by another class? If yes, what would QGIM role be if 
this other class gets also introduced?

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/20250512/082e3dab/attachment.bin>


More information about the Development mailing list