mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: add ability to delete cloud account
Apple store rules require this. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
941aaf5b65
commit
32bc034f41
9 changed files with 159 additions and 0 deletions
|
|
@ -9,15 +9,18 @@ class CloudStorageAuthenticate : public QObject {
|
|||
Q_OBJECT
|
||||
public:
|
||||
QNetworkReply* backend(const QString& email,const QString& password,const QString& pin = QString(),const QString& newpasswd = QString());
|
||||
QNetworkReply* deleteAccount(const QString& email, const QString &passwd);
|
||||
explicit CloudStorageAuthenticate(QObject *parent);
|
||||
signals:
|
||||
void finishedAuthenticate();
|
||||
void finishedDelete();
|
||||
void passwordChangeSuccessful();
|
||||
private
|
||||
slots:
|
||||
void uploadError(QNetworkReply::NetworkError error);
|
||||
void sslErrors(const QList<QSslError> &errorList);
|
||||
void uploadFinished();
|
||||
void deleteFinished();
|
||||
private:
|
||||
QNetworkReply *reply;
|
||||
QString userAgent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue