Connect the C++ classes with QML