comparison data/model/Model.cpp @ 407:88ad01799040

* Save alignments to session file. Needs much testing.
author Chris Cannam
date Tue, 29 Apr 2008 15:34:17 +0000
parents 5858cc462d0a
children af7b6e55895b
comparison
equal deleted inserted replaced
406:d095214ffbaf 407:88ad01799040
88 m_alignment = alignment; 88 m_alignment = alignment;
89 connect(m_alignment, SIGNAL(completionChanged()), 89 connect(m_alignment, SIGNAL(completionChanged()),
90 this, SIGNAL(alignmentCompletionChanged())); 90 this, SIGNAL(alignmentCompletionChanged()));
91 } 91 }
92 92
93 const AlignmentModel *
94 Model::getAlignment() const
95 {
96 return m_alignment;
97 }
98
93 const Model * 99 const Model *
94 Model::getAlignmentReference() const 100 Model::getAlignmentReference() const
95 { 101 {
96 if (!m_alignment) { 102 if (!m_alignment) {
97 if (m_sourceModel) return m_sourceModel->getAlignmentReference(); 103 if (m_sourceModel) return m_sourceModel->getAlignmentReference();