src/linetypes/quadrilateral.h

changeset 1269
ec691d9472b3
parent 1263
0256edecda54
child 1326
69a90bd2dba2
--- a/src/linetypes/quadrilateral.h	Sat Mar 03 17:59:56 2018 +0200
+++ b/src/linetypes/quadrilateral.h	Mon Mar 05 22:40:34 2018 +0200
@@ -27,14 +27,12 @@
 public:
 	static constexpr LDObjectType SubclassType = LDObjectType::Quadrilateral;
 
+	LDQuadrilateral() = default;
+	LDQuadrilateral(const Vertex& v1, const Vertex& v2, const Vertex& v3, const Vertex& v4);
+
 	QString asText() const override;
 	int numVertices() const override;
 	int triangleCount(DocumentManager*) const override;
 	LDObjectType type() const override;
 	QString typeName() const override;
-
-protected:
-	friend class Model;
-	LDQuadrilateral(Model* model);
-	LDQuadrilateral(const Vertex& v1, const Vertex& v2, const Vertex& v3, const Vertex& v4, Model* model = nullptr);
 };

mercurial