subsurface/desktop-widgets/updatemanager.h
Dirk Hohndel 9021a44ccc Add SPDX header to desktop widgets
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-29 13:32:55 -07:00

24 lines
410 B
C++

// 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