2017-04-27 18:24:53 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2015-06-16 13:08:31 +00:00
|
|
|
#ifndef CHECKCLOUDCONNECTION_H
|
|
|
|
#define CHECKCLOUDCONNECTION_H
|
|
|
|
|
|
|
|
#include <QObject>
|
2015-09-23 16:55:11 +00:00
|
|
|
#include <QNetworkReply>
|
|
|
|
#include <QSsl>
|
2015-06-16 13:08:31 +00:00
|
|
|
|
|
|
|
class CheckCloudConnection : public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
CheckCloudConnection(QObject *parent = 0);
|
2015-09-23 16:55:11 +00:00
|
|
|
bool checkServer();
|
|
|
|
private:
|
|
|
|
QNetworkReply *reply;
|
|
|
|
private
|
|
|
|
slots:
|
|
|
|
void sslErrors(QList<QSslError> errorList);
|
2015-06-16 13:08:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CHECKCLOUDCONNECTION_H
|