Мессенджер: время

This commit is contained in:
2025-09-10 15:23:10 +03:00
parent c57b94786f
commit 747734a763
9 changed files with 67 additions and 33 deletions

View File

@@ -77,15 +77,17 @@ public:
QString fromId;//формат id-typeId
QString toId;//формат id-typeId
QString Text;
QString timeStr;
//TypeId
//0 - инструктор, 1 - обучаемый
ClientMessage(){}
ClientMessage(QString fromId, QString toId, QString text)
ClientMessage(QString fromId, QString toId, QString text, QString timeStr = "")
{
this->fromId = fromId;
this->toId = toId;
this->Text = text;
this->timeStr = timeStr;
}
};