Use QListWidget::itemDoubleClicked( QListWidgetItem * item ) signal --- it will give you a pointer to the clicked item.
Qt Code:
connect( lbCurrentList, SIGNAL( itemDoubleClicked( QListWidgetItem* ) ), this, SLOT( slotFromListWidget( QListWidgetItem* ) ) );To copy to clipboard, switch view to plain text mode
PS. QListWidget from Qt4 is an equivalent of QListBox from Qt3, you probably want to use QTreeWidget instead.
Bookmarks