summaryrefslogtreecommitdiffstats
path: root/examples/network/http
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/http')
-rw-r--r--examples/network/http/httpwindow.cpp6
-rw-r--r--examples/network/http/httpwindow.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/network/http/httpwindow.cpp b/examples/network/http/httpwindow.cpp
index 2f5f739853..c56a6fa53f 100644
--- a/examples/network/http/httpwindow.cpp
+++ b/examples/network/http/httpwindow.cpp
@@ -47,7 +47,7 @@
HttpWindow::HttpWindow(QWidget *parent)
: QDialog(parent)
{
-#ifndef QT_NO_OPENSSL
+#ifndef QT_NO_SSL
urlLineEdit = new QLineEdit("https://qt.nokia.com/");
#else
urlLineEdit = new QLineEdit("http://qt.nokia.com/");
@@ -75,7 +75,7 @@ HttpWindow::HttpWindow(QWidget *parent)
connect(&qnam, SIGNAL(authenticationRequired(QNetworkReply*,QAuthenticator*)),
this, SLOT(slotAuthenticationRequired(QNetworkReply*,QAuthenticator*)));
-#ifndef QT_NO_OPENSSL
+#ifndef QT_NO_SSL
connect(&qnam, SIGNAL(sslErrors(QNetworkReply*,QList<QSslError>)),
this, SLOT(sslErrors(QNetworkReply*,QList<QSslError>)));
#endif
@@ -247,7 +247,7 @@ void HttpWindow::slotAuthenticationRequired(QNetworkReply*,QAuthenticator *authe
}
}
-#ifndef QT_NO_OPENSSL
+#ifndef QT_NO_SSL
void HttpWindow::sslErrors(QNetworkReply*,const QList<QSslError> &errors)
{
QString errorString;
diff --git a/examples/network/http/httpwindow.h b/examples/network/http/httpwindow.h
index 54587b2f6d..a3694ddcbe 100644
--- a/examples/network/http/httpwindow.h
+++ b/examples/network/http/httpwindow.h
@@ -76,7 +76,7 @@ private slots:
void updateDataReadProgress(qint64 bytesRead, qint64 totalBytes);
void enableDownloadButton();
void slotAuthenticationRequired(QNetworkReply*,QAuthenticator *);
-#ifndef QT_NO_OPENSSL
+#ifndef QT_NO_SSL
void sslErrors(QNetworkReply*,const QList<QSslError> &errors);
#endif