mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
VersionSelectWidget refact
This commit is contained in:
@@ -158,6 +158,13 @@ void SendSystem::sendCopyVersion(QString versionName)
|
||||
stream << versionName;
|
||||
}
|
||||
|
||||
void SendSystem::sendGetVersion()
|
||||
{
|
||||
QDataStream stream(socket);
|
||||
stream.setVersion(QDataStream::Qt_DefaultCompiledVersion);
|
||||
stream << PacketType::GET_VERSION;
|
||||
}
|
||||
|
||||
void SendSystem::sendPacketType(PacketType packetType)
|
||||
{
|
||||
QDataStream stream(socket);
|
||||
|
||||
@@ -21,11 +21,14 @@ public:
|
||||
void sendQTConnect();
|
||||
void sendXMLAnswer(QByteArray array);
|
||||
~SendSystem();
|
||||
void sendFinish();
|
||||
void sendFinish();
|
||||
|
||||
public slots:
|
||||
void sendPacketType(PacketType packetType);
|
||||
void sendChangeVersion(StreamingVersionData *streamingVersion);
|
||||
void sendDeleteVersion(StreamingVersionData *streamingVersion);
|
||||
void sendCopyVersion(QString versionName);
|
||||
void sendPacketType(PacketType packetType);
|
||||
void sendGetVersion();
|
||||
signals:
|
||||
void sigSend();
|
||||
QByteArray sigGetXmlAnswer(QString);
|
||||
|
||||
@@ -62,6 +62,7 @@ enum PacketType{
|
||||
|
||||
TYPE_XMLANSWER_QUERY_LIST_SUB_PROC_AMM = 133,
|
||||
|
||||
GET_VERSION = 149,
|
||||
HASH_READY = 150,
|
||||
CHANGE_DATA_VERSION = 151,
|
||||
COPY_VERSION = 152,
|
||||
|
||||
Reference in New Issue
Block a user