19 lines
344 B
C
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
|