summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2020-05-28 09:07:44 +0200
committerSamuel Gaist <samuel.gaist@idiap.ch>2020-06-07 16:23:41 +0200
commit50ccd35fbdc1bd890f577616ee306573999cddb5 (patch)
tree02c971abc19def79bcddfd791ce12a07950800b4 /src
parent32b586864e3a4398da38c045f4ac0823c3dc3c57 (diff)
Doc: add missing PatternSyntax documentation to QSslCertificate
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 <paul.wicking@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/network/ssl/qsslcertificate.cpp18
1 files changed, 18 insertions, 0 deletions
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 <QtNetwork/qtnetworkglobal.h>
#ifndef QT_NO_OPENSSL
#include "qsslsocket_openssl_symbols_p.h"