29 #ifndef GPGFRONTEND_VERSIONCHECKTHREAD_H
30 #define GPGFRONTEND_VERSIONCHECKTHREAD_H
35 #include "core/thread/Task.h"
36 #include "ui/GpgFrontendUI.h"
37 #include "ui/struct/SoftwareVersion.h"
78 void slot_parse_latest_version_info();
84 void slot_parse_current_version_info();
87 QByteArray latest_reply_bytes_;
88 QByteArray current_reply_bytes_;
91 QNetworkAccessManager* network_manager_;
92 std::string current_version_;
Definition: VersionCheckTask.h:45
void SignalUpgradeVersion(SoftwareVersion version)
void Run() override
Run - run the task.
Definition: VersionCheckTask.cpp:47
QNetworkReply * current_reply_
current version info reply
Definition: VersionCheckTask.h:90
VersionCheckTask()
Construct a new Version Check Thread object.
Definition: VersionCheckTask.cpp:38
QNetworkReply * latest_reply_
latest version info reply
Definition: VersionCheckTask.h:89
Definition: FileReadTask.cpp:31
Definition: SoftwareVersion.h:39