qTbot 0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
ijsonbasedobject.h
Go to the documentation of this file.
1//#
2//# Copyright (C) 2023-2024 QuasarApp.
3//# Distributed under the GPLv3 software license, see the accompanying
4//# Everyone is permitted to copy and distribute verbatim copies
5//# of this license document, but changing it is not allowed.
6//#
7
8
9#ifndef IJSONBASEDOBJECT_H
10#define IJSONBASEDOBJECT_H
11
12#include "qjsonobject.h"
13#include "global.h"
14namespace qTbot {
15
20{
21public:
23 IJsonBasedObject(const QJsonObject &newRawJson);
24
29 const QJsonObject& rawJson() const;
30
35 virtual void setRawJson(const QJsonObject &newRawJson);
36
37private:
38 QJsonObject _rawJson;
39};
40
41}
42#endif // IJSONBASEDOBJECT_H
The IJsonBasedObject class This is base interface for all json base objects.
#define QTBOT_EXPORT
Definition global.h:18