Mercurial > hg > svcore
comparison data/model/AlignmentModel.h @ 1752:6d09d68165a4 by-id
Further review of ById: make IDs only available when adding a model to the ById store, not by querying the item directly. This means any id encountered in the wild must have been added to the store at some point (even if later released), which simplifies reasoning about lifecycles
author | Chris Cannam |
---|---|
date | Fri, 05 Jul 2019 15:28:07 +0100 |
parents | 4abc0f08adf9 |
children | ee7fd2c01d87 |
comparison
equal
deleted
inserted
replaced
1751:77543124651b | 1752:6d09d68165a4 |
---|---|
61 | 61 |
62 void setPathFrom(ModelId pathSource); // a SparseTimeValueModel | 62 void setPathFrom(ModelId pathSource); // a SparseTimeValueModel |
63 void setPath(const Path &path); | 63 void setPath(const Path &path); |
64 | 64 |
65 void toXml(QTextStream &stream, | 65 void toXml(QTextStream &stream, |
66 QString indent = "", | 66 QString indent = "", |
67 QString extraAttributes = "") const override; | 67 QString extraAttributes = "") const override; |
68 | 68 |
69 QString toDelimitedDataString(QString, DataExportOptions, | 69 QString toDelimitedDataString(QString, DataExportOptions, |
70 sv_frame_t, sv_frame_t) const override { | 70 sv_frame_t, sv_frame_t) const override { |
71 return ""; | 71 return ""; |
72 } | 72 } |
73 | 73 |
74 signals: | 74 signals: |
75 void completionChanged(); | 75 void completionChanged(ModelId); |
76 | 76 |
77 protected slots: | 77 protected slots: |
78 void pathSourceChangedWithin(sv_frame_t startFrame, sv_frame_t endFrame); | 78 void pathSourceChangedWithin(ModelId, sv_frame_t startFrame, sv_frame_t endFrame); |
79 void pathSourceCompletionChanged(); | 79 void pathSourceCompletionChanged(ModelId); |
80 | 80 |
81 protected: | 81 protected: |
82 ModelId m_reference; | 82 ModelId m_reference; |
83 ModelId m_aligned; | 83 ModelId m_aligned; |
84 | 84 |