diff -r d28f6ff1b1f0 -r 1e345ed80a1d src/primitives.h --- a/src/primitives.h Sat Mar 24 23:46:25 2018 +0200 +++ b/src/primitives.h Sun Mar 25 16:28:03 2018 +0300 @@ -40,6 +40,8 @@ struct PrimitiveModel { + enum FilenameStyle { NewStyleName, LegacyStyleName }; + enum Type { Circle, @@ -56,7 +58,7 @@ QString typeName() const; void generateBody(Model& model) const; static QString typeName(Type type); - QString makeFileName() const; + QString makeFileName(FilenameStyle style) const; }; class PrimitiveCategory : public QObject