trans: 1.basic trans logic. 2.ico res.

This commit is contained in:
2025-06-17 11:48:13 +08:00
parent 33b8a37719
commit 55b530d9f8
16 changed files with 236 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
#ifndef INFO_MSG_H
#ifndef INFO_MSG_H
#define INFO_MSG_H
#include <QBuffer>
@@ -10,15 +10,16 @@
struct InfoMsg {
qint32 mark{};
QString msg;
QString path;
void serialize(QDataStream& data) const
{
data << mark << msg;
data << mark << msg << path;
}
void deserialize(QDataStream& data)
{
data >> mark >> msg;
data >> mark >> msg >> path;
}
};