GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
ListedKeyServerTestThread.h
1
27#ifndef GPGFRONTEND_LISTEDKEYSERVERTESTTHREAD_H
28#define GPGFRONTEND_LISTEDKEYSERVERTESTTHREAD_H
29
30#include "GpgFrontendUI.h"
31
32namespace GpgFrontend::UI {
33
38class ListedKeyServerTestThread : public QThread {
39 Q_OBJECT
40 public:
41 explicit ListedKeyServerTestThread(const QStringList& urls, int timeout,
42 QWidget* parent = nullptr)
43 : QThread(parent), urls_(urls), timeout_(timeout) {}
44
45 signals:
51 void SignalKeyServerListTestResult(const QStringList& result);
52
53 protected:
58 void run() override;
59
60 private:
61 QStringList urls_;
62 QStringList result_;
63 int timeout_ = 500;
64};
65
66} // namespace GpgFrontend::UI
67
69
70#endif // GPGFRONTEND_LISTEDKEYSERVERTESTTHREAD_H
Definition: ListedKeyServerTestThread.h:38
void run() override
Definition: ListedKeyServerTestThread.cpp:29
void SignalKeyServerListTestResult(const QStringList &result)
Definition: ListedKeyServerTestThread.h:68
Definition: VerifyDetailsDialog.cpp:33