aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/updatemanager.h
blob: 561c53d0b64d127b600d25a1ca7a3570d799fbe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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();

private:
	QNetworkAccessManager *manager;
public
slots:
	void requestReceived(QNetworkReply *reply);
};

#endif // UPDATEMANAGER_H