4:68988ebc2a68 | 5:593a658cba8e |
---|---|
1 #include "documentmanager.h" | 1 #include "documentmanager.h" |
2 | |
3 DocumentManager::DocumentManager(QObject* parent) : | |
4 QObject{parent} | |
5 { | |
6 } | |
2 | 7 |
3 Model* DocumentManager::newModel() | 8 Model* DocumentManager::newModel() |
4 { | 9 { |
5 openModels.emplace_back(); | 10 openModels.emplace_back(); |
6 return openModels.back().get(); | 11 return openModels.back().get(); |