From 50ccd35fbdc1bd890f577616ee306573999cddb5 Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Thu, 28 May 2020 09:07:44 +0200 Subject: [PATCH] Doc: add missing PatternSyntax documentation to QSslCertificate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: MÃ¥rten Nordheim --- src/network/ssl/qsslcertificate.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp index 6daf5c362e..bbfafd7c0c 100644 --- a/src/network/ssl/qsslcertificate.cpp +++ b/src/network/ssl/qsslcertificate.cpp @@ -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 #ifndef QT_NO_OPENSSL #include "qsslsocket_openssl_symbols_p.h"