mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
0f967063c0
With this we can easily eliminate duplicates from our user statistics. The UUID is completely random and there is no way to link it back to a specific user. By deleting the settings a user can force a new UUID. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
24 lines
401 B
C++
24 lines
401 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(bool automatic = false);
|
|
static QString getUUID();
|
|
|
|
public
|
|
slots:
|
|
void requestReceived();
|
|
|
|
private:
|
|
bool isAutomaticCheck;
|
|
};
|
|
|
|
#endif // UPDATEMANAGER_H
|