When receiving online user credentials insert them into the model.
This commit is contained in:
@ -29,7 +29,7 @@ class ServerCommunicator : public QObject {
|
||||
void onGetReplySuccessful(const GetRequestTypes type, const QJsonDocument doc);
|
||||
void onGetReplyFailure(const GetRequestTypes type, const QString errorString);
|
||||
|
||||
void onSendPostRequestTriggered(const PostRequestTypes type, QVariant data);
|
||||
void onSendPostRequestTriggered(const PostRequestTypes type, const QByteArray data);
|
||||
void onPostReplySuccessful(const PostRequestTypes type, const QJsonDocument doc);
|
||||
void onPostReplyFailure(const PostRequestTypes type, const QString errorString);
|
||||
|
||||
@ -45,6 +45,9 @@ class ServerCommunicator : public QObject {
|
||||
|
||||
void currentBiddingRoundChanged(int round, bool isRunning);
|
||||
void biddingsChanged(int round, QList<bidding> biddings);
|
||||
void onlineUserAccountReceived(const QString mailAddress,
|
||||
const QString uuid,
|
||||
const QString accessToken);
|
||||
|
||||
private:
|
||||
GenericCore* m_core = nullptr;
|
||||
@ -60,6 +63,7 @@ class ServerCommunicator : public QObject {
|
||||
/// reply parser
|
||||
void currentBiddingRoundChangedReply(const QJsonDocument jsonDoc);
|
||||
void currentBiddingsReply(const QJsonDocument jsonDoc);
|
||||
void onlineUserAccountReply(const QJsonDocument jsonDoc);
|
||||
};
|
||||
|
||||
#endif // SERVERCOMMUNICATOR_H
|
||||
|
||||
Reference in New Issue
Block a user