Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.0.1
-
0c60770fabdc825949e3f1c3db1b5b7b17039bc0
Description
It would be nice if the class wizard would create an inculde guard which contains class name and namespace when creating a class with a namespace via the class wizard.
Now the class wizard creates for the class "MyNamespace::MyClass" the include guard:
#ifndef MYCLASS_H
#define MYCLASS_H
to avoid duplicate include guards it would be nice if the include guard would be
#ifndef MYNAMESPACEMYCLASS_H
#define MYNAMESPACEMYCLASS_H