Skip to content

Commit

Permalink
Doc: add missing PatternSyntax documentation to QSslCertificate
Browse files Browse the repository at this point in the history
This patch adds the missing documentation for the new QSslCertificate
PatternSyntax enum which replaces the one from QRegExp.

Fixes: QTBUG-84464
Pick-to: 5.15
Change-Id: Icf092f42ad4dff9207ca51dfd8b4fb8ed6443ff2
Reviewed-by: Paul Wicking <[email protected]>
Reviewed-by: Mårten Nordheim <[email protected]>
  • Loading branch information
sgaist committed Jun 7, 2020
1 parent 32b5868 commit 50ccd35
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/network/ssl/qsslcertificate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,24 @@
\value EmailAddress The email address associated with the certificate
*/

/*!
\enum QSslCertificate::PatternSyntax
\since 5.15
The syntax used to interpret the meaning of the pattern.
\value RegularExpression A rich Perl-like pattern matching syntax.
\value Wildcard This provides a simple pattern matching syntax
similar to that used by shells (command interpreters) for "file
globbing". See \l{QRegularExpression Wildcard matching}.
\value FixedString The pattern is a fixed string. This is
equivalent to using the RegularExpression pattern on a string in
which all metacharacters are escaped using escape(). This is the
default.
*/

#include <QtNetwork/qtnetworkglobal.h>
#ifndef QT_NO_OPENSSL
#include "qsslsocket_openssl_symbols_p.h"
Expand Down

0 comments on commit 50ccd35

Please sign in to comment.