summaryrefslogblamecommitdiffstats
path: root/desktop-widgets/updatemanager.h
blob: 60211b02812bb20518e97d0564d63799edab84e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                   






                            
                                      

                                                    
                                                     
 
      
                               

                              

                         
// SPDX-License-Identifier: GPL-2.0
#ifndef UPDATEMANAGER_H
#define UPDATEMANAGER_H

#include <QObject>

class QNetworkAccessManager;
class QNetworkReply;

class UpdateManager : public QObject {
	Q_OBJECT
public:
	explicit UpdateManager(QObject *parent = 0);
	void checkForUpdates(bool automatic = false);

public
slots:
	void requestReceived();

private:
	bool isAutomaticCheck;
};

#endif // UPDATEMANAGER_H