Tue, 28 Sep 2021 23:07:23 +0300
Use QSaveFile to save the file more safely
#pragma once #include "polygonobject.h" namespace ldraw { class Quadrilateral; } class ldraw::Quadrilateral : public PolygonObject<4> { public: using PolygonObject<4>::PolygonObject; QString textRepresentation() const override; void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; void invert() override; Type typeIdentifier() const override; QString toLDrawCode() const override; };