On 23.04.2020 16:45, Giuseppe D'Angelo via Development wrote:
== Naming of functions and types if QList = QVector ==
We have QStringList, QVariantList and friends, which are aliases /
subclasses of QList<QString> and so on.
Should they become QStringVector, QVariantVector; and the *List names
stay, aliases for the *Vector names, mirroring QList and QVector
themselves?
Another suggestion: Get rid if the aliases; use the fully-qualified
types instead.
I'm always irritated if I open the documentation of QVariantList from
within Qt Creator, and land on the QVariant docu instead. I'm interested
in the features of the container, not the contained type.
And I have to remember if QStringList is the same as as QList<QString>,
or if it's actually a different container with a different API.
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development