Hi,

I'm porting my application from Qt 4.1 to 4.3.

I have a QTreeWidget that selects items depending on internal data. In Qt 4.1 I use "QTreeWidget ::setItemSelected", but now this method is obsolete and I don't realy know how to get it works. I readed that I have to use "QTreeWidgetItem::setItemSelected" instead. My QTreeWidget is configured as "SingleSelection" mode selection and "SelectItems" as behavior selection.

I'm right if I say that I have to use "QTreeWidget::setCurrentItem(item)" and "QTreeWidgetItem::setSelected(true)" to the same item?

Thanks,