X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=qui%2Fmotif_editor%2FMotifModel.hpp;h=5cf288a99c6a1b21b0614b7bdc4911799f08ad66;hp=b077cdcb5d8de92dee7c1d25493b3afe5e6c5f60;hb=a55b0297c987f8885a255527a0599f813e3bb8dc;hpb=516c775c2bc35f526a223e3f6968cbd1f8fa3402 diff --git a/qui/motif_editor/MotifModel.hpp b/qui/motif_editor/MotifModel.hpp index b077cdc..5cf288a 100644 --- a/qui/motif_editor/MotifModel.hpp +++ b/qui/motif_editor/MotifModel.hpp @@ -23,6 +23,10 @@ class MotifModel : public QAbstractTableModel typedef model_type::const_iterator const_iterator; enum cell_names { EnabledCell, ColorCell, NameCell, SequenceCell }; + + //! return what analysis we were attached to + const MussaRef getAnalysis() const; + //! \defgroup VectorInterface //! \addtogroup VectorInterface //! \@{ @@ -75,6 +79,7 @@ class MotifModel : public QAbstractTableModel // const QModelIndex& parent=QModelIndex()); //! \@} private: + MussaRef analysis; model_type motifs; };