src/documentmanager.cpp

changeset 5
593a658cba8e
parent 3
55a55a9ec2c2
child 8
44679e468ba9
equal deleted inserted replaced
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();

mercurial