- 
    
Bug
 - 
    Resolution: Done
 - 
    
  Not Evaluated                     
     - 
    None
 - 
    Qt Creator 3.1.2, Qt Creator 3.2.0-beta1, Qt Creator 3.2.0-rc1, Qt Creator 3.2.0, Qt Creator 3.3.0-beta1
 - 
    None
 
The standard for Qt Class member variables is m_variable and the setter, getter and signal is:
public: void setVariable(const MyType variable); MyType variable() const; signals: void variableChanged(); protected: MyType m_variable;
However the current automatic code generator names variables "arg" for the setter, and eventually you get 'arg's everywhere, this forces to rewrite it as soon as it was auto-generated (makes it less magical less automatic).
Please honor Qt's naming conventions at least when m_* prefix is used:
void setVariable(const MyType arg); // <- BAD void setVariable(const MyType variable); // <- GOOD protected: MyType m_variable;
| For Gerrit Dashboard: QTCREATORBUG-12656 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 105047,4 | CppEditor: Use proper argument name in QtProperty quick fix | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |