mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			418 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			418 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // 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
 |