- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
  Not Evaluated                     
     - 
    Qt Creator 15.0.0
 - 
    None
 
- 
        
 - 
        92b0256bd (16.0)
 
When one creates a class like:
class Foo {
public:
enum Bar 
;
private:
 Bar m_bar;
};
For this Qt will gladly generate a getter/setter and q_property when you position the cursor on m_bar.
What happens:
I get a method declaration in the cpp file like:
Bar Foo::bar() const {
This does not compile. The enum needs to be fully specified.
What I expected:
that the cpp file gains a declaration like this, when needed:
Foo::Bar Foo::bar() const {