diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-05-24 20:44:33 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-05-24 20:44:33 +0200 |
commit | cb896a4fa1acd9167d3e7ee9f6336a63309eebde (patch) | |
tree | 650337e053b670ba1f67d8b2f6da03d43fb0cda0 /src/selection.h | |
parent | 5f3f9fabf5ad2e1cda638612c3cf863045765a3b (diff) |
Add save/load of selections/regions in instruments.
Diffstat (limited to 'src/selection.h')
-rw-r--r-- | src/selection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/selection.h b/src/selection.h index 7d4d677..338b381 100644 --- a/src/selection.h +++ b/src/selection.h @@ -60,6 +60,9 @@ class Selections Q_OBJECT public: Selections(); + Selections(const Selections&); + + void operator=(const Selections& other); //! Add a new selection object. The new id is returned. //! Adding a new selections will emit an added signal with the new id. @@ -105,6 +108,7 @@ signals: void activeChanged(sel_id_t id); private: + friend class ProjectSerialiser; QMap<sel_id_t, Selection> sels; sel_id_t nextid; sel_id_t act; |