Use c++11's nullptr instead if 0 for pointers. And QString() instead if
0 for QStrings.