Formats minimally release source files based on former clang-format
This commit is contained in:
387 files changed
+37323
-38074
No files matched your search
@@ -24,24 +24,28 @@ namespace N_CoPrtCnv
|
||||
{
|
||||
public:
|
||||
explicit CoPrtCnvCentralTelegram(TrainingAreaBase::TetraIcd::TelegramId telegramId)
|
||||
: m_telegramId(telegramId)
|
||||
{}
|
||||
: m_telegramId(telegramId)
|
||||
{
|
||||
}
|
||||
explicit CoPrtCnvCentralTelegram(const QByteArray &data)
|
||||
: m_data(data)
|
||||
, m_telegramId(TrainingAreaBase::TetraIcd::UNKNOWN)
|
||||
{}
|
||||
: m_data(data)
|
||||
, m_telegramId(TrainingAreaBase::TetraIcd::UNKNOWN)
|
||||
{
|
||||
}
|
||||
CoPrtCnvCentralTelegram(const QByteArray &data, TrainingAreaBase::TetraIcd::TelegramId telegramId)
|
||||
: m_data(data)
|
||||
, m_telegramId(telegramId)
|
||||
{}
|
||||
: m_data(data)
|
||||
, m_telegramId(telegramId)
|
||||
{
|
||||
}
|
||||
CoPrtCnvCentralTelegram(const QByteArray &data, const QJsonObject &json, TrainingAreaBase::TetraIcd::TelegramId telegramId)
|
||||
: m_data(data)
|
||||
, m_json(json)
|
||||
, m_telegramId(telegramId)
|
||||
{}
|
||||
: m_data(data)
|
||||
, m_json(json)
|
||||
, m_telegramId(telegramId)
|
||||
{
|
||||
}
|
||||
|
||||
explicit CoPrtCnvCentralTelegram(const TrainingAreaBase::TetraIcd::TrainingAreaTelegram &tele)
|
||||
: m_telegramId(tele.id())
|
||||
: m_telegramId(tele.id())
|
||||
{
|
||||
m_json[QStringLiteral("type")] = tele.type();
|
||||
m_json[QStringLiteral("typeId")] = tele.id();
|
||||
@@ -50,8 +54,8 @@ namespace N_CoPrtCnv
|
||||
|
||||
void setData(const QByteArray &data);
|
||||
QByteArray data();
|
||||
QJsonObject json(); // complete json
|
||||
QJsonObject jsonData(); // json()["data"]
|
||||
QJsonObject json(); // complete json
|
||||
QJsonObject jsonData(); // json()["data"]
|
||||
TrainingAreaBase::TetraIcd::TelegramId telegramId();
|
||||
void setCounter(qint32 counter);
|
||||
qint32 counter();
|
||||
@@ -59,6 +63,7 @@ namespace N_CoPrtCnv
|
||||
private:
|
||||
void ensureJson();
|
||||
void ensureByteArray();
|
||||
|
||||
private:
|
||||
QByteArray m_data;
|
||||
QJsonObject m_json;
|
||||
|
||||
Reference in new issue
Block a user