diff options
author | Peter Yard <peter.yard@nokia.com> | 2009-09-01 00:02:56 (GMT) |
---|---|---|
committer | Peter Yard <peter.yard@nokia.com> | 2009-09-01 00:04:48 (GMT) |
commit | 397fb3ece0fb556bc158cf1e826145196d2e6e95 (patch) | |
tree | a90c7813fc62008d5d295e4c3fe2a844c1c2c584 /src/network/ssl | |
parent | d1bb06923e825ac7079863d15d0d946d4c5aa19c (diff) | |
download | Qt-397fb3ece0fb556bc158cf1e826145196d2e6e95.zip Qt-397fb3ece0fb556bc158cf1e826145196d2e6e95.tar.gz Qt-397fb3ece0fb556bc158cf1e826145196d2e6e95.tar.bz2 |
Doc for QSslError constructor parameters fixed each cons.
Diffstat (limited to 'src/network/ssl')
-rw-r--r-- | src/network/ssl/qsslerror.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/network/ssl/qsslerror.cpp b/src/network/ssl/qsslerror.cpp index 69d2ccd..d47c91d 100644 --- a/src/network/ssl/qsslerror.cpp +++ b/src/network/ssl/qsslerror.cpp @@ -105,10 +105,8 @@ public: }; /*! - Constructs a QSslError object. The two optional arguments specify the \a - error that occurred, and which \a certificate the error relates to. + Constructs a QSslError object with no error and default certificate. - \sa QSslCertificate */ // RVCT compiler in debug build does not like about default values in const- @@ -120,6 +118,11 @@ QSslError::QSslError() d->certificate = QSslCertificate(); } +/*! + Constructs a QSslError object. The argument specifies the \a + error that occurred. + +*/ QSslError::QSslError(SslError error) : d(new QSslErrorPrivate) { @@ -127,6 +130,12 @@ QSslError::QSslError(SslError error) d->certificate = QSslCertificate(); } +/*! + Constructs a QSslError object. The two arguments specify the \a + error that occurred, and which \a certificate the error relates to. + + \sa QSslCertificate +*/ QSslError::QSslError(SslError error, const QSslCertificate &certificate) : d(new QSslErrorPrivate) { |