diff options
-rw-r--r-- | src/mqtt/qmqttclient.cpp | 17 | ||||
-rw-r--r-- | src/mqtt/qmqttclient.h | 3 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/mqtt/qmqttclient.cpp b/src/mqtt/qmqttclient.cpp index a13ce1e..e12bd02 100644 --- a/src/mqtt/qmqttclient.cpp +++ b/src/mqtt/qmqttclient.cpp @@ -532,24 +532,7 @@ void QMqttClient::connectToHost() connectToHost(false, QString()); } -/*! - \obsolete - - Initiates an encrypted connection to the MQTT broker. - - \a sslPeerName specifies the peer name to be passed to the socket. - - This function has been deprecated. Use - \l QMqttClient::connectToHostEncrypted(const QSslConfiguration &conf) instead. - */ #ifndef QT_NO_SSL -#if QT_DEPRECATED_SINCE(5, 14) -void QMqttClient::connectToHostEncrypted(const QString &sslPeerName) -{ - connectToHost(true, sslPeerName); -} -#endif - /*! \since 5.14 Initiates an encrypted connection to the MQTT broker. diff --git a/src/mqtt/qmqttclient.h b/src/mqtt/qmqttclient.h index 2d650a8..c6483a0 100644 --- a/src/mqtt/qmqttclient.h +++ b/src/mqtt/qmqttclient.h @@ -131,9 +131,6 @@ public: Q_INVOKABLE void connectToHost(); #ifndef QT_NO_SSL -#if QT_DEPRECATED_SINCE(5, 14) - QT_DEPRECATED Q_INVOKABLE void connectToHostEncrypted(const QString &sslPeerName = QString()); /// ### Qt 6: remove -#endif void connectToHostEncrypted(const QSslConfiguration &conf); #endif Q_INVOKABLE void disconnectFromHost(); |