правка ребут'а
This commit is contained in:
@@ -61,11 +61,11 @@ Widget::Widget(QWidget *parent) :
|
|||||||
udpNewTask->bind(6610, QUdpSocket::ShareAddress);
|
udpNewTask->bind(6610, QUdpSocket::ShareAddress);
|
||||||
connect(udpNewTask, SIGNAL(readyRead()), this, SLOT(newTaskReadDatagrams()));
|
connect(udpNewTask, SIGNAL(readyRead()), this, SLOT(newTaskReadDatagrams()));
|
||||||
|
|
||||||
QTimer *tmrSyncr = new QTimer();
|
tmrSyncr = new QTimer();
|
||||||
connect(tmrSyncr, SIGNAL(timeout()), this, SLOT(synhrTimeout()));
|
connect(tmrSyncr, SIGNAL(timeout()), this, SLOT(synhrTimeout()));
|
||||||
tmrSyncr->start(1000);
|
tmrSyncr->start(1000);
|
||||||
|
|
||||||
QTimer *tmrReport = new QTimer();
|
tmrReport = new QTimer();
|
||||||
connect(tmrReport, SIGNAL(timeout()), this, SLOT(sendReport()));
|
connect(tmrReport, SIGNAL(timeout()), this, SLOT(sendReport()));
|
||||||
tmrReport->start(55);
|
tmrReport->start(55);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user