qobserver: add *_item, *_selected and *_index for listwidgets and treewidgets
commite02d2c702023045c49d5ba128b68dfe912832571
authorDavid Aguilar <davvid@gmail.com>
Wed, 22 Oct 2008 11:57:00 +0000 (22 04:57 -0700)
committerDavid Aguilar <davvid@gmail.com>
Wed, 22 Oct 2008 11:57:00 +0000 (22 04:57 -0700)
tree694e374f037574ccfe178dad2288b8e1eb4fcfc0
parent239721256e04d2ed8d2d758fb47425ff2a3bbe3c
qobserver: add *_item, *_selected and *_index for listwidgets and treewidgets

The model.foo_item now contains the selected item corresponding to the foo
list/tree widgets.  using foo_item vastly simplifies things.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/qobserver.py