Merge branch 'master' of git://github.com/peterix/MultiMC5
This commit is contained in:
@ -18,11 +18,11 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <basicsettingsobject.h>
|
||||
#include <inisettingsobject.h>
|
||||
|
||||
#include "libmmc_config.h"
|
||||
|
||||
class LIBMULTIMC_EXPORT AppSettings : public BasicSettingsObject
|
||||
class LIBMULTIMC_EXPORT AppSettings : public INISettingsObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
@ -30,20 +30,20 @@ class LIBMULTIMC_EXPORT LoginTask : public Task
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LoginTask(const UserInfo& uInfo, QObject *parent = 0);
|
||||
explicit LoginTask(const UserInfo& uInfo, QString inst, QObject *parent = 0);
|
||||
|
||||
public slots:
|
||||
void processNetReply(QNetworkReply* reply);
|
||||
|
||||
signals:
|
||||
void loginComplete(LoginResponse loginResponse);
|
||||
void loginFailed(const QString& errorMsg);
|
||||
void loginComplete(QString inst, LoginResponse loginResponse);
|
||||
void loginFailed(QString inst, const QString& errorMsg);
|
||||
|
||||
protected:
|
||||
void executeTask();
|
||||
|
||||
QNetworkReply* netReply;
|
||||
|
||||
QString inst;
|
||||
UserInfo uInfo;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user