On Wed, 14 May 2025 at 18:53, Elvis Stansvik <elvst...@gmail.com> wrote: > > Den ons 14 maj 2025 12:32Volker Hilsheimer via Development > <development@qt-project.org> skrev: >> >> > On 12 May 2025, at 13:29, Kevin Kofler via Development >> > <development@qt-project.org> wrote: >> > >> > Volker Hilsheimer via Development wrote: >> >> I suspect that “Adaptor” will be a good term to use for such a class. >> > >> > Is this not more commonly spelled "Adapter"? >> > >> > Kevin Kofler >> >> Both spellings are permissible, Adaptor is preferred in UK, Adapter in US >> English. And since we go with US spelling in APIs and documentation, Adapter >> would indeed be correct. >> >> Thinking more about the name, perhaps the “Item” is not important: >> >> * we have QAbstractListModel and QAbstractTableModel (not >> QAbstractList/TableItemModel) >> * we have QSqlQueryModel - again no Item >> * in a QGenericItemModel, there are no items - there is just a begin/end >> iterator that can be dereferenced >> >> So, perhaps QRangeModel is good/long/clear enough? “Range” is well defined >> C++ concept (literally), and Model is a well established concept in Qt. > > > For me, you have a winner here.
Agreed. -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development