HelperSocket.h 480 B

1234567891011121314151617181920212223242526
  1. //
  2. // Created by Tobias Hieta on 28/08/15.
  3. //
  4. #ifndef KONVERGO_HELPERSOCKET_H
  5. #define KONVERGO_HELPERSOCKET_H
  6. #include "Paths.h"
  7. #include "LocalJsonServer.h"
  8. #include <QTimer>
  9. class HelperSocket : public QObject
  10. {
  11. Q_OBJECT
  12. public:
  13. HelperSocket(QObject* parent = nullptr);
  14. private:
  15. Q_SLOT void clientConnected(QLocalSocket* socket);
  16. Q_SLOT void message(const QVariant& message);
  17. LocalJsonServer* m_server;
  18. QTimer* m_quitTimer;
  19. };
  20. #endif //KONVERGO_HELPERSOCKET_H