C++ Qt part

committing the c++ qt part