qTbot 0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
iupdate.cpp
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#include "iupdate.h"
9
10namespace qTbot {
11
15
16const QByteArray& iUpdate::rawData() const {
17 return _rawData;
18}
19
20void iUpdate::setRawData(const QByteArray &newRawData) {
21 _rawData = newRawData;
22}
23
24bool iUpdate::isValid() const {
25 return _rawData.size();
26}
27
28}
virtual bool isValid() const
isValid return true if the message is valid else false.
Definition iupdate.cpp:24
const QByteArray & rawData() const
rawData returns raw data of the message. The raw data is not parsed value form the server.
Definition iupdate.cpp:16
virtual void setRawData(const QByteArray &newRawData)
setRawData This method sets new raw data value.
Definition iupdate.cpp:20