My problem right now is how to insert rows(children).I was able to remove them and set data on them but the insertion functionality wont work.
Nothing happens. I'm not sure what I'm supposed to do, each time I need to insert I create a new instand of the DomItem class and I insert a pointer to it in the last position of the QHash provided by the childs parent.
Is there something more that should be done?
I must be missing something.
I've worked with the model/view concept before and I never had such problems. Never had to use DomDocument ofcourse.