Mon, 23 Sep 2019 14:06:36 +0300
added regular expressions for the parser
3 | 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 | }; |