* connects to https://www.sourcetrail.com/api/v1/versions/latest * sends information about OS, platform, license type, current version and a unique user token * Automatic update check is enabled via Startscreen and performed once every 24 hours on window focus * Update check can be forced by clicking on "check for new version" on start screen * renamed TimePoint to TimeStamp fortune cookie message = In Träumen und im Leben ist nichts unmöglich.
16 lines
254 B
C++
16 lines
254 B
C++
#ifndef QT_UPDATE_CHECKER_H
|
|
#define QT_UPDATE_CHECKER_H
|
|
|
|
#include "UpdateChecker.h"
|
|
|
|
class QtUpdateChecker
|
|
: public UpdateChecker
|
|
{
|
|
public:
|
|
static void check(bool force = false);
|
|
|
|
virtual void checkUpdate() override;
|
|
};
|
|
|
|
#endif // QT_UPDATE_CHECKER_H
|