subsurface/core/checkcloudconnection.h

24 lines
453 B
C
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0
#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