subsurface/core/checkcloudconnection.h

22 lines
418 B
C
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0
#ifndef CHECKCLOUDCONNECTION_H
#define CHECKCLOUDCONNECTION_H
#include <QObject>
#include <QNetworkReply>
#include <QSsl>
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