Tue, 28 Sep 2021 23:07:23 +0300
Use QSaveFile to save the file more safely
#pragma once #include "polygonobject.h" namespace ldraw { class Triangle; } class ldraw::Triangle : public PolygonObject<3> { public: using PolygonObject<3>::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; };