summaryrefslogtreecommitdiffstats
path: root/core/checkcloudconnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/checkcloudconnection.h')
-rw-r--r--core/checkcloudconnection.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/checkcloudconnection.h b/core/checkcloudconnection.h
new file mode 100644
index 000000000..58a412797
--- /dev/null
+++ b/core/checkcloudconnection.h
@@ -0,0 +1,22 @@
+#ifndef CHECKCLOUDCONNECTION_H
+#define CHECKCLOUDCONNECTION_H
+
+#include <QObject>
+#include <QNetworkReply>
+#include <QSsl>
+
+#include "checkcloudconnection.h"
+
+class CheckCloudConnection : public QObject {
+ Q_OBJECT
+public:
+ CheckCloudConnection(QObject *parent = 0);
+ bool checkServer();
+private:
+ QNetworkReply *reply;
+private
+slots:
+ void sslErrors(QList<QSslError> errorList);
+};
+
+#endif // CHECKCLOUDCONNECTION_H