From d78e5178c1a0918ed6d8614480c66f867019bfc9 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Wed, 3 Jan 2024 11:25:17 -0500 Subject: [PATCH 1/2] Standardize project to KDAB copyright policy For individual files: show the file creation year only For entire project: remove year from the statement reference: https://matija.suklje.name/how-and-why-to-properly-write-copyright-statements-in-your-code --- .reuse/dep5 | 4 ++-- CMakeLists.txt | 2 +- README.md | 4 ++-- cmake/KDBindingsConfig.cmake.in | 2 +- docs/CMakeLists.txt | 2 +- docs/api/CMakeLists.txt | 2 +- docs/api/footer.html | 2 +- docs/api/mkdocs/docs/javascripts/config.js | 10 ++++++++++ docs/api/mkdocs/mkdocs.yml.cmake | 2 +- examples/01-simple-connection/CMakeLists.txt | 2 +- examples/01-simple-connection/main.cpp | 2 +- examples/02-signal-member/CMakeLists.txt | 2 +- examples/02-signal-member/main.cpp | 2 +- examples/03-member-arguments/CMakeLists.txt | 2 +- examples/03-member-arguments/main.cpp | 2 +- examples/04-simple-property/CMakeLists.txt | 2 +- examples/04-simple-property/main.cpp | 2 +- examples/05-property-bindings/CMakeLists.txt | 2 +- examples/05-property-bindings/main.cpp | 2 +- examples/06-lazy-property-bindings/CMakeLists.txt | 2 +- examples/06-lazy-property-bindings/main.cpp | 2 +- examples/07-advanced-connections/CMakeLists.txt | 2 +- examples/07-advanced-connections/main.cpp | 2 +- examples/CMakeLists.txt | 2 +- src/kdbindings/CMakeLists.txt | 5 ++--- src/kdbindings/binding.h | 2 +- src/kdbindings/binding_evaluator.h | 2 +- src/kdbindings/make_node.h | 2 +- src/kdbindings/node.h | 2 +- src/kdbindings/node_functions.h | 2 +- src/kdbindings/node_operators.h | 2 +- src/kdbindings/property.h | 2 +- src/kdbindings/property_updater.h | 2 +- src/kdbindings/signal.h | 2 +- src/kdbindings/utils.h | 2 +- tests/CMakeLists.txt | 2 +- tests/binding/CMakeLists.txt | 2 +- tests/binding/tst_binding.cpp | 2 +- tests/node/CMakeLists.txt | 2 +- tests/node/tst_node.cpp | 2 +- tests/property/CMakeLists.txt | 2 +- tests/property/tst_property.cpp | 2 +- tests/signal/CMakeLists.txt | 2 +- tests/signal/tst_signal.cpp | 2 +- tests/utils/CMakeLists.txt | 2 +- tests/utils/tst_gen_index_array.cpp | 2 +- tests/utils/tst_get_arity.cpp | 2 +- tests/utils/tst_utils_main.cpp | 2 +- 48 files changed, 60 insertions(+), 51 deletions(-) diff --git a/.reuse/dep5 b/.reuse/dep5 index 319a087..a68342f 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -4,12 +4,12 @@ Upstream-Contact: Source: https://www.github.com/KDAB/KDBindings Files: *.json *.html *.md docs/api/Doxyfile.cmake docs/api/mkdocs/mkdocs.yml docs/api/mkdocs/docs/stylesheets/kdab.css -Copyright: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company License: MIT #artwork Files: docs/api/*.png docs/api/mkdocs/docs/assets/*.svg -Copyright: 2001-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company License: MIT #3rdparty cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 0624d21..2d08d00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/README.md b/README.md index f08f319..c2d6cf8 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,8 @@ Stay up-to-date with KDAB product announcements: Licensing ========= -KDBindings is (C) 2020-2021, Klarälvdalens Datakonsult AB, and is available under the -terms of the [MIT](https://github.com/KDAB/KDBindings/blob/main/LICENSES/MIT.txt) license. +KDBindings is © Klarälvdalens Datakonsult AB and available under the terms of +the [MIT](https://github.com/KDAB/KDBindings/blob/main/LICENSES/MIT.txt) license. Contact KDAB at if you need different licensing options. diff --git a/cmake/KDBindingsConfig.cmake.in b/cmake/KDBindingsConfig.cmake.in index 1e73d6c..b63f440 100644 --- a/cmake/KDBindingsConfig.cmake.in +++ b/cmake/KDBindingsConfig.cmake.in @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Juan Casafranca # # SPDX-License-Identifier: MIT diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index f42e3eb..1c56d21 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Allen Winter # # SPDX-License-Identifier: MIT diff --git a/docs/api/CMakeLists.txt b/docs/api/CMakeLists.txt index 8f4cd98..4ba59b4 100644 --- a/docs/api/CMakeLists.txt +++ b/docs/api/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Allen Winter # # SPDX-License-Identifier: MIT diff --git a/docs/api/footer.html b/docs/api/footer.html index 1d73066..5651f0d 100644 --- a/docs/api/footer.html +++ b/docs/api/footer.html @@ -1,7 +1,7 @@
- © 2020-2021 Klarälvdalens Datakonsult AB (KDAB) + © Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/ diff --git a/docs/api/mkdocs/docs/javascripts/config.js b/docs/api/mkdocs/docs/javascripts/config.js index 7ca1ea1..543f24f 100644 --- a/docs/api/mkdocs/docs/javascripts/config.js +++ b/docs/api/mkdocs/docs/javascripts/config.js @@ -1,3 +1,13 @@ +/* + This file is part of KDBindings. + + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company + + SPDX-License-Identifier: MIT + + Contact KDAB at for commercial licensing options. +*/ + window.MathJax = { tex : { inlineMath : [ [ "\\(", "\\)" ] ], diff --git a/docs/api/mkdocs/mkdocs.yml.cmake b/docs/api/mkdocs/mkdocs.yml.cmake index 74033b0..bb5e5db 100644 --- a/docs/api/mkdocs/mkdocs.yml.cmake +++ b/docs/api/mkdocs/mkdocs.yml.cmake @@ -18,7 +18,7 @@ theme: text: 'Open Sans' favicon: assets/assets_logo_tree.svg logo: assets/transparentWhiteKDAB.svg -copyright: "Copyright © 2020-2023 Klarälvdalens Datakonsult AB (KDAB)
The Qt, C++ and OpenGL Experts
https://www.kdab.com/" +copyright: "Copyright © Klarälvdalens Datakonsult AB (KDAB)
The Qt, C++ and OpenGL Experts
https://www.kdab.com/" extra: # Disabling the generator notice is currently a # Insiders only feature. diff --git a/examples/01-simple-connection/CMakeLists.txt b/examples/01-simple-connection/CMakeLists.txt index 3fd6c5e..43956b7 100644 --- a/examples/01-simple-connection/CMakeLists.txt +++ b/examples/01-simple-connection/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/examples/01-simple-connection/main.cpp b/examples/01-simple-connection/main.cpp index 2b3d329..67b33d1 100644 --- a/examples/01-simple-connection/main.cpp +++ b/examples/01-simple-connection/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/examples/02-signal-member/CMakeLists.txt b/examples/02-signal-member/CMakeLists.txt index aa9873e..031116d 100644 --- a/examples/02-signal-member/CMakeLists.txt +++ b/examples/02-signal-member/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/examples/02-signal-member/main.cpp b/examples/02-signal-member/main.cpp index b816cdc..6852614 100644 --- a/examples/02-signal-member/main.cpp +++ b/examples/02-signal-member/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/examples/03-member-arguments/CMakeLists.txt b/examples/03-member-arguments/CMakeLists.txt index 612ce31..bbf45b7 100644 --- a/examples/03-member-arguments/CMakeLists.txt +++ b/examples/03-member-arguments/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/examples/03-member-arguments/main.cpp b/examples/03-member-arguments/main.cpp index 847199f..1cf91bb 100644 --- a/examples/03-member-arguments/main.cpp +++ b/examples/03-member-arguments/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/examples/04-simple-property/CMakeLists.txt b/examples/04-simple-property/CMakeLists.txt index a205e48..004728e 100644 --- a/examples/04-simple-property/CMakeLists.txt +++ b/examples/04-simple-property/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/examples/04-simple-property/main.cpp b/examples/04-simple-property/main.cpp index 8f89519..f9652ce 100644 --- a/examples/04-simple-property/main.cpp +++ b/examples/04-simple-property/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/examples/05-property-bindings/CMakeLists.txt b/examples/05-property-bindings/CMakeLists.txt index 832fed9..4d9631e 100644 --- a/examples/05-property-bindings/CMakeLists.txt +++ b/examples/05-property-bindings/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/examples/05-property-bindings/main.cpp b/examples/05-property-bindings/main.cpp index 1e863b5..38b1624 100644 --- a/examples/05-property-bindings/main.cpp +++ b/examples/05-property-bindings/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/examples/06-lazy-property-bindings/CMakeLists.txt b/examples/06-lazy-property-bindings/CMakeLists.txt index 66b887f..b0d55bf 100644 --- a/examples/06-lazy-property-bindings/CMakeLists.txt +++ b/examples/06-lazy-property-bindings/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/examples/06-lazy-property-bindings/main.cpp b/examples/06-lazy-property-bindings/main.cpp index 980e286..a22472e 100644 --- a/examples/06-lazy-property-bindings/main.cpp +++ b/examples/06-lazy-property-bindings/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/examples/07-advanced-connections/CMakeLists.txt b/examples/07-advanced-connections/CMakeLists.txt index 53849b5..ea337b0 100644 --- a/examples/07-advanced-connections/CMakeLists.txt +++ b/examples/07-advanced-connections/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Leon Matthes # # SPDX-License-Identifier: MIT diff --git a/examples/07-advanced-connections/main.cpp b/examples/07-advanced-connections/main.cpp index 71f1463..8489f7f 100644 --- a/examples/07-advanced-connections/main.cpp +++ b/examples/07-advanced-connections/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Leon Matthes SPDX-License-Identifier: MIT diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 63a44d7..42ce889 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/src/kdbindings/CMakeLists.txt b/src/kdbindings/CMakeLists.txt index 83c2080..29ea651 100644 --- a/src/kdbindings/CMakeLists.txt +++ b/src/kdbindings/CMakeLists.txt @@ -1,12 +1,11 @@ -# This file is part of KDBindings. -# -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT # # Contact KDAB at for commercial licensing options. # + set(HEADERS binding.h binding_evaluator.h diff --git a/src/kdbindings/binding.h b/src/kdbindings/binding.h index e99eabc..4bcd1cc 100644 --- a/src/kdbindings/binding.h +++ b/src/kdbindings/binding.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/binding_evaluator.h b/src/kdbindings/binding_evaluator.h index fdcf328..9e983b3 100644 --- a/src/kdbindings/binding_evaluator.h +++ b/src/kdbindings/binding_evaluator.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/make_node.h b/src/kdbindings/make_node.h index e8053ee..22bd374 100644 --- a/src/kdbindings/make_node.h +++ b/src/kdbindings/make_node.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/node.h b/src/kdbindings/node.h index 2b69a3c..399d7ac 100644 --- a/src/kdbindings/node.h +++ b/src/kdbindings/node.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/node_functions.h b/src/kdbindings/node_functions.h index a8bcfdd..9cee0a8 100644 --- a/src/kdbindings/node_functions.h +++ b/src/kdbindings/node_functions.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/node_operators.h b/src/kdbindings/node_operators.h index e79ae68..10233fd 100644 --- a/src/kdbindings/node_operators.h +++ b/src/kdbindings/node_operators.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/property.h b/src/kdbindings/property.h index 682adf4..98f4a4c 100644 --- a/src/kdbindings/property.h +++ b/src/kdbindings/property.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/property_updater.h b/src/kdbindings/property_updater.h index 8aeb014..5004080 100644 --- a/src/kdbindings/property_updater.h +++ b/src/kdbindings/property_updater.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/signal.h b/src/kdbindings/signal.h index df21d25..89f297b 100644 --- a/src/kdbindings/signal.h +++ b/src/kdbindings/signal.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/src/kdbindings/utils.h b/src/kdbindings/utils.h index f6c5b07..537591e 100644 --- a/src/kdbindings/utils.h +++ b/src/kdbindings/utils.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Leon Matthes SPDX-License-Identifier: MIT diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b088199..4abb59b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/tests/binding/CMakeLists.txt b/tests/binding/CMakeLists.txt index 34982f3..228f497 100644 --- a/tests/binding/CMakeLists.txt +++ b/tests/binding/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/tests/binding/tst_binding.cpp b/tests/binding/tst_binding.cpp index 8f6bc8c..22010d1 100644 --- a/tests/binding/tst_binding.cpp +++ b/tests/binding/tst_binding.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/tests/node/CMakeLists.txt b/tests/node/CMakeLists.txt index 76d831a..9693355 100644 --- a/tests/node/CMakeLists.txt +++ b/tests/node/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/tests/node/tst_node.cpp b/tests/node/tst_node.cpp index 58c45c8..1748a4a 100644 --- a/tests/node/tst_node.cpp +++ b/tests/node/tst_node.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/tests/property/CMakeLists.txt b/tests/property/CMakeLists.txt index 6a103e1..f035c01 100644 --- a/tests/property/CMakeLists.txt +++ b/tests/property/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/tests/property/tst_property.cpp b/tests/property/tst_property.cpp index 3bf31be..798eba4 100644 --- a/tests/property/tst_property.cpp +++ b/tests/property/tst_property.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/tests/signal/CMakeLists.txt b/tests/signal/CMakeLists.txt index 3c4061d..3c4c883 100644 --- a/tests/signal/CMakeLists.txt +++ b/tests/signal/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Sean Harmer # # SPDX-License-Identifier: MIT diff --git a/tests/signal/tst_signal.cpp b/tests/signal/tst_signal.cpp index 52066d0..6636368 100644 --- a/tests/signal/tst_signal.cpp +++ b/tests/signal/tst_signal.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT diff --git a/tests/utils/CMakeLists.txt b/tests/utils/CMakeLists.txt index 796561c..e70e7c0 100644 --- a/tests/utils/CMakeLists.txt +++ b/tests/utils/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Leon Matthes # # SPDX-License-Identifier: MIT diff --git a/tests/utils/tst_gen_index_array.cpp b/tests/utils/tst_gen_index_array.cpp index 6c19ed8..1939d8d 100644 --- a/tests/utils/tst_gen_index_array.cpp +++ b/tests/utils/tst_gen_index_array.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Leon Matthes SPDX-License-Identifier: MIT diff --git a/tests/utils/tst_get_arity.cpp b/tests/utils/tst_get_arity.cpp index 9768063..7ef2851 100644 --- a/tests/utils/tst_get_arity.cpp +++ b/tests/utils/tst_get_arity.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Leon Matthes SPDX-License-Identifier: MIT diff --git a/tests/utils/tst_utils_main.cpp b/tests/utils/tst_utils_main.cpp index d7aaf79..ce3a0e7 100644 --- a/tests/utils/tst_utils_main.cpp +++ b/tests/utils/tst_utils_main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Leon Matthes SPDX-License-Identifier: MIT From b6f1c1b73b3bac66ce3c5c097185490c8bd35e42 Mon Sep 17 00:00:00 2001 From: Leon Matthes Date: Fri, 12 Jan 2024 17:56:09 +0100 Subject: [PATCH 2/2] Standardize project to KDAB copyright policy Follow-up for the new files added in main since 1.0. --- examples/08-managing-connections/CMakeLists.txt | 2 +- examples/08-managing-connections/main.cpp | 4 ++-- src/kdbindings/connection_handle.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/08-managing-connections/CMakeLists.txt b/examples/08-managing-connections/CMakeLists.txt index 0bc9b3c..b3fdb89 100644 --- a/examples/08-managing-connections/CMakeLists.txt +++ b/examples/08-managing-connections/CMakeLists.txt @@ -1,6 +1,6 @@ # This file is part of KDBindings. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # Author: Leon Matthes # # SPDX-License-Identifier: MIT diff --git a/examples/08-managing-connections/main.cpp b/examples/08-managing-connections/main.cpp index 8048ddb..330e057 100644 --- a/examples/08-managing-connections/main.cpp +++ b/examples/08-managing-connections/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Leon Matthes SPDX-License-Identifier: MIT @@ -39,7 +39,7 @@ int main() signal.emit(2); - ConnectionHandle handle = signal.connect(displayLabelled, "Connection is not blocked"); + ConnectionHandle handle = signal.connect(displayLabelled, "Connection is not blocked"); signal.emit(3); { diff --git a/src/kdbindings/connection_handle.h b/src/kdbindings/connection_handle.h index a0a1811..81eb447 100644 --- a/src/kdbindings/connection_handle.h +++ b/src/kdbindings/connection_handle.h @@ -1,7 +1,7 @@ /* This file is part of KDBindings. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sean Harmer SPDX-License-Identifier: MIT