Files
DbSketch/sketchlib/container/msjsonfilereference.h
2018-09-16 06:05:23 +02:00

28 lines
633 B
C++

#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;
};