Details
-
Suggestion
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
None
-
None
Description
Let's say I'm creating a QAIM subclass. In my .cpp file I start typing the signature of the data() function:
In older versions of Creator I think it used to fill in the arguments when I select the right one; now it doesn't. So that's a separate bug. Anyway... I resorted to copying the function signature from docs and then replacing the class name. Then select Refactor | Add public declaration:
It does that, but I immediately get the clazy warning that it overrides a virtual function without declaring the override:
so it seems like that's something the code model could have detected, and added the override keyword.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-28927 Add Define Class wizard specialization for QAbstractItemModel
-
- Closed
-