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 
35 namespace GpgFrontend::UI {
36 
41 class 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
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::SoftwareVersion
Definition: SoftwareVersion.h:39
GpgFrontend::UI::VersionCheckThread::SignalUpgradeVersion
void SignalUpgradeVersion(SoftwareVersion version)
GpgFrontend::UI::VersionCheckThread
Definition: VersionCheckThread.h:41
GpgFrontend::UI::VersionCheckThread::VersionCheckThread
VersionCheckThread()
Construct a new Version Check Thread object.
Definition: VersionCheckThread.cpp:125