2016-05-12 16:51:25 -04:00
|
|
|
#pragma once
|
|
|
|
|
2023-09-01 21:23:51 +03:00
|
|
|
#include "net/NetRequest.h"
|
2016-05-12 16:51:25 -04:00
|
|
|
|
2023-09-01 21:23:51 +03:00
|
|
|
class SkinDelete : public Net::NetRequest {
|
2017-07-07 19:46:56 +02:00
|
|
|
Q_OBJECT
|
2023-08-02 18:35:35 +02:00
|
|
|
public:
|
2023-09-01 21:23:51 +03:00
|
|
|
using Ptr = shared_qobject_ptr<SkinDelete>;
|
|
|
|
SkinDelete(QString token);
|
2021-02-11 02:22:43 +01:00
|
|
|
virtual ~SkinDelete() = default;
|
2016-05-12 16:51:25 -04:00
|
|
|
|
2023-09-01 21:23:51 +03:00
|
|
|
static SkinDelete::Ptr make(QString token);
|
|
|
|
void init() override;
|
2021-02-11 02:22:43 +01:00
|
|
|
|
2023-08-02 18:35:35 +02:00
|
|
|
protected:
|
2023-09-01 21:23:51 +03:00
|
|
|
virtual QNetworkReply* getReply(QNetworkRequest&) override;
|
2016-05-12 16:51:25 -04:00
|
|
|
|
2023-09-01 21:23:51 +03:00
|
|
|
private:
|
|
|
|
QString m_token;
|
2016-05-12 16:51:25 -04:00
|
|
|
};
|