Document deprecated APIs in QSsl
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Thu, 3 May 2012 12:57:22 +0000 (13:57 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 3 May 2012 17:34:51 +0000 (19:34 +0200)
Task-number: QTBUG-24001

Change-Id: I8d0980bd5418e9324d0a0fe55c00b432c0a98fb1
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/network/ssl/qssl.cpp

index b68265f..9a00b2a 100644 (file)
@@ -95,6 +95,15 @@ QT_BEGIN_NAMESPACE
     \sa QSslCertificate::subjectAlternativeNames()
 
 */
+#if QT_DEPRECATED_SINCE(5,0)
+/*!
+    \enum QSsl::AlternateNameEntryType
+    \obsolete
+    Use QSsl::AlternativeNameEntryType instead.
+    This is a synonym for source compatibility with Qt 4.
+    \sa QSsl::AlternativeNameEntryType
+*/
+#endif
 
 /*!
     \enum QSsl::SslProtocol
@@ -104,6 +113,7 @@ QT_BEGIN_NAMESPACE
     \value SslV3 SSLv3
     \value SslV2 SSLv2
     \value TlsV1_0 TLSv1.0
+    \value TlsV1 Obsolete, means the same as TlsV1_0
     \value UnknownProtocol The cipher's protocol cannot be determined.
     \value AnyProtocol The socket understands SSLv2, SSLv3, and TLSv1.0. This
     value is used by QSslSocket only.