--- a/src/documentmanager.h Mon Jun 20 16:59:09 2022 +0300 +++ b/src/documentmanager.h Mon Jun 20 17:27:30 2022 +0300 @@ -70,6 +70,8 @@ const ModelInfo* info = this->find(modelId); return info ? qobject_cast<T*>(info->payload) : nullptr; } +Q_SIGNALS: + void message(const Message& message); private: int modelIdCounter = 0; std::map<ModelId, ModelInfo> openModels;