Tue, 28 Sep 2021 23:07:23 +0300
Use QSaveFile to save the file more safely
3 | 1 | #pragma once |
14 | 2 | #include "object.h" |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
3 | #include "metacommand.h" |
3 | 4 | |
35
98906a94732f
renamed the linetypes namespace to ldraw namespace and added more structures to it
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
5 | namespace ldraw |
3 | 6 | { |
7 | class Comment; | |
8 | } | |
9 | ||
35
98906a94732f
renamed the linetypes namespace to ldraw namespace and added more structures to it
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
10 | class ldraw::Comment : public MetaCommand |
3 | 11 | { |
8
44679e468ba9
major update with many things
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
12 | using MetaCommand::MetaCommand; |
6 | 13 | QFont textRepresentationFont() const override; |
132
488d0ba6070b
Begin work with serialization
Teemu Piippo <teemu@hecknology.net>
parents:
35
diff
changeset
|
14 | Type typeIdentifier() const override; |
141 | 15 | QString toLDrawCode() const override; |
3 | 16 | }; |