qt/LedOK/base/networkmanager.h
2022-08-25 18:37:24 +08:00

19 lines
344 B
C++

#ifndef NETWORKMANAGER_H
#define NETWORKMANAGER_H
#include <QNetworkAccessManager>
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