It doesn't look like TreeView has got a function for that. But you could access its Children and move them to another Model or you'll have to create your model in Cpp with a function like setRootIndex and pass it to qml.