#pragma once #include "basecontainer.h" #include "sketchlib_global.h" class QJsonObject; class SKETCHLIB_EXPORT MSJSONFileReference : public BaseContainer { Q_OBJECT Q_PROPERTY(QString _ref READ _ref CONSTANT) Q_PROPERTY(QString _ref_class READ _ref_class CONSTANT) public: Q_INVOKABLE explicit MSJSONFileReference(QObject *parent = Q_NULLPTR); const QString &_ref() const; const QString &_ref_class() const; protected: // BaseContainer interface virtual bool parseProperty(const QString &key, const QJsonValue &value) Q_DECL_OVERRIDE; private: QString m__ref; QString m__ref_class; };