Add update notification support

This commit is contained in:
Floris Bos 2020-11-23 19:23:20 +01:00
parent 6f99f5d64c
commit 7385dd0838
11 changed files with 370 additions and 257 deletions

View file

@ -66,6 +66,9 @@ public:
/* Function to return version */
Q_INVOKABLE QString constantVersion() const;
/* Returns true if version argument is newer than current program */
Q_INVOKABLE bool isVersionNewer(const QString &version);
/* Set custom repository */
Q_INVOKABLE void setCustomOsListUrl(const QUrl &url);