Accessing QML objects from C++