diff options
author | Saturneric <[email protected]> | 2021-07-12 09:03:12 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-12 09:03:12 +0000 |
commit | 4ada913c515cf090c65d9d155aa9880a50501591 (patch) | |
tree | 72043033991b643a2cce437f22497a961d73a745 /include/ui/help/VersionCheckThread.h | |
parent | Update Documents; Update UI (diff) | |
download | GpgFrontend-4ada913c515cf090c65d9d155aa9880a50501591.tar.gz GpgFrontend-4ada913c515cf090c65d9d155aa9880a50501591.zip |
Project structure adjustment;
Project configuration adjustment;
Add version detection;
UI interface improvements;
Introduce JSON processing library;
Update Documents;
Diffstat (limited to 'include/ui/help/VersionCheckThread.h')
-rw-r--r-- | include/ui/help/VersionCheckThread.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/ui/help/VersionCheckThread.h b/include/ui/help/VersionCheckThread.h new file mode 100644 index 00000000..10c9da87 --- /dev/null +++ b/include/ui/help/VersionCheckThread.h @@ -0,0 +1,32 @@ +// +// Created by Administrator on 2021/7/12. +// + +#ifndef GPGFRONTEND_VERSIONCHECKTHREAD_H +#define GPGFRONTEND_VERSIONCHECKTHREAD_H + +#include "GpgFrontend.h" + +class VersionCheckThread : public QThread { +Q_OBJECT + +public: + + VersionCheckThread(QNetworkReply *networkReply); + +signals: + + void upgradeVersion(const QString ¤tVersion, const QString &latestVersion); + +protected: + + void run() override; + +private: + + QNetworkReply* mNetworkReply; + +}; + + +#endif //GPGFRONTEND_VERSIONCHECKTHREAD_H |