Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.7.0
-
None
Description
When using Refactor / Add Definition menu, const keyword ends always before the type name, so, a method declared in the header file as:
void myMethod(QString const s);
will become:
void MyClass::myMethod(const QString s)
{
}
in the implementation file. I think that following the coding style found in the header would result in a better experience.
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-11439 CLONE - Function header const order is changed when using Refactor / Add Definition
- Closed