From 05c908e2a342fd6e9152cb794f2c85ce4e12597a Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Thu, 12 Nov 2020 21:52:24 -0500 Subject: [PATCH] Convert settings to use SPDX license/copyright https://community.kde.org/Policies/Licensing_Policy#SPDX_Statements https://community.kde.org/Guidelines_and_HOWTOs/Licensing --- .../ConfigDialogButtonGroupManager.cpp | 21 ++++--------------- src/settings/ConfigDialogButtonGroupManager.h | 21 ++++--------------- src/settings/ConfigurationDialog.cpp | 21 ++++--------------- src/settings/ConfigurationDialog.h | 21 ++++--------------- src/settings/GeneralSettings.cpp | 18 ++-------------- src/settings/GeneralSettings.h | 18 ++-------------- src/settings/PartInfo.cpp | 18 ++-------------- src/settings/PartInfo.h | 18 ++-------------- src/settings/ProfileSettings.cpp | 17 ++------------- src/settings/ProfileSettings.h | 17 ++------------- src/settings/TabBarSettings.cpp | 18 ++-------------- src/settings/TabBarSettings.h | 18 ++-------------- src/settings/TemporaryFilesSettings.cpp | 18 ++-------------- src/settings/TemporaryFilesSettings.h | 18 ++-------------- src/settings/ThumbnailsSettings.cpp | 18 ++-------------- src/settings/ThumbnailsSettings.h | 18 ++-------------- 16 files changed, 40 insertions(+), 258 deletions(-) diff --git a/src/settings/ConfigDialogButtonGroupManager.cpp b/src/settings/ConfigDialogButtonGroupManager.cpp index c98c0a4f4..334374d71 100644 --- a/src/settings/ConfigDialogButtonGroupManager.cpp +++ b/src/settings/ConfigDialogButtonGroupManager.cpp @@ -1,25 +1,12 @@ /* - Copyright 2019 by Mariusz Glebocki + SPDX-FileCopyrightText: 2019 Mariusz Glebocki Based on KConfigDialog and KConfigDialogManager from KConfigWidgets - Copyright (C) 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) - Copyright (C) 2003 Waldo Bastian + SPDX-FileCopyrightText: 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) + SPDX-FileCopyrightText: 2003 Waldo Bastian - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA. + SPDX-License-Identifier: GPL-2.0-or-later */ // Own diff --git a/src/settings/ConfigDialogButtonGroupManager.h b/src/settings/ConfigDialogButtonGroupManager.h index 98a9ad4c8..13a5a92c1 100644 --- a/src/settings/ConfigDialogButtonGroupManager.h +++ b/src/settings/ConfigDialogButtonGroupManager.h @@ -1,25 +1,12 @@ /* - Copyright 2019 by Mariusz Glebocki + SPDX-FileCopyrightText: 2019 Mariusz Glebocki Based on KConfigDialog and KConfigDialogManager from KConfigWidgets - Copyright (C) 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) - Copyright (C) 2003 Waldo Bastian + SPDX-FileCopyrightText: 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) + SPDX-FileCopyrightText: 2003 Waldo Bastian - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA. + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef CONFIGDIALOGBUTTONGROUPMANAGER_H diff --git a/src/settings/ConfigurationDialog.cpp b/src/settings/ConfigurationDialog.cpp index de5fc7961..01b64c8ed 100644 --- a/src/settings/ConfigurationDialog.cpp +++ b/src/settings/ConfigurationDialog.cpp @@ -1,25 +1,12 @@ /* - Copyright 2019 by Mariusz Glebocki + SPDX-FileCopyrightText: 2019 Mariusz Glebocki Based on KConfigDialog from KConfigWidgets - Copyright (C) 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) - Copyright (C) 2003 Waldo Bastian + SPDX-FileCopyrightText: 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) + SPDX-FileCopyrightText: 2003 Waldo Bastian - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA. + SPDX-License-Identifier: GPL-2.0-or-later */ // Own diff --git a/src/settings/ConfigurationDialog.h b/src/settings/ConfigurationDialog.h index db152f446..7245962b9 100644 --- a/src/settings/ConfigurationDialog.h +++ b/src/settings/ConfigurationDialog.h @@ -1,25 +1,12 @@ /* - Copyright 2019 by Mariusz Glebocki + SPDX-FileCopyrightText: 2019 Mariusz Glebocki Based on KConfigDialog and KConfigDialogManager from KConfigWidgets - Copyright (C) 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) - Copyright (C) 2003 Waldo Bastian + SPDX-FileCopyrightText: 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) + SPDX-FileCopyrightText: 2003 Waldo Bastian - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA. + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef CONFIGURATIONDIALOG_H diff --git a/src/settings/GeneralSettings.cpp b/src/settings/GeneralSettings.cpp index 6c0325ac7..c36a65aec 100644 --- a/src/settings/GeneralSettings.cpp +++ b/src/settings/GeneralSettings.cpp @@ -1,21 +1,7 @@ /* - Copyright 2011 Kurt Hindenburg + SPDX-FileCopyrightText: 2011 Kurt Hindenburg - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ // Own diff --git a/src/settings/GeneralSettings.h b/src/settings/GeneralSettings.h index d1d46f4db..f85304081 100644 --- a/src/settings/GeneralSettings.h +++ b/src/settings/GeneralSettings.h @@ -1,21 +1,7 @@ /* - Copyright 2011 Kurt Hindenburg + SPDX-FileCopyrightText: 2011 Kurt Hindenburg - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef GENERALSETTINGS_H diff --git a/src/settings/PartInfo.cpp b/src/settings/PartInfo.cpp index c0b253d2d..c7ac2601d 100644 --- a/src/settings/PartInfo.cpp +++ b/src/settings/PartInfo.cpp @@ -1,21 +1,7 @@ /* - Copyright 2017 Kurt Hindenburg + SPDX-FileCopyrightText: 2017 Kurt Hindenburg - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ // Own diff --git a/src/settings/PartInfo.h b/src/settings/PartInfo.h index 1f8c2a8f2..757a13a34 100644 --- a/src/settings/PartInfo.h +++ b/src/settings/PartInfo.h @@ -1,21 +1,7 @@ /* - Copyright 2017 Kurt Hindenburg + SPDX-FileCopyrightText: 2017 Kurt Hindenburg - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef PARTINFO_H diff --git a/src/settings/ProfileSettings.cpp b/src/settings/ProfileSettings.cpp index 0e7135db0..cceae9e98 100644 --- a/src/settings/ProfileSettings.cpp +++ b/src/settings/ProfileSettings.cpp @@ -1,20 +1,7 @@ /* - Copyright 2007-2008 by Robert Knight + SPDX-FileCopyrightText: 2007-2008 Robert Knight - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA. + SPDX-License-Identifier: GPL-2.0-or-later */ // Own diff --git a/src/settings/ProfileSettings.h b/src/settings/ProfileSettings.h index 4c2fc0daf..a1aedf543 100644 --- a/src/settings/ProfileSettings.h +++ b/src/settings/ProfileSettings.h @@ -1,20 +1,7 @@ /* - Copyright 2007-2008 by Robert Knight + SPDX-FileCopyrightText: 2007-2008 Robert Knight - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA. + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef PROFILESETTINGS_H diff --git a/src/settings/TabBarSettings.cpp b/src/settings/TabBarSettings.cpp index c34d3caeb..dd1ccce8a 100644 --- a/src/settings/TabBarSettings.cpp +++ b/src/settings/TabBarSettings.cpp @@ -1,21 +1,7 @@ /* - Copyright 2011 Kurt Hindenburg + SPDX-FileCopyrightText: 2011 Kurt Hindenburg - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ // Own diff --git a/src/settings/TabBarSettings.h b/src/settings/TabBarSettings.h index e53808e21..2f13c4a09 100644 --- a/src/settings/TabBarSettings.h +++ b/src/settings/TabBarSettings.h @@ -1,21 +1,7 @@ /* - Copyright 2011 Kurt Hindenburg + SPDX-FileCopyrightText: 2011 Kurt Hindenburg - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef TABBARSETTINGS_H diff --git a/src/settings/TemporaryFilesSettings.cpp b/src/settings/TemporaryFilesSettings.cpp index ed840d1c5..fb273fc1f 100644 --- a/src/settings/TemporaryFilesSettings.cpp +++ b/src/settings/TemporaryFilesSettings.cpp @@ -1,21 +1,7 @@ /* - Copyright 2015 Kurt Hindenburg + SPDX-FileCopyrightText: 2015 Kurt Hindenburg - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ // Own diff --git a/src/settings/TemporaryFilesSettings.h b/src/settings/TemporaryFilesSettings.h index b0ea8b25e..243780e8c 100644 --- a/src/settings/TemporaryFilesSettings.h +++ b/src/settings/TemporaryFilesSettings.h @@ -1,21 +1,7 @@ /* - Copyright 2015 Kurt Hindenburg + SPDX-FileCopyrightText: 2015 Kurt Hindenburg - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef TEMPORARYFILESSETTINGS_H diff --git a/src/settings/ThumbnailsSettings.cpp b/src/settings/ThumbnailsSettings.cpp index c700be127..b92a2dfa9 100644 --- a/src/settings/ThumbnailsSettings.cpp +++ b/src/settings/ThumbnailsSettings.cpp @@ -1,21 +1,7 @@ /* - Copyright 2020 Tomaz Canabrava + SPDX-FileCopyrightText: 2020 Tomaz Canabrava - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #include "ThumbnailsSettings.h" diff --git a/src/settings/ThumbnailsSettings.h b/src/settings/ThumbnailsSettings.h index f4a9351c2..e5ef08e52 100644 --- a/src/settings/ThumbnailsSettings.h +++ b/src/settings/ThumbnailsSettings.h @@ -1,21 +1,7 @@ /* - Copyright 2020 Tomaz Canabrava + SPDX-FileCopyrightText: 2020 Tomaz Canabrava - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor appro- - ved by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see https://www.gnu.org/licenses/. + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef THUMBNAILSSETTINGS_H