diff options
author | Andrew <forkk@forkk.net> | 2013-02-05 19:22:19 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-02-05 19:22:19 -0600 |
commit | e475f5d51251ae57da0480bbadc9cb32a8bc72b2 (patch) | |
tree | a0a13ee373bce0130677b788db3af12c55d1f663 /tasks/logintask.h | |
parent | a416c58a93dd9d108f4c4fa968b9431e30834c5c (diff) | |
download | PrismLauncher-e475f5d51251ae57da0480bbadc9cb32a8bc72b2.tar.gz PrismLauncher-e475f5d51251ae57da0480bbadc9cb32a8bc72b2.tar.bz2 PrismLauncher-e475f5d51251ae57da0480bbadc9cb32a8bc72b2.zip |
Implemented login system.
Diffstat (limited to 'tasks/logintask.h')
-rw-r--r-- | tasks/logintask.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tasks/logintask.h b/tasks/logintask.h index 93aab9b3..d96bfec7 100644 --- a/tasks/logintask.h +++ b/tasks/logintask.h @@ -21,19 +21,27 @@ #include "data/userinfo.h" #include "data/loginresponse.h" +//class QNetworkAccessManager; +class QNetworkReply; + class LoginTask : public Task { Q_OBJECT public: explicit LoginTask(const UserInfo& uInfo, QObject *parent = 0); +public slots: + void processNetReply(QNetworkReply* reply); + signals: - void loginComplete(const LoginResponse& loginResponse); + void loginComplete(LoginResponse loginResponse); void loginFailed(const QString& errorMsg); protected: void executeTask(); + QNetworkReply* netReply; + UserInfo uInfo; }; |