src/documentmanager.h

changeset 235
7ef03c2b46ab
parent 230
a1f3f7d9078b
child 264
76a025db4948
--- 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;

mercurial