SomeProjectClass::SomeProjectClass(QObject*parent):QObject(parent)// object member initialization in same line with funcion declaration if possible
// use c++11 feature declaration constructors
SomeProjectClass::SomeProjectClass(QObject*parent):SomeProjectClass(0,parent)// object member initialization in same line with funcion declaration if possible
[1] - Scott Meyers. Effective Modern C++. 42 SPECIFIC WAYS TO IMPROVE YOUR USE OF C++11 AND C++14. CHAPTER 3. Moving to Modern C++. Item 7: Distinguish between () and {} when creating objects.
[2] - Scott Meyers. Effective Modern C++. 42 SPECIFIC WAYS TO IMPROVE YOUR USE OF C++11 AND C++14. CHAPTER 3. Moving to Modern C++. Item 8: Prefer nullptr to 0 and NULL.
[3] - Scott Meyers. Effective Modern C++. 42 SPECIFIC WAYS TO IMPROVE YOUR USE OF C++11 AND C++14. CHAPTER 3. Moving to Modern C++. Item 9: Prefer alias declarations to typedefs.
[4] - Scott Meyers. Effective Modern C++. 42 SPECIFIC WAYS TO IMPROVE YOUR USE OF C++11 AND C++14. CHAPTER 3. Moving to Modern C++. Item 10: Prefer scoped enums to unscoped enums.