Cloud storage: initial support for confirming the email PIN

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-07 09:54:28 -07:00
parent 318bf5cccc
commit a07376b534
6 changed files with 34 additions and 3 deletions

View file

@ -111,11 +111,13 @@ slots:
virtual void buttonClicked(QAbstractButton *button) { }
};
class CloudStorageAuthenticate : QObject {
class CloudStorageAuthenticate : public QObject {
Q_OBJECT
public:
QNetworkReply* authenticate(QString email, QString password);
explicit CloudStorageAuthenticate(QObject *parent);
signals:
void finishedAuthenticate(bool toggle);
private
slots:
void uploadError(QNetworkReply::NetworkError error);