diff --git a/src/proxyface/proxy.hxx b/src/proxyface/proxy.hxx index 8795c1a..9bbcb12 100644 --- a/src/proxyface/proxy.hxx +++ b/src/proxyface/proxy.hxx @@ -86,6 +86,11 @@ namespace gui { acceptValues(); } + void proxy(const QString& url, + int timeout1=5000, int timeout2=30000) { + _auto.proxy(url.toStdString(), timeout1, timeout2); + } + void ping() { _auto.ping(_testUrl->currentText()); }