qTbot
0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
iupdate.cpp
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
#include "
iupdate.h
"
9
10
namespace
qTbot
{
11
12
iUpdate::iUpdate
() {
13
14
}
15
16
const
QByteArray&
iUpdate::rawData
()
const
{
17
return
_rawData;
18
}
19
20
void
iUpdate::setRawData
(
const
QByteArray &newRawData) {
21
_rawData = newRawData;
22
}
23
24
bool
iUpdate::isValid
()
const
{
25
return
_rawData.size();
26
}
27
28
}
qTbot::iUpdate::iUpdate
iUpdate()
iUpdate default constructor.
Definition
iupdate.cpp:12
qTbot::iUpdate::isValid
virtual bool isValid() const
isValid returns true if the update is valid else false.
Definition
iupdate.cpp:24
qTbot::iUpdate::rawData
const QByteArray & rawData() const
rawData returns the raw data of the update. The raw data is the not parsed value from the server.
Definition
iupdate.cpp:16
qTbot::iUpdate::setRawData
virtual void setRawData(const QByteArray &newRawData)
setRawData This method sets a new raw data value.
Definition
iupdate.cpp:20
iupdate.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
public
qTbot
iupdate.cpp
Generated by
1.18.0