summaryrefslogtreecommitdiff
path: root/src/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection.h')
-rw-r--r--src/selection.h4
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;