qsharedpointer wrapper for use in qml