diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/thread/ProxyConnectionTestThread.h | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/src/ui/thread/ProxyConnectionTestThread.h b/src/ui/thread/ProxyConnectionTestThread.h index da7fc412..70757e03 100644 --- a/src/ui/thread/ProxyConnectionTestThread.h +++ b/src/ui/thread/ProxyConnectionTestThread.h @@ -35,23 +35,43 @@ class ProxyConnectionTestThread {}; namespace GpgFrontend::UI { +/** + * @brief + * + */ class ProxyConnectionTestThread : public QThread { Q_OBJECT public: + /** + * @brief Construct a new Proxy Connection Test Thread object + * + * @param url + * @param timeout + * @param parent + */ explicit ProxyConnectionTestThread(QString url, int timeout, QWidget* parent = nullptr) : QThread(parent), url_(std::move(url)), timeout_(timeout) {} signals: - void signalProxyConnectionTestResult(const QString& result); + /** + * @brief + * + * @param result + */ + void SignalProxyConnectionTestResult(const QString& result); protected: + /** + * @brief + * + */ void run() override; private: - QString url_; - QString result_; - int timeout_ = 500; + QString url_; ///< + QString result_; ///< + int timeout_ = 500; ///< }; } // namespace GpgFrontend::UI |