summaryrefslogtreecommitdiffstats
path: root/core/checkcloudconnection.h
blob: 312a1e78c2f5e84f901acb7a06fd96170d9bcf85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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(const QList<QSslError> &errorList);
};

#endif // CHECKCLOUDCONNECTION_H