Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
7.0 (Next Major Release)
-
None
Description
The Type enums of many Qt classes are a poor naming consistency, even if such naming is kept for historical reasons and tied to a C++ convention.
What is preventing us from renaming those Type enums for the next major release of Qt 7.0, so that those enums are elaborate and self-explanatory as to what they are suppose to represent?
For example, the QEasingCurve class has an enum named Type. Renaming this enum to CurveType would make it so much more evident as to what the enum represents.
Also, QEvent.Type would be more evident by it being QEvent.EventType.
And so on, and so on...
This is just a suggestion for Qt 7.0. Plenty of time to do it, if you decide it is worth the change, and plenty of time to document the enum name changes.
I know this is too much work, and since programmers are lazy, this will never see the light of day, especially since you rather stick to a stubbornly stupid C++ convention. I just threw this out there, because I am the only one in this world who cares about such things.