From cb896a4fa1acd9167d3e7ee9f6336a63309eebde Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 24 May 2018 20:44:33 +0200 Subject: Add save/load of selections/regions in instruments. --- src/selection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/selection.h') 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 sels; sel_id_t nextid; sel_id_t act; -- cgit v1.2.3