fetchItems() uses the more generic sendGetRequest function.
This commit is contained in:
@ -44,6 +44,10 @@ class ServerCommunicator : public QObject {
|
||||
QString m_email;
|
||||
QString m_password;
|
||||
QString m_authToken;
|
||||
|
||||
void sendGetRequest(const QString& path);
|
||||
void onGetReplySuccessful(const QString& path, const QJsonDocument doc);
|
||||
void onGetReplyFailure(const QString& path, const QString errorString);
|
||||
};
|
||||
|
||||
#endif // SERVERCOMMUNICATOR_H
|
||||
|
||||
Reference in New Issue
Block a user