src/objecttypes/comment.h

changeset 3
55a55a9ec2c2
child 6
73e448b2943d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/objecttypes/comment.h	Sun Sep 22 11:51:41 2019 +0300
@@ -0,0 +1,20 @@
+#pragma once
+#include "modelobject.h"
+
+namespace modelobjects
+{
+	class Comment;
+}
+
+class modelobjects::Comment : public BaseObject
+{
+public:
+	Comment() = default;
+	Comment(QStringView text);
+	QVariant getProperty(Property property) const override;
+	SetPropertyResult setProperty(
+		Property property,
+		const QVariant& value) override;
+private:
+	QString storedText = "";
+};

mercurial