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