aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/updatemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/updatemanager.h')
-rw-r--r--qt-ui/updatemanager.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/qt-ui/updatemanager.h b/qt-ui/updatemanager.h
new file mode 100644
index 000000000..18b47cfde
--- /dev/null
+++ b/qt-ui/updatemanager.h
@@ -0,0 +1,21 @@
+#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