summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-07 09:54:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-09 17:03:36 -0700
commita07376b5345fdb398510ac29835493b7ca75ce77 (patch)
tree57a23b3f6e2bd455a6b615bfe7ac1e197caca037 /qt-ui/subsurfacewebservices.h
parent318bf5cccc9a8ac2c8ee18939e3c6c4a4e7a0fb3 (diff)
downloadsubsurface-a07376b5345fdb398510ac29835493b7ca75ce77.tar.gz
Cloud storage: initial support for confirming the email PIN
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.h')
-rw-r--r--qt-ui/subsurfacewebservices.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.h b/qt-ui/subsurfacewebservices.h
index 48f93da92..352c69459 100644
--- a/qt-ui/subsurfacewebservices.h
+++ b/qt-ui/subsurfacewebservices.h
@@ -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);