summaryrefslogtreecommitdiffstats
path: root/examples/network/http/httpwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/http/httpwindow.h')
-rw-r--r--examples/network/http/httpwindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/network/http/httpwindow.h b/examples/network/http/httpwindow.h
index 64e9274288..ade0635e48 100644
--- a/examples/network/http/httpwindow.h
+++ b/examples/network/http/httpwindow.h
@@ -19,6 +19,9 @@ class QSslError;
class QAuthenticator;
class QNetworkReply;
class QCheckBox;
+#if QT_CONFIG(networkproxy)
+class QNetworkProxy;
+#endif
QT_END_NAMESPACE
@@ -52,6 +55,9 @@ private slots:
#if QT_CONFIG(ssl)
void sslErrors(const QList<QSslError> &errors);
#endif
+#if QT_CONFIG(networkproxy)
+ void slotProxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *authenticator);
+#endif
private:
std::unique_ptr<QFile> openFileForWrite(const QString &fileName);