19 lines
317 B
C
19 lines
317 B
C
|
#pragma once
|
||
|
|
||
|
#include <QObject>
|
||
|
|
||
|
class NetworkThread : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit NetworkThread(QObject *parent = nullptr);
|
||
|
public slots:
|
||
|
void process();
|
||
|
signals:
|
||
|
void finished();
|
||
|
void error(QString err);
|
||
|
void httpMessage(HTTPData);
|
||
|
private:
|
||
|
// add your variables here
|
||
|
};
|