31 #include <core/thread/Task.h>
32 #include <module/sdk/GpgFrontendModuleSDK.h>
34 #include "SoftwareVersion.h"
37 class QNetworkAccessManager;
69 auto Run() ->
int override;
77 void slot_parse_latest_version_info();
83 void slot_parse_current_version_info();
86 QByteArray latest_reply_bytes_;
87 QByteArray current_reply_bytes_;
90 QNetworkAccessManager* network_manager_;
91 QString current_version_;
Definition: VersionCheckTask.h:45
VersionCheckTask()
Construct a new Version Check Thread object.
Definition: VersionCheckTask.cpp:38
auto Run() -> int override
can be overwrite by subclass
Definition: VersionCheckTask.cpp:48
QNetworkReply * latest_reply_
latest version info reply
Definition: VersionCheckTask.h:88
QNetworkReply * current_reply_
current version info reply
Definition: VersionCheckTask.h:89
void SignalUpgradeVersion(SoftwareVersion version)
Definition: SoftwareVersion.cpp:34
Definition: SoftwareVersion.h:38