这两个信号都是响应双击事件,本质上没有什么区别。以下是帮助文件的说明:
void QListView::doubleClicked ( QListViewItem *, const QPoint &, int ) [signal]
This signal is emitted whenever an item is double-clicked. It's emitted on the second button press, not the second button release. The arguments are the relevant QListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list).
Warning: Do not delete any QListViewItem objects in slots connected to this signal.
void QListView::doubleClicked ( QListViewItem * item ) [signal]
This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. (use doubleClicked( QListViewItem *, const QPoint&, int ))
This signal is emitted whenever an item is double-clicked. It's emitted on the second button press, not the second button release. item is the list view item on which the user did the double-click.