doc: Fixed qdoc errors in SSL
authorMartin Smith <martin.smith@nokia.com>
Thu, 16 Aug 2012 08:02:59 +0000 (10:02 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 18 Aug 2012 19:08:33 +0000 (21:08 +0200)
Fixed some bad camel case, marked some parameters with \a,
and changed a \enum to a \typedef. Removed some obasolete
text.

Change-Id: I1e69dd9f3b74129230770addc80fe1c125faf268
Reviewed-by: Richard J. Moore <rich@kde.org>
src/network/ssl/qssl.cpp
src/network/ssl/qsslconfiguration.cpp

index 60679a2..932b7c9 100644 (file)
@@ -96,18 +96,18 @@ QT_BEGIN_NAMESPACE
     \value DnsEntry A DNS host name entry; the entry contains a host name
     entry that the certificate is valid for. The entry may contain wildcards.
 
-    \sa QSslCertificate::subjectAlternativeNames()
+    \note In Qt 4, this enum was called \c {AlternateNameEntryType}. That name
+    is deprecated in Qt 5.
 
+    \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
+  \typedef QSsl::AlternateNameEntryType
+  \obsolete
+
+  Use QSsl::AlternativeNameEntryType instead.
 */
-#endif
 
 /*!
     \enum QSsl::SslProtocol
index 3dedd29..9633737 100644 (file)
@@ -520,9 +520,11 @@ void QSslConfiguration::setCaCertificates(const QList<QSslCertificate> &certific
 }
 
 /*!
-  Enables or disables an SSL compatibility option.
+  Enables or disables an SSL compatibility \a option. If \a on
+  is true, the \a option is enabled. If \a on is false, the
+  \a option is disabled.
 
-  \sa testSSlOption()
+  \sa testSslOption()
 */
 void QSslConfiguration::setSslOption(QSsl::SslOption option, bool on)
 {
@@ -535,9 +537,9 @@ void QSslConfiguration::setSslOption(QSsl::SslOption option, bool on)
 /*!
   \since 4.8
 
-  Returns true if the specified SSL compatibility option is enabled.
+  Returns true if the specified SSL compatibility \a option is enabled.
 
-  \sa testSSlOption()
+  \sa setSslOption()
 */
 bool QSslConfiguration::testSslOption(QSsl::SslOption option) const
 {