Mercurial > hg > svgui
comparison layer/Layer.cpp @ 1481:e540aa5d89cd by-id
Update for removal of (public) getId from Model
| author | Chris Cannam |
|---|---|
| date | Fri, 05 Jul 2019 15:34:50 +0100 |
| parents | 232262e38051 |
| children | b402121d8f5f |
comparison
equal
deleted
inserted
replaced
| 1480:232262e38051 | 1481:e540aa5d89cd |
|---|---|
| 49 Layer::connectSignals(ModelId modelId) | 49 Layer::connectSignals(ModelId modelId) |
| 50 { | 50 { |
| 51 auto model = ModelById::get(modelId); | 51 auto model = ModelById::get(modelId); |
| 52 if (!model) return; | 52 if (!model) return; |
| 53 | 53 |
| 54 connect(model.get(), SIGNAL(modelChanged()), | 54 connect(model.get(), SIGNAL(modelChanged(ModelId)), |
| 55 this, SIGNAL(modelChanged())); | 55 this, SIGNAL(modelChanged(ModelId))); |
| 56 | 56 |
| 57 connect(model.get(), SIGNAL(modelChangedWithin(sv_frame_t, sv_frame_t)), | 57 connect(model.get(), SIGNAL(modelChangedWithin(ModelId, sv_frame_t, sv_frame_t)), |
| 58 this, SIGNAL(modelChangedWithin(sv_frame_t, sv_frame_t))); | 58 this, SIGNAL(modelChangedWithin(ModelId, sv_frame_t, sv_frame_t))); |
| 59 | 59 |
| 60 connect(model.get(), SIGNAL(completionChanged()), | 60 connect(model.get(), SIGNAL(completionChanged(ModelId)), |
| 61 this, SIGNAL(modelCompletionChanged())); | 61 this, SIGNAL(modelCompletionChanged(ModelId))); |
| 62 | 62 |
| 63 connect(model.get(), SIGNAL(alignmentCompletionChanged()), | 63 connect(model.get(), SIGNAL(alignmentCompletionChanged(ModelId)), |
| 64 this, SIGNAL(modelAlignmentCompletionChanged())); | 64 this, SIGNAL(modelAlignmentCompletionChanged(ModelId))); |
| 65 } | 65 } |
| 66 | 66 |
| 67 QString | 67 QString |
| 68 Layer::getPropertyContainerIconName() const | 68 Layer::getPropertyContainerIconName() const |
| 69 { | 69 { |
