#ifndef GETPIXMAP_H #define GETPIXMAP_H #include #include #include #include #include #include #include class GetPixmap : public QObject { Q_OBJECT public: GetPixmap(QObject *parent = nullptr); ~GetPixmap(); public: QString get_ipAddr; QString get_port; void run(); private slots: void mjpeg_streamer_reply(QNetworkReply*); signals: void get_getOnePixmap(QPixmap); private: QNetworkAccessManager *manager; QNetworkRequest *request; }; #endif // GETPIXMAP_H