GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
VersionCheckThread.h
1
29#ifndef GPGFRONTEND_VERSIONCHECKTHREAD_H
30#define GPGFRONTEND_VERSIONCHECKTHREAD_H
31
32#include "ui/GpgFrontendUI.h"
33#include "ui/struct/SoftwareVersion.h"
34
35namespace GpgFrontend::UI {
36
41class VersionCheckThread : public QThread {
42 Q_OBJECT
43
44 public:
49 explicit VersionCheckThread();
50
51 signals:
52
59
60 protected:
66 void run() override;
67
68 private:
69 QByteArray latest_reply_bytes_;
70 QByteArray current_reply_bytes_;
71};
72
73} // namespace GpgFrontend::UI
74
75#endif // GPGFRONTEND_VERSIONCHECKTHREAD_H
Definition: VersionCheckThread.h:41
void SignalUpgradeVersion(SoftwareVersion version)
VersionCheckThread()
Construct a new Version Check Thread object.
Definition: VersionCheckThread.cpp:125
Definition: VerifyDetailsDialog.cpp:33
Definition: SoftwareVersion.h:39