hello everyone
i made a model and treeview list according to the model/view tutorial, suppose the list structure is as following(each indent indicates a child level):

item1
a
item2
b
c
d

how can i take item2 as a pointer or whatever and append it item1 as a child, and still the item2 retains all its childrens, so I want to do this:

item1
a
item2
b
c
d

is there a way to do this? thank you.