summaryrefslogtreecommitdiff
path: root/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-06-08 15:19:31 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-06-10 14:59:57 +0200
commit93eeaf4c6792c91d7932d14ba3c66131068d5789 (patch)
tree6f1da3e6f7a07dfb0168b57a5c8e90f71bae6960 /src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp
parent7703e4b093a4cf1616d80e4aadf841c6bca87dec (diff)
downloadqtwebsockets-93eeaf4c6792c91d7932d14ba3c66131068d5789.tar.gz
Use SPDX license identifiers
Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ief6ca28118c5ce0abe5dccf1854731cf2215e2b6 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp')
-rw-r--r--src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp28
1 files changed, 2 insertions, 26 deletions
diff --git a/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp b/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp
index 78874a3..3940d6a 100644
--- a/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp
+++ b/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2013 Kurt Pattyn <pattyn.kurt@gmail.com>
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2013 Kurt Pattyn <pattyn.kurt@gmail.com>
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
//! [6]
QList<QSslCertificate> cert = QSslCertificate::fromPath(QLatin1String("server-certificate.pem"));
QSslError error(QSslError::SelfSignedCertificate, cert.at(0));