31 #include <qnetworkaccessmanager.h>
32 #include <qnetworkreply.h>
34 #include "core/thread/Task.h"
37 class GpgImportInformation;
57 auto Run() ->
int override;
67 std::shared_ptr<GpgImportInformation>);
75 void dealing_reply_from_server();
78 QString keyserver_url_;
79 std::vector<QString> keyids_;
80 int result_count_ = 0;
82 QNetworkAccessManager *manager_;
83 QNetworkReply *reply_;
Definition: KeyServerImportTask.h:42
void SignalKeyServerImportResult(bool, QString, QByteArray, std::shared_ptr< GpgImportInformation >)
auto Run() -> int override
can be overwrite by subclass
Definition: KeyServerImportTask.cpp:51
KeyServerImportTask(QString keyserver_url, std::vector< QString > keyid)
Construct a new Key Server Search Task object.
Definition: KeyServerImportTask.cpp:35
Definition: FileReadTask.cpp:31