# GpgFrontend Project: src/ui/thread/ListedKeyServerTestThread.h Source File

ListedKeyServerTestThread.h
#ifndef GPGFRONTEND_LISTEDKEYSERVERTESTTHREAD_H
#define GPGFRONTEND_LISTEDKEYSERVERTESTTHREAD_H
#include "GpgFrontendUI.h"
namespace GpgFrontend::UI {
class ListedKeyServerTestThread : public QThread {
Q_OBJECT
public:
explicit ListedKeyServerTestThread(const QStringList& urls, int timeout,
QWidget* parent = nullptr)
: QThread(parent), urls_(urls), timeout_(timeout) {}
signals:
void SignalKeyServerListTestResult(const QStringList& result);
protected:
void run() override;
private:
QStringList urls_;
QStringList result_;
int timeout_ = 500;
};
} // namespace GpgFrontend::UI
class TestListedKeyServerThread {};
#endif // GPGFRONTEND_LISTEDKEYSERVERTESTTHREAD_H
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
GpgFrontend::UI::ListedKeyServerTestThread::run
void run() override
Definition: ListedKeyServerTestThread.cpp:29
GpgFrontend::UI::ListedKeyServerTestThread::SignalKeyServerListTestResult
void SignalKeyServerListTestResult(const QStringList &result)
GpgFrontend::UI::ListedKeyServerTestThread
Definition: ListedKeyServerTestThread.h:38
TestListedKeyServerThread
Definition: ListedKeyServerTestThread.h:68