| 74 | QML_DECLARE_TYPE(CustomNode) |
| 75 | |
| 76 | class CustomEdge : public qan::Edge { |
| 77 | Q_OBJECT |
| 78 | public: |
| 79 | explicit CustomEdge(QObject* parent = nullptr) : qan::Edge{parent} {} |
| 80 | virtual ~CustomEdge() override = default; |
| 81 | private: |
| 82 | CustomEdge(const CustomEdge &) = delete; |
| 83 | |
| 84 | public: |
| 85 | static QQmlComponent* delegate(QQmlEngine &engine, QObject* parent = nullptr) noexcept; |
| 86 | static qan::EdgeStyle* style(QObject* parent = nullptr) noexcept; |
| 87 | }; |
| 88 | |
| 89 | QML_DECLARE_TYPE(CustomEdge) |
| 90 |
nothing calls this directly
no outgoing calls
no test coverage detected