31 #include "GpgFrontendUI.h"
32 #include "core/thread/ThreadingModel.h"
34 class QNetworkAccessManager;
46 enum KeyServerTestResultType {
47 kTEST_RESULT_TYPE_SUCCESS,
48 kTEST_RESULT_TYPE_TIMEOUT,
49 kTEST_RESULT_TYPE_ERROR,
53 QWidget* parent =
nullptr);
59 auto Run() ->
int override;
68 std::vector<KeyServerTestResultType> result);
72 std::vector<KeyServerTestResultType> result_;
73 QNetworkAccessManager* network_manager_;
75 int result_count_ = 0;
Definition: ListedKeyServerTestTask.h:43
void SignalKeyServerListTestResult(std::vector< KeyServerTestResultType > result)
ListedKeyServerTestTask(QStringList urls, int timeout, QWidget *parent=nullptr)
Definition: ListedKeyServerTestTask.cpp:34
auto Run() -> int override
can be overwrite by subclass
Definition: ListedKeyServerTestTask.cpp:46
void slot_process_network_reply(int index, QNetworkReply *reply)
Definition: ListedKeyServerTestTask.cpp:76
Definition: ListedKeyServerTestTask.h:88
Definition: FileReadTask.cpp:31