aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/effectmakernew/effectnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/effectmakernew/effectnode.h')
-rw-r--r--src/plugins/effectmakernew/effectnode.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/plugins/effectmakernew/effectnode.h b/src/plugins/effectmakernew/effectnode.h
new file mode 100644
index 0000000000..5c457e2a6d
--- /dev/null
+++ b/src/plugins/effectmakernew/effectnode.h
@@ -0,0 +1,35 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#pragma once
+
+#include <QObject>
+#include <QUrl>
+
+namespace EffectMaker {
+
+class EffectNode : public QObject
+{
+ Q_OBJECT
+
+ Q_PROPERTY(QString nodeName MEMBER m_name CONSTANT)
+ Q_PROPERTY(QString nodeDescription MEMBER m_description CONSTANT)
+ Q_PROPERTY(QUrl nodeIcon MEMBER m_iconPath CONSTANT)
+ Q_PROPERTY(QString nodeQenPath MEMBER m_qenPath CONSTANT)
+
+public:
+ EffectNode(const QString &qenPath);
+
+ QString name() const;
+ QString description() const;
+ QString qenPath() const;
+
+private:
+ QString m_name;
+ QString m_description;
+ QString m_qenPath;
+ QUrl m_iconPath;
+};
+
+} // namespace EffectMaker
+