QDnsTlsAssociationRecord: add QML scoped enum entry
If we ever want to expose the class or the enums to QML, we need to have already done this so no one else exposes it first without the enums being scoped. From the API review. Change-Id: I0ab32743b3cb61d44cc159397435801280d74b80 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit f60c03f26562224574b180699a9518471e879a2b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
7d2e67b1b3
commit
40dda06cbe
@ -144,6 +144,7 @@ Q_DECLARE_SHARED(QDnsTextRecord)
|
||||
class Q_NETWORK_EXPORT QDnsTlsAssociationRecord
|
||||
{
|
||||
Q_GADGET
|
||||
Q_CLASSINFO("RegisterEnumClassesUnscoped", "false")
|
||||
public:
|
||||
enum class CertificateUsage : quint8 {
|
||||
// https://www.iana.org/assignments/dane-parameters/dane-parameters.xhtml#certificate-usages
|
||||
|
Loading…
x
Reference in New Issue
Block a user