Mercurial > hg > svapp
comparison framework/Document.cpp @ 482:01669adb0956 tony-2.0-integration
Merge through to branch for Tony 2.0
author | Chris Cannam |
---|---|
date | Thu, 20 Aug 2015 14:54:21 +0100 |
parents | 8125b8cb8128 |
children | 74d575708e06 |
comparison
equal
deleted
inserted
replaced
448:b36042cb972a | 482:01669adb0956 |
---|---|
49 | 49 |
50 Document::Document() : | 50 Document::Document() : |
51 m_mainModel(0), | 51 m_mainModel(0), |
52 m_autoAlignment(false) | 52 m_autoAlignment(false) |
53 { | 53 { |
54 connect(this, SIGNAL(modelAboutToBeDeleted(Model *)), | 54 connect(this, |
55 SIGNAL(modelAboutToBeDeleted(Model *)), | |
55 ModelTransformerFactory::getInstance(), | 56 ModelTransformerFactory::getInstance(), |
56 SLOT(modelAboutToBeDeleted(Model *))); | 57 SLOT(modelAboutToBeDeleted(Model *))); |
58 | |
59 connect(ModelTransformerFactory::getInstance(), | |
60 SIGNAL(transformFailed(QString, QString)), | |
61 this, | |
62 SIGNAL(modelGenerationFailed(QString, QString))); | |
57 } | 63 } |
58 | 64 |
59 Document::~Document() | 65 Document::~Document() |
60 { | 66 { |
61 //!!! Document should really own the command history. atm we | 67 //!!! Document should really own the command history. atm we |