Mercurial > hg > svcore
diff data/model/NoteModel.h @ 1824:1cd161242250
Merge
author | Chris Cannam |
---|---|
date | Tue, 28 Jan 2020 14:34:13 +0000 |
parents | c546429d4c2f |
children | 21c792334c2e |
line wrap: on
line diff
--- a/data/model/NoteModel.h Tue Jan 28 14:32:34 2020 +0000 +++ b/data/model/NoteModel.h Tue Jan 28 14:34:13 2020 +0000 @@ -197,6 +197,9 @@ return m_events.getNearestEventMatching (startSearchAt, predicate, direction, found); } + int getIndexForEvent(const Event &e) { + return m_events.getIndexForEvent(e); + } /** * Editing methods. @@ -405,6 +408,13 @@ m_events.toXml(out, indent, QString("dimensions=\"3\"")); } + QString getDelimitedDataHeaderLine(QString delimiter, + DataExportOptions options) const override { + return m_events.getDelimitedDataHeaderLine(delimiter, + options, + Event::ExportNameOptions()); + } + QString toDelimitedDataString(QString delimiter, DataExportOptions options, sv_frame_t startFrame,