diff --git a/.reuse/dep5 b/.reuse/dep5 index 32b573a..db720bd 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -5,22 +5,22 @@ Source: http://github.com/KDABLabs/KDToolBox #misc source code Files: qt/stringtokenizer/include/QStringTokenizer qt/stringtokenizer/include/QtCore/QStringTokenizer *.qrc *.json *.ui -Copyright: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company License: MIT #misc documentation Files: *.md -Copyright: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company License: MIT #misc config files Files: .clang-format .clazy .cmake-format.py .codespellrc .gitignore .gitmodules .gitreview .krazy .pep8 .pre-commit-config.yaml .pylintrc .qmake.conf .travis.yml appveyor.yml .mdlrc .mdlrc.rb -Copyright: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company License: MIT #artwork Files: *.png -Copyright: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company License: MIT #3rdparty fmt diff --git a/LICENSE.txt b/LICENSE.txt index c4d158c..beba697 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -KDToolBox is (C) 2019-2023, Klarälvdalens Datakonsult AB (KDAB) and is -made available under the terms of the MIT license (see LICENSES/MIT.txt). +KDToolBox is © Klarälvdalens Datakonsult AB (KDAB) and is made available +under the terms of the MIT license (see LICENSES/MIT.txt). Contact KDAB at to inquire about commercial licensing. diff --git a/README.md b/README.md index 2fa545c..da9e6ec 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ KDAB's collection of miscellaneous useful C++ classes and stuff. ## Licensing -KDToolBox is (C) 2019-2023, Klarälvdalens Datakonsult AB (KDAB) and is -made available under the terms of the [MIT](LICENSES/MIT.txt) license. +KDToolBox is © Klarälvdalens Datakonsult AB (KDAB) and is made available +under the terms of the [MIT](LICENSES/MIT.txt) license. Contact KDAB at if you need different licensing options. diff --git a/cmake/modules/CheckSubmoduleExists.cmake b/cmake/modules/CheckSubmoduleExists.cmake index 0ff012d..23bd361 100644 --- a/cmake/modules/CheckSubmoduleExists.cmake +++ b/cmake/modules/CheckSubmoduleExists.cmake @@ -1,7 +1,8 @@ +# This file is part of KDToolBox. # -# SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company # -# SPDX-License-Identifier: BSD-3-Clause +# SPDX-License-Identifier: MIT # # Submodule handling diff --git a/config.tests/cpp20/cpp20.cpp b/config.tests/cpp20/cpp20.cpp index 3783859..d9edfc8 100644 --- a/config.tests/cpp20/cpp20.cpp +++ b/config.tests/cpp20/cpp20.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/cpp/duplicatetracker/include/duplicatetracker.h b/cpp/duplicatetracker/include/duplicatetracker.h index 774f249..c6e7a71 100644 --- a/cpp/duplicatetracker/include/duplicatetracker.h +++ b/cpp/duplicatetracker/include/duplicatetracker.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/duplicatetracker/tests/duplicatetracker/tst_duplicatetracker.cpp b/cpp/duplicatetracker/tests/duplicatetracker/tst_duplicatetracker.cpp index 1c321bc..dae72be 100644 --- a/cpp/duplicatetracker/tests/duplicatetracker/tst_duplicatetracker.cpp +++ b/cpp/duplicatetracker/tests/duplicatetracker/tst_duplicatetracker.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/deque.h b/cpp/future-backports/include/k20/deque.h index e654314..3469dca 100644 --- a/cpp/future-backports/include/k20/deque.h +++ b/cpp/future-backports/include/k20/deque.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/detail/erase_if.h b/cpp/future-backports/include/k20/detail/erase_if.h index 4892819..c566265 100644 --- a/cpp/future-backports/include/k20/detail/erase_if.h +++ b/cpp/future-backports/include/k20/detail/erase_if.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/cpp/future-backports/include/k20/forward_list.h b/cpp/future-backports/include/k20/forward_list.h index 8ff3b0f..7f92856 100644 --- a/cpp/future-backports/include/k20/forward_list.h +++ b/cpp/future-backports/include/k20/forward_list.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/list.h b/cpp/future-backports/include/k20/list.h index 366186e..a7afc89 100644 --- a/cpp/future-backports/include/k20/list.h +++ b/cpp/future-backports/include/k20/list.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/map.h b/cpp/future-backports/include/k20/map.h index 9de257c..5faeb0e 100644 --- a/cpp/future-backports/include/k20/map.h +++ b/cpp/future-backports/include/k20/map.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/set.h b/cpp/future-backports/include/k20/set.h index 585a244..541a07b 100644 --- a/cpp/future-backports/include/k20/set.h +++ b/cpp/future-backports/include/k20/set.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/string.h b/cpp/future-backports/include/k20/string.h index 3e61951..9de6ba2 100644 --- a/cpp/future-backports/include/k20/string.h +++ b/cpp/future-backports/include/k20/string.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/unordered_map.h b/cpp/future-backports/include/k20/unordered_map.h index eaffe1c..923cd70 100644 --- a/cpp/future-backports/include/k20/unordered_map.h +++ b/cpp/future-backports/include/k20/unordered_map.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/unordered_set.h b/cpp/future-backports/include/k20/unordered_set.h index 108ae2f..53c7108 100644 --- a/cpp/future-backports/include/k20/unordered_set.h +++ b/cpp/future-backports/include/k20/unordered_set.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/include/k20/vector.h b/cpp/future-backports/include/k20/vector.h index ff81019..4cdd1c3 100644 --- a/cpp/future-backports/include/k20/vector.h +++ b/cpp/future-backports/include/k20/vector.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/cpp/future-backports/tests/k20/erase_if/tst_erase_if.cpp b/cpp/future-backports/tests/k20/erase_if/tst_erase_if.cpp index 79d83e2..9ac4258 100644 --- a/cpp/future-backports/tests/k20/erase_if/tst_erase_if.cpp +++ b/cpp/future-backports/tests/k20/erase_if/tst_erase_if.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/cpp/propagate_const/propagate_const.h b/cpp/propagate_const/propagate_const.h index 241a883..9621519 100644 --- a/cpp/propagate_const/propagate_const.h +++ b/cpp/propagate_const/propagate_const.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2022-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2022 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/cpp/propagate_const/test/tst_propagate_const.cpp b/cpp/propagate_const/test/tst_propagate_const.cpp index 13a6177..f756860 100644 --- a/cpp/propagate_const/test/tst_propagate_const.cpp +++ b/cpp/propagate_const/test/tst_propagate_const.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/cpp/toContainer/toContainer.h b/cpp/toContainer/toContainer.h index 75254c5..c42011f 100644 --- a/cpp/toContainer/toContainer.h +++ b/cpp/toContainer/toContainer.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/cpp/toContainer/tst_toContainer.cpp b/cpp/toContainer/tst_toContainer.cpp index 0ce648e..d860b4a 100644 --- a/cpp/toContainer/tst_toContainer.cpp +++ b/cpp/toContainer/tst_toContainer.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2021-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/general/asan_assert_fail/asan_assert_fail.c b/general/asan_assert_fail/asan_assert_fail.c index 605a406..9c2750c 100644 --- a/general/asan_assert_fail/asan_assert_fail.c +++ b/general/asan_assert_fail/asan_assert_fail.c @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Milian Wolff SPDX-License-Identifier: MIT diff --git a/qt/KDSignalThrottler/examples/debouncedSearch/main.cpp b/qt/KDSignalThrottler/examples/debouncedSearch/main.cpp index 8aef6b9..5149a40 100644 --- a/qt/KDSignalThrottler/examples/debouncedSearch/main.cpp +++ b/qt/KDSignalThrottler/examples/debouncedSearch/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/KDSignalThrottler/examples/signalThrottlersDemo/main.cpp b/qt/KDSignalThrottler/examples/signalThrottlersDemo/main.cpp index f1ebcb2..a20d04e 100644 --- a/qt/KDSignalThrottler/examples/signalThrottlersDemo/main.cpp +++ b/qt/KDSignalThrottler/examples/signalThrottlersDemo/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/KDSignalThrottler/src/KDSignalThrottler.cpp b/qt/KDSignalThrottler/src/KDSignalThrottler.cpp index e23f267..95ffb1a 100644 --- a/qt/KDSignalThrottler/src/KDSignalThrottler.cpp +++ b/qt/KDSignalThrottler/src/KDSignalThrottler.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/KDSignalThrottler/src/KDSignalThrottler.h b/qt/KDSignalThrottler/src/KDSignalThrottler.h index 4352cf9..00f0fb9 100644 --- a/qt/KDSignalThrottler/src/KDSignalThrottler.h +++ b/qt/KDSignalThrottler/src/KDSignalThrottler.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/KDSignalThrottler/test/tst_KDSignalThrottler.cpp b/qt/KDSignalThrottler/test/tst_KDSignalThrottler.cpp index 720c796..195fa08 100644 --- a/qt/KDSignalThrottler/test/tst_KDSignalThrottler.cpp +++ b/qt/KDSignalThrottler/test/tst_KDSignalThrottler.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/KDSqlDatabaseTransaction/KDSqlDatabaseTransaction.h b/qt/KDSqlDatabaseTransaction/KDSqlDatabaseTransaction.h index 43bf018..06fa409 100644 --- a/qt/KDSqlDatabaseTransaction/KDSqlDatabaseTransaction.h +++ b/qt/KDSqlDatabaseTransaction/KDSqlDatabaseTransaction.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/KDSqlDatabaseTransaction/test/tst_KDSqlDatabaseTransaction.cpp b/qt/KDSqlDatabaseTransaction/test/tst_KDSqlDatabaseTransaction.cpp index aa763e4..9dc4322 100644 --- a/qt/KDSqlDatabaseTransaction/test/tst_KDSqlDatabaseTransaction.cpp +++ b/qt/KDSqlDatabaseTransaction/test/tst_KDSqlDatabaseTransaction.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/asan_assert_fail_qt/asan_assert_fail_qt.cpp b/qt/asan_assert_fail_qt/asan_assert_fail_qt.cpp index b737aa6..e766877 100644 --- a/qt/asan_assert_fail_qt/asan_assert_fail_qt.cpp +++ b/qt/asan_assert_fail_qt/asan_assert_fail_qt.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Milian Wolff SPDX-License-Identifier: MIT diff --git a/qt/cmake-project/cmake-project b/qt/cmake-project/cmake-project index 29d56d7..6ae0fc6 100755 --- a/qt/cmake-project/cmake-project +++ b/qt/cmake-project/cmake-project @@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-FileCopyrightText: 2020-2023 Klaravdalens Datakonsult AB (KDAB), author David Faure +# SPDX-FileCopyrightText: 2020 Klaravdalens Datakonsult AB (KDAB), author David Faure # SPDX-License-Identifier: MIT # Generate a CMakeLists.txt based on the .cpp files in the current directory diff --git a/qt/dpiinfo.h b/qt/dpiinfo.h index e5a3b18..2b8339a 100644 --- a/qt/dpiinfo.h +++ b/qt/dpiinfo.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sérgio Martins SPDX-License-Identifier: MIT diff --git a/qt/eventfilter/eventfilter.h b/qt/eventfilter/eventfilter.h index fe4b916..94edc98 100644 --- a/qt/eventfilter/eventfilter.h +++ b/qt/eventfilter/eventfilter.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sérgio Martins SPDX-License-Identifier: MIT diff --git a/qt/eventfilter/example/main.cpp b/qt/eventfilter/example/main.cpp index d861d7a..a32cc81 100644 --- a/qt/eventfilter/example/main.cpp +++ b/qt/eventfilter/example/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/includemocs/check-includemocs-hook.sh b/qt/includemocs/check-includemocs-hook.sh index e96d3c7..45f0f72 100644 --- a/qt/includemocs/check-includemocs-hook.sh +++ b/qt/includemocs/check-includemocs-hook.sh @@ -1,6 +1,6 @@ # This file is part of KDToolBox. # -# SPDX-FileCopyrightText: 2022-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2022 Klarälvdalens Datakonsult AB, a KDAB Group company # # SPDX-License-Identifier: MIT # diff --git a/qt/includemocs/includemocs.py b/qt/includemocs/includemocs.py index dc78354..0ca6972 100644 --- a/qt/includemocs/includemocs.py +++ b/qt/includemocs/includemocs.py @@ -1,10 +1,13 @@ +#!/usr/bin/env python3 + +# # This file is part of KDToolBox. # -# SPDX-FileCopyrightText: 2022-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2022 Klarälvdalens Datakonsult AB, a KDAB Group company +# Author: Jesper K. Pedersen # # SPDX-License-Identifier: MIT # -#! /usr/bin/env python3 ''' Script to add inclusion of mocs to files recursively. @@ -12,33 +15,6 @@ Script to add inclusion of mocs to files recursively. # pylint: disable=redefined-outer-name -########################################################################## -# MIT License -# -# Copyright (C) 2022-2023 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com -# Author: Jesper K. Pedersen -# -# This file is part of KDToolBox (https://github.com/KDAB/KDToolBox). -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, ** and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next paragraph) -# shall be included in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF ** CONTRACT, TORT OR OTHERWISE, -# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. -########################################################################## - import os import re import argparse diff --git a/qt/messagehandler/example/main.cpp b/qt/messagehandler/example/main.cpp index f0a3a4e..7cf2c86 100644 --- a/qt/messagehandler/example/main.cpp +++ b/qt/messagehandler/example/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/messagehandler/src/messagehandler.cpp b/qt/messagehandler/src/messagehandler.cpp index f602541..2645829 100644 --- a/qt/messagehandler/src/messagehandler.cpp +++ b/qt/messagehandler/src/messagehandler.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/messagehandler/src/messagehandler.h b/qt/messagehandler/src/messagehandler.h index 6a721e0..aa9357e 100644 --- a/qt/messagehandler/src/messagehandler.h +++ b/qt/messagehandler/src/messagehandler.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/messagehandler/tests/messagehandler/tst_messagehandler.cpp b/qt/messagehandler/tests/messagehandler/tst_messagehandler.cpp index 6f8c9ab..03536fb 100644 --- a/qt/messagehandler/tests/messagehandler/tst_messagehandler.cpp +++ b/qt/messagehandler/tests/messagehandler/tst_messagehandler.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/qt/model_view/KDFunctionalSortFilterProxyModel/example/main.cpp b/qt/model_view/KDFunctionalSortFilterProxyModel/example/main.cpp index 93f00c5..341bd38 100644 --- a/qt/model_view/KDFunctionalSortFilterProxyModel/example/main.cpp +++ b/qt/model_view/KDFunctionalSortFilterProxyModel/example/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/KDFunctionalSortFilterProxyModel/src/KDFunctionalSortFilterProxyModel.cpp b/qt/model_view/KDFunctionalSortFilterProxyModel/src/KDFunctionalSortFilterProxyModel.cpp index aab7146..39240b6 100644 --- a/qt/model_view/KDFunctionalSortFilterProxyModel/src/KDFunctionalSortFilterProxyModel.cpp +++ b/qt/model_view/KDFunctionalSortFilterProxyModel/src/KDFunctionalSortFilterProxyModel.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/KDFunctionalSortFilterProxyModel/src/KDFunctionalSortFilterProxyModel.h b/qt/model_view/KDFunctionalSortFilterProxyModel/src/KDFunctionalSortFilterProxyModel.h index dc2f98d..a2e040f 100644 --- a/qt/model_view/KDFunctionalSortFilterProxyModel/src/KDFunctionalSortFilterProxyModel.h +++ b/qt/model_view/KDFunctionalSortFilterProxyModel/src/KDFunctionalSortFilterProxyModel.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/KDFunctionalSortFilterProxyModel/test/tst_kdfunctionalsortfilterproxymodel.cpp b/qt/model_view/KDFunctionalSortFilterProxyModel/test/tst_kdfunctionalsortfilterproxymodel.cpp index ab1d58d..49f06c9 100644 --- a/qt/model_view/KDFunctionalSortFilterProxyModel/test/tst_kdfunctionalsortfilterproxymodel.cpp +++ b/qt/model_view/KDFunctionalSortFilterProxyModel/test/tst_kdfunctionalsortfilterproxymodel.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/KDTableToListProxyModel/examples/countries/main.cpp b/qt/model_view/KDTableToListProxyModel/examples/countries/main.cpp index ce26d7a..b837ff1 100644 --- a/qt/model_view/KDTableToListProxyModel/examples/countries/main.cpp +++ b/qt/model_view/KDTableToListProxyModel/examples/countries/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/KDTableToListProxyModel/examples/countries/main.qml b/qt/model_view/KDTableToListProxyModel/examples/countries/main.qml index 89733b8..4e8b886 100644 --- a/qt/model_view/KDTableToListProxyModel/examples/countries/main.qml +++ b/qt/model_view/KDTableToListProxyModel/examples/countries/main.qml @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/KDTableToListProxyModel/src/KDTableToListProxyModel.cpp b/qt/model_view/KDTableToListProxyModel/src/KDTableToListProxyModel.cpp index 6d4961c..e8823d7 100644 --- a/qt/model_view/KDTableToListProxyModel/src/KDTableToListProxyModel.cpp +++ b/qt/model_view/KDTableToListProxyModel/src/KDTableToListProxyModel.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/KDTableToListProxyModel/src/KDTableToListProxyModel.h b/qt/model_view/KDTableToListProxyModel/src/KDTableToListProxyModel.h index d5a7a53..f65cba1 100644 --- a/qt/model_view/KDTableToListProxyModel/src/KDTableToListProxyModel.h +++ b/qt/model_view/KDTableToListProxyModel/src/KDTableToListProxyModel.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/KDTableToListProxyModel/tests/tst_kdtabletolistproxymodel.cpp b/qt/model_view/KDTableToListProxyModel/tests/tst_kdtabletolistproxymodel.cpp index b91a6b0..a00d4c0 100644 --- a/qt/model_view/KDTableToListProxyModel/tests/tst_kdtabletolistproxymodel.cpp +++ b/qt/model_view/KDTableToListProxyModel/tests/tst_kdtabletolistproxymodel.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/ModelIterator/example/main.cpp b/qt/model_view/ModelIterator/example/main.cpp index 368acdd..996a43c 100644 --- a/qt/model_view/ModelIterator/example/main.cpp +++ b/qt/model_view/ModelIterator/example/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/ModelIterator/src/ModelIterator.cpp b/qt/model_view/ModelIterator/src/ModelIterator.cpp index ce20d34..8ba633c 100644 --- a/qt/model_view/ModelIterator/src/ModelIterator.cpp +++ b/qt/model_view/ModelIterator/src/ModelIterator.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/ModelIterator/src/ModelIterator.h b/qt/model_view/ModelIterator/src/ModelIterator.h index cc53074..6b51bb4 100644 --- a/qt/model_view/ModelIterator/src/ModelIterator.h +++ b/qt/model_view/ModelIterator/src/ModelIterator.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/sortProxyModel/sortproxymodel.cpp b/qt/model_view/sortProxyModel/sortproxymodel.cpp index a3865d9..e2951b3 100644 --- a/qt/model_view/sortProxyModel/sortproxymodel.cpp +++ b/qt/model_view/sortProxyModel/sortproxymodel.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/sortProxyModel/sortproxymodel.h b/qt/model_view/sortProxyModel/sortproxymodel.h index ee0d74a..ba2bf6a 100644 --- a/qt/model_view/sortProxyModel/sortproxymodel.h +++ b/qt/model_view/sortProxyModel/sortproxymodel.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/sortProxyModel/test/tst_sortproxymodeltest.cpp b/qt/model_view/sortProxyModel/test/tst_sortproxymodeltest.cpp index 86d79d5..84db551 100644 --- a/qt/model_view/sortProxyModel/test/tst_sortproxymodeltest.cpp +++ b/qt/model_view/sortProxyModel/test/tst_sortproxymodeltest.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/sortProxyModel/test/vectormodel.h b/qt/model_view/sortProxyModel/test/vectormodel.h index f93056b..1331b9b 100644 --- a/qt/model_view/sortProxyModel/test/vectormodel.h +++ b/qt/model_view/sortProxyModel/test/vectormodel.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/updateableModel/UpdateableModel.h b/qt/model_view/updateableModel/UpdateableModel.h index e0eaa2e..b10e158 100644 --- a/qt/model_view/updateableModel/UpdateableModel.h +++ b/qt/model_view/updateableModel/UpdateableModel.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/updateableModel/example/Data.h b/qt/model_view/updateableModel/example/Data.h index 5f3f80b..9b693d7 100644 --- a/qt/model_view/updateableModel/example/Data.h +++ b/qt/model_view/updateableModel/example/Data.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/updateableModel/example/MainWindow.cpp b/qt/model_view/updateableModel/example/MainWindow.cpp index b867127..dd5ae7c 100644 --- a/qt/model_view/updateableModel/example/MainWindow.cpp +++ b/qt/model_view/updateableModel/example/MainWindow.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/updateableModel/example/MainWindow.h b/qt/model_view/updateableModel/example/MainWindow.h index f936239..a7b8f71 100644 --- a/qt/model_view/updateableModel/example/MainWindow.h +++ b/qt/model_view/updateableModel/example/MainWindow.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/updateableModel/example/main.cpp b/qt/model_view/updateableModel/example/main.cpp index 449e854..509c23e 100644 --- a/qt/model_view/updateableModel/example/main.cpp +++ b/qt/model_view/updateableModel/example/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/model_view/updateableModel/example/tableModel.cpp b/qt/model_view/updateableModel/example/tableModel.cpp index e732ed6..9a3b8df 100644 --- a/qt/model_view/updateableModel/example/tableModel.cpp +++ b/qt/model_view/updateableModel/example/tableModel.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/model_view/updateableModel/example/tableModel.h b/qt/model_view/updateableModel/example/tableModel.h index 658f888..eb4f0e6 100644 --- a/qt/model_view/updateableModel/example/tableModel.h +++ b/qt/model_view/updateableModel/example/tableModel.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/notify_guard/src/notifyguard.cpp b/qt/notify_guard/src/notifyguard.cpp index ee82af5..a94db03 100644 --- a/qt/notify_guard/src/notifyguard.cpp +++ b/qt/notify_guard/src/notifyguard.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/notify_guard/src/notifyguard.h b/qt/notify_guard/src/notifyguard.h index 412d769..1cc90c4 100644 --- a/qt/notify_guard/src/notifyguard.h +++ b/qt/notify_guard/src/notifyguard.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/notify_guard/test/tst_notifyguard.cpp b/qt/notify_guard/test/tst_notifyguard.cpp index d845bfb..9ea3d12 100644 --- a/qt/notify_guard/test/tst_notifyguard.cpp +++ b/qt/notify_guard/test/tst_notifyguard.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/pointer_cast/pointer_cast.h b/qt/pointer_cast/pointer_cast.h index 9adfcc7..bd6f8a5 100644 --- a/qt/pointer_cast/pointer_cast.h +++ b/qt/pointer_cast/pointer_cast.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/pointer_cast/test/tst_pointer_cast.cpp b/qt/pointer_cast/test/tst_pointer_cast.cpp index 3ab046e..b698ebd 100644 --- a/qt/pointer_cast/test/tst_pointer_cast.cpp +++ b/qt/pointer_cast/test/tst_pointer_cast.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/qml/PropertySelector/PropertySelector.cpp b/qt/qml/PropertySelector/PropertySelector.cpp index 33aef9f..249d4e1 100644 --- a/qt/qml/PropertySelector/PropertySelector.cpp +++ b/qt/qml/PropertySelector/PropertySelector.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/qml/PropertySelector/PropertySelector.h b/qt/qml/PropertySelector/PropertySelector.h index a33a3d4..3ec2589 100644 --- a/qt/qml/PropertySelector/PropertySelector.h +++ b/qt/qml/PropertySelector/PropertySelector.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: André Somers SPDX-License-Identifier: MIT diff --git a/qt/qml/QmlStackTraceHelper/QmlStackTraceHelper.cpp b/qt/qml/QmlStackTraceHelper/QmlStackTraceHelper.cpp index 58fc801..a58c0f2 100644 --- a/qt/qml/QmlStackTraceHelper/QmlStackTraceHelper.cpp +++ b/qt/qml/QmlStackTraceHelper/QmlStackTraceHelper.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sérgio Martins SPDX-License-Identifier: MIT diff --git a/qt/qml/QmlStackTraceHelper/example/main.cpp b/qt/qml/QmlStackTraceHelper/example/main.cpp index db5a91f..314ea93 100644 --- a/qt/qml/QmlStackTraceHelper/example/main.cpp +++ b/qt/qml/QmlStackTraceHelper/example/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/qml/QmlStackTraceHelper/example/main.qml b/qt/qml/QmlStackTraceHelper/example/main.qml index 46d0f33..9e8e6d6 100644 --- a/qt/qml/QmlStackTraceHelper/example/main.qml +++ b/qt/qml/QmlStackTraceHelper/example/main.qml @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/qt_fmt/qt_fmt.h b/qt/qt_fmt/qt_fmt.h index 240d61c..c4272f5 100644 --- a/qt/qt_fmt/qt_fmt.h +++ b/qt/qt_fmt/qt_fmt.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/qt_fmt/test/tst_qt_fmt.cpp b/qt/qt_fmt/test/tst_qt_fmt.cpp index 6293455..cb67032 100644 --- a/qt/qt_fmt/test/tst_qt_fmt.cpp +++ b/qt/qt_fmt/test/tst_qt_fmt.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/qt_hasher/qt_hasher.h b/qt/qt_hasher/qt_hasher.h index 0dc5fda..34f4af6 100644 --- a/qt/qt_hasher/qt_hasher.h +++ b/qt/qt_hasher/qt_hasher.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/qt_hasher/test/tst_qt_hasher.cpp b/qt/qt_hasher/test/tst_qt_hasher.cpp index 9ae03ae..88b3e25 100644 --- a/qt/qt_hasher/test/tst_qt_hasher.cpp +++ b/qt/qt_hasher/test/tst_qt_hasher.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/qt_hasher/test/tst_qt_hasher.h b/qt/qt_hasher/test/tst_qt_hasher.h index d86c936..fd87573 100644 --- a/qt/qt_hasher/test/tst_qt_hasher.h +++ b/qt/qt_hasher/test/tst_qt_hasher.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/singleshot_connect/singleshot_connect.h b/qt/singleshot_connect/singleshot_connect.h index 9fb8fa4..e319641 100644 --- a/qt/singleshot_connect/singleshot_connect.h +++ b/qt/singleshot_connect/singleshot_connect.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Giuseppe D'Angelo SPDX-License-Identifier: MIT diff --git a/qt/singleshot_connect/test/tst_singleshot_connect.cpp b/qt/singleshot_connect/test/tst_singleshot_connect.cpp index 31e6463..d12913d 100644 --- a/qt/singleshot_connect/test/tst_singleshot_connect.cpp +++ b/qt/singleshot_connect/test/tst_singleshot_connect.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/stringtokenizer/include/QtCore/qstringtokenizer.h b/qt/stringtokenizer/include/QtCore/qstringtokenizer.h index db30869..cbd4c2f 100644 --- a/qt/stringtokenizer/include/QtCore/qstringtokenizer.h +++ b/qt/stringtokenizer/include/QtCore/qstringtokenizer.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/stringtokenizer/include/qstringtokenizer.h b/qt/stringtokenizer/include/qstringtokenizer.h index b3e29e3..3209b73 100644 --- a/qt/stringtokenizer/include/qstringtokenizer.h +++ b/qt/stringtokenizer/include/qstringtokenizer.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/qt/stringtokenizer/src/qstringtokenizer.cpp b/qt/stringtokenizer/src/qstringtokenizer.cpp index d43ac85..f9ad145 100644 --- a/qt/stringtokenizer/src/qstringtokenizer.cpp +++ b/qt/stringtokenizer/src/qstringtokenizer.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Marc Mutz SPDX-License-Identifier: MIT diff --git a/qt/stringtokenizer/tests/qstringtokenizer/tst_qstringtokenizer.cpp b/qt/stringtokenizer/tests/qstringtokenizer/tst_qstringtokenizer.cpp index 41ebe18..6e27795 100644 --- a/qt/stringtokenizer/tests/qstringtokenizer/tst_qstringtokenizer.cpp +++ b/qt/stringtokenizer/tests/qstringtokenizer/tst_qstringtokenizer.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company SPDX-License-Identifier: MIT */ diff --git a/qt/tabWindow/example/main.cpp b/qt/tabWindow/example/main.cpp index 1f989b6..c3dd7b8 100644 --- a/qt/tabWindow/example/main.cpp +++ b/qt/tabWindow/example/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Nicolas Arnaud-Cormos SPDX-License-Identifier: MIT diff --git a/qt/tabWindow/src/tabwindow.cpp b/qt/tabWindow/src/tabwindow.cpp index 6c5fc09..b8df920 100644 --- a/qt/tabWindow/src/tabwindow.cpp +++ b/qt/tabWindow/src/tabwindow.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Nicolas Arnaud-Cormos SPDX-License-Identifier: MIT diff --git a/qt/tabWindow/src/tabwindow.h b/qt/tabWindow/src/tabwindow.h index 61a249d..d7e4ed9 100644 --- a/qt/tabWindow/src/tabwindow.h +++ b/qt/tabWindow/src/tabwindow.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2020-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Nicolas Arnaud-Cormos SPDX-License-Identifier: MIT diff --git a/qt/ui_watchdog/example/main.cpp b/qt/ui_watchdog/example/main.cpp index 069235c..21aa9bb 100644 --- a/qt/ui_watchdog/example/main.cpp +++ b/qt/ui_watchdog/example/main.cpp @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2017-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sérgio Martins SPDX-License-Identifier: MIT diff --git a/qt/ui_watchdog/uiwatchdog.h b/qt/ui_watchdog/uiwatchdog.h index fc0784a..4055213 100644 --- a/qt/ui_watchdog/uiwatchdog.h +++ b/qt/ui_watchdog/uiwatchdog.h @@ -1,7 +1,7 @@ /* This file is part of KDToolBox. - SPDX-FileCopyrightText: 2018-2023 Klarälvdalens Datakonsult AB, a KDAB Group company + SPDX-FileCopyrightText: 2018 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sérgio Martins SPDX-License-Identifier: MIT diff --git a/squish/kdrunsquish.py b/squish/kdrunsquish.py index e419d6e..288c17d 100644 --- a/squish/kdrunsquish.py +++ b/squish/kdrunsquish.py @@ -1,32 +1,12 @@ +#!/usr/bin/env python3 + +# # This file is part of KDToolBox. # -# SPDX-FileCopyrightText: 2022-2023 Klarälvdalens Datakonsult AB, a KDAB Group company +# SPDX-FileCopyrightText: 2022 Klarälvdalens Datakonsult AB, a KDAB Group company # # SPDX-License-Identifier: MIT # -#!/usr/bin/env python3 - -# MIT License - -# Copyright (C) 2022-2023 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com - -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: - -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. - -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE """ This script runs squish tests in parallel via the Qt offscreen QPA