\hypertarget{ProxyConnectionTestThread_8h_source}{}\doxysection{Proxy\+Connection\+Test\+Thread.\+h}
\label{ProxyConnectionTestThread_8h_source}\index{src/ui/thread/ProxyConnectionTestThread.h@{src/ui/thread/ProxyConnectionTestThread.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{27 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_PROXYCONNECTIONTESTTHREAD\_H}}
\DoxyCodeLine{28 \textcolor{preprocessor}{\#define GPGFRONTEND\_PROXYCONNECTIONTESTTHREAD\_H}}
\DoxyCodeLine{29 }
\DoxyCodeLine{30 \textcolor{keyword}{class }\mbox{\hyperlink{classProxyConnectionTestThread}{ProxyConnectionTestThread}} \{\};}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include <utility>}}
\DoxyCodeLine{33 }
\DoxyCodeLine{34 \textcolor{preprocessor}{\#include "{}GpgFrontendUI.h"{}}}
\DoxyCodeLine{35 }
\DoxyCodeLine{36 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{}
\DoxyCodeLine{37 }
\DoxyCodeLine{42 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ProxyConnectionTestThread}{ProxyConnectionTestThread}} : \textcolor{keyword}{public} QThread \{}
\DoxyCodeLine{43   Q\_OBJECT}
\DoxyCodeLine{44  \textcolor{keyword}{public}:}
\DoxyCodeLine{52   \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ProxyConnectionTestThread_a538a78e0149906bf19e850ba71c00ada}{ProxyConnectionTestThread}}(QString url, \textcolor{keywordtype}{int} timeout,}
\DoxyCodeLine{53                                      QWidget* parent = \textcolor{keyword}{nullptr})}
\DoxyCodeLine{54       : QThread(parent), url\_(std::move(url)), timeout\_(timeout) \{\}}
\DoxyCodeLine{55 }
\DoxyCodeLine{56  signals:}
\DoxyCodeLine{62   \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ProxyConnectionTestThread_aedafa7b22e024be537658fd8096e5f6f}{SignalProxyConnectionTestResult}}(\textcolor{keyword}{const} QString\& result);}
\DoxyCodeLine{63 }
\DoxyCodeLine{64  \textcolor{keyword}{protected}:}
\DoxyCodeLine{69   \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1ProxyConnectionTestThread_a497bb7f1b92c67f2e754fd66ca3a6666}{run}}() \textcolor{keyword}{override};}
\DoxyCodeLine{70 }
\DoxyCodeLine{71  \textcolor{keyword}{private}:}
\DoxyCodeLine{72   QString url\_;        }
\DoxyCodeLine{73   QString result\_;     }
\DoxyCodeLine{74   \textcolor{keywordtype}{int} timeout\_ = 500;  }
\DoxyCodeLine{75 \};}
\DoxyCodeLine{76 }
\DoxyCodeLine{77 \}  \textcolor{comment}{// namespace GpgFrontend::UI}}
\DoxyCodeLine{78 }
\DoxyCodeLine{79 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{// GPGFRONTEND\_PROXYCONNECTIONTESTTHREAD\_H}}

\end{DoxyCode}
