diff options
author | robotbrain <robotbrainify@gmail.com> | 2014-02-23 19:45:59 -0500 |
---|---|---|
committer | robotbrain <robotbrainify@gmail.com> | 2014-02-23 19:48:00 -0500 |
commit | 5e33da258c3b5159dba854eb4792d0852a1ca363 (patch) | |
tree | 62f8819b0974c415e883d43eefb0ffb2fff73702 /logic/net/ScreenshotUploader.h | |
parent | 4a77524b059c12165e20b38de6c0d4ed08e56419 (diff) | |
download | MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.tar MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.tar.gz MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.tar.lz MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.tar.xz MultiMC-5e33da258c3b5159dba854eb4792d0852a1ca363.zip |
Close to finished. Need to fix the upload part. Viewing works (in grayscale)
Diffstat (limited to 'logic/net/ScreenshotUploader.h')
-rw-r--r-- | logic/net/ScreenshotUploader.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/logic/net/ScreenshotUploader.h b/logic/net/ScreenshotUploader.h index 09e58677..d5d1cef3 100644 --- a/logic/net/ScreenshotUploader.h +++ b/logic/net/ScreenshotUploader.h @@ -27,26 +27,3 @@ slots: private: ScreenShot *m_shot; }; -class ScreenShotGet : public NetAction -{ -public: - explicit ScreenShotGet(ScreenShot *shot); - static ScreenShotGetPtr make(ScreenShot *shot) - { - return ScreenShotGetPtr(new ScreenShotGet(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; -}; |