qTbot 0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
ijsonbasedupdate.h
Go to the documentation of this file.
1//#
2//# Copyright (C) 2023-2026 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 IJSONBASEDUPDATE_H
10#define IJSONBASEDUPDATE_H
11
12#include "iupdate.h"
14
15#include <QJsonObject>
16
17namespace qTbot {
18
22class QTBOT_EXPORT IJsonBasedUpdate: public iUpdate, public IJsonBasedObject
23{
24public:
29
30 // iMessage interface
31 bool isValid() const override;
32 void setRawData(const QByteArray &newRawData) override;
33};
34}
35#endif // IJSONBASEDUPDATE_H
IJsonBasedObject()
IJsonBasedObject default constructor.
void setRawData(const QByteArray &newRawData) override
setRawData This method sets a new raw data value.
IJsonBasedUpdate()
IJsonBasedUpdate default constructor.
bool isValid() const override
isValid returns true if the update is valid else false.
iUpdate()
iUpdate default constructor.
Definition iupdate.cpp:12