GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
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_;
98 #endif // GPGFRONTEND_VERSIONCHECKTHREAD_H
Definition: FileReadTask.cpp:31
void SignalUpgradeVersion(SoftwareVersion version)
Definition: SoftwareVersion.h:39
QNetworkReply * latest_reply_
latest version info reply
Definition: VersionCheckTask.h:89
Definition: VersionCheckTask.h:45
VersionCheckTask()
Construct a new Version Check Thread object.
Definition: VersionCheckTask.cpp:38
void SetFinishAfterRun(bool finish_after_run)
Set the Finish After Run object.
Definition: Task.cpp:73
QNetworkReply * current_reply_
current version info reply
Definition: VersionCheckTask.h:90
void Run() override
Run - run the task.
Definition: VersionCheckTask.cpp:47