From 78ae5c02118cd750806b780112c4e7dd0e8743de Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Fri, 27 Mar 2026 12:07:56 +0200 Subject: [PATCH] Generate SBOM info IB-8704 Signed-off-by: Raul Metsma --- .github/workflows/build.yml | 31 ++- .gitmodules | 4 + AppxManifest.xml.cmake | 4 +- CMakeLists.txt | 4 + client/Application.cpp | 20 +- client/Application.h | 20 +- client/Application_mac.mm | 20 +- client/CDoc1.cpp | 20 +- client/CDoc1.h | 20 +- client/CDoc2.cpp | 20 +- client/CDoc2.h | 20 +- client/CMakeLists.txt | 3 + client/CheckConnection.cpp | 20 +- client/CheckConnection.h | 20 +- client/Crypto.cpp | 20 +- client/Crypto.h | 20 +- client/CryptoDoc.cpp | 20 +- client/CryptoDoc.h | 20 +- client/DateTime.cpp | 20 +- client/DateTime.h | 20 +- client/Diagnostics.cpp | 21 +- client/Diagnostics.h | 20 +- client/DiagnosticsTask.cpp | 21 +- client/DiagnosticsTask.h | 20 +- client/Diagnostics_unix.cpp | 20 +- client/Diagnostics_win.cpp | 20 +- client/DigiDoc.cpp | 20 +- client/DigiDoc.h | 21 +- client/DocumentModel.cpp | 20 +- client/DocumentModel.h | 21 +- client/IKValidator.cpp | 20 +- client/IKValidator.h | 20 +- client/LdapSearch.cpp | 20 +- client/LdapSearch.h | 20 +- client/MacMenuBar.cpp | 20 +- client/MacMenuBar.h | 20 +- client/MainWindow.cpp | 20 +- client/MainWindow.h | 20 +- client/MainWindow.ui | 2 + client/PrintSheet.cpp | 20 +- client/PrintSheet.h | 20 +- client/QCNG.cpp | 20 +- client/QCNG.h | 20 +- client/QCryptoBackend.cpp | 20 +- client/QCryptoBackend.h | 20 +- client/QPCSC.cpp | 20 +- client/QPCSC.h | 20 +- client/QPCSC_p.h | 20 +- client/QPKCS11.cpp | 20 +- client/QPKCS11.h | 20 +- client/QPKCS11_p.h | 20 +- client/QSigner.cpp | 20 +- client/QSigner.h | 20 +- client/QSmartCard.cpp | 20 +- client/QSmartCard.h | 20 +- client/QSmartCard_p.h | 20 +- client/Settings.cpp | 20 +- client/Settings.h | 20 +- client/SslCertificate.cpp | 20 +- client/SslCertificate.h | 20 +- client/TokenData.cpp | 20 +- client/TokenData.h | 20 +- client/Utils.h | 20 +- client/common_enums.h | 20 +- client/dialogs/AddRecipients.cpp | 21 +- client/dialogs/AddRecipients.h | 20 +- client/dialogs/AddRecipients.ui | 2 + client/dialogs/CertificateDetails.cpp | 21 +- client/dialogs/CertificateDetails.h | 20 +- client/dialogs/CertificateDetails.ui | 2 + client/dialogs/CertificateDetails_mac.mm | 20 +- client/dialogs/CertificateHistory.cpp | 20 +- client/dialogs/CertificateHistory.h | 20 +- client/dialogs/CertificateHistory.ui | 2 + client/dialogs/FileDialog.cpp | 20 +- client/dialogs/FileDialog.h | 20 +- client/dialogs/FirstRun.cpp | 20 +- client/dialogs/FirstRun.h | 20 +- client/dialogs/FirstRun.ui | 2 + client/dialogs/KeyDialog.cpp | 20 +- client/dialogs/KeyDialog.h | 20 +- client/dialogs/KeyDialog.ui | 2 + client/dialogs/MobileDialog.cpp | 20 +- client/dialogs/MobileDialog.h | 20 +- client/dialogs/MobileDialog.ui | 2 + client/dialogs/MobileProgress.cpp | 20 +- client/dialogs/MobileProgress.h | 20 +- client/dialogs/MobileProgress.ui | 2 + client/dialogs/PinPopup.cpp | 20 +- client/dialogs/PinPopup.h | 20 +- client/dialogs/PinPopup.ui | 2 + client/dialogs/PinUnblock.cpp | 20 +- client/dialogs/PinUnblock.h | 20 +- client/dialogs/PinUnblock.ui | 2 + client/dialogs/RoleAddressDialog.cpp | 20 +- client/dialogs/RoleAddressDialog.h | 20 +- client/dialogs/RoleAddressDialog.ui | 2 + client/dialogs/SettingsDialog.cpp | 20 +- client/dialogs/SettingsDialog.h | 20 +- client/dialogs/SettingsDialog.ui | 2 + client/dialogs/SignatureDialog.cpp | 21 +- client/dialogs/SignatureDialog.h | 20 +- client/dialogs/SignatureDialog.ui | 2 + client/dialogs/SmartIDDialog.cpp | 20 +- client/dialogs/SmartIDDialog.h | 20 +- client/dialogs/SmartIDDialog.ui | 2 + client/dialogs/SmartIDProgress.cpp | 20 +- client/dialogs/SmartIDProgress.h | 20 +- client/dialogs/WaitDialog.cpp | 20 +- client/dialogs/WaitDialog.h | 20 +- client/dialogs/WaitDialog.ui | 2 + client/dialogs/WarningDialog.cpp | 20 +- client/dialogs/WarningDialog.h | 20 +- client/dialogs/WarningDialog.ui | 2 + client/download_tsl.py | 3 + client/ee.ria.qdigidoc4.desktop | 3 + client/ee.ria.qdigidoc4.metainfo.xml | 2 + client/effects/FadeInNotification.cpp | 20 +- client/effects/FadeInNotification.h | 20 +- client/effects/Overlay.cpp | 20 +- client/effects/Overlay.h | 20 +- client/mac/Info.plist.cmake | 2 + client/main.cpp | 20 +- client/qdigidoc4.1.cmake | 3 + client/qdigidoc4.rc | 3 + client/qdigidoc4.xml | 2 + client/widgets/Accordion.cpp | 20 +- client/widgets/Accordion.h | 20 +- client/widgets/Accordion.ui | 2 + client/widgets/AccordionTitle.cpp | 21 +- client/widgets/AccordionTitle.h | 20 +- client/widgets/AddressItem.cpp | 20 +- client/widgets/AddressItem.h | 20 +- client/widgets/AddressItem.ui | 2 + client/widgets/CardPopup.cpp | 20 +- client/widgets/CardPopup.h | 20 +- client/widgets/CardWidget.cpp | 20 +- client/widgets/CardWidget.h | 20 +- client/widgets/CardWidget.ui | 2 + client/widgets/ComboBox.cpp | 20 +- client/widgets/ComboBox.h | 20 +- client/widgets/ContainerPage.cpp | 20 +- client/widgets/ContainerPage.h | 20 +- client/widgets/ContainerPage.ui | 2 + client/widgets/FileItem.cpp | 20 +- client/widgets/FileItem.h | 20 +- client/widgets/FileItem.ui | 2 + client/widgets/FileList.cpp | 20 +- client/widgets/FileList.h | 20 +- client/widgets/InfoStack.cpp | 20 +- client/widgets/InfoStack.h | 20 +- client/widgets/InfoStack.ui | 2 + client/widgets/Item.cpp | 20 +- client/widgets/Item.h | 20 +- client/widgets/ItemList.cpp | 20 +- client/widgets/ItemList.h | 20 +- client/widgets/ItemList.ui | 2 + client/widgets/Label.cpp | 20 +- client/widgets/Label.h | 20 +- client/widgets/LineEdit.cpp | 20 +- client/widgets/LineEdit.h | 20 +- client/widgets/MainAction.cpp | 20 +- client/widgets/MainAction.h | 20 +- client/widgets/MainAction.ui | 2 + client/widgets/NoCardInfo.cpp | 20 +- client/widgets/NoCardInfo.h | 20 +- client/widgets/NoCardInfo.ui | 2 + client/widgets/PageIcon.cpp | 20 +- client/widgets/PageIcon.h | 20 +- client/widgets/SignatureItem.cpp | 20 +- client/widgets/SignatureItem.h | 20 +- client/widgets/SignatureItem.ui | 2 + client/widgets/StyledWidget.cpp | 20 +- client/widgets/StyledWidget.h | 20 +- client/widgets/VerifyCert.cpp | 20 +- client/widgets/VerifyCert.h | 20 +- client/widgets/VerifyCert.ui | 2 + client/widgets/WarningItem.cpp | 20 +- client/widgets/WarningItem.h | 20 +- client/widgets/WarningItem.ui | 2 + client/widgets/WarningList.h | 20 +- cmake/cmake-sbom | 1 + cmake/modules/FindLDAP.cmake | 3 + cmake/sbom.cmake | 260 ++++++++++++++++++ extensions/DigiDocQL/CMakeLists.txt | 3 + extensions/DigiDocQL/Info.plist.cmake | 2 + extensions/DigiDocQL/PreviewViewController.mm | 20 +- extensions/kde/CMakeLists.txt | 3 + extensions/kde/qdigidoc-signer.desktop | 3 + extensions/nautilus/CMakeLists.txt | 3 + extensions/nautilus/nautilus-qdigidoc.py | 21 +- extensions/nautilus/po/update-po.sh | 9 +- extensions/windows/CMakeLists.txt | 3 + extensions/windows/EsteidShellExtension.cpp | 20 +- extensions/windows/EsteidShellExtension.rc | 20 +- extensions/windows/EsteidShellExtension.wxs | 5 +- extensions/windows/EsteidShellExtensionV2.cpp | 20 +- extensions/windows/resource.h | 20 +- prepare_osx_build_environment.sh | 2 + qdigidoc4.wxs | 3 + 200 files changed, 700 insertions(+), 2669 deletions(-) create mode 160000 cmake/cmake-sbom create mode 100644 cmake/sbom.cmake diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e46a83b58..470d772b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: with: submodules: recursive - name: Download artifact - uses: dawidd6/action-download-artifact@v11 + uses: dawidd6/action-download-artifact@v19 with: workflow: build.yml branch: master @@ -60,11 +60,14 @@ jobs: cmake --build build --target zipdebug cmake --build build --target macdeployqt cmake --build build --target zip + cmake --install build/sbom - name: Archive artifacts uses: actions/upload-artifact@v6 with: name: macOS - path: build/qdigidoc4*.zip + path: | + build/qdigidoc4*.zip + build/qdigidoc4*.spdx ubuntu: name: Build on Ubuntu ${{ matrix.container }} ${{ matrix.arch }} runs-on: ubuntu-24.04${{ matrix.arch == 'arm64' && '-arm' || '' }} @@ -79,7 +82,7 @@ jobs: DEBEMAIL: github-actions@github.com steps: - name: Download artifact - uses: dawidd6/action-download-artifact@v11 + uses: dawidd6/action-download-artifact@v19 with: workflow: build.yml branch: master @@ -104,13 +107,18 @@ jobs: run: | dpkg-buildpackage -us -uc mv ../qdigidoc4*.* . + cmake -B build -S . + cmake --install build/sbom + mv build/qdigidoc4*.spdx . - name: Lintian run: lintian *.deb; - name: Archive artifacts uses: actions/upload-artifact@v6 with: name: ubuntu_${{ matrix.container }}_${{ matrix.arch }} - path: qdigidoc4*.* + path: | + qdigidoc4*.* + qdigidoc4*.spdx fedora: name: Build on Fedora ${{ matrix.container }} runs-on: ubuntu-latest @@ -120,7 +128,7 @@ jobs: container: [42, 43] steps: - name: Download artifact - uses: dawidd6/action-download-artifact@v11 + uses: dawidd6/action-download-artifact@v19 with: workflow: build.yml branch: master @@ -134,11 +142,14 @@ jobs: run: | cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S . cmake --build build --target all package + cmake --install build/sbom - name: Archive artifacts uses: actions/upload-artifact@v6 with: name: fedora_${{ matrix.container }} - path: build/qdigidoc4*.rpm + path: | + build/qdigidoc4*.rpm + build/qdigidoc4*.spdx windows: name: Build on Windows runs-on: ${{ matrix.platform == 'arm64' && 'windows-11-arm' || 'windows-2025' }} @@ -151,7 +162,7 @@ jobs: steps: - *Checkout - name: Download artifact - uses: dawidd6/action-download-artifact@v11 + uses: dawidd6/action-download-artifact@v19 with: workflow: build.yml branch: master @@ -190,6 +201,7 @@ jobs: cmake --build build --target msi cmake --build build --target msishellext cmake --build build --target appx + cmake --install build/sbom - name: Archive artifacts uses: actions/upload-artifact@v6 with: @@ -197,6 +209,7 @@ jobs: path: | build/*.msi build/*.appx + build/*.spdx coverity: name: Run Coverity tests if: github.repository == 'open-eid/DigiDoc4-Client' && contains(github.ref, 'coverity_scan') @@ -207,7 +220,7 @@ jobs: steps: - *Checkout - name: Download artifact - uses: dawidd6/action-download-artifact@v11 + uses: dawidd6/action-download-artifact@v19 with: workflow: build.yml branch: master @@ -246,7 +259,7 @@ jobs: steps: - *Checkout - name: Download artifact - uses: dawidd6/action-download-artifact@v11 + uses: dawidd6/action-download-artifact@v19 with: workflow: build.yml branch: master diff --git a/.gitmodules b/.gitmodules index eed6069ba..af9a92418 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,7 @@ [submodule "common"] path = common url = ../qt-common +[submodule "cmake/cmake-sbom"] + path = cmake/cmake-sbom + url = https://github.com/DEMCON/cmake-sbom.git + branch = v1.4.0 diff --git a/AppxManifest.xml.cmake b/AppxManifest.xml.cmake index af9bd3765..09803ae00 100644 --- a/AppxManifest.xml.cmake +++ b/AppxManifest.xml.cmake @@ -1,4 +1,6 @@ - + + + diff --git a/client/DiagnosticsTask.h b/client/DiagnosticsTask.h index 8e106c607..e56f76943 100644 --- a/client/DiagnosticsTask.h +++ b/client/DiagnosticsTask.h @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/Diagnostics_unix.cpp b/client/Diagnostics_unix.cpp index d36da789a..bd4cf297a 100644 --- a/client/Diagnostics_unix.cpp +++ b/client/Diagnostics_unix.cpp @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "Diagnostics.h" diff --git a/client/Diagnostics_win.cpp b/client/Diagnostics_win.cpp index 441e1b328..6a5fe4001 100644 --- a/client/Diagnostics_win.cpp +++ b/client/Diagnostics_win.cpp @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "Diagnostics.h" diff --git a/client/DigiDoc.cpp b/client/DigiDoc.cpp index 7a3c16a16..da540e450 100644 --- a/client/DigiDoc.cpp +++ b/client/DigiDoc.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "DigiDoc.h" diff --git a/client/DigiDoc.h b/client/DigiDoc.h index ae975defb..b0af94fb0 100644 --- a/client/DigiDoc.h +++ b/client/DigiDoc.h @@ -1,21 +1,6 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later + #pragma once #include "common_enums.h" diff --git a/client/DocumentModel.cpp b/client/DocumentModel.cpp index 0e04ea5af..88505b736 100644 --- a/client/DocumentModel.cpp +++ b/client/DocumentModel.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "DocumentModel.h" diff --git a/client/DocumentModel.h b/client/DocumentModel.h index 192b9ed21..5b3d0eefc 100644 --- a/client/DocumentModel.h +++ b/client/DocumentModel.h @@ -1,21 +1,6 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later + #pragma once #include diff --git a/client/IKValidator.cpp b/client/IKValidator.cpp index f7e1e70ee..118ed7e0b 100644 --- a/client/IKValidator.cpp +++ b/client/IKValidator.cpp @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "IKValidator.h" diff --git a/client/IKValidator.h b/client/IKValidator.h index 483335ada..221d5f0ea 100644 --- a/client/IKValidator.h +++ b/client/IKValidator.h @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/LdapSearch.cpp b/client/LdapSearch.cpp index 7c725e9dc..433d8abde 100644 --- a/client/LdapSearch.cpp +++ b/client/LdapSearch.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDocCrypto - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "LdapSearch.h" diff --git a/client/LdapSearch.h b/client/LdapSearch.h index e8a0d336d..4bc5e7723 100644 --- a/client/LdapSearch.h +++ b/client/LdapSearch.h @@ -1,21 +1,5 @@ -/* - * QDigiDocCrypto - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/MacMenuBar.cpp b/client/MacMenuBar.cpp index 9e8662d29..0b5951f19 100644 --- a/client/MacMenuBar.cpp +++ b/client/MacMenuBar.cpp @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "MacMenuBar.h" diff --git a/client/MacMenuBar.h b/client/MacMenuBar.h index f031ade95..22f548ea0 100644 --- a/client/MacMenuBar.h +++ b/client/MacMenuBar.h @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/MainWindow.cpp b/client/MainWindow.cpp index c386f8349..01fd76752 100644 --- a/client/MainWindow.cpp +++ b/client/MainWindow.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "MainWindow.h" #include "ui_MainWindow.h" diff --git a/client/MainWindow.h b/client/MainWindow.h index 393b25398..1df378394 100644 --- a/client/MainWindow.h +++ b/client/MainWindow.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/MainWindow.ui b/client/MainWindow.ui index 68bedf5d5..2c755872c 100644 --- a/client/MainWindow.ui +++ b/client/MainWindow.ui @@ -1,4 +1,6 @@ + + MainWindow diff --git a/client/PrintSheet.cpp b/client/PrintSheet.cpp index 74f2e7d19..4b0ed7142 100644 --- a/client/PrintSheet.cpp +++ b/client/PrintSheet.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "PrintSheet.h" diff --git a/client/PrintSheet.h b/client/PrintSheet.h index e4c44883e..5a4bc2970 100644 --- a/client/PrintSheet.h +++ b/client/PrintSheet.h @@ -1,21 +1,5 @@ -/* - * QDigiDocClient - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QCNG.cpp b/client/QCNG.cpp index 7107299e5..800b4fd4a 100644 --- a/client/QCNG.cpp +++ b/client/QCNG.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "QCNG.h" diff --git a/client/QCNG.h b/client/QCNG.h index 279860ab5..1a6acae47 100644 --- a/client/QCNG.h +++ b/client/QCNG.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QCryptoBackend.cpp b/client/QCryptoBackend.cpp index 254ebe201..97c003453 100644 --- a/client/QCryptoBackend.cpp +++ b/client/QCryptoBackend.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "QCryptoBackend.h" diff --git a/client/QCryptoBackend.h b/client/QCryptoBackend.h index 210826b96..2713e91d5 100644 --- a/client/QCryptoBackend.h +++ b/client/QCryptoBackend.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QPCSC.cpp b/client/QPCSC.cpp index 3999ecd5e..2d3ecd36c 100644 --- a/client/QPCSC.cpp +++ b/client/QPCSC.cpp @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "QPCSC_p.h" diff --git a/client/QPCSC.h b/client/QPCSC.h index 5e313b30a..406279d8e 100644 --- a/client/QPCSC.h +++ b/client/QPCSC.h @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QPCSC_p.h b/client/QPCSC_p.h index 7fd830fe8..95c5e5043 100644 --- a/client/QPCSC_p.h +++ b/client/QPCSC_p.h @@ -1,21 +1,5 @@ -/* - * QEstEidCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QPKCS11.cpp b/client/QPKCS11.cpp index 1afb68488..f38451d75 100644 --- a/client/QPKCS11.cpp +++ b/client/QPKCS11.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "QPKCS11_p.h" diff --git a/client/QPKCS11.h b/client/QPKCS11.h index 468e7e23b..be6baf34e 100644 --- a/client/QPKCS11.h +++ b/client/QPKCS11.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QPKCS11_p.h b/client/QPKCS11_p.h index c80e6b21f..e3a028726 100644 --- a/client/QPKCS11_p.h +++ b/client/QPKCS11_p.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QSigner.cpp b/client/QSigner.cpp index a329d1fbe..f148227ea 100644 --- a/client/QSigner.cpp +++ b/client/QSigner.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "QSigner.h" diff --git a/client/QSigner.h b/client/QSigner.h index 5468b99bf..95ba22ac7 100644 --- a/client/QSigner.h +++ b/client/QSigner.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QSmartCard.cpp b/client/QSmartCard.cpp index 349e95ad6..4391aad36 100644 --- a/client/QSmartCard.cpp +++ b/client/QSmartCard.cpp @@ -1,21 +1,5 @@ -/* - * QEstEidUtil - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "QSmartCard_p.h" diff --git a/client/QSmartCard.h b/client/QSmartCard.h index 390a7a099..7dd1b87a3 100644 --- a/client/QSmartCard.h +++ b/client/QSmartCard.h @@ -1,21 +1,5 @@ -/* - * QEstEidUtil - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/QSmartCard_p.h b/client/QSmartCard_p.h index af62b11d8..fa041580f 100644 --- a/client/QSmartCard_p.h +++ b/client/QSmartCard_p.h @@ -1,21 +1,5 @@ -/* - * QEstEidUtil - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "QSmartCard.h" diff --git a/client/Settings.cpp b/client/Settings.cpp index 54a7743bc..d866eb6df 100644 --- a/client/Settings.cpp +++ b/client/Settings.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "Settings.h" diff --git a/client/Settings.h b/client/Settings.h index d55a03695..143a9ed10 100644 --- a/client/Settings.h +++ b/client/Settings.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/SslCertificate.cpp b/client/SslCertificate.cpp index f262aa76e..02cbc4b07 100644 --- a/client/SslCertificate.cpp +++ b/client/SslCertificate.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "SslCertificate.h" diff --git a/client/SslCertificate.h b/client/SslCertificate.h index 3351beb49..26b488673 100644 --- a/client/SslCertificate.h +++ b/client/SslCertificate.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/TokenData.cpp b/client/TokenData.cpp index cfca1e6be..aad789420 100644 --- a/client/TokenData.cpp +++ b/client/TokenData.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDocCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "TokenData.h" diff --git a/client/TokenData.h b/client/TokenData.h index 1a3176fba..62d971756 100644 --- a/client/TokenData.h +++ b/client/TokenData.h @@ -1,21 +1,5 @@ -/* - * QDigiDocCommon - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/Utils.h b/client/Utils.h index 4038e5f53..b0f9240d0 100644 --- a/client/Utils.h +++ b/client/Utils.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/common_enums.h b/client/common_enums.h index b2b5fc751..0ee4ff11b 100644 --- a/client/common_enums.h +++ b/client/common_enums.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/AddRecipients.cpp b/client/dialogs/AddRecipients.cpp index 9cbf33fd4..357ac3e62 100644 --- a/client/dialogs/AddRecipients.cpp +++ b/client/dialogs/AddRecipients.cpp @@ -1,22 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "AddRecipients.h" #include "ui_AddRecipients.h" diff --git a/client/dialogs/AddRecipients.h b/client/dialogs/AddRecipients.h index 4998f5174..6faf30be3 100644 --- a/client/dialogs/AddRecipients.h +++ b/client/dialogs/AddRecipients.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/AddRecipients.ui b/client/dialogs/AddRecipients.ui index 92c521200..47f8be768 100644 --- a/client/dialogs/AddRecipients.ui +++ b/client/dialogs/AddRecipients.ui @@ -1,4 +1,6 @@ + + AddRecipients diff --git a/client/dialogs/CertificateDetails.cpp b/client/dialogs/CertificateDetails.cpp index f679e3ae7..a68750adc 100644 --- a/client/dialogs/CertificateDetails.cpp +++ b/client/dialogs/CertificateDetails.cpp @@ -1,22 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "CertificateDetails.h" #include "ui_CertificateDetails.h" diff --git a/client/dialogs/CertificateDetails.h b/client/dialogs/CertificateDetails.h index 23bda8dff..2f9252860 100644 --- a/client/dialogs/CertificateDetails.h +++ b/client/dialogs/CertificateDetails.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/CertificateDetails.ui b/client/dialogs/CertificateDetails.ui index 6b43af9af..76a82404e 100644 --- a/client/dialogs/CertificateDetails.ui +++ b/client/dialogs/CertificateDetails.ui @@ -1,4 +1,6 @@ + + CertificateDetails diff --git a/client/dialogs/CertificateDetails_mac.mm b/client/dialogs/CertificateDetails_mac.mm index b211fe164..0a791e9c4 100644 --- a/client/dialogs/CertificateDetails_mac.mm +++ b/client/dialogs/CertificateDetails_mac.mm @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "CertificateDetails.h" diff --git a/client/dialogs/CertificateHistory.cpp b/client/dialogs/CertificateHistory.cpp index 02ad980d2..31ac0d456 100644 --- a/client/dialogs/CertificateHistory.cpp +++ b/client/dialogs/CertificateHistory.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDocCrypto - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "CertificateHistory.h" #include "ui_CertificateHistory.h" diff --git a/client/dialogs/CertificateHistory.h b/client/dialogs/CertificateHistory.h index 7d74258ba..69db96814 100644 --- a/client/dialogs/CertificateHistory.h +++ b/client/dialogs/CertificateHistory.h @@ -1,21 +1,5 @@ -/* - * QDigiDocCrypto - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/CertificateHistory.ui b/client/dialogs/CertificateHistory.ui index f0a5650f3..7a6ed06d8 100644 --- a/client/dialogs/CertificateHistory.ui +++ b/client/dialogs/CertificateHistory.ui @@ -1,4 +1,6 @@ + + CertificateHistory diff --git a/client/dialogs/FileDialog.cpp b/client/dialogs/FileDialog.cpp index ddb891b46..222c08b41 100644 --- a/client/dialogs/FileDialog.cpp +++ b/client/dialogs/FileDialog.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "FileDialog.h" diff --git a/client/dialogs/FileDialog.h b/client/dialogs/FileDialog.h index 0de2d4d83..1372cf0fe 100644 --- a/client/dialogs/FileDialog.h +++ b/client/dialogs/FileDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/FirstRun.cpp b/client/dialogs/FirstRun.cpp index 7631f80c2..a78b63fc3 100644 --- a/client/dialogs/FirstRun.cpp +++ b/client/dialogs/FirstRun.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "FirstRun.h" #include "ui_FirstRun.h" diff --git a/client/dialogs/FirstRun.h b/client/dialogs/FirstRun.h index 2d2299a86..1fcaa4b03 100644 --- a/client/dialogs/FirstRun.h +++ b/client/dialogs/FirstRun.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/FirstRun.ui b/client/dialogs/FirstRun.ui index 8b1f44ce6..3091b2c80 100644 --- a/client/dialogs/FirstRun.ui +++ b/client/dialogs/FirstRun.ui @@ -1,4 +1,6 @@ + + FirstRun diff --git a/client/dialogs/KeyDialog.cpp b/client/dialogs/KeyDialog.cpp index 69f43f9ce..b1300a67f 100644 --- a/client/dialogs/KeyDialog.cpp +++ b/client/dialogs/KeyDialog.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDocCrypto - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "KeyDialog.h" #include "ui_KeyDialog.h" diff --git a/client/dialogs/KeyDialog.h b/client/dialogs/KeyDialog.h index f65afe7c7..4b6e2eb09 100644 --- a/client/dialogs/KeyDialog.h +++ b/client/dialogs/KeyDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDocCrypto - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/KeyDialog.ui b/client/dialogs/KeyDialog.ui index ea07b4dd8..85f733322 100644 --- a/client/dialogs/KeyDialog.ui +++ b/client/dialogs/KeyDialog.ui @@ -1,4 +1,6 @@ + + KeyDialog diff --git a/client/dialogs/MobileDialog.cpp b/client/dialogs/MobileDialog.cpp index b19606d01..a212696fa 100644 --- a/client/dialogs/MobileDialog.cpp +++ b/client/dialogs/MobileDialog.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "MobileDialog.h" #include "ui_MobileDialog.h" diff --git a/client/dialogs/MobileDialog.h b/client/dialogs/MobileDialog.h index 7875dba7d..e5b2ed315 100644 --- a/client/dialogs/MobileDialog.h +++ b/client/dialogs/MobileDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/MobileDialog.ui b/client/dialogs/MobileDialog.ui index 5fb98339b..785f89269 100644 --- a/client/dialogs/MobileDialog.ui +++ b/client/dialogs/MobileDialog.ui @@ -1,4 +1,6 @@ + + MobileDialog diff --git a/client/dialogs/MobileProgress.cpp b/client/dialogs/MobileProgress.cpp index d78131636..f55b5292f 100644 --- a/client/dialogs/MobileProgress.cpp +++ b/client/dialogs/MobileProgress.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "MobileProgress.h" #include "ui_MobileProgress.h" diff --git a/client/dialogs/MobileProgress.h b/client/dialogs/MobileProgress.h index d8db2e232..2b8650436 100644 --- a/client/dialogs/MobileProgress.h +++ b/client/dialogs/MobileProgress.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/MobileProgress.ui b/client/dialogs/MobileProgress.ui index b9edf5b73..0548ba8fa 100644 --- a/client/dialogs/MobileProgress.ui +++ b/client/dialogs/MobileProgress.ui @@ -1,4 +1,6 @@ + + MobileProgress diff --git a/client/dialogs/PinPopup.cpp b/client/dialogs/PinPopup.cpp index 5a0646a08..08eb1a556 100644 --- a/client/dialogs/PinPopup.cpp +++ b/client/dialogs/PinPopup.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "PinPopup.h" #include "ui_PinPopup.h" diff --git a/client/dialogs/PinPopup.h b/client/dialogs/PinPopup.h index 08f8d9e3a..fb9a32b88 100644 --- a/client/dialogs/PinPopup.h +++ b/client/dialogs/PinPopup.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/PinPopup.ui b/client/dialogs/PinPopup.ui index e5efe36b3..59593998c 100644 --- a/client/dialogs/PinPopup.ui +++ b/client/dialogs/PinPopup.ui @@ -1,4 +1,6 @@ + + PinPopup diff --git a/client/dialogs/PinUnblock.cpp b/client/dialogs/PinUnblock.cpp index 0173b5298..2a12e9650 100644 --- a/client/dialogs/PinUnblock.cpp +++ b/client/dialogs/PinUnblock.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "PinUnblock.h" #include "ui_PinUnblock.h" diff --git a/client/dialogs/PinUnblock.h b/client/dialogs/PinUnblock.h index 862e6c929..fedf77d71 100644 --- a/client/dialogs/PinUnblock.h +++ b/client/dialogs/PinUnblock.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/PinUnblock.ui b/client/dialogs/PinUnblock.ui index 7cf787ad6..340596890 100644 --- a/client/dialogs/PinUnblock.ui +++ b/client/dialogs/PinUnblock.ui @@ -1,4 +1,6 @@ + + PinUnblock diff --git a/client/dialogs/RoleAddressDialog.cpp b/client/dialogs/RoleAddressDialog.cpp index 362e31a2b..0bab88a6c 100644 --- a/client/dialogs/RoleAddressDialog.cpp +++ b/client/dialogs/RoleAddressDialog.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDocClient - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "RoleAddressDialog.h" #include "ui_RoleAddressDialog.h" diff --git a/client/dialogs/RoleAddressDialog.h b/client/dialogs/RoleAddressDialog.h index 66f99a58f..0190664fa 100644 --- a/client/dialogs/RoleAddressDialog.h +++ b/client/dialogs/RoleAddressDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDocCrypto - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/RoleAddressDialog.ui b/client/dialogs/RoleAddressDialog.ui index 8194c5dae..8704c3683 100644 --- a/client/dialogs/RoleAddressDialog.ui +++ b/client/dialogs/RoleAddressDialog.ui @@ -1,4 +1,6 @@ + + RoleAddressDialog diff --git a/client/dialogs/SettingsDialog.cpp b/client/dialogs/SettingsDialog.cpp index 4f8b3432d..33857a180 100644 --- a/client/dialogs/SettingsDialog.cpp +++ b/client/dialogs/SettingsDialog.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "SettingsDialog.h" #include "ui_SettingsDialog.h" diff --git a/client/dialogs/SettingsDialog.h b/client/dialogs/SettingsDialog.h index beb558d15..5328eeb81 100644 --- a/client/dialogs/SettingsDialog.h +++ b/client/dialogs/SettingsDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/SettingsDialog.ui b/client/dialogs/SettingsDialog.ui index 72099060c..8fe8a0d5a 100644 --- a/client/dialogs/SettingsDialog.ui +++ b/client/dialogs/SettingsDialog.ui @@ -1,4 +1,6 @@ + + SettingsDialog diff --git a/client/dialogs/SignatureDialog.cpp b/client/dialogs/SignatureDialog.cpp index fc8b0b09c..1e6f433d4 100644 --- a/client/dialogs/SignatureDialog.cpp +++ b/client/dialogs/SignatureDialog.cpp @@ -1,22 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "SignatureDialog.h" #include "ui_SignatureDialog.h" diff --git a/client/dialogs/SignatureDialog.h b/client/dialogs/SignatureDialog.h index f257827f5..fa4981008 100644 --- a/client/dialogs/SignatureDialog.h +++ b/client/dialogs/SignatureDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/SignatureDialog.ui b/client/dialogs/SignatureDialog.ui index 0330ac54c..c97960017 100644 --- a/client/dialogs/SignatureDialog.ui +++ b/client/dialogs/SignatureDialog.ui @@ -1,4 +1,6 @@ + + SignatureDialog diff --git a/client/dialogs/SmartIDDialog.cpp b/client/dialogs/SmartIDDialog.cpp index eea9c1251..5bc0cd253 100644 --- a/client/dialogs/SmartIDDialog.cpp +++ b/client/dialogs/SmartIDDialog.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "SmartIDDialog.h" #include "ui_SmartIDDialog.h" diff --git a/client/dialogs/SmartIDDialog.h b/client/dialogs/SmartIDDialog.h index 45cb090fe..2f7f5538b 100644 --- a/client/dialogs/SmartIDDialog.h +++ b/client/dialogs/SmartIDDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/SmartIDDialog.ui b/client/dialogs/SmartIDDialog.ui index 2afbc4495..b0572e178 100644 --- a/client/dialogs/SmartIDDialog.ui +++ b/client/dialogs/SmartIDDialog.ui @@ -1,4 +1,6 @@ + + SmartIDDialog diff --git a/client/dialogs/SmartIDProgress.cpp b/client/dialogs/SmartIDProgress.cpp index 97afb60fd..c79aad296 100644 --- a/client/dialogs/SmartIDProgress.cpp +++ b/client/dialogs/SmartIDProgress.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDocClient - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "SmartIDProgress.h" #include "ui_MobileProgress.h" diff --git a/client/dialogs/SmartIDProgress.h b/client/dialogs/SmartIDProgress.h index 18202fd5e..5ba8f32fb 100644 --- a/client/dialogs/SmartIDProgress.h +++ b/client/dialogs/SmartIDProgress.h @@ -1,21 +1,5 @@ -/* - * QDigiDocClient - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/WaitDialog.cpp b/client/dialogs/WaitDialog.cpp index e7801544f..c6d6bb0d7 100644 --- a/client/dialogs/WaitDialog.cpp +++ b/client/dialogs/WaitDialog.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "WaitDialog.h" #include "ui_WaitDialog.h" diff --git a/client/dialogs/WaitDialog.h b/client/dialogs/WaitDialog.h index 31f17259e..4c7951877 100644 --- a/client/dialogs/WaitDialog.h +++ b/client/dialogs/WaitDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/WaitDialog.ui b/client/dialogs/WaitDialog.ui index 2ff404037..14a9fb65c 100644 --- a/client/dialogs/WaitDialog.ui +++ b/client/dialogs/WaitDialog.ui @@ -1,4 +1,6 @@ + + WaitDialog diff --git a/client/dialogs/WarningDialog.cpp b/client/dialogs/WarningDialog.cpp index 0ec547e96..98b2f05aa 100644 --- a/client/dialogs/WarningDialog.cpp +++ b/client/dialogs/WarningDialog.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "WarningDialog.h" #include "ui_WarningDialog.h" diff --git a/client/dialogs/WarningDialog.h b/client/dialogs/WarningDialog.h index 3169c0fb2..0d1cbab9f 100644 --- a/client/dialogs/WarningDialog.h +++ b/client/dialogs/WarningDialog.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/dialogs/WarningDialog.ui b/client/dialogs/WarningDialog.ui index eecd215a5..5e836d56d 100644 --- a/client/dialogs/WarningDialog.ui +++ b/client/dialogs/WarningDialog.ui @@ -1,4 +1,6 @@ + + WarningDialog diff --git a/client/download_tsl.py b/client/download_tsl.py index 0967fcb3e..df6fb54d3 100644 --- a/client/download_tsl.py +++ b/client/download_tsl.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + import sys import shutil import os diff --git a/client/ee.ria.qdigidoc4.desktop b/client/ee.ria.qdigidoc4.desktop index 4a2beeee8..43fae277d 100644 --- a/client/ee.ria.qdigidoc4.desktop +++ b/client/ee.ria.qdigidoc4.desktop @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + [Desktop Entry] Encoding=UTF-8 Type=Application diff --git a/client/ee.ria.qdigidoc4.metainfo.xml b/client/ee.ria.qdigidoc4.metainfo.xml index 1105f7b27..22c9d4d53 100644 --- a/client/ee.ria.qdigidoc4.metainfo.xml +++ b/client/ee.ria.qdigidoc4.metainfo.xml @@ -1,4 +1,6 @@ + + ee.ria.qdigidoc4 DigiDoc4 diff --git a/client/effects/FadeInNotification.cpp b/client/effects/FadeInNotification.cpp index df31e2a7d..38ef84101 100644 --- a/client/effects/FadeInNotification.cpp +++ b/client/effects/FadeInNotification.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "FadeInNotification.h" diff --git a/client/effects/FadeInNotification.h b/client/effects/FadeInNotification.h index 196f03085..fd61535ec 100644 --- a/client/effects/FadeInNotification.h +++ b/client/effects/FadeInNotification.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/effects/Overlay.cpp b/client/effects/Overlay.cpp index ddbbce491..fed5400ab 100644 --- a/client/effects/Overlay.cpp +++ b/client/effects/Overlay.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "Overlay.h" diff --git a/client/effects/Overlay.h b/client/effects/Overlay.h index 7650b019f..eeff9d312 100644 --- a/client/effects/Overlay.h +++ b/client/effects/Overlay.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/mac/Info.plist.cmake b/client/mac/Info.plist.cmake index d24699e8e..ca786b7be 100644 --- a/client/mac/Info.plist.cmake +++ b/client/mac/Info.plist.cmake @@ -1,4 +1,6 @@ + + diff --git a/client/main.cpp b/client/main.cpp index c42144f1c..2cbb4c967 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDocClient - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "Application.h" diff --git a/client/qdigidoc4.1.cmake b/client/qdigidoc4.1.cmake index 7c3ebd175..1b19b096c 100644 --- a/client/qdigidoc4.1.cmake +++ b/client/qdigidoc4.1.cmake @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + .\" Manpage for qdigidoc4 .TH qdigidoc4 1 "${BUILD_DATE}" "${VERSION}" "qdigidoc4 man page" .SH NAME diff --git a/client/qdigidoc4.rc b/client/qdigidoc4.rc index f41950cdf..6be5cc257 100644 --- a/client/qdigidoc4.rc +++ b/client/qdigidoc4.rc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later + #include VS_VERSION_INFO VERSIONINFO diff --git a/client/qdigidoc4.xml b/client/qdigidoc4.xml index 703cd28a0..f8f2ed26a 100644 --- a/client/qdigidoc4.xml +++ b/client/qdigidoc4.xml @@ -1,4 +1,6 @@ + + DigiDoc signed document diff --git a/client/widgets/Accordion.cpp b/client/widgets/Accordion.cpp index 2c23eeab3..8c9064d95 100644 --- a/client/widgets/Accordion.cpp +++ b/client/widgets/Accordion.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "Accordion.h" #include "ui_Accordion.h" diff --git a/client/widgets/Accordion.h b/client/widgets/Accordion.h index 83cf26454..aaa239df0 100644 --- a/client/widgets/Accordion.h +++ b/client/widgets/Accordion.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/Accordion.ui b/client/widgets/Accordion.ui index 8c70254c0..65d68d462 100644 --- a/client/widgets/Accordion.ui +++ b/client/widgets/Accordion.ui @@ -1,4 +1,6 @@ + + Accordion diff --git a/client/widgets/AccordionTitle.cpp b/client/widgets/AccordionTitle.cpp index 17cf8222d..df1326894 100644 --- a/client/widgets/AccordionTitle.cpp +++ b/client/widgets/AccordionTitle.cpp @@ -1,22 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "AccordionTitle.h" diff --git a/client/widgets/AccordionTitle.h b/client/widgets/AccordionTitle.h index 10a17695f..2c3d88b3c 100644 --- a/client/widgets/AccordionTitle.h +++ b/client/widgets/AccordionTitle.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/AddressItem.cpp b/client/widgets/AddressItem.cpp index 678a9ccf5..19921424e 100644 --- a/client/widgets/AddressItem.cpp +++ b/client/widgets/AddressItem.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "AddressItem.h" #include "ui_AddressItem.h" diff --git a/client/widgets/AddressItem.h b/client/widgets/AddressItem.h index 53e1ad15b..7abc686b5 100644 --- a/client/widgets/AddressItem.h +++ b/client/widgets/AddressItem.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/AddressItem.ui b/client/widgets/AddressItem.ui index 266b19dde..8188cc22b 100644 --- a/client/widgets/AddressItem.ui +++ b/client/widgets/AddressItem.ui @@ -1,4 +1,6 @@ + + AddressItem diff --git a/client/widgets/CardPopup.cpp b/client/widgets/CardPopup.cpp index a61e443a2..b309c8e14 100644 --- a/client/widgets/CardPopup.cpp +++ b/client/widgets/CardPopup.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "CardPopup.h" diff --git a/client/widgets/CardPopup.h b/client/widgets/CardPopup.h index 155050eb0..0c5685894 100644 --- a/client/widgets/CardPopup.h +++ b/client/widgets/CardPopup.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/CardWidget.cpp b/client/widgets/CardWidget.cpp index 9ca6deebb..f5765363d 100644 --- a/client/widgets/CardWidget.cpp +++ b/client/widgets/CardWidget.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "CardWidget.h" #include "ui_CardWidget.h" diff --git a/client/widgets/CardWidget.h b/client/widgets/CardWidget.h index 4728178f2..07f86f623 100644 --- a/client/widgets/CardWidget.h +++ b/client/widgets/CardWidget.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/CardWidget.ui b/client/widgets/CardWidget.ui index 136cd114d..63349c2e5 100644 --- a/client/widgets/CardWidget.ui +++ b/client/widgets/CardWidget.ui @@ -1,4 +1,6 @@ + + CardWidget diff --git a/client/widgets/ComboBox.cpp b/client/widgets/ComboBox.cpp index f420924c8..72056d47c 100644 --- a/client/widgets/ComboBox.cpp +++ b/client/widgets/ComboBox.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "widgets/ComboBox.h" diff --git a/client/widgets/ComboBox.h b/client/widgets/ComboBox.h index 95d48b99a..86f1dba8d 100644 --- a/client/widgets/ComboBox.h +++ b/client/widgets/ComboBox.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/ContainerPage.cpp b/client/widgets/ContainerPage.cpp index e31cf54ec..6961b45b6 100644 --- a/client/widgets/ContainerPage.cpp +++ b/client/widgets/ContainerPage.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "ContainerPage.h" #include "ui_ContainerPage.h" diff --git a/client/widgets/ContainerPage.h b/client/widgets/ContainerPage.h index 66e171ab5..e5af41c8b 100644 --- a/client/widgets/ContainerPage.h +++ b/client/widgets/ContainerPage.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/ContainerPage.ui b/client/widgets/ContainerPage.ui index 1bacfdb22..4f89e3698 100644 --- a/client/widgets/ContainerPage.ui +++ b/client/widgets/ContainerPage.ui @@ -1,4 +1,6 @@ + + ContainerPage diff --git a/client/widgets/FileItem.cpp b/client/widgets/FileItem.cpp index aac72b47c..09f8dad52 100644 --- a/client/widgets/FileItem.cpp +++ b/client/widgets/FileItem.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "FileItem.h" #include "ui_FileItem.h" diff --git a/client/widgets/FileItem.h b/client/widgets/FileItem.h index 5976fdda5..df9e124e3 100644 --- a/client/widgets/FileItem.h +++ b/client/widgets/FileItem.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/FileItem.ui b/client/widgets/FileItem.ui index 25156f304..5793ae327 100644 --- a/client/widgets/FileItem.ui +++ b/client/widgets/FileItem.ui @@ -1,4 +1,6 @@ + + FileItem diff --git a/client/widgets/FileList.cpp b/client/widgets/FileList.cpp index 6130ba498..789fa286b 100644 --- a/client/widgets/FileList.cpp +++ b/client/widgets/FileList.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "FileList.h" #include "ui_ItemList.h" diff --git a/client/widgets/FileList.h b/client/widgets/FileList.h index ec391ddc2..8f36f0beb 100644 --- a/client/widgets/FileList.h +++ b/client/widgets/FileList.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/InfoStack.cpp b/client/widgets/InfoStack.cpp index d182057df..f6809754e 100644 --- a/client/widgets/InfoStack.cpp +++ b/client/widgets/InfoStack.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "InfoStack.h" #include "ui_InfoStack.h" diff --git a/client/widgets/InfoStack.h b/client/widgets/InfoStack.h index 7c5442c19..9dfbccc59 100644 --- a/client/widgets/InfoStack.h +++ b/client/widgets/InfoStack.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/InfoStack.ui b/client/widgets/InfoStack.ui index b326ba138..5d4b6cafe 100644 --- a/client/widgets/InfoStack.ui +++ b/client/widgets/InfoStack.ui @@ -1,4 +1,6 @@ + + InfoStack diff --git a/client/widgets/Item.cpp b/client/widgets/Item.cpp index d20755a5a..f31773711 100644 --- a/client/widgets/Item.cpp +++ b/client/widgets/Item.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "Item.h" diff --git a/client/widgets/Item.h b/client/widgets/Item.h index 3c540e381..96a693931 100644 --- a/client/widgets/Item.h +++ b/client/widgets/Item.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/ItemList.cpp b/client/widgets/ItemList.cpp index 395bc5be4..1ad7cb1bc 100644 --- a/client/widgets/ItemList.cpp +++ b/client/widgets/ItemList.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "ItemList.h" #include "ui_ItemList.h" diff --git a/client/widgets/ItemList.h b/client/widgets/ItemList.h index 51bc701a5..27a583c07 100644 --- a/client/widgets/ItemList.h +++ b/client/widgets/ItemList.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/ItemList.ui b/client/widgets/ItemList.ui index b815b2252..37ec3dd62 100644 --- a/client/widgets/ItemList.ui +++ b/client/widgets/ItemList.ui @@ -1,4 +1,6 @@ + + ItemList diff --git a/client/widgets/Label.cpp b/client/widgets/Label.cpp index 75cc4f432..8f7f49562 100644 --- a/client/widgets/Label.cpp +++ b/client/widgets/Label.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "Label.h" diff --git a/client/widgets/Label.h b/client/widgets/Label.h index 0a83086eb..dc77c49b3 100644 --- a/client/widgets/Label.h +++ b/client/widgets/Label.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/LineEdit.cpp b/client/widgets/LineEdit.cpp index a75135f1c..764c8f2c1 100644 --- a/client/widgets/LineEdit.cpp +++ b/client/widgets/LineEdit.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "LineEdit.h" diff --git a/client/widgets/LineEdit.h b/client/widgets/LineEdit.h index ce74aa521..a5977f7b0 100644 --- a/client/widgets/LineEdit.h +++ b/client/widgets/LineEdit.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/MainAction.cpp b/client/widgets/MainAction.cpp index 403a788bd..d821e8d26 100644 --- a/client/widgets/MainAction.cpp +++ b/client/widgets/MainAction.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "MainAction.h" #include "ui_MainAction.h" diff --git a/client/widgets/MainAction.h b/client/widgets/MainAction.h index b558e15b1..11aae4bb2 100644 --- a/client/widgets/MainAction.h +++ b/client/widgets/MainAction.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/MainAction.ui b/client/widgets/MainAction.ui index 8d3ce0ab4..0d4e725cd 100644 --- a/client/widgets/MainAction.ui +++ b/client/widgets/MainAction.ui @@ -1,4 +1,6 @@ + + MainAction diff --git a/client/widgets/NoCardInfo.cpp b/client/widgets/NoCardInfo.cpp index 3f37c7edf..050c52913 100644 --- a/client/widgets/NoCardInfo.cpp +++ b/client/widgets/NoCardInfo.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "NoCardInfo.h" #include "ui_NoCardInfo.h" diff --git a/client/widgets/NoCardInfo.h b/client/widgets/NoCardInfo.h index 48ea00859..6f8faaaf5 100644 --- a/client/widgets/NoCardInfo.h +++ b/client/widgets/NoCardInfo.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/NoCardInfo.ui b/client/widgets/NoCardInfo.ui index 5ec277b1a..3fee52995 100644 --- a/client/widgets/NoCardInfo.ui +++ b/client/widgets/NoCardInfo.ui @@ -1,4 +1,6 @@ + + NoCardInfo diff --git a/client/widgets/PageIcon.cpp b/client/widgets/PageIcon.cpp index 8bac22441..508d9c10d 100644 --- a/client/widgets/PageIcon.cpp +++ b/client/widgets/PageIcon.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "PageIcon.h" diff --git a/client/widgets/PageIcon.h b/client/widgets/PageIcon.h index cb8bc0b93..500c80536 100644 --- a/client/widgets/PageIcon.h +++ b/client/widgets/PageIcon.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/SignatureItem.cpp b/client/widgets/SignatureItem.cpp index dda359d15..51b76ab56 100644 --- a/client/widgets/SignatureItem.cpp +++ b/client/widgets/SignatureItem.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "SignatureItem.h" #include "ui_SignatureItem.h" diff --git a/client/widgets/SignatureItem.h b/client/widgets/SignatureItem.h index 06516d406..ba044432e 100644 --- a/client/widgets/SignatureItem.h +++ b/client/widgets/SignatureItem.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/SignatureItem.ui b/client/widgets/SignatureItem.ui index 619eb5f9e..c9892e2fd 100644 --- a/client/widgets/SignatureItem.ui +++ b/client/widgets/SignatureItem.ui @@ -1,4 +1,6 @@ + + SignatureItem diff --git a/client/widgets/StyledWidget.cpp b/client/widgets/StyledWidget.cpp index 9a2ebea24..75338d971 100644 --- a/client/widgets/StyledWidget.cpp +++ b/client/widgets/StyledWidget.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "StyledWidget.h" diff --git a/client/widgets/StyledWidget.h b/client/widgets/StyledWidget.h index 9ba1b47a0..8ef1655b3 100644 --- a/client/widgets/StyledWidget.h +++ b/client/widgets/StyledWidget.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/VerifyCert.cpp b/client/widgets/VerifyCert.cpp index 29b95ff94..93ee7dd71 100644 --- a/client/widgets/VerifyCert.cpp +++ b/client/widgets/VerifyCert.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "VerifyCert.h" #include "ui_VerifyCert.h" diff --git a/client/widgets/VerifyCert.h b/client/widgets/VerifyCert.h index c3f2bb8b7..32ad7b846 100644 --- a/client/widgets/VerifyCert.h +++ b/client/widgets/VerifyCert.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/VerifyCert.ui b/client/widgets/VerifyCert.ui index b01b6f5dc..17cfa9cf6 100644 --- a/client/widgets/VerifyCert.ui +++ b/client/widgets/VerifyCert.ui @@ -1,4 +1,6 @@ + + VerifyCert diff --git a/client/widgets/WarningItem.cpp b/client/widgets/WarningItem.cpp index 5c87b3b84..9764fe044 100644 --- a/client/widgets/WarningItem.cpp +++ b/client/widgets/WarningItem.cpp @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "WarningItem.h" #include "ui_WarningItem.h" diff --git a/client/widgets/WarningItem.h b/client/widgets/WarningItem.h index 4e83b5514..779d40e34 100644 --- a/client/widgets/WarningItem.h +++ b/client/widgets/WarningItem.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/client/widgets/WarningItem.ui b/client/widgets/WarningItem.ui index 835242995..e7f4328a2 100644 --- a/client/widgets/WarningItem.ui +++ b/client/widgets/WarningItem.ui @@ -1,4 +1,6 @@ + + WarningItem diff --git a/client/widgets/WarningList.h b/client/widgets/WarningList.h index d3da2b809..c2b6bb442 100644 --- a/client/widgets/WarningList.h +++ b/client/widgets/WarningList.h @@ -1,21 +1,5 @@ -/* - * QDigiDoc4 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #pragma once diff --git a/cmake/cmake-sbom b/cmake/cmake-sbom new file mode 160000 index 000000000..9cf1ba433 --- /dev/null +++ b/cmake/cmake-sbom @@ -0,0 +1 @@ +Subproject commit 9cf1ba4339d793d29246bf0abe2576b322c05981 diff --git a/cmake/modules/FindLDAP.cmake b/cmake/modules/FindLDAP.cmake index 4b9d5714c..1cf2cc0c3 100644 --- a/cmake/modules/FindLDAP.cmake +++ b/cmake/modules/FindLDAP.cmake @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + # - Try to find the LDAP client libraries # Once done this will define # diff --git a/cmake/sbom.cmake b/cmake/sbom.cmake new file mode 100644 index 000000000..e5e2cafa8 --- /dev/null +++ b/cmake/sbom.cmake @@ -0,0 +1,260 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later +# +# SBOM generation using DEMCON/cmake-sbom (SPDX 2.3, install-time) +# Run: cmake --install /sbom + +list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/cmake-sbom/cmake") +include(sbom) + +sbom_generate( + OUTPUT "${CMAKE_BINARY_DIR}/qdigidoc4-${PROJECT_VERSION}.spdx" + LICENSE "LGPL-2.1-or-later" + SUPPLIER "Estonian Information System Authority" + SUPPLIER_URL https://www.ria.ee + DOWNLOAD_URL https://github.com/open-eid/DigiDoc4-Client + VERSION "${PROJECT_VERSION}" +) + +set(_sbom_reset "${CMAKE_BINARY_DIR}/sbom/sbom-reset.cmake") +file(WRITE "${_sbom_reset}" + "file(WRITE \"${CMAKE_BINARY_DIR}/sbom/sbom.spdx.in\" \"\")\n" + "file(READ \"${CMAKE_BINARY_DIR}/SPDXRef-DOCUMENT.spdx.in\" _doc)\n" + "file(APPEND \"${CMAKE_BINARY_DIR}/sbom/sbom.spdx.in\" \"\${_doc}\")\n" + "set(SBOM_VERIFICATION_CODES \"\")\n" +) +file(APPEND "${CMAKE_BINARY_DIR}/sbom/CMakeLists.txt" + "install(SCRIPT \"${_sbom_reset}\")\n" +) + +set(_app_spdxid "SPDXRef-Package-${PROJECT_NAME} DEPENDS_ON @SBOM_LAST_SPDXID@") + +if(APPLE) + find_program(OPENSC_TOOL NAMES opensc-tool HINTS /Library/OpenSC/bin) + if(OPENSC_TOOL) + execute_process( + COMMAND "${OPENSC_TOOL}" --version + OUTPUT_VARIABLE OPENSC_VERSION + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET + ) + string(REGEX REPLACE "^OpenSC-([0-9.]+).*" "\\1" OPENSC_VERSION "${OPENSC_VERSION}") + endif() + if(OPENSC_VERSION) + sbom_add(PACKAGE OpenSC + VERSION "${OPENSC_VERSION}" + SUPPLIER "Organization: OpenSC Project" + DOWNLOAD_LOCATION https://github.com/OpenSC/OpenSC + LICENSE "LGPL-2.1-or-later" + EXTREF "cpe:2.3:a:opensc-project:opensc:${OPENSC_VERSION}:*:*:*:*:*:*:*" + RELATIONSHIP "${_app_spdxid}" + ) + endif() + sbom_add(PACKAGE DigiDocQL + VERSION "${PROJECT_VERSION}" + SUPPLIER "Organization: Estonian Information System Authority" + DOWNLOAD_LOCATION https://github.com/open-eid/DigiDoc4-Client + LICENSE "LGPL-2.1-or-later" + RELATIONSHIP "@SBOM_LAST_SPDXID@ VARIANT_OF SPDXRef-Package-${PROJECT_NAME}" + ) + set(_app_spdxid "${_app_spdxid}\nRelationship: ${SBOM_LAST_SPDXID} DEPENDS_ON @SBOM_LAST_SPDXID@") +elseif(WIN32) + sbom_add(PACKAGE EsteidShellExtension + VERSION "3.13.9" + SUPPLIER "Organization: Estonian Information System Authority" + DOWNLOAD_LOCATION https://github.com/open-eid/DigiDoc4-Client + LICENSE "LGPL-2.1-or-later" + RELATIONSHIP "@SBOM_LAST_SPDXID@ VARIANT_OF SPDXRef-Package-${PROJECT_NAME}" + ) + set(_app_spdxid "${_app_spdxid}\nRelationship: ${SBOM_LAST_SPDXID} DEPENDS_ON @SBOM_LAST_SPDXID@") + find_program(WIX_EXECUTABLE NAMES wix) + if(WIX_EXECUTABLE) + execute_process( + COMMAND "${WIX_EXECUTABLE}" --version + OUTPUT_VARIABLE WIX_VERSION + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET + ) + string(REGEX REPLACE "\\+.*$" "" WIX_VERSION "${WIX_VERSION}") + endif() + if(WIX_VERSION) + sbom_add(PACKAGE WiX + VERSION "${WIX_VERSION}" + SUPPLIER "Organization: WiX Toolset Contributors" + DOWNLOAD_LOCATION https://wixtoolset.org + LICENSE "MS-RL" + EXTREF "cpe:2.3:a:wixtoolset:wix_toolset:${WIX_VERSION}:*:*:*:*:*:*:*" + RELATIONSHIP "@SBOM_LAST_SPDXID@ BUILD_TOOL_OF SPDXRef-Package-${PROJECT_NAME}" + ) + endif() + find_package(LibXml2 QUIET) + if(LibXml2_FOUND) + sbom_add(PACKAGE libxml2 + VERSION "${LIBXML2_VERSION_STRING}" + SUPPLIER "Organization: GNOME Project" + DOWNLOAD_LOCATION https://gitlab.gnome.org/GNOME/libxml2 + LICENSE "MIT" + EXTREF "cpe:2.3:a:xmlsoft:libxml2:${LIBXML2_VERSION_STRING}:*:*:*:*:*:*:*" + RELATIONSHIP "${_app_spdxid}" + ) + endif() + find_package(LibXmlSec QUIET) + if(LibXmlSec_FOUND) + sbom_add(PACKAGE xmlsec1 + VERSION "${LibXmlSec_VERSION}" + SUPPLIER "Organization: Aleksey Sanin" + DOWNLOAD_LOCATION https://www.aleksey.com/xmlsec/ + LICENSE "MIT" + EXTREF "cpe:2.3:a:xmlsec_project:xmlsec:${LibXmlSec_VERSION}:*:*:*:*:*:*:*" + RELATIONSHIP "${_app_spdxid}" + ) + endif() +elseif(UNIX) + if(ENABLE_NAUTILUS_EXTENSION) + sbom_add(PACKAGE nautilus-qdigidoc + VERSION "${PROJECT_VERSION}" + SUPPLIER "Person: Erkko Kebbinau" + DOWNLOAD_LOCATION https://github.com/open-eid/DigiDoc4-Client + LICENSE "LGPL-2.1-or-later" + RELATIONSHIP "@SBOM_LAST_SPDXID@ VARIANT_OF SPDXRef-Package-${PROJECT_NAME}" + ) + set(_app_spdxid "${_app_spdxid}\nRelationship: ${SBOM_LAST_SPDXID} DEPENDS_ON @SBOM_LAST_SPDXID@") + endif() + if(ENABLE_KDE) + sbom_add(PACKAGE qdigidoc-signer-kde + VERSION "${PROJECT_VERSION}" + SUPPLIER "Organization: Estonian Information System Authority" + DOWNLOAD_LOCATION https://github.com/open-eid/DigiDoc4-Client + LICENSE "LGPL-2.1-or-later" + RELATIONSHIP "@SBOM_LAST_SPDXID@ VARIANT_OF SPDXRef-Package-${PROJECT_NAME}" + ) + set(_app_spdxid "${_app_spdxid}\nRelationship: ${SBOM_LAST_SPDXID} DEPENDS_ON @SBOM_LAST_SPDXID@") + endif() + find_package(Gettext QUIET) + if(GETTEXT_FOUND) + sbom_add(PACKAGE Gettext + VERSION "${GETTEXT_VERSION_STRING}" + SUPPLIER "Organization: Free Software Foundation" + DOWNLOAD_LOCATION https://www.gnu.org/software/gettext/ + LICENSE "GPL-3.0-or-later" + EXTREF "cpe:2.3:a:gnu:gettext:${GETTEXT_VERSION_STRING}:*:*:*:*:*:*:*" + RELATIONSHIP "@SBOM_LAST_SPDXID@ BUILD_TOOL_OF SPDXRef-Package-${PROJECT_NAME}" + ) + endif() +endif() + +sbom_add(PACKAGE libdigidocpp + VERSION "${libdigidocpp_VERSION}" + SUPPLIER "Organization: Estonian Information System Authority" + DOWNLOAD_LOCATION https://github.com/open-eid/libdigidocpp + LICENSE "LGPL-2.1-or-later" + EXTREF "cpe:2.3:a:ria:libdigidocpp:${libdigidocpp_VERSION}:*:*:*:*:*:*:*" + RELATIONSHIP "${_app_spdxid}" +) + +sbom_add(PACKAGE Qt6 + VERSION "${Qt6_VERSION}" + SUPPLIER "Organization: The Qt Company" + DOWNLOAD_LOCATION https://download.qt.io/ + LICENSE "LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-Qt-commercial" + EXTREF "cpe:2.3:a:qt:qt:${Qt6_VERSION}:*:*:*:*:*:*:*" + RELATIONSHIP "${_app_spdxid}" +) + +find_package(OpenSSL QUIET) +if(OPENSSL_FOUND) + sbom_add(PACKAGE OpenSSL + VERSION "${OPENSSL_VERSION}" + SUPPLIER "Organization: OpenSSL Software Foundation" + DOWNLOAD_LOCATION https://openssl.org + LICENSE "Apache-2.0" + EXTREF "cpe:2.3:a:openssl:openssl:${OPENSSL_VERSION}:*:*:*:*:*:*:*" + RELATIONSHIP "${_app_spdxid}" + ) +endif() + +if(FlatBuffers_VERSION) + sbom_add(PACKAGE FlatBuffers + VERSION "${FlatBuffers_VERSION}" + SUPPLIER "Organization: Google LLC" + DOWNLOAD_LOCATION https://github.com/google/flatbuffers + LICENSE "Apache-2.0" + EXTREF "cpe:2.3:a:google:flatbuffers:${FlatBuffers_VERSION}:*:*:*:*:*:*:*" + RELATIONSHIP "@SBOM_LAST_SPDXID@ BUILD_TOOL_OF SPDXRef-Package-${PROJECT_NAME}" + ) +endif() + +if(ZLIB_VERSION_STRING) + sbom_add(PACKAGE ZLIB + VERSION "${ZLIB_VERSION_STRING}" + SUPPLIER "Organization: Jean-loup Gailly and Mark Adler" + DOWNLOAD_LOCATION https://zlib.net + LICENSE "Zlib" + EXTREF "cpe:2.3:a:zlib:zlib:${ZLIB_VERSION_STRING}:*:*:*:*:*:*:*" + RELATIONSHIP "${_app_spdxid}" + ) +endif() + +if(Python_FOUND) + sbom_add(PACKAGE Python + VERSION "${Python_VERSION}" + SUPPLIER "Organization: Python Software Foundation" + DOWNLOAD_LOCATION https://www.python.org + LICENSE "PSF-2.0" + EXTREF "cpe:2.3:a:python:python:${Python_VERSION}:*:*:*:*:*:*:*" + RELATIONSHIP "@SBOM_LAST_SPDXID@ BUILD_TOOL_OF SPDXRef-Package-${PROJECT_NAME}" + ) +endif() + +sbom_add(PACKAGE eu-lotl + VERSION "NOASSERTION" + SUPPLIER "Organization: European Commission" + DOWNLOAD_LOCATION "${TSL_URL}" + LICENSE "LicenseRef-EC-open-data" + RELATIONSHIP "${_app_spdxid}" +) + +if("EE" IN_LIST TSL_INCLUDE) + sbom_add(PACKAGE EE-tsl + VERSION "NOASSERTION" + SUPPLIER "Organization: Estonian Information System Authority" + DOWNLOAD_LOCATION "https://sr.riik.ee/tsl/estonian-tsl.xml" + LICENSE "LicenseRef-EC-open-data" + RELATIONSHIP "${_app_spdxid}" + ) +endif() + +sbom_add(PACKAGE cdoc-schema + VERSION "NOASSERTION" + SUPPLIER "Organization: Open Electronic Identity" + DOWNLOAD_LOCATION https://github.com/open-eid/libcdoc + LICENSE "MIT" + RELATIONSHIP "${_app_spdxid}" +) + + +sbom_add(PACKAGE qtsingleapplication + VERSION "NOASSERTION" + SUPPLIER "Organization: The Qt Company" + DOWNLOAD_LOCATION https://github.com/open-eid/qt-common + LICENSE "BSD-3-Clause" + RELATIONSHIP "${_app_spdxid}" +) + +sbom_add(PACKAGE pkcs11.h + VERSION "NOASSERTION" + SUPPLIER "Organization: g10 Code GmbH" + DOWNLOAD_LOCATION https://www.gnupg.org/software/libgcrypt/ + LICENSE "LicenseRef-unlimited-permission" + RELATIONSHIP "${_app_spdxid}" +) + +sbom_add(PACKAGE Roboto + VERSION "NOASSERTION" + SUPPLIER "Organization: Google LLC" + DOWNLOAD_LOCATION https://fonts.google.com/specimen/Roboto + LICENSE "Apache-2.0" + RELATIONSHIP "${_app_spdxid}" +) + +sbom_finalize(NO_VERIFY) diff --git a/extensions/DigiDocQL/CMakeLists.txt b/extensions/DigiDocQL/CMakeLists.txt index 011971c81..c2dc5c1f0 100644 --- a/extensions/DigiDocQL/CMakeLists.txt +++ b/extensions/DigiDocQL/CMakeLists.txt @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + set(RESOURCES ../../client/mac/asic.icns) add_executable(DigiDocQL MACOSX_BUNDLE ${RESOURCES} diff --git a/extensions/DigiDocQL/Info.plist.cmake b/extensions/DigiDocQL/Info.plist.cmake index fd81b355e..e0ca8f201 100644 --- a/extensions/DigiDocQL/Info.plist.cmake +++ b/extensions/DigiDocQL/Info.plist.cmake @@ -1,4 +1,6 @@ + + diff --git a/extensions/DigiDocQL/PreviewViewController.mm b/extensions/DigiDocQL/PreviewViewController.mm index 7f45c315f..d642713fc 100644 --- a/extensions/DigiDocQL/PreviewViewController.mm +++ b/extensions/DigiDocQL/PreviewViewController.mm @@ -1,21 +1,5 @@ -/* - * QEstEidClient - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include #include diff --git a/extensions/kde/CMakeLists.txt b/extensions/kde/CMakeLists.txt index 33984ed30..753e6587c 100644 --- a/extensions/kde/CMakeLists.txt +++ b/extensions/kde/CMakeLists.txt @@ -1,2 +1,5 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + set(SERVICES_INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/kservices5" CACHE PATH "Install dir for KDE service (desktop, protocol, ...) files") install(FILES qdigidoc-signer.desktop DESTINATION "${SERVICES_INSTALL_DIR}") diff --git a/extensions/kde/qdigidoc-signer.desktop b/extensions/kde/qdigidoc-signer.desktop index 070cc3563..1136e3ab2 100644 --- a/extensions/kde/qdigidoc-signer.desktop +++ b/extensions/kde/qdigidoc-signer.desktop @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + [Desktop Entry] X-KDE-ServiceTypes=KonqPopupMenu/Plugin,all/allfiles Actions=sign; diff --git a/extensions/nautilus/CMakeLists.txt b/extensions/nautilus/CMakeLists.txt index b7c0e1ef3..d6cb516e6 100644 --- a/extensions/nautilus/CMakeLists.txt +++ b/extensions/nautilus/CMakeLists.txt @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + find_package(Gettext) file(GLOB PO_FILES po/*.po) diff --git a/extensions/nautilus/nautilus-qdigidoc.py b/extensions/nautilus/nautilus-qdigidoc.py index fb2bbf454..61fbcfa91 100644 --- a/extensions/nautilus/nautilus-qdigidoc.py +++ b/extensions/nautilus/nautilus-qdigidoc.py @@ -1,22 +1,5 @@ -# -# QDigiDoc Nautilus Extension -# -# Copyright (C) 2010 Erkko Kebbinau -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -# +# SPDX-FileCopyrightText: 2010 Erkko Kebbinau +# SPDX-License-Identifier: LGPL-2.1-or-later import os import gettext import locale diff --git a/extensions/nautilus/po/update-po.sh b/extensions/nautilus/po/update-po.sh index 8d5c1df3c..3cf38131e 100644 --- a/extensions/nautilus/po/update-po.sh +++ b/extensions/nautilus/po/update-po.sh @@ -1,11 +1,6 @@ #!/bin/sh - -# Copyright (C) 2010 Erkko Kebbinau -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. +# SPDX-FileCopyrightText: 2010 Erkko Kebbinau +# SPDX-License-Identifier: LGPL-2.1-or-later # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/extensions/windows/CMakeLists.txt b/extensions/windows/CMakeLists.txt index c4bb27403..8033f99eb 100644 --- a/extensions/windows/CMakeLists.txt +++ b/extensions/windows/CMakeLists.txt @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Estonian Information System Authority +# SPDX-License-Identifier: LGPL-2.1-or-later + cmake_minimum_required(VERSION 3.16) project(EsteidShellExtension VERSION 3.13.9) add_library(${PROJECT_NAME} SHARED diff --git a/extensions/windows/EsteidShellExtension.cpp b/extensions/windows/EsteidShellExtension.cpp index 1891e13d7..fcb50da8c 100644 --- a/extensions/windows/EsteidShellExtension.cpp +++ b/extensions/windows/EsteidShellExtension.cpp @@ -1,21 +1,5 @@ -/* - * EsteidShellExtension - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include "resource.h" diff --git a/extensions/windows/EsteidShellExtension.rc b/extensions/windows/EsteidShellExtension.rc index 5b9fdb817..0a94625a0 100644 --- a/extensions/windows/EsteidShellExtension.rc +++ b/extensions/windows/EsteidShellExtension.rc @@ -1,21 +1,5 @@ -/* - * EsteidShellExtension - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: LGPL-2.1-or-later #include #include "resource.h" diff --git a/extensions/windows/EsteidShellExtension.wxs b/extensions/windows/EsteidShellExtension.wxs index b56604bd2..0ad192472 100644 --- a/extensions/windows/EsteidShellExtension.wxs +++ b/extensions/windows/EsteidShellExtension.wxs @@ -1,4 +1,7 @@ - + + + + + +