Finish off setting sequence offset user interface
[mussa.git] / qui / seqbrowser / seqproperties / SequencePropertiesModel.hpp
index f5ea351f35c950fefe6a98701de79924ccd88037..85c7e899c43e28e7e13155b65c8c46d447435dc0 100644 (file)
@@ -18,7 +18,7 @@ class SequencePropertiesModel : public QAbstractTableModel
     typedef model_type::iterator iterator; 
     typedef model_type::const_iterator const_iterator; 
 
-    SequencePropertiesModel(model_type& model, QObject *parent = 0);
+    SequencePropertiesModel(model_type model, QObject *parent = 0);
 
     //! \defgroup VectorInterface
     //! \addtogroup VectorInterface
@@ -69,9 +69,14 @@ class SequencePropertiesModel : public QAbstractTableModel
     //bool removeRows(int row, int count,
     //                const QModelIndex& parent=QModelIndex());
     //! \@}
+
+  public slots:
+    //! update the original sequence with our changes    
+    void saveChanges();
+    
   private:
     model_type sequences;
-    model_type& original_sequences;
+    model_type original_sequences;
 };
 
 #endif