Mercurial > hg > svapp
comparison framework/Document.cpp @ 459:74d575708e06 alignment-simple
Branch to test simple FFT model code
author | Chris Cannam |
---|---|
date | Mon, 15 Jun 2015 09:15:55 +0100 |
parents | d9d132c0e240 8125b8cb8128 |
children | 36aa947ec962 |
comparison
equal
deleted
inserted
replaced
450:d9d132c0e240 | 459:74d575708e06 |
---|---|
50 Document::Document() : | 50 Document::Document() : |
51 m_mainModel(0), | 51 m_mainModel(0), |
52 m_autoAlignment(false), | 52 m_autoAlignment(false), |
53 m_align(new Align()) | 53 m_align(new Align()) |
54 { | 54 { |
55 connect(this, SIGNAL(modelAboutToBeDeleted(Model *)), | 55 connect(this, |
56 SIGNAL(modelAboutToBeDeleted(Model *)), | |
56 ModelTransformerFactory::getInstance(), | 57 ModelTransformerFactory::getInstance(), |
57 SLOT(modelAboutToBeDeleted(Model *))); | 58 SLOT(modelAboutToBeDeleted(Model *))); |
59 | |
60 connect(ModelTransformerFactory::getInstance(), | |
61 SIGNAL(transformFailed(QString, QString)), | |
62 this, | |
63 SIGNAL(modelGenerationFailed(QString, QString))); | |
58 | 64 |
59 connect(m_align, SIGNAL(alignmentComplete(AlignmentModel *)), | 65 connect(m_align, SIGNAL(alignmentComplete(AlignmentModel *)), |
60 this, SIGNAL(alignmentComplete(AlignmentModel *))); | 66 this, SIGNAL(alignmentComplete(AlignmentModel *))); |
61 } | 67 } |
62 | 68 |