| 58 | QML_DECLARE_TYPE(CustomGroup) |
| 59 | |
| 60 | class CustomNode : public qan::Node |
| 61 | { |
| 62 | Q_OBJECT |
| 63 | public: |
| 64 | explicit CustomNode(QObject* parent = nullptr) : qan::Node{parent} { /* Nil */ } |
| 65 | virtual ~CustomNode() override { /* Nil */ } |
| 66 | private: |
| 67 | CustomNode(const CustomNode &) = delete; |
| 68 | |
| 69 | public: |
| 70 | static QQmlComponent* delegate(QQmlEngine &engine, QObject* parent = nullptr) noexcept; |
| 71 | static qan::NodeStyle* style(QObject* parent = nullptr) noexcept; |
| 72 | }; |
| 73 | |
| 74 | QML_DECLARE_TYPE(CustomNode) |
| 75 |
nothing calls this directly
no outgoing calls
no test coverage detected