Learning c++ again with Qt