# HG changeset patch # User Chris Cannam # Date 1574431936 0 # Node ID ee3b248bda253f108cd4908efdcf206dbe465ac6 # Parent 73447d746db3a8c3d9ddbed509be061c8381f1f6 Forward getIndexForEvent diff -r 73447d746db3 -r ee3b248bda25 data/model/NoteModel.h --- a/data/model/NoteModel.h Tue Oct 29 12:46:43 2019 +0000 +++ b/data/model/NoteModel.h Fri Nov 22 14:12:16 2019 +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.