mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 21:20:19 +00:00
5ba573240f
I keep trying to get to consistenct. Completely hopeless. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
22 lines
380 B
C++
22 lines
380 B
C++
#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
|