Signals and slots prepared to update content, received from UDP packet
This commit is contained in:
@@ -11,12 +11,15 @@ class UdpLedServer : public QObject
|
||||
public:
|
||||
explicit UdpLedServer (QObject *parent = nullptr);
|
||||
|
||||
|
||||
private:
|
||||
void initSocket();
|
||||
void readPendingDatagrams();
|
||||
QUdpSocket *mUdpSocket;
|
||||
void processTheDatagram(QNetworkDatagram datagram);
|
||||
|
||||
signals:
|
||||
void changeLEDstate(uint8_t x, uint8_t y);
|
||||
void updatePanelContent(void);
|
||||
};
|
||||
|
||||
#endif // UDPSERVER_H
|
||||
|
||||
Reference in New Issue
Block a user