- const vector< shared_ptr<Signal> > sigs(_view.session().get_signals());
- BOOST_FOREACH(shared_ptr<Signal> s, sigs) {
- assert(s);
- connect(s.get(), SIGNAL(text_changed()), this, SLOT(update()));
+ const vector< shared_ptr<Trace> > traces(_view.get_traces());
+ BOOST_FOREACH(shared_ptr<Trace> t, traces) {
+ assert(t);
+ connect(t.get(), SIGNAL(text_changed()), this, SLOT(update()));