| 89 | QML_DECLARE_TYPE(CustomEdge) |
| 90 | |
| 91 | class CustomGraph : public qan::Graph { |
| 92 | Q_OBJECT |
| 93 | public: |
| 94 | explicit CustomGraph(QQuickItem *parent = nullptr) : qan::Graph{parent} { /* Nil */ } |
| 95 | virtual ~CustomGraph() override { /* Nil */ } |
| 96 | private: |
| 97 | CustomGraph(const CustomGraph &) = delete; |
| 98 | |
| 99 | public: |
| 100 | Q_INVOKABLE qan::Group* insertCustomGroup(); |
| 101 | Q_INVOKABLE qan::Node* insertCustomNode(); |
| 102 | Q_INVOKABLE qan::Edge* insertCustomEdge(qan::Node* source, qan::Node* destination); |
| 103 | }; |
| 104 | |
| 105 | QML_DECLARE_TYPE(CustomGraph) |
nothing calls this directly
no outgoing calls
no test coverage detected