#ifndef NETWORKMANAGER_H #define NETWORKMANAGER_H #include class NetworkManager : public QObject { Q_OBJECT public: explicit NetworkManager(QObject *parent = nullptr); void post(const QNetworkRequest&, const QByteArray &data); QNetworkAccessManager mManager; signals: }; #endif // NETWORKMANAGER_H