subsurface/desktop-widgets/updatemanager.h

24 lines
374 B
C
Raw Normal View History

#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