#ifndef LEDHANDLER_H #define LEDHANDLER_H #include #include class LEDHandler : public QObject { public: QString cURL = "10.0.0.222"; int cPORT = 21324; int cLEDNUM = 90; LEDHandler(QUdpSocket* sock, TS3Functions ts3Functions); void talkingEnded(); void talkingStarted(); void poked(); void clientMoved(); public slots: void connected(); void disconnected(); void hostFound(); private: QUdpSocket* mSock; TS3Functions mTs3Functions; int mBrightness = 80; void sendColor(int R, int G, int B, int W, int t); }; #endif // LEDHANDLER_H