summaryrefslogtreecommitdiffstats
path: root/logic/net/ImgurUpload.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/net/ImgurUpload.h')
-rw-r--r--logic/net/ImgurUpload.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/logic/net/ImgurUpload.h b/logic/net/ImgurUpload.h
deleted file mode 100644
index e5e79587..00000000
--- a/logic/net/ImgurUpload.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#pragma once
-#include "NetAction.h"
-
-class ScreenShot;
-typedef std::shared_ptr<class ImgurUpload> ImgurUploadPtr;
-class ImgurUpload : public NetAction
-{
-public:
- explicit ImgurUpload(ScreenShot *shot);
- static ImgurUploadPtr make(ScreenShot *shot)
- {
- return ImgurUploadPtr(new ImgurUpload(shot));
- }
-
-protected
-slots:
- virtual void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
- virtual void downloadError(QNetworkReply::NetworkError error);
- virtual void downloadFinished();
- virtual void downloadReadyRead()
- {
- }
-
-public
-slots:
- virtual void start();
-
-private:
- ScreenShot *m_shot;
-};