GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Signals | |
void | SignalUpgradeVersion (SoftwareVersion version) |
Signals inherited from GpgFrontend::Thread::Task | |
void | SignalTaskFinished () |
void | SignalTaskPostFinishedDone () |
Public Member Functions | |
VersionCheckTask () | |
Construct a new Version Check Thread object. | |
Public Member Functions inherited from GpgFrontend::Thread::Task | |
Task () | |
Construct a new Task object. More... | |
Task (TaskCallback callback, DataObjectPtr data_object=nullptr) | |
Construct a new Task object. More... | |
Task (TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr) | |
Construct a new Task object. More... | |
virtual | ~Task () override |
Destroy the Task object. | |
std::string | GetUUID () const |
Protected Member Functions | |
void | Run () override |
Run - run the task. | |
Protected Member Functions inherited from GpgFrontend::Thread::Task | |
void | SetFinishAfterRun (bool finish_after_run) |
Set the Finish After Run object. More... | |
void | SetRTN (int rtn) |
Private Slots | |
void | slot_parse_latest_version_info () |
void | slot_parse_current_version_info () |
Private Attributes | |
QByteArray | latest_reply_bytes_ |
QByteArray | current_reply_bytes_ |
QNetworkReply * | latest_reply_ = nullptr |
latest version info reply | |
QNetworkReply * | current_reply_ = nullptr |
current version info reply | |
QNetworkAccessManager * | network_manager_ |
std::string | current_version_ |
SoftwareVersion | version_ |
Additional Inherited Members | |
Public Types inherited from GpgFrontend::Thread::Task | |
using | DataObjectPtr = std::shared_ptr< DataObject > |
using | TaskRunnable = std::function< int(DataObjectPtr)> |
using | TaskCallback = std::function< void(int, DataObjectPtr)> |
|
signal |
version |
Referenced by GpgFrontend::UI::UpdateTab::getLatestVersion().