Hi,

I'm using QTreeWidget to implement a tree like

root
/ \
a b
| /\
d e f

I want to reset the parent of "e" to "a", like e->setParent(a);
But I cannot find any function in QTreeWidgetItem to change the parent.
I 'm not using drag and drop. Is there a way to do it without using model and view?
Thanks in advance.