Close to finished. Need to fix the upload part. Viewing works (in grayscale)

This commit is contained in:
robotbrain
2014-02-23 19:45:59 -05:00
parent 4a77524b05
commit 5e33da258c
9 changed files with 53 additions and 134 deletions

View File

@@ -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;
};