- connect(tree_view_, SIGNAL(clicked(const QModelIndex&)),
- this, SLOT(on_item_clicked(const QModelIndex&)));
- connect(tree_view_, SIGNAL(doubleClicked(const QModelIndex&)),
- this, SLOT(on_item_double_clicked(const QModelIndex&)));
+ connect(tree_view_, SIGNAL(currentChanged(const QModelIndex&)),
+ this, SLOT(on_item_changed(const QModelIndex&)));
+ connect(tree_view_, SIGNAL(activated(const QModelIndex&)),
+ this, SLOT(on_item_activated(const QModelIndex&)));