#ifndef DEVINFOTCPSERVER_H #define DEVINFOTCPSERVER_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class DevInfoTcpServer : public QObject { Q_OBJECT public: explicit DevInfoTcpServer(QObject *parent = nullptr); void start(); signals: void tcp_log(QString log); void append_sql(QString sql); public slots: void new_incomming(); void read_data(); void finishedSlot(QNetworkReply *reply); private: QTcpServer *svr; QTcpSocket *so; QNetworkAccessManager *networkManager; QSslConfiguration config; }; #endif // DEVINFOTCPSERVER_H