if ((*it)->text(0) == itemText)

the column is 0 .

I think *it->parent() is more interesting in trees than the row. The row is relative to the parent.

Take a look a model view programming:

http://doc.qt.nokia.com/4.7/model-view-programming.html