src/objecttypes/comment.h

changeset 3
55a55a9ec2c2
child 6
73e448b2943d
equal deleted inserted replaced
2:2bdc3ac5e77c 3:55a55a9ec2c2
1 #pragma once
2 #include "modelobject.h"
3
4 namespace modelobjects
5 {
6 class Comment;
7 }
8
9 class modelobjects::Comment : public BaseObject
10 {
11 public:
12 Comment() = default;
13 Comment(QStringView text);
14 QVariant getProperty(Property property) const override;
15 SetPropertyResult setProperty(
16 Property property,
17 const QVariant& value) override;
18 private:
19 QString storedText = "";
20 };

mercurial