Working with the connection between QML and C++