Thu, 03 Oct 2019 11:45:44 +0300
stuff
3 | 1 | #include "documentmanager.h" |
2 | ||
5 | 3 | DocumentManager::DocumentManager(QObject* parent) : |
4 | QObject{parent} | |
5 | { | |
6 | } | |
7 | ||
3 | 8 | Model* DocumentManager::newModel() |
9 | { | |
10 | openModels.emplace_back(); | |
11 | return openModels.back().get(); | |
12 | } |