# GpgFrontend Project: src/ui/thread/VersionCheckThread.h Source File

VersionCheckThread.h
#ifndef GPGFRONTEND_VERSIONCHECKTHREAD_H
#define GPGFRONTEND_VERSIONCHECKTHREAD_H
#include "ui/GpgFrontendUI.h"
#include "ui/struct/SoftwareVersion.h"
namespace GpgFrontend::UI {
class VersionCheckThread : public QThread {
Q_OBJECT
public:
explicit VersionCheckThread();
signals:
void SignalUpgradeVersion(SoftwareVersion version);
protected:
void run() override;
private:
QByteArray latest_reply_bytes_;
QByteArray current_reply_bytes_;
};
} // namespace GpgFrontend::UI
#endif // GPGFRONTEND_VERSIONCHECKTHREAD_H
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
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