From 6329eb7af471e3a41feccd9ffaa0b657b89a3614 Mon Sep 17 00:00:00 2001 From: David Redondo Date: Mon, 13 Jul 2020 16:57:53 +0200 Subject: [PATCH 01/30] Expose the applet metadata in AppletInterface Needed for displaying about pages of applets. --- src/scriptengines/qml/plasmoid/appletinterface.cpp | 5 +++++ src/scriptengines/qml/plasmoid/appletinterface.h | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/src/scriptengines/qml/plasmoid/appletinterface.cpp b/src/scriptengines/qml/plasmoid/appletinterface.cpp index c348594c8..e3843b490 100644 --- a/src/scriptengines/qml/plasmoid/appletinterface.cpp +++ b/src/scriptengines/qml/plasmoid/appletinterface.cpp @@ -884,4 +884,9 @@ bool AppletInterface::isLoading() const return m_loading; } +KPluginMetaData AppletInterface::metaData() const +{ + return applet()->pluginMetaData(); +} + #include "moc_appletinterface.cpp" diff --git a/src/scriptengines/qml/plasmoid/appletinterface.h b/src/scriptengines/qml/plasmoid/appletinterface.h index 711c2879a..a6e4f2a9c 100644 --- a/src/scriptengines/qml/plasmoid/appletinterface.h +++ b/src/scriptengines/qml/plasmoid/appletinterface.h @@ -25,6 +25,8 @@ #include #include +#include + #include #include @@ -250,6 +252,12 @@ class AppletInterface : public PlasmaQuick::AppletQuickItem Q_PROPERTY(bool loading MEMBER m_loading NOTIFY isLoadingChanged) + /** + * The metadata of the applet. + * @since 5.73 + */ + Q_PROPERTY(KPluginMetaData metaData READ metaData CONSTANT) + public: AppletInterface(DeclarativeAppletScript *script, const QVariantList &args = QVariantList(), QQuickItem *parent = nullptr); ~AppletInterface() override; @@ -416,6 +424,8 @@ public: QString configurationRequiredReason() const; void setConfigurationRequiredReason(const QString &reason); + KPluginMetaData metaData() const; + Q_SIGNALS: /** * somebody else, usually the containment sent some data to the applet From 52f81b463014d8d99bae9085f3b684b6646f43a1 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 6 Aug 2020 21:25:39 +0200 Subject: [PATCH 02/30] [pc3] Make ToolBar more aligned with qqc2-desktop-style one The qqc2-desktop-style one has an implicit height of 40 plus some other tweaks --- src/declarativeimports/plasmacomponents3/ToolBar.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/ToolBar.qml b/src/declarativeimports/plasmacomponents3/ToolBar.qml index 32f4f7e6c..806ecac34 100644 --- a/src/declarativeimports/plasmacomponents3/ToolBar.qml +++ b/src/declarativeimports/plasmacomponents3/ToolBar.qml @@ -24,15 +24,17 @@ import org.kde.plasma.core 2.0 as PlasmaCore T.ToolBar { id: control - implicitWidth: contentWidth + leftPadding + rightPadding - implicitHeight: contentHeight + topPadding + bottomPadding + implicitWidth: Math.max(background ? background.implicitWidth : 0, contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(background ? background.implicitHeight : 0, contentHeight + topPadding + bottomPadding) contentWidth: contentChildren[0].implicitWidth contentHeight: contentChildren[0].implicitHeight + padding: units.smallSpacing contentItem: Item { } background: PlasmaCore.FrameSvgItem { + implicitHeight: 40 imagePath: "widgets/toolbar" colorGroup: PlasmaCore.ColorScope.colorGroup enabledBorders: control.position == T.ToolBar.Header ? PlasmaCore.FrameSvgItem.BottomBorder : PlasmaCore.FrameSvgItem.TopBorder From fd0d8f928430868298f9d97ceb189cf2398ac27c Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 6 Aug 2020 23:12:35 +0200 Subject: [PATCH 03/30] Fix toolbar svg To make it consistent with the qqc2-desktop-style toolbar we need to change the color from ViewBackground to Background and remove the opacity. --- src/desktoptheme/breeze/widgets/toolbar.svg | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/desktoptheme/breeze/widgets/toolbar.svg b/src/desktoptheme/breeze/widgets/toolbar.svg index e1aab21b7..f8f32a167 100644 --- a/src/desktoptheme/breeze/widgets/toolbar.svg +++ b/src/desktoptheme/breeze/widgets/toolbar.svg @@ -65,13 +65,13 @@ - - - - - - - - - + + + + + + + + + From 8ef5347074f6c44f2c760aa25ea8b15c96243137 Mon Sep 17 00:00:00 2001 From: Carson Black Date: Mon, 27 Jul 2020 16:52:07 -0400 Subject: [PATCH 04/30] Add PC3 equivalent to PC2 ListItem --- .../plasmaextracomponents/qml/ListItem.qml | 93 +++++++++++++++++++ .../plasmaextracomponents/qml/qmldir | 1 + 2 files changed, 94 insertions(+) create mode 100644 src/declarativeimports/plasmaextracomponents/qml/ListItem.qml diff --git a/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml b/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml new file mode 100644 index 000000000..3d4cf63ad --- /dev/null +++ b/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml @@ -0,0 +1,93 @@ +/* + * Copyright 2020 Carson Black + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details + * + * You should have received a copy of the GNU Library 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. + */ + +import QtQuick 2.12 +import org.kde.kirigami 2.12 as Kirigami +import org.kde.plasma.core 2.0 as PlasmaCore + +Kirigami.AbstractListItem { + id: __listItem + + /** + * content: list + * + * The content of this ListItem. + */ + default property alias content: __innerItem.data + + /** + * separatorVisible: bool + * + * Whether this ListItem displays a separator. + */ + property bool separatorVisible: true + + /** + * sectionDelegate: bool + * + * Whether this ListItem renders as a section header. + */ + property bool sectionDelegate: true + + /** + * containsMouse: bool + * + * Whether this ListItem contains the mouse. + * + * Alias of Control.hovered. + */ + readonly property bool containsMouse: hovered + + leftPadding: __background.margins.left + rightPadding: __background.margins.right + topPadding: __background.margins.top + bottomPadding: __background.margins.bottom + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, implicitContentWidth + leftPadding + rightPadding) + + // TODO KF6: Make this behave more like the normal Control default. + // Behaving this way for backwards compatibility reasons. + contentItem: Item { + id: __innerItem + } + + background: PlasmaCore.FrameSvgItem { + id : __background + imagePath: "widgets/listitem" + prefix: (__listItem.sectionDelegate ? "section" : + (__listItem.pressed || __listItem.checked) ? "pressed" : "normal") + + anchors.fill: parent + visible: __listItem.ListView.view ? __listItem.ListView.view.highlight === null : true + + PlasmaCore.SvgItem { + svg: PlasmaCore.Svg { + imagePath: "widgets/listitem" + } + elementId: "separator" + anchors { + left: parent.left + right: parent.right + top: parent.top + } + height: naturalSize.height + visible: __listItem.separatorVisible && (__listItem.sectionDelegate || (typeof(index) != "undefined" && index > 0 && !__listItem.checked && !__listItem.pressed)) + } + } +} \ No newline at end of file diff --git a/src/declarativeimports/plasmaextracomponents/qml/qmldir b/src/declarativeimports/plasmaextracomponents/qml/qmldir index 6eb4af8a9..e11f532c8 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/qmldir +++ b/src/declarativeimports/plasmaextracomponents/qml/qmldir @@ -3,6 +3,7 @@ plugin plasmaextracomponentsplugin App 2.0 App.qml ConditionalLoader 2.0 ConditionalLoader.qml +ListItem 2.0 ListItem.qml ExpandableListItem 2.0 ExpandableListItem.qml Heading 2.0 Heading.qml Paragraph 2.0 Paragraph.qml From 458ba419f3b6410f2cac93d1e2f09b8fe324f8a8 Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Sat, 8 Aug 2020 10:28:37 +0000 Subject: [PATCH 05/30] GIT_SILENT Upgrade KF5 version to 5.74.0. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31a3a4fb1..357f2953e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.73.0") # handled by release scripts +set(KF5_VERSION "5.74.0") # handled by release scripts set(KF5_DEP_VERSION "5.73.0") # handled by release scripts project(Plasma VERSION ${KF5_VERSION}) From 711789908b0c6c0f76597596d567fba4ae9151ca Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Wed, 29 Jul 2020 13:33:26 -0600 Subject: [PATCH 06/30] Drop implicit minimum sizing from PC2 and PC3 Buttons For the following reasons: - It can break and look bad on Plasma Mobile which uses the Plasma style - It makes buttons with icons and short text look visually unbalanced - QStyle and QML desktop style buttons do not do this so it's a source of inconsistency Tests are adjusted to all pass. Stuff looks better to my eye. --- src/declarativeimports/plasmacomponents3/Button.qml | 2 +- src/declarativeimports/plasmastyle/ButtonStyle.qml | 11 ----------- tests/components/button.qml | 2 +- tests/components/button3.qml | 2 +- 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/Button.qml b/src/declarativeimports/plasmacomponents3/Button.qml index ac6fe3d64..71bbf84a9 100644 --- a/src/declarativeimports/plasmacomponents3/Button.qml +++ b/src/declarativeimports/plasmacomponents3/Button.qml @@ -27,7 +27,7 @@ import "private" as Private T.Button { id: control - implicitWidth: Math.max( (label.visible ? units.gridUnit * 6 : units.gridUnit), contentItem.implicitWidth) + implicitWidth: Math.max(units.gridUnit, contentItem.implicitWidth) + leftPadding + rightPadding implicitHeight: Math.max(units.gridUnit, contentItem.implicitHeight) + topPadding + bottomPadding diff --git a/src/declarativeimports/plasmastyle/ButtonStyle.qml b/src/declarativeimports/plasmastyle/ButtonStyle.qml index 3d82c3ec7..6e36b2c11 100644 --- a/src/declarativeimports/plasmastyle/ButtonStyle.qml +++ b/src/declarativeimports/plasmastyle/ButtonStyle.qml @@ -113,17 +113,6 @@ QtQuickControlStyle.ButtonStyle { } background: Item { - - implicitHeight: Math.floor(Math.max(theme.mSize(theme.defaultFont).height*1.6, style.minimumHeight)) - - implicitWidth: { - if (control.text.length == 0) { - height; - } else { - theme.mSize(theme.defaultFont).width*12 - } - } - opacity: enabled ? 1.0 : 0.5 Private.ButtonShadow { diff --git a/tests/components/button.qml b/tests/components/button.qml index dd1b02178..143d852ba 100644 --- a/tests/components/button.qml +++ b/tests/components/button.qml @@ -29,7 +29,7 @@ ComponentBase { } Label { - text: "text alone, should be about 12 chars wide" + text: "text alone, should be about as wide as the text itself" } PlasmaComponents.Button { diff --git a/tests/components/button3.qml b/tests/components/button3.qml index e220432ef..fc04928e6 100644 --- a/tests/components/button3.qml +++ b/tests/components/button3.qml @@ -28,7 +28,7 @@ ComponentBase { } PlasmaComponents.Label { - text: "text alone, should be about 12 chars wide" + text: "text alone, should be about as wide as the text itself" } PlasmaComponents.Button { From 3e225d8664bc994bffbc3b10805162ae32da3734 Mon Sep 17 00:00:00 2001 From: David Redondo Date: Mon, 20 Jul 2020 10:46:30 +0200 Subject: [PATCH 07/30] Only draw the focus indicator when we got focus via the keyboard QQC2 controls gain activeFocus on press this is a difference to controls 1 which had activeFocusOnPress property that defaulted to false. qqc2-desktop-style also only sets the focus flag if it was gained via keyboard (kquickstyleitem.cpp:705). BUG:424446 --- src/declarativeimports/plasmacomponents3/ToolButton.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/ToolButton.qml b/src/declarativeimports/plasmacomponents3/ToolButton.qml index 92d6f97e3..3693a012a 100644 --- a/src/declarativeimports/plasmacomponents3/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents3/ToolButton.qml @@ -108,14 +108,16 @@ T.ToolButton { background: Item { Private.ButtonShadow { anchors.fill: parent - visible: (!control.flat || control.hovered || control.activeFocus) && (!control.pressed || !control.checked) + readonly property bool keyboardFocus: control.activeFocus && + (control.focusReason == Qt.TabFocusReason || control.focusReason == Qt.BacktabFocusReason) + visible: (!control.flat || control.hovered || keyboardFocus) && (!control.pressed || !control.checked) state: { if (control.pressed) { return "hidden" } else if (control.hovered) { return "hover" - } else if (control.activeFocus) { + } else if (keyboardFocus) { return "focus" } else { return control.flat ? "shadow" : "hidden" From 0fe4fc53ef75708d10b844859a0d8a98d6bfa9a3 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Sat, 25 Jul 2020 21:43:12 -0600 Subject: [PATCH 08/30] [PlasmaComponents3] Strip mnemonic ampersands from tooltip text They're never useful in that context, and this prevents having to strip them out manually when assigning a tooltip text that comes from a source that sets a mnemonic ampersand. For example https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/171#note_79871 --- src/declarativeimports/plasmacomponents3/ToolTip.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/declarativeimports/plasmacomponents3/ToolTip.qml b/src/declarativeimports/plasmacomponents3/ToolTip.qml index 9b24a32d4..04289cfbc 100644 --- a/src/declarativeimports/plasmacomponents3/ToolTip.qml +++ b/src/declarativeimports/plasmacomponents3/ToolTip.qml @@ -45,7 +45,9 @@ T.ToolTip { closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent contentItem: Label { - text: control.text + // Strip out ampersands right before non-whitespace characters, i.e. + // those used to determine the alt key shortcut + text: control.text.replace(/&(?=\S)/g, "") font: control.font color: PlasmaCore.ColorScope.textColor } From 49bb7d152b237267d49cbf520f4ab6dc7d367d2d Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 11 Aug 2020 23:41:10 +0200 Subject: [PATCH 09/30] Port away from KMimeTypeTrader It is about to be deprecated See https://phabricator.kde.org/T12177 --- src/plasma/private/associatedapplicationmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plasma/private/associatedapplicationmanager.cpp b/src/plasma/private/associatedapplicationmanager.cpp index 311531693..e4df97295 100644 --- a/src/plasma/private/associatedapplicationmanager.cpp +++ b/src/plasma/private/associatedapplicationmanager.cpp @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include @@ -70,7 +70,7 @@ public: QAction *a = i.key()->actions()->action(QStringLiteral("run associated application")); if (a) { const QString mimeType = mimeDb.mimeTypeForUrl(i.value().first()).name(); - const KService::List apps = KMimeTypeTrader::self()->query(mimeType); + const KService::List apps = KApplicationTrader::queryByMimeType(mimeType); if (!apps.isEmpty()) { a->setIcon(QIcon::fromTheme(apps.first()->icon())); a->setText(i18n("Open with %1", apps.first()->genericName().isEmpty() ? apps.first()->genericName() : apps.first()->name())); @@ -171,7 +171,7 @@ void AssociatedApplicationManager::setUrls(Plasma::Applet *applet, const QListquery(mimeType); + const KService::List apps = KApplicationTrader::queryByMimeType(mimeType); if (!apps.isEmpty()) { a->setIcon(QIcon::fromTheme(apps.first()->icon())); a->setText(i18n("Open with %1", apps.first()->genericName().isEmpty() ? apps.first()->genericName() : apps.first()->name())); From f389064ca32b72599eef128f979a412e4dbe2c63 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Wed, 12 Aug 2020 15:42:34 -0600 Subject: [PATCH 10/30] [PlasmaComponents3] Fix reversed condition for flat ToolButton shadow Non-flat ToolButtons are supposed to have a shadow, but flat ToolButtons are not. The ternary providing this was inverted so that the reverse was true. --- src/declarativeimports/plasmacomponents3/ToolButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarativeimports/plasmacomponents3/ToolButton.qml b/src/declarativeimports/plasmacomponents3/ToolButton.qml index 3693a012a..67ee0ba6d 100644 --- a/src/declarativeimports/plasmacomponents3/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents3/ToolButton.qml @@ -120,7 +120,7 @@ T.ToolButton { } else if (keyboardFocus) { return "focus" } else { - return control.flat ? "shadow" : "hidden" + return control.flat ? "hidden" : "shadow" } } } From b811a9b30bc0f32cc51994d266d69ad1e7fd4c05 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Wed, 12 Aug 2020 15:55:02 -0600 Subject: [PATCH 11/30] [PlasmaComponents3] very small refactor of ToolButton shadow code This introduces a bit more consistency to this big `if` chain. --- src/declarativeimports/plasmacomponents3/ToolButton.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/declarativeimports/plasmacomponents3/ToolButton.qml b/src/declarativeimports/plasmacomponents3/ToolButton.qml index 67ee0ba6d..4ee936d53 100644 --- a/src/declarativeimports/plasmacomponents3/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents3/ToolButton.qml @@ -119,8 +119,10 @@ T.ToolButton { return "hover" } else if (keyboardFocus) { return "focus" + } else if (control.flat) { + return "hidden" } else { - return control.flat ? "hidden" : "shadow" + return "shadow" } } } From d10afb5d2a9515c0b71048fae693ac3b293db668 Mon Sep 17 00:00:00 2001 From: Andreas Cord-Landwehr Date: Thu, 13 Aug 2020 19:08:54 +0000 Subject: [PATCH 12/30] plasma-framework: Convert copyright statements to SPDX expressions --- LICENSES/BSD-2-Clause.txt | 22 + LICENSES/BSD-3-Clause.txt | 26 + LICENSES/GPL-2.0-only.txt | 319 +++++++++ LICENSES/GPL-2.0-or-later.txt | 319 +++++++++ LICENSES/GPL-3.0-only.txt | 625 ++++++++++++++++++ LICENSES/LGPL-2.0-or-later.txt | 446 +++++++++++++ LICENSES/LGPL-2.1-only.txt | 467 +++++++++++++ LICENSES/LGPL-2.1-or-later.txt | 468 +++++++++++++ LICENSES/LGPL-3.0-only.txt | 163 +++++ LICENSES/LicenseRef-KDE-Accepted-GPL.txt | 12 + LICENSES/LicenseRef-Qt-Commercial.txt | 7 + LICENSES/Qt-LGPL-exception-1.1.txt | 21 + autotests/configmodeltest.cpp | 23 +- autotests/configmodeltest.h | 23 +- autotests/coronatest.cpp | 23 +- autotests/coronatest.h | 23 +- autotests/dialognativetest.cpp | 23 +- autotests/dialognativetest.h | 23 +- autotests/dialogqmltest.cpp | 23 +- autotests/dialogqmltest.h | 23 +- autotests/dialogstatetest.cpp | 23 +- autotests/dialogstatetest.h | 23 +- autotests/dynamictreemodel.cpp | 48 +- autotests/dynamictreemodel.h | 48 +- autotests/framesvgtest.cpp | 23 +- autotests/framesvgtest.h | 23 +- autotests/iconitemtest.cpp | 23 +- autotests/iconitemtest.h | 23 +- autotests/modeltest.cpp | 47 +- autotests/modeltest.h | 47 +- autotests/plasmoidpackagetest.cpp | 23 +- autotests/plasmoidpackagetest.h | 23 +- autotests/pluginloadertest.cpp | 23 +- autotests/pluginloadertest.h | 23 +- autotests/sortfiltermodeltest.cpp | 21 +- autotests/sortfiltermodeltest.h | 21 +- autotests/themetest.cpp | 23 +- autotests/themetest.h | 23 +- autotests/utils.h | 17 +- cmake/Find7z.cmake | 25 +- cmake/Findgzip.cmake | 25 +- .../applets/bugreport/contents/ui/main.qml | 21 +- .../contents/ui/main.qml | 21 +- .../contents/config/config.qml | 20 +- .../contents/ui/configGeneral.qml | 20 +- .../conditionalloader/contents/ui/main.qml | 20 +- .../applets/config/contents/config/config.qml | 20 +- .../config/contents/ui/configGeneral.qml | 20 +- examples/applets/config/contents/ui/main.qml | 20 +- .../dataenginemodel/contents/ui/main.qml | 21 +- .../applets/helloworld/contents/ui/main.qml | 21 +- examples/applets/notes/contents/ui/main.qml | 21 +- .../applets/nowplaying/contents/qml/main.qml | 21 +- .../applets/pairsgame/contents/ui/Card.qml | 23 +- .../pairsgame/contents/ui/GameTimer.qml | 23 +- .../pairsgame/contents/ui/WinMessage.qml | 23 +- .../pairsgame/contents/ui/gamelogic.js | 25 +- .../applets/pairsgame/contents/ui/main.qml | 23 +- .../applets/qmltasks/contents/ui/qmltasks.qml | 22 +- .../contents/qml/SamegameCore/BoomBlock.qml | 47 +- .../contents/qml/SamegameCore/Button.qml | 48 +- .../contents/qml/SamegameCore/Dialog.qml | 48 +- .../samegame/contents/qml/samegame.qml | 47 +- .../contents/ui/ButtonsPage.qml | 20 +- .../contents/ui/DialogContent.qml | 20 +- .../contents/ui/DialogsPage.qml | 20 +- .../testcomponents/contents/ui/DragItem.qml | 20 +- .../testcomponents/contents/ui/DragPage.qml | 20 +- .../testcomponents/contents/ui/IconsPage.qml | 20 +- .../testcomponents/contents/ui/MousePage.qml | 20 +- .../contents/ui/PlasmoidPage.qml | 20 +- .../testcomponents/contents/ui/TestMenu.qml | 20 +- .../testcomponents/contents/ui/ThemePage.qml | 20 +- .../contents/ui/testcomponents.qml | 20 +- .../testshaders/contents/ui/ColorExample.qml | 20 +- .../testshaders/contents/ui/ColorShower.qml | 46 +- .../testshaders/contents/ui/EditorPage.qml | 20 +- .../testshaders/contents/ui/ShaderExample.qml | 20 +- .../testshaders/contents/ui/Shadows.qml | 46 +- .../testshaders/contents/ui/SimpleExample.qml | 20 +- .../testshaders/contents/ui/WaterEffect.qml | 20 +- .../testshaders/contents/ui/WobbleExample.qml | 20 +- .../testshaders/contents/ui/config.qml | 20 +- .../contents/ui/testshaderapplet.qml | 20 +- .../testtheme/contents/ui/FontGizmo.qml | 20 +- .../testtheme/contents/ui/FontTest.qml | 20 +- .../testtheme/contents/ui/FontsPage.qml | 20 +- .../testtheme/contents/ui/ScalePage.qml | 20 +- .../testtheme/contents/ui/UnitsPage.qml | 20 +- .../testtheme/contents/ui/testtheme.qml | 20 +- .../widgetgallery/contents/ui/Busy.qml | 19 +- .../widgetgallery/contents/ui/Buttons.qml | 19 +- .../contents/ui/CheckableButtons.qml | 19 +- .../widgetgallery/contents/ui/Menu.qml | 21 +- .../widgetgallery/contents/ui/Misc.qml | 46 +- .../widgetgallery/contents/ui/Scrollers.qml | 19 +- .../widgetgallery/contents/ui/Sliders.qml | 19 +- .../widgetgallery/contents/ui/Texts.qml | 19 +- .../widgetgallery/contents/ui/Typography.qml | 19 +- .../widgetgallery/contents/ui/main.qml | 19 +- .../contents/ui/standalonemain.qml | 21 +- .../application/tablet/ui/main.qml | 19 +- .../windowthumbnails/contents/ui/main.qml | 22 +- .../contents/ui/PlasmoidContainer.qml | 21 +- .../testcontainment/contents/ui/main.qml | 20 +- .../customDataContainersEngine.cpp | 27 +- .../customDataContainersEngine.h | 27 +- .../customDataContainers/httpContainer.cpp | 27 +- .../customDataContainers/httpContainer.h | 27 +- .../dataEngineTracker/dataenginetracker.cpp | 27 +- .../dataEngineTracker/dataenginetracker.h | 27 +- .../dataengines/simpleEngine/simpleEngine.cpp | 27 +- .../dataengines/simpleEngine/simpleEngine.h | 27 +- .../sourcesOnRequest/sourcesOnRequest.cpp | 27 +- .../sourcesOnRequest/sourcesOnRequest.h | 27 +- .../developerguide/basic/contents/ui/main.qml | 21 +- examples/shell/customcorona.cpp | 22 +- examples/shell/customcorona.h | 22 +- examples/shell/main.cpp | 22 +- .../testcontainmentactionsplugin/test.cpp | 21 +- examples/testcontainmentactionsplugin/test.h | 21 +- .../wallpapers/autumn/contents/ui/config.qml | 20 +- .../wallpapers/autumn/contents/ui/main.qml | 46 +- src/declarativeimports/calendar/calendar.cpp | 19 +- src/declarativeimports/calendar/calendar.h | 19 +- .../calendar/calendardata.cpp | 17 +- .../calendar/calendardata.h | 17 +- .../calendar/calendarplugin.cpp | 17 +- .../calendar/calendarplugin.h | 17 +- src/declarativeimports/calendar/daydata.h | 15 +- src/declarativeimports/calendar/daysmodel.cpp | 19 +- src/declarativeimports/calendar/daysmodel.h | 19 +- .../calendar/eventdatadecorator.cpp | 17 +- .../calendar/eventdatadecorator.h | 17 +- .../calendar/eventpluginsmanager.cpp | 17 +- .../calendar/eventpluginsmanager.h | 17 +- .../calendar/qml/CalendarToolbar.qml | 21 +- .../calendar/qml/DayDelegate.qml | 23 +- .../calendar/qml/DaysCalendar.qml | 23 +- .../calendar/qml/MonthMenu.qml | 22 +- .../calendar/qml/MonthView.qml | 23 +- src/declarativeimports/core/colorscope.cpp | 27 +- src/declarativeimports/core/colorscope.h | 23 +- .../core/corebindingsplugin.cpp | 25 +- .../core/corebindingsplugin.h | 25 +- src/declarativeimports/core/datamodel.cpp | 19 +- src/declarativeimports/core/datamodel.h | 19 +- src/declarativeimports/core/datasource.cpp | 27 +- src/declarativeimports/core/datasource.h | 27 +- src/declarativeimports/core/fadingnode.cpp | 21 +- src/declarativeimports/core/fadingnode_p.h | 21 +- src/declarativeimports/core/framesvgitem.cpp | 23 +- src/declarativeimports/core/framesvgitem.h | 26 +- src/declarativeimports/core/iconitem.cpp | 23 +- src/declarativeimports/core/iconitem.h | 23 +- .../core/private/DefaultToolTip.qml | 19 +- src/declarativeimports/core/quicktheme.cpp | 21 +- src/declarativeimports/core/quicktheme.h | 23 +- .../core/serviceoperationstatus.cpp | 21 +- .../core/serviceoperationstatus.h | 23 +- src/declarativeimports/core/svgitem.cpp | 23 +- src/declarativeimports/core/svgitem.h | 25 +- src/declarativeimports/core/tooltip.cpp | 27 +- src/declarativeimports/core/tooltip.h | 27 +- src/declarativeimports/core/tooltipdialog.cpp | 23 +- src/declarativeimports/core/tooltipdialog.h | 23 +- src/declarativeimports/core/units.cpp | 27 +- src/declarativeimports/core/units.h | 25 +- .../core/windowthumbnail.cpp | 19 +- src/declarativeimports/core/windowthumbnail.h | 19 +- .../kirigamiplasmadesktopstyle/Units.qml | 21 +- .../AbstractApplicationHeader.qml | 10 +- .../kirigamiplasmastyle/Icon.qml | 21 +- .../kirigamiplasmastyle/Theme.qml | 21 +- .../kirigamiplasmastyle/Units.qml | 21 +- .../plasmacomponents/enums.cpp | 19 +- .../plasmacomponents/enums.h | 19 +- .../plasmacomponentsplugin.cpp | 19 +- .../plasmacomponents/plasmacomponentsplugin.h | 19 +- .../plasmacomponents/qmenu.cpp | 23 +- .../plasmacomponents/qmenu.h | 23 +- .../plasmacomponents/qmenuitem.cpp | 25 +- .../plasmacomponents/qmenuitem.h | 25 +- .../plasmacomponents/qml/BusyIndicator.qml | 23 +- .../plasmacomponents/qml/Button.qml | 24 +- .../plasmacomponents/qml/ButtonColumn.qml | 47 +- .../plasmacomponents/qml/ButtonGroup.js | 47 +- .../plasmacomponents/qml/ButtonRow.qml | 47 +- .../plasmacomponents/qml/CheckBox.qml | 21 +- .../plasmacomponents/qml/ComboBox.qml | 19 +- .../plasmacomponents/qml/CommonDialog.qml | 49 +- .../plasmacomponents/qml/ContextMenu.qml | 49 +- .../plasmacomponents/qml/Dialog.qml | 49 +- .../plasmacomponents/qml/Highlight.qml | 23 +- .../plasmacomponents/qml/Label.qml | 19 +- .../plasmacomponents/qml/ListItem.qml | 21 +- .../plasmacomponents/qml/ModelContextMenu.qml | 23 +- .../plasmacomponents/qml/Page.qml | 46 +- .../plasmacomponents/qml/PageStack.qml | 49 +- .../plasmacomponents/qml/ProgressBar.qml | 21 +- .../plasmacomponents/qml/QueryDialog.qml | 49 +- .../plasmacomponents/qml/RadioButton.qml | 23 +- .../plasmacomponents/qml/ScrollBar.qml | 21 +- .../plasmacomponents/qml/SectionScroller.qml | 46 +- .../plasmacomponents/qml/SelectionDialog.qml | 49 +- .../plasmacomponents/qml/Sheet.qml | 49 +- .../plasmacomponents/qml/Slider.qml | 21 +- .../plasmacomponents/qml/Switch.qml | 19 +- .../plasmacomponents/qml/TabBar.qml | 49 +- .../plasmacomponents/qml/TabButton.qml | 49 +- .../plasmacomponents/qml/TabGroup.qml | 47 +- .../plasmacomponents/qml/TextArea.qml | 19 +- .../plasmacomponents/qml/TextField.qml | 21 +- .../plasmacomponents/qml/ToolBar.qml | 19 +- .../plasmacomponents/qml/ToolBarLayout.qml | 19 +- .../plasmacomponents/qml/ToolButton.qml | 21 +- .../qml/private/AppManager.js | 46 +- .../qml/private/DualStateButton.qml | 19 +- .../qml/private/InlineDialog.qml | 21 +- .../plasmacomponents/qml/private/PageStack.js | 46 +- .../qml/private/ScrollBarDelegate.qml | 21 +- .../qml/private/ScrollDecoratorDelegate.qml | 21 +- .../qml/private/SectionScroller.js | 46 +- .../qml/private/TabBarLayout.qml | 49 +- .../plasmacomponents/qml/private/TabGroup.js | 46 +- .../plasmacomponents/qrangemodel.cpp | 45 +- .../plasmacomponents/qrangemodel.h | 46 +- .../plasmacomponents/qrangemodel_p.h | 33 +- .../tests/TestContextMenu.qml | 20 +- .../plasmacomponents3/BusyIndicator.qml | 21 +- .../plasmacomponents3/Button.qml | 21 +- .../plasmacomponents3/CheckBox.qml | 21 +- .../plasmacomponents3/CheckDelegate.qml | 21 +- .../plasmacomponents3/CheckIndicator.qml | 21 +- .../plasmacomponents3/ComboBox.qml | 21 +- .../plasmacomponents3/Container.qml | 21 +- .../plasmacomponents3/Control.qml | 21 +- .../plasmacomponents3/Dial.qml | 21 +- .../plasmacomponents3/Dialog.qml | 21 +- .../plasmacomponents3/DialogButtonBox.qml | 21 +- .../plasmacomponents3/Drawer.qml | 21 +- .../plasmacomponents3/Frame.qml | 21 +- .../plasmacomponents3/GroupBox.qml | 21 +- .../plasmacomponents3/ItemDelegate.qml | 21 +- .../plasmacomponents3/Label.qml | 21 +- .../plasmacomponents3/Menu.qml | 21 +- .../plasmacomponents3/MenuItem.qml | 21 +- .../plasmacomponents3/Page.qml | 21 +- .../plasmacomponents3/PageIndicator.qml | 21 +- .../plasmacomponents3/Popup.qml | 21 +- .../plasmacomponents3/ProgressBar.qml | 21 +- .../plasmacomponents3/RadioButton.qml | 21 +- .../plasmacomponents3/RadioDelegate.qml | 21 +- .../plasmacomponents3/RadioIndicator.qml | 21 +- .../plasmacomponents3/RangeSlider.qml | 21 +- .../plasmacomponents3/RoundButton.qml | 21 +- .../plasmacomponents3/ScrollBar.qml | 21 +- .../plasmacomponents3/ScrollView.qml | 24 +- .../plasmacomponents3/Slider.qml | 21 +- .../plasmacomponents3/Switch.qml | 21 +- .../plasmacomponents3/SwitchDelegate.qml | 21 +- .../plasmacomponents3/SwitchIndicator.qml | 21 +- .../plasmacomponents3/TabBar.qml | 21 +- .../plasmacomponents3/TabButton.qml | 21 +- .../plasmacomponents3/TextArea.qml | 21 +- .../plasmacomponents3/TextField.qml | 21 +- .../plasmacomponents3/ToolBar.qml | 21 +- .../plasmacomponents3/ToolButton.qml | 21 +- .../plasmacomponents3/ToolTip.qml | 23 +- .../mobiletextselection/MobileCursor.qml | 21 +- .../MobileTextActionsToolBar.qml | 21 +- .../private/ButtonShadow.qml | 23 +- .../private/DefaultListItemBackground.qml | 21 +- .../plasmacomponents3/private/RoundShadow.qml | 23 +- .../private/TextFieldFocus.qml | 23 +- .../appbackgroundprovider.cpp | 17 +- .../appbackgroundprovider_p.h | 17 +- .../fallbackcomponent.cpp | 21 +- .../plasmaextracomponents/fallbackcomponent.h | 21 +- .../plasmaextracomponentsplugin.cpp | 19 +- .../plasmaextracomponentsplugin.h | 23 +- .../plasmaextracomponents/qml/App.qml | 19 +- .../qml/ConditionalLoader.qml | 16 +- .../qml/DescriptiveLabel.qml | 19 +- .../qml/ExpandableListItem.qml | 21 +- .../plasmaextracomponents/qml/Heading.qml | 19 +- .../plasmaextracomponents/qml/ListItem.qml | 23 +- .../plasmaextracomponents/qml/PageRow.qml | 49 +- .../plasmaextracomponents/qml/Paragraph.qml | 19 +- .../qml/PlaceholderMessage.qml | 21 +- .../qml/PlasmoidHeading.qml | 21 +- .../plasmaextracomponents/qml/ScrollArea.qml | 19 +- .../plasmaextracomponents/qml/Title.qml | 19 +- .../qml/animations/ActivateAnimation.qml | 21 +- .../qml/animations/AppearAnimation.qml | 21 +- .../qml/animations/DisappearAnimation.qml | 21 +- .../qml/animations/PressedAnimation.qml | 21 +- .../qml/animations/ReleasedAnimation.qml | 21 +- .../plasmastyle/ApplicationWindowStyle.qml | 21 +- .../plasmastyle/BusyIndicatorStyle.qml | 19 +- .../plasmastyle/ButtonStyle.qml | 23 +- .../plasmastyle/CalendarStyle.qml | 23 +- .../plasmastyle/CheckBoxStyle.qml | 21 +- .../plasmastyle/ComboBoxStyle.qml | 19 +- .../plasmastyle/CursorDelegate.qml | 19 +- .../plasmastyle/CursorHandleStyle.qml | 19 +- .../plasmastyle/EditMenuTouch.qml | 21 +- .../plasmastyle/FocusFrameStyle.qml | 21 +- .../plasmastyle/GroupBoxStyle.qml | 21 +- .../plasmastyle/MenuBarStyle.qml | 21 +- .../plasmastyle/MenuStyle.qml | 21 +- .../plasmastyle/ProgressBarStyle.qml | 21 +- .../plasmastyle/RadioButtonStyle.qml | 21 +- .../plasmastyle/ScrollViewStyle.qml | 21 +- .../plasmastyle/SelectionHandleStyle.qml | 19 +- .../plasmastyle/SliderStyle.qml | 21 +- .../plasmastyle/SpinBoxStyle.qml | 23 +- .../plasmastyle/StatusBarStyle.qml | 21 +- .../plasmastyle/SwitchStyle.qml | 21 +- .../plasmastyle/TabViewStyle.qml | 21 +- .../plasmastyle/TableViewStyle.qml | 23 +- .../plasmastyle/TextAreaStyle.qml | 21 +- .../plasmastyle/TextFieldStyle.qml | 19 +- .../plasmastyle/ToolBarStyle.qml | 23 +- .../plasmastyle/ToolButtonStyle.qml | 23 +- .../plasmastyle/private/ButtonShadow.qml | 23 +- .../plasmastyle/private/RoundShadow.qml | 23 +- .../plasmastyle/private/TextFieldFocus.qml | 23 +- .../plasmastyle/private/Util.js | 23 +- .../platformcomponents/application.cpp | 21 +- .../platformcomponents/application.h | 21 +- .../platformcomponents/application_p.h | 21 +- .../platformcomponents/icondialog.cpp | 21 +- .../platformcomponents/icondialog.h | 21 +- .../platformextensionplugin.cpp | 21 +- .../platformcomponents/utils/d_ptr.h | 21 +- .../utils/d_ptr_implementation.h | 21 +- .../utils/sharedsingleton.h | 21 +- src/plasma/applet.cpp | 27 +- src/plasma/applet.h | 23 +- src/plasma/containment.cpp | 27 +- src/plasma/containment.h | 25 +- src/plasma/containmentactions.cpp | 21 +- src/plasma/containmentactions.h | 19 +- src/plasma/corona.cpp | 27 +- src/plasma/corona.h | 25 +- src/plasma/datacontainer.cpp | 21 +- src/plasma/datacontainer.h | 21 +- src/plasma/dataengine.cpp | 21 +- src/plasma/dataengine.h | 21 +- src/plasma/dataengineconsumer.cpp | 25 +- src/plasma/dataengineconsumer.h | 21 +- src/plasma/framesvg.cpp | 23 +- src/plasma/framesvg.h | 23 +- src/plasma/package.cpp | 29 +- src/plasma/package.h | 23 +- src/plasma/packagestructure.cpp | 23 +- src/plasma/packagestructure.h | 23 +- .../containmentactionspackage.cpp | 23 +- .../packagestructure/dataenginepackage.cpp | 23 +- src/plasma/packagestructure/packages.cpp | 23 +- src/plasma/packagestructure/packages_p.h | 23 +- .../packagestructure/plasmagenericpackage.cpp | 23 +- .../packagestructure/plasmathemepackage.cpp | 23 +- .../packagestructure/plasmoidpackage.cpp | 23 +- src/plasma/plasma.cpp | 21 +- src/plasma/plasma.h | 21 +- src/plasma/pluginloader.cpp | 21 +- src/plasma/pluginloader.h | 21 +- src/plasma/private/actionwidgetinterface_p.h | 23 +- src/plasma/private/applet_p.cpp | 29 +- src/plasma/private/applet_p.h | 23 +- .../private/associatedapplicationmanager.cpp | 21 +- .../private/associatedapplicationmanager_p.h | 21 +- src/plasma/private/authorizationmanager_p.h | 21 +- src/plasma/private/containment_p.cpp | 27 +- src/plasma/private/containment_p.h | 23 +- src/plasma/private/containmentactions_p.h | 21 +- src/plasma/private/corona_p.h | 21 +- src/plasma/private/datacontainer_p.cpp | 21 +- src/plasma/private/datacontainer_p.h | 21 +- src/plasma/private/dataengine_p.h | 21 +- src/plasma/private/dataengineconsumer_p.h | 25 +- src/plasma/private/dataenginemanager.cpp | 21 +- src/plasma/private/dataenginemanager_p.h | 21 +- src/plasma/private/effectwatcher.cpp | 21 +- src/plasma/private/effectwatcher_p.h | 21 +- src/plasma/private/framesvg_helpers.h | 21 +- src/plasma/private/framesvg_p.h | 23 +- src/plasma/private/package_p.h | 23 +- src/plasma/private/packagestructure_p.h | 23 +- src/plasma/private/service_p.h | 21 +- src/plasma/private/servicejob_p.h | 21 +- src/plasma/private/sharedtimer_p.h | 21 +- src/plasma/private/storage.cpp | 28 +- src/plasma/private/storage_p.h | 28 +- src/plasma/private/storagethread.cpp | 21 +- src/plasma/private/storagethread_p.h | 21 +- src/plasma/private/svg_p.h | 21 +- src/plasma/private/theme_p.cpp | 23 +- src/plasma/private/theme_p.h | 23 +- src/plasma/private/timetracker.cpp | 21 +- src/plasma/private/timetracker.h | 21 +- src/plasma/scripting/appletscript.cpp | 21 +- src/plasma/scripting/appletscript.h | 21 +- src/plasma/scripting/dataenginescript.cpp | 21 +- src/plasma/scripting/dataenginescript.h | 21 +- src/plasma/scripting/scriptengine.cpp | 21 +- src/plasma/scripting/scriptengine.h | 21 +- src/plasma/service.cpp | 21 +- src/plasma/service.h | 21 +- src/plasma/servicejob.cpp | 21 +- src/plasma/servicejob.h | 21 +- src/plasma/svg.cpp | 23 +- src/plasma/svg.h | 21 +- src/plasma/theme.cpp | 21 +- src/plasma/theme.h | 23 +- src/plasma/version.cpp | 21 +- src/plasma/version.h | 21 +- src/plasmapkg/main.cpp | 21 +- src/plasmaquick/appletquickitem.cpp | 21 +- src/plasmaquick/appletquickitem.h | 21 +- src/plasmaquick/configmodel.cpp | 23 +- src/plasmaquick/configmodel.h | 23 +- src/plasmaquick/configview.cpp | 21 +- src/plasmaquick/configview.h | 21 +- src/plasmaquick/containmentview.cpp | 20 +- src/plasmaquick/containmentview.h | 20 +- src/plasmaquick/dialog.cpp | 29 +- src/plasmaquick/dialog.h | 25 +- src/plasmaquick/dialogshadows.cpp | 20 +- src/plasmaquick/dialogshadows_p.h | 18 +- src/plasmaquick/packageurlinterceptor.cpp | 21 +- src/plasmaquick/packageurlinterceptor.h | 21 +- src/plasmaquick/private/appletquickitem_p.h | 21 +- src/plasmaquick/private/configcategory_p.cpp | 23 +- src/plasmaquick/private/configcategory_p.h | 23 +- src/plasmaquick/private/packages.cpp | 25 +- src/plasmaquick/private/packages.h | 27 +- src/plasmaquick/shellpluginloader.cpp | 21 +- src/plasmaquick/shellpluginloader.h | 21 +- src/plasmaquick/view.cpp | 20 +- src/plasmaquick/view.h | 20 +- src/plasmaquick/waylandintegration.cpp | 30 +- src/plasmaquick/waylandintegration_p.h | 20 +- src/scriptengines/python/plasma_importer.py | 18 +- src/scriptengines/python/plasmascript.py | 18 +- src/scriptengines/python/pydataengine.py | 19 +- src/scriptengines/python/pyrunner.py | 21 +- .../qml/plasmoid/appletinterface.cpp | 23 +- .../qml/plasmoid/appletinterface.h | 25 +- .../qml/plasmoid/containmentinterface.cpp | 25 +- .../qml/plasmoid/containmentinterface.h | 23 +- .../qml/plasmoid/declarativeappletscript.cpp | 21 +- .../qml/plasmoid/declarativeappletscript.h | 21 +- src/scriptengines/qml/plasmoid/dropmenu.cpp | 25 +- src/scriptengines/qml/plasmoid/dropmenu.h | 23 +- .../qml/plasmoid/wallpaperinterface.cpp | 21 +- .../qml/plasmoid/wallpaperinterface.h | 21 +- src/scriptengines/ruby/data_engine.rb | 17 +- src/tools/inkscape extensions/plasmarename.py | 16 +- tests/colorcontext.qml | 21 +- tests/dialog.qml | 21 +- tests/dialog_fullscreen.qml | 21 +- tests/dialog_minWidthHeightRepositioning.qml | 21 +- tests/dialog_positioning.qml | 21 +- tests/dialog_positioning2.qml | 21 +- tests/dialog_positioning_parentrotated.qml | 23 +- tests/dialog_resizeWithParent.qml | 23 +- tests/dialog_sizeMoreThanMin.qml | 23 +- tests/dialog_tooltip.qml | 21 +- tests/dialog_visualParentChange.qml | 21 +- tests/dpi/dpitest.cpp | 23 +- tests/dpi/dpitest.h | 23 +- tests/dpi/main.cpp | 23 +- tests/kplugins/main.cpp | 23 +- tests/kplugins/plugintest.cpp | 23 +- tests/kplugins/plugintest.h | 23 +- tests/selected_svg.qml | 21 +- tests/testborders.qml | 21 +- tests/testengine/testengine.cpp | 21 +- tests/testengine/testengine.h | 21 +- tests/tooltip-icons.qml | 21 +- tests/tooltip.qml | 21 +- 484 files changed, 5018 insertions(+), 8968 deletions(-) create mode 100644 LICENSES/BSD-2-Clause.txt create mode 100644 LICENSES/BSD-3-Clause.txt create mode 100644 LICENSES/GPL-2.0-only.txt create mode 100644 LICENSES/GPL-2.0-or-later.txt create mode 100644 LICENSES/GPL-3.0-only.txt create mode 100644 LICENSES/LGPL-2.0-or-later.txt create mode 100644 LICENSES/LGPL-2.1-only.txt create mode 100644 LICENSES/LGPL-2.1-or-later.txt create mode 100644 LICENSES/LGPL-3.0-only.txt create mode 100644 LICENSES/LicenseRef-KDE-Accepted-GPL.txt create mode 100644 LICENSES/LicenseRef-Qt-Commercial.txt create mode 100644 LICENSES/Qt-LGPL-exception-1.1.txt diff --git a/LICENSES/BSD-2-Clause.txt b/LICENSES/BSD-2-Clause.txt new file mode 100644 index 000000000..2d2bab112 --- /dev/null +++ b/LICENSES/BSD-2-Clause.txt @@ -0,0 +1,22 @@ +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/BSD-3-Clause.txt b/LICENSES/BSD-3-Clause.txt new file mode 100644 index 000000000..0741db789 --- /dev/null +++ b/LICENSES/BSD-3-Clause.txt @@ -0,0 +1,26 @@ +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/GPL-2.0-only.txt b/LICENSES/GPL-2.0-only.txt new file mode 100644 index 000000000..0f3d6411d --- /dev/null +++ b/LICENSES/GPL-2.0-only.txt @@ -0,0 +1,319 @@ +GNU GENERAL PUBLIC LICENSE + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. + +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software +is covered by the GNU Lesser General Public License instead.) You can apply +it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or +for a fee, you must give the recipients all the rights that you have. You +must make sure that they, too, receive or can get the source code. And you +must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If +the software is modified by someone else and passed on, we want its recipients +to know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms +of this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or translated +into another language. (Hereinafter, translation is included without limitation +in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running the Program +is not restricted, and the output from the Program is covered only if its +contents constitute a work based on the Program (independent of having been +made by running the Program). Whether that is true depends on what the Program +does. + +1. You may copy and distribute verbatim copies of the Program's source code +as you receive it, in any medium, provided that you conspicuously and appropriately +publish on each copy an appropriate copyright notice and disclaimer of warranty; +keep intact all the notices that refer to this License and to the absence +of any warranty; and give any other recipients of the Program a copy of this +License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, +thus forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + +a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or +in part contains or is derived from the Program or any part thereof, to be +licensed as a whole at no charge to all third parties under the terms of this +License. + +c) If the modified program normally reads commands interactively when run, +you must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this License. +(Exception: if the Program itself is interactive but does not normally print +such an announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Program, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Program. + +In addition, mere aggregation of another work not based on the Program with +the Program (or with a work based on the Program) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under Section +2) in object code or executable form under the terms of Sections 1 and 2 above +provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source code, +which must be distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on +a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute +corresponding source code. (This alternative is allowed only for noncommercial +distribution and only if you received the program in object code or executable +form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code distributed +need not include anything that is normally distributed (in either source or +binary form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component itself +accompanies the executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy the +source code from the same place counts as distribution of the source code, +even though third parties are not compelled to copy the source along with +the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except +as expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses terminated +so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Program or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Program +(or any work based on the Program), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor +to copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of +the rights granted herein. You are not responsible for enforcing compliance +by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Program at all. For example, if a +patent license would not permit royalty-free redistribution of the Program +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system, which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of +the General Public License from time to time. Such new versions will be similar +in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Program does not specify a version number of this License, you may choose +any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing and reuse +of software generally. + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + + +Copyright (C)< yyyy> + +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. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when +it starts in an interactive mode: + +Gnomovision version 69, Copyright (C) year name of author Gnomovision comes +with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, +and you are welcome to redistribute it under certain conditions; type `show +c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than `show w' and `show c'; they could even be mouse-clicks +or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' +(which makes passes at compilers) written by James Hacker. + +, 1 April 1989 Ty Coon, President of Vice This General +Public License does not permit incorporating your program into proprietary +programs. If your program is a subroutine library, you may consider it more +useful to permit linking proprietary applications with the library. If this +is what you want to do, use the GNU Lesser General Public License instead +of this License. diff --git a/LICENSES/GPL-2.0-or-later.txt b/LICENSES/GPL-2.0-or-later.txt new file mode 100644 index 000000000..1d80ac365 --- /dev/null +++ b/LICENSES/GPL-2.0-or-later.txt @@ -0,0 +1,319 @@ +GNU GENERAL PUBLIC LICENSE + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. + +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software +is covered by the GNU Lesser General Public License instead.) You can apply +it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or +for a fee, you must give the recipients all the rights that you have. You +must make sure that they, too, receive or can get the source code. And you +must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If +the software is modified by someone else and passed on, we want its recipients +to know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms +of this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or translated +into another language. (Hereinafter, translation is included without limitation +in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running the Program +is not restricted, and the output from the Program is covered only if its +contents constitute a work based on the Program (independent of having been +made by running the Program). Whether that is true depends on what the Program +does. + +1. You may copy and distribute verbatim copies of the Program's source code +as you receive it, in any medium, provided that you conspicuously and appropriately +publish on each copy an appropriate copyright notice and disclaimer of warranty; +keep intact all the notices that refer to this License and to the absence +of any warranty; and give any other recipients of the Program a copy of this +License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, +thus forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + +a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or +in part contains or is derived from the Program or any part thereof, to be +licensed as a whole at no charge to all third parties under the terms of this +License. + +c) If the modified program normally reads commands interactively when run, +you must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this License. +(Exception: if the Program itself is interactive but does not normally print +such an announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Program, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Program. + +In addition, mere aggregation of another work not based on the Program with +the Program (or with a work based on the Program) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under Section +2) in object code or executable form under the terms of Sections 1 and 2 above +provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source code, +which must be distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on +a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute +corresponding source code. (This alternative is allowed only for noncommercial +distribution and only if you received the program in object code or executable +form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code distributed +need not include anything that is normally distributed (in either source or +binary form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component itself +accompanies the executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy the +source code from the same place counts as distribution of the source code, +even though third parties are not compelled to copy the source along with +the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except +as expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses terminated +so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Program or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Program +(or any work based on the Program), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor +to copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of +the rights granted herein. You are not responsible for enforcing compliance +by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Program at all. For example, if a +patent license would not permit royalty-free redistribution of the Program +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system, which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of +the General Public License from time to time. Such new versions will be similar +in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Program does not specify a version number of this License, you may choose +any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing and reuse +of software generally. + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + + +Copyright (C) + +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. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when +it starts in an interactive mode: + +Gnomovision version 69, Copyright (C) year name of author Gnomovision comes +with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, +and you are welcome to redistribute it under certain conditions; type `show +c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than `show w' and `show c'; they could even be mouse-clicks +or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' +(which makes passes at compilers) written by James Hacker. + +, 1 April 1989 Ty Coon, President of Vice This General +Public License does not permit incorporating your program into proprietary +programs. If your program is a subroutine library, you may consider it more +useful to permit linking proprietary applications with the library. If this +is what you want to do, use the GNU Lesser General Public License instead +of this License. diff --git a/LICENSES/GPL-3.0-only.txt b/LICENSES/GPL-3.0-only.txt new file mode 100644 index 000000000..e142a525b --- /dev/null +++ b/LICENSES/GPL-3.0-only.txt @@ -0,0 +1,625 @@ +GNU GENERAL PUBLIC LICENSE + +Version 3, 29 June 2007 + +Copyright © 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The GNU General Public License is a free, copyleft license for software and +other kinds of works. + +The licenses for most software and other practical works are designed to take +away your freedom to share and change the works. By contrast, the GNU General +Public License is intended to guarantee your freedom to share and change all +versions of a program--to make sure it remains free software for all its users. +We, the Free Software Foundation, use the GNU General Public License for most +of our software; it applies also to any other work released this way by its +authors. You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for them if you wish), that +you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs, and that you know you +can do these things. + +To protect your rights, we need to prevent others from denying you these rights +or asking you to surrender the rights. Therefore, you have certain responsibilities +if you distribute copies of the software, or if you modify it: responsibilities +to respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or +for a fee, you must pass on to the recipients the same freedoms that you received. +You must make sure that they, too, receive or can get the source code. And +you must show them these terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert +copyright on the software, and (2) offer you this License giving you legal +permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that +there is no warranty for this free software. For both users' and authors' +sake, the GPL requires that modified versions be marked as changed, so that +their problems will not be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified +versions of the software inside them, although the manufacturer can do so. +This is fundamentally incompatible with the aim of protecting users' freedom +to change the software. The systematic pattern of such abuse occurs in the +area of products for individuals to use, which is precisely where it is most +unacceptable. Therefore, we have designed this version of the GPL to prohibit +the practice for those products. If such problems arise substantially in other +domains, we stand ready to extend this provision to those domains in future +versions of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. States +should not allow patents to restrict development and use of software on general-purpose +computers, but in those that do, we wish to avoid the special danger that +patents applied to a free program could make it effectively proprietary. To +prevent this, the GPL assures that patents cannot be used to render the program +non-free. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + +"Copyright" also means copyright-like laws that apply to other kinds of works, +such as semiconductor masks. + +"The Program" refers to any copyrightable work licensed under this License. +Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals +or organizations. + +To "modify" a work means to copy from or adapt all or part of the work in +a fashion requiring copyright permission, other than the making of an exact +copy. The resulting work is called a "modified version" of the earlier work +or a work "based on" the earlier work. + +A "covered work" means either the unmodified Program or a work based on the +Program. + +To "propagate" a work means to do anything with it that, without permission, +would make you directly or secondarily liable for infringement under applicable +copyright law, except executing it on a computer or modifying a private copy. +Propagation includes copying, distribution (with or without modification), +making available to the public, and in some countries other activities as +well. + +To "convey" a work means any kind of propagation that enables other parties +to make or receive copies. Mere interaction with a user through a computer +network, with no transfer of a copy, is not conveying. + +An interactive user interface displays "Appropriate Legal Notices" to the +extent that it includes a convenient and prominently visible feature that +(1) displays an appropriate copyright notice, and (2) tells the user that +there is no warranty for the work (except to the extent that warranties are +provided), that licensees may convey the work under this License, and how +to view a copy of this License. If the interface presents a list of user commands +or options, such as a menu, a prominent item in the list meets this criterion. + + 1. Source Code. + +The "source code" for a work means the preferred form of the work for making +modifications to it. "Object code" means any non-source form of a work. + +A "Standard Interface" means an interface that either is an official standard +defined by a recognized standards body, or, in the case of interfaces specified +for a particular programming language, one that is widely used among developers +working in that language. + +The "System Libraries" of an executable work include anything, other than +the work as a whole, that (a) is included in the normal form of packaging +a Major Component, but which is not part of that Major Component, and (b) +serves only to enable use of the work with that Major Component, or to implement +a Standard Interface for which an implementation is available to the public +in source code form. A "Major Component", in this context, means a major essential +component (kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to produce +the work, or an object code interpreter used to run it. + +The "Corresponding Source" for a work in object code form means all the source +code needed to generate, install, and (for an executable work) run the object +code and to modify the work, including scripts to control those activities. +However, it does not include the work's System Libraries, or general-purpose +tools or generally available free programs which are used unmodified in performing +those activities but which are not part of the work. For example, Corresponding +Source includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically linked +subprograms that the work is specifically designed to require, such as by +intimate data communication or control flow between those subprograms and +other parts of the work. + +The Corresponding Source need not include anything that users can regenerate +automatically from other parts of the Corresponding Source. + + The Corresponding Source for a work in source code form is that same work. + + 2. Basic Permissions. + +All rights granted under this License are granted for the term of copyright +on the Program, and are irrevocable provided the stated conditions are met. +This License explicitly affirms your unlimited permission to run the unmodified +Program. The output from running a covered work is covered by this License +only if the output, given its content, constitutes a covered work. This License +acknowledges your rights of fair use or other equivalent, as provided by copyright +law. + +You may make, run and propagate covered works that you do not convey, without +conditions so long as your license otherwise remains in force. You may convey +covered works to others for the sole purpose of having them make modifications +exclusively for you, or provide you with facilities for running those works, +provided that you comply with the terms of this License in conveying all material +for which you do not control copyright. Those thus making or running the covered +works for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of your copyrighted +material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions +stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + +No covered work shall be deemed part of an effective technological measure +under any applicable law fulfilling obligations under article 11 of the WIPO +copyright treaty adopted on 20 December 1996, or similar laws prohibiting +or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention +of technological measures to the extent such circumvention is effected by +exercising rights under this License with respect to the covered work, and +you disclaim any intention to limit operation or modification of the work +as a means of enforcing, against the work's users, your or third parties' +legal rights to forbid circumvention of technological measures. + + 4. Conveying Verbatim Copies. + +You may convey verbatim copies of the Program's source code as you receive +it, in any medium, provided that you conspicuously and appropriately publish +on each copy an appropriate copyright notice; keep intact all notices stating +that this License and any non-permissive terms added in accord with section +7 apply to the code; keep intact all notices of the absence of any warranty; +and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you +may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + +You may convey a work based on the Program, or the modifications to produce +it from the Program, in the form of source code under the terms of section +4, provided that you also meet all of these conditions: + +a) The work must carry prominent notices stating that you modified it, and +giving a relevant date. + +b) The work must carry prominent notices stating that it is released under +this License and any conditions added under section 7. This requirement modifies +the requirement in section 4 to "keep intact all notices". + +c) You must license the entire work, as a whole, under this License to anyone +who comes into possession of a copy. This License will therefore apply, along +with any applicable section 7 additional terms, to the whole of the work, +and all its parts, regardless of how they are packaged. This License gives +no permission to license the work in any other way, but it does not invalidate +such permission if you have separately received it. + +d) If the work has interactive user interfaces, each must display Appropriate +Legal Notices; however, if the Program has interactive interfaces that do +not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, +which are not by their nature extensions of the covered work, and which are +not combined with it such as to form a larger program, in or on a volume of +a storage or distribution medium, is called an "aggregate" if the compilation +and its resulting copyright are not used to limit the access or legal rights +of the compilation's users beyond what the individual works permit. Inclusion +of a covered work in an aggregate does not cause this License to apply to +the other parts of the aggregate. + + 6. Conveying Non-Source Forms. + +You may convey a covered work in object code form under the terms of sections +4 and 5, provided that you also convey the machine-readable Corresponding +Source under the terms of this License, in one of these ways: + +a) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by the Corresponding Source fixed +on a durable physical medium customarily used for software interchange. + +b) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by a written offer, valid for +at least three years and valid for as long as you offer spare parts or customer +support for that product model, to give anyone who possesses the object code +either (1) a copy of the Corresponding Source for all the software in the +product that is covered by this License, on a durable physical medium customarily +used for software interchange, for a price no more than your reasonable cost +of physically performing this conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. + +c) Convey individual copies of the object code with a copy of the written +offer to provide the Corresponding Source. This alternative is allowed only +occasionally and noncommercially, and only if you received the object code +with such an offer, in accord with subsection 6b. + +d) Convey the object code by offering access from a designated place (gratis +or for a charge), and offer equivalent access to the Corresponding Source +in the same way through the same place at no further charge. You need not +require recipients to copy the Corresponding Source along with the object +code. If the place to copy the object code is a network server, the Corresponding +Source may be on a different server (operated by you or a third party) that +supports equivalent copying facilities, provided you maintain clear directions +next to the object code saying where to find the Corresponding Source. Regardless +of what server hosts the Corresponding Source, you remain obligated to ensure +that it is available for as long as needed to satisfy these requirements. + +e) Convey the object code using peer-to-peer transmission, provided you inform +other peers where the object code and Corresponding Source of the work are +being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from +the Corresponding Source as a System Library, need not be included in conveying +the object code work. + +A "User Product" is either (1) a "consumer product", which means any tangible +personal property which is normally used for personal, family, or household +purposes, or (2) anything designed or sold for incorporation into a dwelling. +In determining whether a product is a consumer product, doubtful cases shall +be resolved in favor of coverage. For a particular product received by a particular +user, "normally used" refers to a typical or common use of that class of product, +regardless of the status of the particular user or of the way in which the +particular user actually uses, or expects or is expected to use, the product. +A product is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent the +only significant mode of use of the product. + +"Installation Information" for a User Product means any methods, procedures, +authorization keys, or other information required to install and execute modified +versions of a covered work in that User Product from a modified version of +its Corresponding Source. The information must suffice to ensure that the +continued functioning of the modified object code is in no case prevented +or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically +for use in, a User Product, and the conveying occurs as part of a transaction +in which the right of possession and use of the User Product is transferred +to the recipient in perpetuity or for a fixed term (regardless of how the +transaction is characterized), the Corresponding Source conveyed under this +section must be accompanied by the Installation Information. But this requirement +does not apply if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has been installed +in ROM). + +The requirement to provide Installation Information does not include a requirement +to continue to provide support service, warranty, or updates for a work that +has been modified or installed by the recipient, or for the User Product in +which it has been modified or installed. Access to a network may be denied +when the modification itself materially and adversely affects the operation +of the network or violates the rules and protocols for communication across +the network. + +Corresponding Source conveyed, and Installation Information provided, in accord +with this section must be in a format that is publicly documented (and with +an implementation available to the public in source code form), and must require +no special password or key for unpacking, reading or copying. + + 7. Additional Terms. + +"Additional permissions" are terms that supplement the terms of this License +by making exceptions from one or more of its conditions. Additional permissions +that are applicable to the entire Program shall be treated as though they +were included in this License, to the extent that they are valid under applicable +law. If additional permissions apply only to part of the Program, that part +may be used separately under those permissions, but the entire Program remains +governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any +additional permissions from that copy, or from any part of it. (Additional +permissions may be written to require their own removal in certain cases when +you modify the work.) You may place additional permissions on material, added +by you to a covered work, for which you have or can give appropriate copyright +permission. + +Notwithstanding any other provision of this License, for material you add +to a covered work, you may (if authorized by the copyright holders of that +material) supplement the terms of this License with terms: + +a) Disclaiming warranty or limiting liability differently from the terms of +sections 15 and 16 of this License; or + +b) Requiring preservation of specified reasonable legal notices or author +attributions in that material or in the Appropriate Legal Notices displayed +by works containing it; or + +c) Prohibiting misrepresentation of the origin of that material, or requiring +that modified versions of such material be marked in reasonable ways as different +from the original version; or + +d) Limiting the use for publicity purposes of names of licensors or authors +of the material; or + +e) Declining to grant rights under trademark law for use of some trade names, +trademarks, or service marks; or + +f) Requiring indemnification of licensors and authors of that material by +anyone who conveys the material (or modified versions of it) with contractual +assumptions of liability to the recipient, for any liability that these contractual +assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered "further restrictions" +within the meaning of section 10. If the Program as you received it, or any +part of it, contains a notice stating that it is governed by this License +along with a term that is a further restriction, you may remove that term. +If a license document contains a further restriction but permits relicensing +or conveying under this License, you may add to a covered work material governed +by the terms of that license document, provided that the further restriction +does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, +in the relevant source files, a statement of the additional terms that apply +to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form +of a separately written license, or stated as exceptions; the above requirements +apply either way. + + 8. Termination. + +You may not propagate or modify a covered work except as expressly provided +under this License. Any attempt otherwise to propagate or modify it is void, +and will automatically terminate your rights under this License (including +any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from +a particular copyright holder is reinstated (a) provisionally, unless and +until the copyright holder explicitly and finally terminates your license, +and (b) permanently, if the copyright holder fails to notify you of the violation +by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently +if the copyright holder notifies you of the violation by some reasonable means, +this is the first time you have received notice of violation of this License +(for any work) from that copyright holder, and you cure the violation prior +to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses +of parties who have received copies or rights from you under this License. +If your rights have been terminated and not permanently reinstated, you do +not qualify to receive new licenses for the same material under section 10. + + 9. Acceptance Not Required for Having Copies. + +You are not required to accept this License in order to receive or run a copy +of the Program. Ancillary propagation of a covered work occurring solely as +a consequence of using peer-to-peer transmission to receive a copy likewise +does not require acceptance. However, nothing other than this License grants +you permission to propagate or modify any covered work. These actions infringe +copyright if you do not accept this License. Therefore, by modifying or propagating +a covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + +Each time you convey a covered work, the recipient automatically receives +a license from the original licensors, to run, modify and propagate that work, +subject to this License. You are not responsible for enforcing compliance +by third parties with this License. + +An "entity transaction" is a transaction transferring control of an organization, +or substantially all assets of one, or subdividing an organization, or merging +organizations. If propagation of a covered work results from an entity transaction, +each party to that transaction who receives a copy of the work also receives +whatever licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the Corresponding +Source of the work from the predecessor in interest, if the predecessor has +it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights +granted or affirmed under this License. For example, you may not impose a +license fee, royalty, or other charge for exercise of rights granted under +this License, and you may not initiate litigation (including a cross-claim +or counterclaim in a lawsuit) alleging that any patent claim is infringed +by making, using, selling, offering for sale, or importing the Program or +any portion of it. + + 11. Patents. + +A "contributor" is a copyright holder who authorizes use under this License +of the Program or a work on which the Program is based. The work thus licensed +is called the contributor's "contributor version". + +A contributor's "essential patent claims" are all patent claims owned or controlled +by the contributor, whether already acquired or hereafter acquired, that would +be infringed by some manner, permitted by this License, of making, using, +or selling its contributor version, but do not include claims that would be +infringed only as a consequence of further modification of the contributor +version. For purposes of this definition, "control" includes the right to +grant patent sublicenses in a manner consistent with the requirements of this +License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent +license under the contributor's essential patent claims, to make, use, sell, +offer for sale, import and otherwise run, modify and propagate the contents +of its contributor version. + +In the following three paragraphs, a "patent license" is any express agreement +or commitment, however denominated, not to enforce a patent (such as an express +permission to practice a patent or covenant not to sue for patent infringement). +To "grant" such a patent license to a party means to make such an agreement +or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the +Corresponding Source of the work is not available for anyone to copy, free +of charge and under the terms of this License, through a publicly available +network server or other readily accessible means, then you must either (1) +cause the Corresponding Source to be so available, or (2) arrange to deprive +yourself of the benefit of the patent license for this particular work, or +(3) arrange, in a manner consistent with the requirements of this License, +to extend the patent license to downstream recipients. "Knowingly relying" +means you have actual knowledge that, but for the patent license, your conveying +the covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that country +that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, +you convey, or propagate by procuring conveyance of, a covered work, and grant +a patent license to some of the parties receiving the covered work authorizing +them to use, propagate, modify or convey a specific copy of the covered work, +then the patent license you grant is automatically extended to all recipients +of the covered work and works based on it. + +A patent license is "discriminatory" if it does not include within the scope +of its coverage, prohibits the exercise of, or is conditioned on the non-exercise +of one or more of the rights that are specifically granted under this License. +You may not convey a covered work if you are a party to an arrangement with +a third party that is in the business of distributing software, under which +you make payment to the third party based on the extent of your activity of +conveying the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory patent +license (a) in connection with copies of the covered work conveyed by you +(or copies made from those copies), or (b) primarily for and in connection +with specific products or compilations that contain the covered work, unless +you entered into that arrangement, or that patent license was granted, prior +to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied +license or other defenses to infringement that may otherwise be available +to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + +If conditions are imposed on you (whether by court order, agreement or otherwise) +that contradict the conditions of this License, they do not excuse you from +the conditions of this License. If you cannot convey a covered work so as +to satisfy simultaneously your obligations under this License and any other +pertinent obligations, then as a consequence you may not convey it at all. +For example, if you agree to terms that obligate you to collect a royalty +for further conveying from those to whom you convey the Program, the only +way you could satisfy both those terms and this License would be to refrain +entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + +Notwithstanding any other provision of this License, you have permission to +link or combine any covered work with a work licensed under version 3 of the +GNU Affero General Public License into a single combined work, and to convey +the resulting work. The terms of this License will continue to apply to the +part which is the covered work, but the special requirements of the GNU Affero +General Public License, section 13, concerning interaction through a network +will apply to the combination as such. + + 14. Revised Versions of this License. + +The Free Software Foundation may publish revised and/or new versions of the +GNU General Public License from time to time. Such new versions will be similar +in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +that a certain numbered version of the GNU General Public License "or any +later version" applies to it, you have the option of following the terms and +conditions either of that numbered version or of any later version published +by the Free Software Foundation. If the Program does not specify a version +number of the GNU General Public License, you may choose any version ever +published by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future versions of +the GNU General Public License can be used, that proxy's public statement +of acceptance of a version permanently authorizes you to choose that version +for the Program. + +Later license versions may give you additional or different permissions. However, +no additional obligations are imposed on any author or copyright holder as +a result of your choosing to follow a later version. + + 15. Disclaimer of Warranty. + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE +LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM +PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR +CORRECTION. + + 16. Limitation of Liability. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM +AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, +INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO +USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED +INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER +PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + +If the disclaimer of warranty and limitation of liability provided above cannot +be given local legal effect according to their terms, reviewing courts shall +apply local law that most closely approximates an absolute waiver of all civil +liability in connection with the Program, unless a warranty or assumption +of liability accompanies a copy of the Program in return for a fee. END OF +TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively state the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + + +Copyright (C) + +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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like +this when it starts in an interactive mode: + + Copyright (C) + +This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + +This is free software, and you are welcome to redistribute it under certain +conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands might +be different; for a GUI interface, you would use an "about box". + +You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. For +more information on this, and how to apply and follow the GNU GPL, see . + +The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General Public +License instead of this License. But first, please read . diff --git a/LICENSES/LGPL-2.0-or-later.txt b/LICENSES/LGPL-2.0-or-later.txt new file mode 100644 index 000000000..5c96471aa --- /dev/null +++ b/LICENSES/LGPL-2.0-or-later.txt @@ -0,0 +1,446 @@ +GNU LIBRARY GENERAL PUBLIC LICENSE + +Version 2, June 1991 Copyright (C) 1991 Free Software Foundation, Inc. + +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is numbered 2 because +it goes with version 2 of the ordinary GPL.] + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public Licenses are intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. + +This license, the Library General Public License, applies to some specially +designated Free Software Foundation software, and to any other libraries whose +authors decide to use it. You can use it for your libraries, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the library, or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for +a fee, you must give the recipients all the rights that we gave you. You must +make sure that they, too, receive or can get the source code. If you link +a program with the library, you must provide complete object files to the +recipients so that they can relink them with the library, after making changes +to the library and recompiling it. And you must show them these terms so they +know their rights. + +Our method of protecting your rights has two steps: (1) copyright the library, +and (2) offer you this license which gives you legal permission to copy, distribute +and/or modify the library. + +Also, for each distributor's protection, we want to make certain that everyone +understands that there is no warranty for this free library. If the library +is modified by someone else and passed on, we want its recipients to know +that what they have is not the original version, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that companies distributing free software will individually +obtain patent licenses, thus in effect transforming the program into proprietary +software. To prevent this, we have made it clear that any patent must be licensed +for everyone's free use or not licensed at all. + +Most GNU software, including some libraries, is covered by the ordinary GNU +General Public License, which was designed for utility programs. This license, +the GNU Library General Public License, applies to certain designated libraries. +This license is quite different from the ordinary one; be sure to read it +in full, and don't assume that anything in it is the same as in the ordinary +license. + +The reason we have a separate public license for some libraries is that they +blur the distinction we usually make between modifying or adding to a program +and simply using it. Linking a program with a library, without changing the +library, is in some sense simply using the library, and is analogous to running +a utility program or application program. However, in a textual and legal +sense, the linked executable is a combined work, a derivative of the original +library, and the ordinary General Public License treats it as such. + +Because of this blurred distinction, using the ordinary General Public License +for libraries did not effectively promote software sharing, because most developers +did not use the libraries. We concluded that weaker conditions might promote +sharing better. + +However, unrestricted linking of non-free programs would deprive the users +of those programs of all benefit from the free status of the libraries themselves. +This Library General Public License is intended to permit developers of non-free +programs to use free libraries, while preserving your freedom as a user of +such programs to change the free libraries that are incorporated in them. +(We have not seen how to achieve this as regards changes in header files, +but we have achieved it as regards changes in the actual functions of the +Library.) The hope is that this will lead to faster development of free libraries. + +The precise terms and conditions for copying, distribution and modification +follow. Pay close attention to the difference between a "work based on the +library" and a "work that uses the library". The former contains code derived +from the library, while the latter only works together with the library. + +Note that it is possible for a library to be covered by the ordinary General +Public License rather than by this special one. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library which contains a +notice placed by the copyright holder or other authorized party saying it +may be distributed under the terms of this Library General Public License +(also called "this License"). Each licensee is addressed as "you". + +A "library" means a collection of software functions and/or data prepared +so as to be conveniently linked with application programs (which use some +of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has +been distributed under these terms. A "work based on the Library" means either +the Library or any derivative work under copyright law: that is to say, a +work containing the Library or a portion of it, either verbatim or with modifications +and/or translated straightforwardly into another language. (Hereinafter, translation +is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications +to it. For a library, complete source code means all the source code for all +modules it contains, plus any associated interface definition files, plus +the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running a program +using the Library is not restricted, and output from such a program is covered +only if its contents constitute a work based on the Library (independent of +the use of the Library in a tool for writing it). Whether that is true depends +on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and disclaimer +of warranty; keep intact all the notices that refer to this License and to +the absence of any warranty; and distribute a copy of this License along with +the Library. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, +thus forming a work based on the Library, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + + a) The modified work must itself be a software library. + +b) You must cause the files modified to carry prominent notices stating that +you changed the files and the date of any change. + +c) You must cause the whole of the work to be licensed at no charge to all +third parties under the terms of this License. + +d) If a facility in the modified Library refers to a function or a table of +data to be supplied by an application program that uses the facility, other +than as an argument passed when the facility is invoked, then you must make +a good faith effort to ensure that, in the event an application does not supply +such function or table, the facility still operates, and performs whatever +part of its purpose remains meaningful. + +(For example, a function in a library to compute square roots has a purpose +that is entirely well-defined independent of the application. Therefore, Subsection +2d requires that any application-supplied function or table used by this function +must be optional: if the application does not supply it, the square root function +must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Library, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Library, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Library. + +In addition, mere aggregation of another work not based on the Library with +the Library (or with a work based on the Library) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may opt to apply the terms of the ordinary GNU General Public License +instead of this License to a given copy of the Library. To do this, you must +alter all the notices that refer to this License, so that they refer to the +ordinary GNU General Public License, version 2, instead of to this License. +(If a newer version than version 2 of the ordinary GNU General Public License +has appeared, then you can specify that version instead if you wish.) Do not +make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, +so the ordinary GNU General Public License applies to all subsequent copies +and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library +into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of +it, under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you accompany it with the complete corresponding +machine-readable source code, which must be distributed under the terms of +Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated +place, then offering equivalent access to copy the source code from the same +place satisfies the requirement to distribute the source code, even though +third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but +is designed to work with the Library by being compiled or linked with it, +is called a "work that uses the Library". Such a work, in isolation, is not +a derivative work of the Library, and therefore falls outside the scope of +this License. + +However, linking a "work that uses the Library" with the Library creates an +executable that is a derivative of the Library (because it contains portions +of the Library), rather than a "work that uses the library". The executable +is therefore covered by this License. Section 6 states terms for distribution +of such executables. + +When a "work that uses the Library" uses material from a header file that +is part of the Library, the object code for the work may be a derivative work +of the Library even though the source code is not. Whether this is true is +especially significant if the work can be linked without the Library, or if +the work is itself a library. The threshold for this to be true is not precisely +defined by law. + +If such an object file uses only numerical parameters, data structure layouts +and accessors, and small macros and small inline functions (ten lines or less +in length), then the use of the object file is unrestricted, regardless of +whether it is legally a derivative work. (Executables containing this object +code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute +the object code for the work under the terms of Section 6. Any executables +containing that work also fall under Section 6, whether or not they are linked +directly with the Library itself. + +6. As an exception to the Sections above, you may also compile or link a "work +that uses the Library" with the Library to produce a work containing portions +of the Library, and distribute that work under terms of your choice, provided +that the terms permit modification of the work for the customer's own use +and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library +is used in it and that the Library and its use are covered by this License. +You must supply a copy of this License. If the work during execution displays +copyright notices, you must include the copyright notice for the Library among +them, as well as a reference directing the user to the copy of this License. +Also, you must do one of these things: + +a) Accompany the work with the complete corresponding machine-readable source +code for the Library including whatever changes were used in the work (which +must be distributed under Sections 1 and 2 above); and, if the work is an +executable linked with the Library, with the complete machine-readable "work +that uses the Library", as object code and/or source code, so that the user +can modify the Library and then relink to produce a modified executable containing +the modified Library. (It is understood that the user who changes the contents +of definitions files in the Library will not necessarily be able to recompile +the application to use the modified definitions.) + +b) Accompany the work with a written offer, valid for at least three years, +to give the same user the materials specified in Subsection 6a, above, for +a charge no more than the cost of performing this distribution. + +c) If distribution of the work is made by offering access to copy from a designated +place, offer equivalent access to copy the above specified materials from +the same place. + +d) Verify that the user has already received a copy of these materials or +that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must +include any data and utility programs needed for reproducing the executable +from it. However, as a special exception, the source code distributed need +not include anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the operating +system on which the executable runs, unless that component itself accompanies +the executable. + +It may happen that this requirement contradicts the license restrictions of +other proprietary libraries that do not normally accompany the operating system. +Such a contradiction means you cannot use both them and the Library together +in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side +in a single library together with other library facilities not covered by +this License, and distribute such a combined library, provided that the separate +distribution of the work based on the Library and of the other library facilities +is otherwise permitted, and provided that you do these two things: + +a) Accompany the combined library with a copy of the same work based on the +Library, uncombined with any other library facilities. This must be distributed +under the terms of the Sections above. + +b) Give prominent notice with the combined library of the fact that part of +it is a work based on the Library, and explaining where to find the accompanying +uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library +except as expressly provided under this License. Any attempt otherwise to +copy, modify, sublicense, link with, or distribute the Library is void, and +will automatically terminate your rights under this License. However, parties +who have received copies, or rights, from you under this License will not +have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Library or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Library +(or any work based on the Library), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), +the recipient automatically receives a license from the original licensor +to copy, distribute, link with or modify the Library subject to these terms +and conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties to this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Library at all. For example, if a +patent license would not permit royalty-free redistribution of the Library +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Library under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of +the Library General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to address +new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Library does not specify a license version number, you may choose any version +ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs +whose distribution conditions are incompatible with these, write to the author +to ask for permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make exceptions +for this. Our decision will be guided by the two goals of preserving the free +status of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible +use to the public, we recommend making it free software that everyone can +redistribute and change. You can do so by permitting redistribution under +these terms (or, alternatively, under the terms of the ordinary General Public +License). + +To apply these terms, attach the following notices to the library. It is safest +to attach them to the start of each source file to most effectively convey +the exclusion of warranty; and each file should have at least the "copyright" +line and a pointer to where the full notice is found. + +one line to give the library's name and an idea of what it does. + +Copyright (C) year name of author + +This library is free software; you can redistribute it and/or modify it under +the terms of the GNU Library General Public License as published by the Free +Software Foundation; either version 2 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 Library General Public License for more +details. + +You should have received a copy of the GNU Library General Public License +along with this library; if not, write to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the library, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in + +the library `Frob' (a library for tweaking knobs) written + +by James Random Hacker. + +signature of Ty Coon, 1 April 1990 + +Ty Coon, President of Vice + +That's all there is to it! diff --git a/LICENSES/LGPL-2.1-only.txt b/LICENSES/LGPL-2.1-only.txt new file mode 100644 index 000000000..130dffb31 --- /dev/null +++ b/LICENSES/LGPL-2.1-only.txt @@ -0,0 +1,467 @@ +GNU LESSER GENERAL PUBLIC LICENSE + +Version 2.1, February 1999 + +Copyright (C) 1991, 1999 Free Software Foundation, Inc. + +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts as the +successor of the GNU Library Public License, version 2, hence the version +number 2.1.] + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public Licenses are intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. + +This license, the Lesser General Public License, applies to some specially +designated software packages--typically libraries--of the Free Software Foundation +and other authors who decide to use it. You can use it too, but we suggest +you first think carefully about whether this license or the ordinary General +Public License is the better strategy to use in any particular case, based +on the explanations below. + +When we speak of free software, we are referring to freedom of use, not price. +Our General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish); that you receive source code or can get it if you want it; that you +can change the software and use pieces of it in new free programs; and that +you are informed that you can do these things. + +To protect your rights, we need to make restrictions that forbid distributors +to deny you these rights or to ask you to surrender these rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the library or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for +a fee, you must give the recipients all the rights that we gave you. You must +make sure that they, too, receive or can get the source code. If you link +other code with the library, you must provide complete object files to the +recipients, so that they can relink them with the library after making changes +to the library and recompiling it. And you must show them these terms so they +know their rights. + +We protect your rights with a two-step method: (1) we copyright the library, +and (2) we offer you this license, which gives you legal permission to copy, +distribute and/or modify the library. + +To protect each distributor, we want to make it very clear that there is no +warranty for the free library. Also, if the library is modified by someone +else and passed on, the recipients should know that what they have is not +the original version, so that the original author's reputation will not be +affected by problems that might be introduced by others. + +Finally, software patents pose a constant threat to the existence of any free +program. We wish to make sure that a company cannot effectively restrict the +users of a free program by obtaining a restrictive license from a patent holder. +Therefore, we insist that any patent license obtained for a version of the +library must be consistent with the full freedom of use specified in this +license. + +Most GNU software, including some libraries, is covered by the ordinary GNU +General Public License. This license, the GNU Lesser General Public License, +applies to certain designated libraries, and is quite different from the ordinary +General Public License. We use this license for certain libraries in order +to permit linking those libraries into non-free programs. + +When a program is linked with a library, whether statically or using a shared +library, the combination of the two is legally speaking a combined work, a +derivative of the original library. The ordinary General Public License therefore +permits such linking only if the entire combination fits its criteria of freedom. +The Lesser General Public License permits more lax criteria for linking other +code with the library. + +We call this license the "Lesser" General Public License because it does Less +to protect the user's freedom than the ordinary General Public License. It +also provides other free software developers Less of an advantage over competing +non-free programs. These disadvantages are the reason we use the ordinary +General Public License for many libraries. However, the Lesser license provides +advantages in certain special circumstances. + +For example, on rare occasions, there may be a special need to encourage the +widest possible use of a certain library, so that it becomes a de-facto standard. +To achieve this, non-free programs must be allowed to use the library. A more +frequent case is that a free library does the same job as widely used non-free +libraries. In this case, there is little to gain by limiting the free library +to free software only, so we use the Lesser General Public License. + +In other cases, permission to use a particular library in non-free programs +enables a greater number of people to use a large body of free software. For +example, permission to use the GNU C Library in non-free programs enables +many more people to use the whole GNU operating system, as well as its variant, +the GNU/Linux operating system. + +Although the Lesser General Public License is Less protective of the users' +freedom, it does ensure that the user of a program that is linked with the +Library has the freedom and the wherewithal to run that program using a modified +version of the Library. + +The precise terms and conditions for copying, distribution and modification +follow. Pay close attention to the difference between a "work based on the +library" and a "work that uses the library". The former contains code derived +from the library, whereas the latter must be combined with the library in +order to run. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library or other program +which contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Lesser General +Public License (also called "this License"). Each licensee is addressed as +"you". + +A "library" means a collection of software functions and/or data prepared +so as to be conveniently linked with application programs (which use some +of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has +been distributed under these terms. A "work based on the Library" means either +the Library or any derivative work under copyright law: that is to say, a +work containing the Library or a portion of it, either verbatim or with modifications +and/or translated straightforwardly into another language. (Hereinafter, translation +is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications +to it. For a library, complete source code means all the source code for all +modules it contains, plus any associated interface definition files, plus +the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running a program +using the Library is not restricted, and output from such a program is covered +only if its contents constitute a work based on the Library (independent of +the use of the Library in a tool for writing it). Whether that is true depends +on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and disclaimer +of warranty; keep intact all the notices that refer to this License and to +the absence of any warranty; and distribute a copy of this License along with +the Library. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, +thus forming a work based on the Library, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + + a) The modified work must itself be a software library. + +b) You must cause the files modified to carry prominent notices stating that +you changed the files and the date of any change. + +c) You must cause the whole of the work to be licensed at no charge to all +third parties under the terms of this License. + +d) If a facility in the modified Library refers to a function or a table of +data to be supplied by an application program that uses the facility, other +than as an argument passed when the facility is invoked, then you must make +a good faith effort to ensure that, in the event an application does not supply +such function or table, the facility still operates, and performs whatever +part of its purpose remains meaningful. + +(For example, a function in a library to compute square roots has a purpose +that is entirely well-defined independent of the application. Therefore, Subsection +2d requires that any application-supplied function or table used by this function +must be optional: if the application does not supply it, the square root function +must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Library, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Library, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Library. + +In addition, mere aggregation of another work not based on the Library with +the Library (or with a work based on the Library) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may opt to apply the terms of the ordinary GNU General Public License +instead of this License to a given copy of the Library. To do this, you must +alter all the notices that refer to this License, so that they refer to the +ordinary GNU General Public License, version 2, instead of to this License. +(If a newer version than version 2 of the ordinary GNU General Public License +has appeared, then you can specify that version instead if you wish.) Do not +make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, +so the ordinary GNU General Public License applies to all subsequent copies +and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library +into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of +it, under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you accompany it with the complete corresponding +machine-readable source code, which must be distributed under the terms of +Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated +place, then offering equivalent access to copy the source code from the same +place satisfies the requirement to distribute the source code, even though +third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but +is designed to work with the Library by being compiled or linked with it, +is called a "work that uses the Library". Such a work, in isolation, is not +a derivative work of the Library, and therefore falls outside the scope of +this License. + +However, linking a "work that uses the Library" with the Library creates an +executable that is a derivative of the Library (because it contains portions +of the Library), rather than a "work that uses the library". The executable +is therefore covered by this License. Section 6 states terms for distribution +of such executables. + +When a "work that uses the Library" uses material from a header file that +is part of the Library, the object code for the work may be a derivative work +of the Library even though the source code is not. Whether this is true is +especially significant if the work can be linked without the Library, or if +the work is itself a library. The threshold for this to be true is not precisely +defined by law. + +If such an object file uses only numerical parameters, data structure layouts +and accessors, and small macros and small inline functions (ten lines or less +in length), then the use of the object file is unrestricted, regardless of +whether it is legally a derivative work. (Executables containing this object +code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute +the object code for the work under the terms of Section 6. Any executables +containing that work also fall under Section 6, whether or not they are linked +directly with the Library itself. + +6. As an exception to the Sections above, you may also combine or link a "work +that uses the Library" with the Library to produce a work containing portions +of the Library, and distribute that work under terms of your choice, provided +that the terms permit modification of the work for the customer's own use +and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library +is used in it and that the Library and its use are covered by this License. +You must supply a copy of this License. If the work during execution displays +copyright notices, you must include the copyright notice for the Library among +them, as well as a reference directing the user to the copy of this License. +Also, you must do one of these things: + +a) Accompany the work with the complete corresponding machine-readable source +code for the Library including whatever changes were used in the work (which +must be distributed under Sections 1 and 2 above); and, if the work is an +executable linked with the Library, with the complete machine-readable "work +that uses the Library", as object code and/or source code, so that the user +can modify the Library and then relink to produce a modified executable containing +the modified Library. (It is understood that the user who changes the contents +of definitions files in the Library will not necessarily be able to recompile +the application to use the modified definitions.) + +b) Use a suitable shared library mechanism for linking with the Library. A +suitable mechanism is one that (1) uses at run time a copy of the library +already present on the user's computer system, rather than copying library +functions into the executable, and (2) will operate properly with a modified +version of the library, if the user installs one, as long as the modified +version is interface-compatible with the version that the work was made with. + +c) Accompany the work with a written offer, valid for at least three years, +to give the same user the materials specified in Subsection 6a, above, for +a charge no more than the cost of performing this distribution. + +d) If distribution of the work is made by offering access to copy from a designated +place, offer equivalent access to copy the above specified materials from +the same place. + +e) Verify that the user has already received a copy of these materials or +that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must +include any data and utility programs needed for reproducing the executable +from it. However, as a special exception, the materials to be distributed +need not include anything that is normally distributed (in either source or +binary form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component itself +accompanies the executable. + +It may happen that this requirement contradicts the license restrictions of +other proprietary libraries that do not normally accompany the operating system. +Such a contradiction means you cannot use both them and the Library together +in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side +in a single library together with other library facilities not covered by +this License, and distribute such a combined library, provided that the separate +distribution of the work based on the Library and of the other library facilities +is otherwise permitted, and provided that you do these two things: + +a) Accompany the combined library with a copy of the same work based on the +Library, uncombined with any other library facilities. This must be distributed +under the terms of the Sections above. + +b) Give prominent notice with the combined library of the fact that part of +it is a work based on the Library, and explaining where to find the accompanying +uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library +except as expressly provided under this License. Any attempt otherwise to +copy, modify, sublicense, link with, or distribute the Library is void, and +will automatically terminate your rights under this License. However, parties +who have received copies, or rights, from you under this License will not +have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Library or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Library +(or any work based on the Library), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), +the recipient automatically receives a license from the original licensor +to copy, distribute, link with or modify the Library subject to these terms +and conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties with this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Library at all. For example, if a +patent license would not permit royalty-free redistribution of the Library +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Library under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of +the Lesser General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to address +new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Library does not specify a license version number, you may choose any version +ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs +whose distribution conditions are incompatible with these, write to the author +to ask for permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make exceptions +for this. Our decision will be guided by the two goals of preserving the free +status of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible +use to the public, we recommend making it free software that everyone can +redistribute and change. You can do so by permitting redistribution under +these terms (or, alternatively, under the terms of the ordinary General Public +License). + +To apply these terms, attach the following notices to the library. It is safest +to attach them to the start of each source file to most effectively convey +the exclusion of warranty; and each file should have at least the "copyright" +line and a pointer to where the full notice is found. + +< one line to give the library's name and an idea of what it does. > + +Copyright (C) < year > < name of author > + +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 Also add information +on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the library, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in + +the library `Frob' (a library for tweaking knobs) written + +by James Random Hacker. + +< signature of Ty Coon > , 1 April 1990 + +Ty Coon, President of Vice + +That's all there is to it! diff --git a/LICENSES/LGPL-2.1-or-later.txt b/LICENSES/LGPL-2.1-or-later.txt new file mode 100644 index 000000000..04bb156e7 --- /dev/null +++ b/LICENSES/LGPL-2.1-or-later.txt @@ -0,0 +1,468 @@ +GNU LESSER GENERAL PUBLIC LICENSE + +Version 2.1, February 1999 + +Copyright (C) 1991, 1999 Free Software Foundation, Inc. + +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts as the +successor of the GNU Library Public License, version 2, hence the version +number 2.1.] + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public Licenses are intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. + +This license, the Lesser General Public License, applies to some specially +designated software packages--typically libraries--of the Free Software Foundation +and other authors who decide to use it. You can use it too, but we suggest +you first think carefully about whether this license or the ordinary General +Public License is the better strategy to use in any particular case, based +on the explanations below. + +When we speak of free software, we are referring to freedom of use, not price. +Our General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish); that you receive source code or can get it if you want it; that you +can change the software and use pieces of it in new free programs; and that +you are informed that you can do these things. + +To protect your rights, we need to make restrictions that forbid distributors +to deny you these rights or to ask you to surrender these rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the library or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for +a fee, you must give the recipients all the rights that we gave you. You must +make sure that they, too, receive or can get the source code. If you link +other code with the library, you must provide complete object files to the +recipients, so that they can relink them with the library after making changes +to the library and recompiling it. And you must show them these terms so they +know their rights. + +We protect your rights with a two-step method: (1) we copyright the library, +and (2) we offer you this license, which gives you legal permission to copy, +distribute and/or modify the library. + +To protect each distributor, we want to make it very clear that there is no +warranty for the free library. Also, if the library is modified by someone +else and passed on, the recipients should know that what they have is not +the original version, so that the original author's reputation will not be +affected by problems that might be introduced by others. + +Finally, software patents pose a constant threat to the existence of any free +program. We wish to make sure that a company cannot effectively restrict the +users of a free program by obtaining a restrictive license from a patent holder. +Therefore, we insist that any patent license obtained for a version of the +library must be consistent with the full freedom of use specified in this +license. + +Most GNU software, including some libraries, is covered by the ordinary GNU +General Public License. This license, the GNU Lesser General Public License, +applies to certain designated libraries, and is quite different from the ordinary +General Public License. We use this license for certain libraries in order +to permit linking those libraries into non-free programs. + +When a program is linked with a library, whether statically or using a shared +library, the combination of the two is legally speaking a combined work, a +derivative of the original library. The ordinary General Public License therefore +permits such linking only if the entire combination fits its criteria of freedom. +The Lesser General Public License permits more lax criteria for linking other +code with the library. + +We call this license the "Lesser" General Public License because it does Less +to protect the user's freedom than the ordinary General Public License. It +also provides other free software developers Less of an advantage over competing +non-free programs. These disadvantages are the reason we use the ordinary +General Public License for many libraries. However, the Lesser license provides +advantages in certain special circumstances. + +For example, on rare occasions, there may be a special need to encourage the +widest possible use of a certain library, so that it becomes a de-facto standard. +To achieve this, non-free programs must be allowed to use the library. A more +frequent case is that a free library does the same job as widely used non-free +libraries. In this case, there is little to gain by limiting the free library +to free software only, so we use the Lesser General Public License. + +In other cases, permission to use a particular library in non-free programs +enables a greater number of people to use a large body of free software. For +example, permission to use the GNU C Library in non-free programs enables +many more people to use the whole GNU operating system, as well as its variant, +the GNU/Linux operating system. + +Although the Lesser General Public License is Less protective of the users' +freedom, it does ensure that the user of a program that is linked with the +Library has the freedom and the wherewithal to run that program using a modified +version of the Library. + +The precise terms and conditions for copying, distribution and modification +follow. Pay close attention to the difference between a "work based on the +library" and a "work that uses the library". The former contains code derived +from the library, whereas the latter must be combined with the library in +order to run. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library or other program +which contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Lesser General +Public License (also called "this License"). Each licensee is addressed as +"you". + +A "library" means a collection of software functions and/or data prepared +so as to be conveniently linked with application programs (which use some +of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has +been distributed under these terms. A "work based on the Library" means either +the Library or any derivative work under copyright law: that is to say, a +work containing the Library or a portion of it, either verbatim or with modifications +and/or translated straightforwardly into another language. (Hereinafter, translation +is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications +to it. For a library, complete source code means all the source code for all +modules it contains, plus any associated interface definition files, plus +the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running a program +using the Library is not restricted, and output from such a program is covered +only if its contents constitute a work based on the Library (independent of +the use of the Library in a tool for writing it). Whether that is true depends +on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and disclaimer +of warranty; keep intact all the notices that refer to this License and to +the absence of any warranty; and distribute a copy of this License along with +the Library. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, +thus forming a work based on the Library, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + + a) The modified work must itself be a software library. + +b) You must cause the files modified to carry prominent notices stating that +you changed the files and the date of any change. + +c) You must cause the whole of the work to be licensed at no charge to all +third parties under the terms of this License. + +d) If a facility in the modified Library refers to a function or a table of +data to be supplied by an application program that uses the facility, other +than as an argument passed when the facility is invoked, then you must make +a good faith effort to ensure that, in the event an application does not supply +such function or table, the facility still operates, and performs whatever +part of its purpose remains meaningful. + +(For example, a function in a library to compute square roots has a purpose +that is entirely well-defined independent of the application. Therefore, Subsection +2d requires that any application-supplied function or table used by this function +must be optional: if the application does not supply it, the square root function +must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Library, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Library, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Library. + +In addition, mere aggregation of another work not based on the Library with +the Library (or with a work based on the Library) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may opt to apply the terms of the ordinary GNU General Public License +instead of this License to a given copy of the Library. To do this, you must +alter all the notices that refer to this License, so that they refer to the +ordinary GNU General Public License, version 2, instead of to this License. +(If a newer version than version 2 of the ordinary GNU General Public License +has appeared, then you can specify that version instead if you wish.) Do not +make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, +so the ordinary GNU General Public License applies to all subsequent copies +and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library +into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of +it, under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you accompany it with the complete corresponding +machine-readable source code, which must be distributed under the terms of +Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated +place, then offering equivalent access to copy the source code from the same +place satisfies the requirement to distribute the source code, even though +third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but +is designed to work with the Library by being compiled or linked with it, +is called a "work that uses the Library". Such a work, in isolation, is not +a derivative work of the Library, and therefore falls outside the scope of +this License. + +However, linking a "work that uses the Library" with the Library creates an +executable that is a derivative of the Library (because it contains portions +of the Library), rather than a "work that uses the library". The executable +is therefore covered by this License. Section 6 states terms for distribution +of such executables. + +When a "work that uses the Library" uses material from a header file that +is part of the Library, the object code for the work may be a derivative work +of the Library even though the source code is not. Whether this is true is +especially significant if the work can be linked without the Library, or if +the work is itself a library. The threshold for this to be true is not precisely +defined by law. + +If such an object file uses only numerical parameters, data structure layouts +and accessors, and small macros and small inline functions (ten lines or less +in length), then the use of the object file is unrestricted, regardless of +whether it is legally a derivative work. (Executables containing this object +code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute +the object code for the work under the terms of Section 6. Any executables +containing that work also fall under Section 6, whether or not they are linked +directly with the Library itself. + +6. As an exception to the Sections above, you may also combine or link a "work +that uses the Library" with the Library to produce a work containing portions +of the Library, and distribute that work under terms of your choice, provided +that the terms permit modification of the work for the customer's own use +and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library +is used in it and that the Library and its use are covered by this License. +You must supply a copy of this License. If the work during execution displays +copyright notices, you must include the copyright notice for the Library among +them, as well as a reference directing the user to the copy of this License. +Also, you must do one of these things: + +a) Accompany the work with the complete corresponding machine-readable source +code for the Library including whatever changes were used in the work (which +must be distributed under Sections 1 and 2 above); and, if the work is an +executable linked with the Library, with the complete machine-readable "work +that uses the Library", as object code and/or source code, so that the user +can modify the Library and then relink to produce a modified executable containing +the modified Library. (It is understood that the user who changes the contents +of definitions files in the Library will not necessarily be able to recompile +the application to use the modified definitions.) + +b) Use a suitable shared library mechanism for linking with the Library. A +suitable mechanism is one that (1) uses at run time a copy of the library +already present on the user's computer system, rather than copying library +functions into the executable, and (2) will operate properly with a modified +version of the library, if the user installs one, as long as the modified +version is interface-compatible with the version that the work was made with. + +c) Accompany the work with a written offer, valid for at least three years, +to give the same user the materials specified in Subsection 6a, above, for +a charge no more than the cost of performing this distribution. + +d) If distribution of the work is made by offering access to copy from a designated +place, offer equivalent access to copy the above specified materials from +the same place. + +e) Verify that the user has already received a copy of these materials or +that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must +include any data and utility programs needed for reproducing the executable +from it. However, as a special exception, the materials to be distributed +need not include anything that is normally distributed (in either source or +binary form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component itself +accompanies the executable. + +It may happen that this requirement contradicts the license restrictions of +other proprietary libraries that do not normally accompany the operating system. +Such a contradiction means you cannot use both them and the Library together +in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side +in a single library together with other library facilities not covered by +this License, and distribute such a combined library, provided that the separate +distribution of the work based on the Library and of the other library facilities +is otherwise permitted, and provided that you do these two things: + +a) Accompany the combined library with a copy of the same work based on the +Library, uncombined with any other library facilities. This must be distributed +under the terms of the Sections above. + +b) Give prominent notice with the combined library of the fact that part of +it is a work based on the Library, and explaining where to find the accompanying +uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library +except as expressly provided under this License. Any attempt otherwise to +copy, modify, sublicense, link with, or distribute the Library is void, and +will automatically terminate your rights under this License. However, parties +who have received copies, or rights, from you under this License will not +have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Library or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Library +(or any work based on the Library), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), +the recipient automatically receives a license from the original licensor +to copy, distribute, link with or modify the Library subject to these terms +and conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties with this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Library at all. For example, if a +patent license would not permit royalty-free redistribution of the Library +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Library under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of +the Lesser General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to address +new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Library does not specify a license version number, you may choose any version +ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs +whose distribution conditions are incompatible with these, write to the author +to ask for permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make exceptions +for this. Our decision will be guided by the two goals of preserving the free +status of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible +use to the public, we recommend making it free software that everyone can +redistribute and change. You can do so by permitting redistribution under +these terms (or, alternatively, under the terms of the ordinary General Public +License). + +To apply these terms, attach the following notices to the library. It is safest +to attach them to the start of each source file to most effectively convey +the exclusion of warranty; and each file should have at least the "copyright" +line and a pointer to where the full notice is found. + + + +Copyright (C) + +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 + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the library, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in + +the library `Frob' (a library for tweaking knobs) written + +by James Random Hacker. + +< signature of Ty Coon > , 1 April 1990 + +Ty Coon, President of Vice + +That's all there is to it! diff --git a/LICENSES/LGPL-3.0-only.txt b/LICENSES/LGPL-3.0-only.txt new file mode 100644 index 000000000..bd405afbe --- /dev/null +++ b/LICENSES/LGPL-3.0-only.txt @@ -0,0 +1,163 @@ +GNU LESSER GENERAL PUBLIC LICENSE + +Version 3, 29 June 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +This version of the GNU Lesser General Public License incorporates the terms +and conditions of version 3 of the GNU General Public License, supplemented +by the additional permissions listed below. + + 0. Additional Definitions. + + + +As used herein, "this License" refers to version 3 of the GNU Lesser General +Public License, and the "GNU GPL" refers to version 3 of the GNU General Public +License. + + + +"The Library" refers to a covered work governed by this License, other than +an Application or a Combined Work as defined below. + + + +An "Application" is any work that makes use of an interface provided by the +Library, but which is not otherwise based on the Library. Defining a subclass +of a class defined by the Library is deemed a mode of using an interface provided +by the Library. + + + +A "Combined Work" is a work produced by combining or linking an Application +with the Library. The particular version of the Library with which the Combined +Work was made is also called the "Linked Version". + + + +The "Minimal Corresponding Source" for a Combined Work means the Corresponding +Source for the Combined Work, excluding any source code for portions of the +Combined Work that, considered in isolation, are based on the Application, +and not on the Linked Version. + + + +The "Corresponding Application Code" for a Combined Work means the object +code and/or source code for the Application, including any data and utility +programs needed for reproducing the Combined Work from the Application, but +excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + +You may convey a covered work under sections 3 and 4 of this License without +being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + +If you modify a copy of the Library, and, in your modifications, a facility +refers to a function or data to be supplied by an Application that uses the +facility (other than as an argument passed when the facility is invoked), +then you may convey a copy of the modified version: + +a) under this License, provided that you make a good faith effort to ensure +that, in the event an Application does not supply the function or data, the +facility still operates, and performs whatever part of its purpose remains +meaningful, or + +b) under the GNU GPL, with none of the additional permissions of this License +applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + +The object code form of an Application may incorporate material from a header +file that is part of the Library. You may convey such object code under terms +of your choice, provided that, if the incorporated material is not limited +to numerical parameters, data structure layouts and accessors, or small macros, +inline functions and templates (ten or fewer lines in length), you do both +of the following: + +a) Give prominent notice with each copy of the object code that the Library +is used in it and that the Library and its use are covered by this License. + +b) Accompany the object code with a copy of the GNU GPL and this license document. + + 4. Combined Works. + +You may convey a Combined Work under terms of your choice that, taken together, +effectively do not restrict modification of the portions of the Library contained +in the Combined Work and reverse engineering for debugging such modifications, +if you also do each of the following: + +a) Give prominent notice with each copy of the Combined Work that the Library +is used in it and that the Library and its use are covered by this License. + +b) Accompany the Combined Work with a copy of the GNU GPL and this license +document. + +c) For a Combined Work that displays copyright notices during execution, include +the copyright notice for the Library among these notices, as well as a reference +directing the user to the copies of the GNU GPL and this license document. + + d) Do one of the following: + +0) Convey the Minimal Corresponding Source under the terms of this License, +and the Corresponding Application Code in a form suitable for, and under terms +that permit, the user to recombine or relink the Application with a modified +version of the Linked Version to produce a modified Combined Work, in the +manner specified by section 6 of the GNU GPL for conveying Corresponding Source. + +1) Use a suitable shared library mechanism for linking with the Library. A +suitable mechanism is one that (a) uses at run time a copy of the Library +already present on the user's computer system, and (b) will operate properly +with a modified version of the Library that is interface-compatible with the +Linked Version. + +e) Provide Installation Information, but only if you would otherwise be required +to provide such information under section 6 of the GNU GPL, and only to the +extent that such information is necessary to install and execute a modified +version of the Combined Work produced by recombining or relinking the Application +with a modified version of the Linked Version. (If you use option 4d0, the +Installation Information must accompany the Minimal Corresponding Source and +Corresponding Application Code. If you use option 4d1, you must provide the +Installation Information in the manner specified by section 6 of the GNU GPL +for conveying Corresponding Source.) + + 5. Combined Libraries. + +You may place library facilities that are a work based on the Library side +by side in a single library together with other library facilities that are +not Applications and are not covered by this License, and convey such a combined +library under terms of your choice, if you do both of the following: + +a) Accompany the combined library with a copy of the same work based on the +Library, uncombined with any other library facilities, conveyed under the +terms of this License. + +b) Give prominent notice with the combined library that part of it is a work +based on the Library, and explaining where to find the accompanying uncombined +form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + +The Free Software Foundation may publish revised and/or new versions of the +GNU Lesser General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to address +new problems or concerns. + +Each version is given a distinguishing version number. If the Library as you +received it specifies that a certain numbered version of the GNU Lesser General +Public License "or any later version" applies to it, you have the option of +following the terms and conditions either of that published version or of +any later version published by the Free Software Foundation. If the Library +as you received it does not specify a version number of the GNU Lesser General +Public License, you may choose any version of the GNU Lesser General Public +License ever published by the Free Software Foundation. + +If the Library as you received it specifies that a proxy can decide whether +future versions of the GNU Lesser General Public License shall apply, that +proxy's public statement of acceptance of any version is permanent authorization +for you to choose that version for the Library. diff --git a/LICENSES/LicenseRef-KDE-Accepted-GPL.txt b/LICENSES/LicenseRef-KDE-Accepted-GPL.txt new file mode 100644 index 000000000..60a2dffc9 --- /dev/null +++ b/LICENSES/LicenseRef-KDE-Accepted-GPL.txt @@ -0,0 +1,12 @@ +This library 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 3 of +the license or (at your option) at any later version that is +accepted by the membership of KDE e.V. (or its successor +approved by the membership of KDE e.V.), which shall act as a +proxy as 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. diff --git a/LICENSES/LicenseRef-Qt-Commercial.txt b/LICENSES/LicenseRef-Qt-Commercial.txt new file mode 100644 index 000000000..11e00c742 --- /dev/null +++ b/LICENSES/LicenseRef-Qt-Commercial.txt @@ -0,0 +1,7 @@ +Commercial License Usage +Licensees holding valid commercial Qt licenses may use this file in +accordance with the commercial license agreement provided with the +Software or, alternatively, in accordance with the terms contained in +a written agreement between you and The Qt Company. For licensing terms +and conditions see https://www.qt.io/terms-conditions. For further +information use the contact form at https://www.qt.io/contact-us. diff --git a/LICENSES/Qt-LGPL-exception-1.1.txt b/LICENSES/Qt-LGPL-exception-1.1.txt new file mode 100644 index 000000000..d0f532e9e --- /dev/null +++ b/LICENSES/Qt-LGPL-exception-1.1.txt @@ -0,0 +1,21 @@ +The Qt Company Qt LGPL Exception version 1.1 + +As an additional permission to the GNU Lesser General Public License version 2.1, the object code form of a "work that uses the Library" may incorporate material from a header file that is part of the Library. You may distribute such object code under terms of your choice, provided that: + + (i) the header files of the Library have not been modified; and + + (ii) the incorporated material is limited to numerical parameters, data structure layouts, accessors, macros, inline functions and templates; and + + (iii) you comply with the terms of Section 6 of the GNU Lesser General Public License version 2.1. + +Moreover, you may apply this exception to a modified version of the Library, provided that such modification does not involve copying material from the Library into the modified Library's header files unless such material is limited to + + (i) numerical parameters; + + (ii) data structure layouts; + + (iii) accessors; and + + (iv) small macros, templates and inline functions of five lines or less in length. + +Furthermore, you are not required to apply this additional permission to a modified version of the Library. diff --git a/autotests/configmodeltest.cpp b/autotests/configmodeltest.cpp index a33a7dad5..41e9ee803 100644 --- a/autotests/configmodeltest.cpp +++ b/autotests/configmodeltest.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2016 David Rosca * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 David Rosca + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "configmodeltest.h" diff --git a/autotests/configmodeltest.h b/autotests/configmodeltest.h index 1172be0f1..97c19f64d 100644 --- a/autotests/configmodeltest.h +++ b/autotests/configmodeltest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2016 David Rosca * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 David Rosca + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #pragma once diff --git a/autotests/coronatest.cpp b/autotests/coronatest.cpp index 884595743..b397951f9 100644 --- a/autotests/coronatest.cpp +++ b/autotests/coronatest.cpp @@ -1,21 +1,8 @@ -/******************************************************************************** -* Copyright 2014 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*********************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "coronatest.h" #include diff --git a/autotests/coronatest.h b/autotests/coronatest.h index 963b561fa..7a7095370 100644 --- a/autotests/coronatest.h +++ b/autotests/coronatest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2014 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef CORONATEST_H #define CORONATEST_H diff --git a/autotests/dialognativetest.cpp b/autotests/dialognativetest.cpp index 79d23dd75..db2878851 100644 --- a/autotests/dialognativetest.cpp +++ b/autotests/dialognativetest.cpp @@ -1,21 +1,8 @@ -/******************************************************************************** -* Copyright 2014 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*********************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dialognativetest.h" diff --git a/autotests/dialognativetest.h b/autotests/dialognativetest.h index c05e8aeaf..e9c98171a 100644 --- a/autotests/dialognativetest.h +++ b/autotests/dialognativetest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2014 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef DIALOGNATIVETEST_H #define DIALOGNATIVETEST_H diff --git a/autotests/dialogqmltest.cpp b/autotests/dialogqmltest.cpp index db0972f95..bb81ab5d3 100644 --- a/autotests/dialogqmltest.cpp +++ b/autotests/dialogqmltest.cpp @@ -1,21 +1,8 @@ -/******************************************************************************** -* Copyright 2014 David Edmundson * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*********************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dialogqmltest.h" diff --git a/autotests/dialogqmltest.h b/autotests/dialogqmltest.h index 2a55f9fe2..a93d319ce 100644 --- a/autotests/dialogqmltest.h +++ b/autotests/dialogqmltest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2014 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef DIALOGQMLTEST_H #define DIALOGQMLTEST_H diff --git a/autotests/dialogstatetest.cpp b/autotests/dialogstatetest.cpp index c8bf1715e..f012b78b4 100644 --- a/autotests/dialogstatetest.cpp +++ b/autotests/dialogstatetest.cpp @@ -1,21 +1,8 @@ -/******************************************************************************** -* Copyright 2016 Eike Hein * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*********************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Eike Hein + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dialogstatetest.h" #include diff --git a/autotests/dialogstatetest.h b/autotests/dialogstatetest.h index 02bc8716c..76371d521 100644 --- a/autotests/dialogstatetest.h +++ b/autotests/dialogstatetest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2016 Eike Hein * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Eike Hein + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef DIALOGSTATETEST_H #define DIALOGSTATETEST_H diff --git a/autotests/dynamictreemodel.cpp b/autotests/dynamictreemodel.cpp index 3d7c33c49..6151f7735 100644 --- a/autotests/dynamictreemodel.cpp +++ b/autotests/dynamictreemodel.cpp @@ -1,43 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2009 Stephen Kelly -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2009 Stephen Kelly + SPDX-FileCopyrightText: 2009 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the test suite of the Qt Toolkit. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 +*/ #include "dynamictreemodel.h" diff --git a/autotests/dynamictreemodel.h b/autotests/dynamictreemodel.h index 6f9a0dffc..9290d7e5b 100644 --- a/autotests/dynamictreemodel.h +++ b/autotests/dynamictreemodel.h @@ -1,43 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2009 Stephen Kelly -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2009 Stephen Kelly + SPDX-FileCopyrightText: 2009 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the test suite of the Qt Toolkit. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 +*/ #ifndef DYNAMICTREEMODEL_H #define DYNAMICTREEMODEL_H diff --git a/autotests/framesvgtest.cpp b/autotests/framesvgtest.cpp index 715c91528..0377f47fb 100644 --- a/autotests/framesvgtest.cpp +++ b/autotests/framesvgtest.cpp @@ -1,21 +1,8 @@ -/******************************************************************************** -* Copyright 2014 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*********************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "framesvgtest.h" #include diff --git a/autotests/framesvgtest.h b/autotests/framesvgtest.h index d9eb901eb..ecf3ffa4a 100644 --- a/autotests/framesvgtest.h +++ b/autotests/framesvgtest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2014 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef FRAMESVGTEST_H #define FRAMESVGTEST_H diff --git a/autotests/iconitemtest.cpp b/autotests/iconitemtest.cpp index 57e0b1d64..a25ce9400 100644 --- a/autotests/iconitemtest.cpp +++ b/autotests/iconitemtest.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2016 David Rosca * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 David Rosca + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "iconitemtest.h" diff --git a/autotests/iconitemtest.h b/autotests/iconitemtest.h index 57f92c27c..1aa143dc6 100644 --- a/autotests/iconitemtest.h +++ b/autotests/iconitemtest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2016 David Rosca * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 David Rosca + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #pragma once diff --git a/autotests/modeltest.cpp b/autotests/modeltest.cpp index 95def358c..0efdda225 100644 --- a/autotests/modeltest.cpp +++ b/autotests/modeltest.cpp @@ -1,43 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the test suite of the Qt Toolkit. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 +*/ #include diff --git a/autotests/modeltest.h b/autotests/modeltest.h index 5c11d5020..59a8501fe 100644 --- a/autotests/modeltest.h +++ b/autotests/modeltest.h @@ -1,43 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the test suite of the Qt Toolkit. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 +*/ #ifndef MODELTEST_H #define MODELTEST_H diff --git a/autotests/plasmoidpackagetest.cpp b/autotests/plasmoidpackagetest.cpp index dc6bb3fb0..7ce079434 100644 --- a/autotests/plasmoidpackagetest.cpp +++ b/autotests/plasmoidpackagetest.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007 by Bertjan Broeksema * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Bertjan Broeksema + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "plasmoidpackagetest.h" #include "../config-plasma.h" diff --git a/autotests/plasmoidpackagetest.h b/autotests/plasmoidpackagetest.h index 7d67f7465..b66f94bdf 100644 --- a/autotests/plasmoidpackagetest.h +++ b/autotests/plasmoidpackagetest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007 by Bertjan Broeksema * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Bertjan Broeksema + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PACKAGETEST_H diff --git a/autotests/pluginloadertest.cpp b/autotests/pluginloadertest.cpp index 6b2188f4e..1b91b690f 100644 --- a/autotests/pluginloadertest.cpp +++ b/autotests/pluginloadertest.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2013 Sebastian Kügler * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "pluginloadertest.h" diff --git a/autotests/pluginloadertest.h b/autotests/pluginloadertest.h index e4733c33f..5abe947a2 100644 --- a/autotests/pluginloadertest.h +++ b/autotests/pluginloadertest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2013 Sebastian Kügler * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLUGINLOADERTEST_H #define PLUGINLOADERTEST_H diff --git a/autotests/sortfiltermodeltest.cpp b/autotests/sortfiltermodeltest.cpp index 18c34791e..70ceb1b59 100644 --- a/autotests/sortfiltermodeltest.cpp +++ b/autotests/sortfiltermodeltest.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2012 Aurélien Gâteau - * - * 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: 2012 Aurélien Gâteau + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include #include diff --git a/autotests/sortfiltermodeltest.h b/autotests/sortfiltermodeltest.h index e918fb092..903e69c53 100644 --- a/autotests/sortfiltermodeltest.h +++ b/autotests/sortfiltermodeltest.h @@ -1,21 +1,8 @@ /* - * Copyright 2012 Aurélien Gâteau - * - * 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: 2012 Aurélien Gâteau + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef SORTFILTERMODELTEST_H #define SORTFILTERMODELTEST_H diff --git a/autotests/themetest.cpp b/autotests/themetest.cpp index 8dc67ccc3..add6f3832 100644 --- a/autotests/themetest.cpp +++ b/autotests/themetest.cpp @@ -1,21 +1,8 @@ -/******************************************************************************** -* Copyright 2016 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*********************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "themetest.h" #include diff --git a/autotests/themetest.h b/autotests/themetest.h index 64f2d4a7d..41e74c631 100644 --- a/autotests/themetest.h +++ b/autotests/themetest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2016 Marco Martin * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef THEMETEST_H #define THEMETEST_H diff --git a/autotests/utils.h b/autotests/utils.h index e37146cde..5ccbaf0f7 100644 --- a/autotests/utils.h +++ b/autotests/utils.h @@ -1,20 +1,7 @@ /* - Copyright (C) 2019 Aleix Pol + SPDX-FileCopyrightText: 2019 Aleix Pol - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef UTILS_H #define UTILS_H diff --git a/cmake/Find7z.cmake b/cmake/Find7z.cmake index 258e3e48f..28132581c 100644 --- a/cmake/Find7z.cmake +++ b/cmake/Find7z.cmake @@ -4,30 +4,9 @@ # 7z_EXECUTABLE - Path to executable #============================================================================= -# Copyright 2019 Friedrich W. H. Kossebau +# SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# SPDX-License-Identifier: BSD-3-Clause #============================================================================= find_program(7z_EXECUTABLE NAMES 7z.exe 7za.exe) diff --git a/cmake/Findgzip.cmake b/cmake/Findgzip.cmake index 26732f127..2cc03f6b0 100644 --- a/cmake/Findgzip.cmake +++ b/cmake/Findgzip.cmake @@ -4,30 +4,9 @@ # gzip_EXECUTABLE - Path to executable #============================================================================= -# Copyright 2019 Friedrich W. H. Kossebau +# SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# SPDX-License-Identifier: BSD-3-Clause #============================================================================= find_program(gzip_EXECUTABLE NAMES gzip) diff --git a/examples/applets/bugreport/contents/ui/main.qml b/examples/applets/bugreport/contents/ui/main.qml index a6fc69c4b..6c0f53f69 100644 --- a/examples/applets/bugreport/contents/ui/main.qml +++ b/examples/applets/bugreport/contents/ui/main.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Layouts 1.1 diff --git a/examples/applets/compactrepresentation/contents/ui/main.qml b/examples/applets/compactrepresentation/contents/ui/main.qml index 78c81576a..74f5f8d5b 100644 --- a/examples/applets/compactrepresentation/contents/ui/main.qml +++ b/examples/applets/compactrepresentation/contents/ui/main.qml @@ -1,22 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.plasmoid 2.0 diff --git a/examples/applets/conditionalloader/contents/config/config.qml b/examples/applets/conditionalloader/contents/config/config.qml index 219ae36f5..63b86ab96 100644 --- a/examples/applets/conditionalloader/contents/config/config.qml +++ b/examples/applets/conditionalloader/contents/config/config.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/conditionalloader/contents/ui/configGeneral.qml b/examples/applets/conditionalloader/contents/ui/configGeneral.qml index 63e579473..585721ee4 100644 --- a/examples/applets/conditionalloader/contents/ui/configGeneral.qml +++ b/examples/applets/conditionalloader/contents/ui/configGeneral.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls 1.0 as QtControls diff --git a/examples/applets/conditionalloader/contents/ui/main.qml b/examples/applets/conditionalloader/contents/ui/main.qml index f26f4433f..753d12434 100644 --- a/examples/applets/conditionalloader/contents/ui/main.qml +++ b/examples/applets/conditionalloader/contents/ui/main.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.plasmoid 2.0 diff --git a/examples/applets/config/contents/config/config.qml b/examples/applets/config/contents/config/config.qml index 1cace8db4..a0e773790 100644 --- a/examples/applets/config/contents/config/config.qml +++ b/examples/applets/config/contents/config/config.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/config/contents/ui/configGeneral.qml b/examples/applets/config/contents/ui/configGeneral.qml index cb9703f08..45aba9793 100644 --- a/examples/applets/config/contents/ui/configGeneral.qml +++ b/examples/applets/config/contents/ui/configGeneral.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls 1.0 as QtControls diff --git a/examples/applets/config/contents/ui/main.qml b/examples/applets/config/contents/ui/main.qml index c031d1eb9..4a66c1a41 100644 --- a/examples/applets/config/contents/ui/main.qml +++ b/examples/applets/config/contents/ui/main.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Layouts 1.0 diff --git a/examples/applets/dataenginemodel/contents/ui/main.qml b/examples/applets/dataenginemodel/contents/ui/main.qml index e28741200..1e02e640a 100644 --- a/examples/applets/dataenginemodel/contents/ui/main.qml +++ b/examples/applets/dataenginemodel/contents/ui/main.qml @@ -1,22 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.plasmoid 2.0 diff --git a/examples/applets/helloworld/contents/ui/main.qml b/examples/applets/helloworld/contents/ui/main.qml index 478a09953..ce151f3a9 100644 --- a/examples/applets/helloworld/contents/ui/main.qml +++ b/examples/applets/helloworld/contents/ui/main.qml @@ -1,22 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.plasmoid 2.0 diff --git a/examples/applets/notes/contents/ui/main.qml b/examples/applets/notes/contents/ui/main.qml index a3bdb9879..8ac499bd3 100644 --- a/examples/applets/notes/contents/ui/main.qml +++ b/examples/applets/notes/contents/ui/main.qml @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Layouts 1.1 diff --git a/examples/applets/nowplaying/contents/qml/main.qml b/examples/applets/nowplaying/contents/qml/main.qml index 39938ddfb..7dfbfc37a 100644 --- a/examples/applets/nowplaying/contents/qml/main.qml +++ b/examples/applets/nowplaying/contents/qml/main.qml @@ -1,21 +1,8 @@ /* - * Copyright 2010 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import Qt 4.7 import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets diff --git a/examples/applets/pairsgame/contents/ui/Card.qml b/examples/applets/pairsgame/contents/ui/Card.qml index c2db4cf2b..63063e174 100644 --- a/examples/applets/pairsgame/contents/ui/Card.qml +++ b/examples/applets/pairsgame/contents/ui/Card.qml @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2010 by Davide Bettio * - * * - * 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-FileCopyrightText: 2010 Davide Bettio + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 1.0 diff --git a/examples/applets/pairsgame/contents/ui/GameTimer.qml b/examples/applets/pairsgame/contents/ui/GameTimer.qml index 385d59601..770a2e92a 100644 --- a/examples/applets/pairsgame/contents/ui/GameTimer.qml +++ b/examples/applets/pairsgame/contents/ui/GameTimer.qml @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2010 by Marco Martin * - * * - * 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-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 1.0 diff --git a/examples/applets/pairsgame/contents/ui/WinMessage.qml b/examples/applets/pairsgame/contents/ui/WinMessage.qml index b94445cc1..f4fea8bae 100644 --- a/examples/applets/pairsgame/contents/ui/WinMessage.qml +++ b/examples/applets/pairsgame/contents/ui/WinMessage.qml @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2010 by Marco Martin * - * * - * 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-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 1.0 diff --git a/examples/applets/pairsgame/contents/ui/gamelogic.js b/examples/applets/pairsgame/contents/ui/gamelogic.js index 712af4af0..38a820c43 100644 --- a/examples/applets/pairsgame/contents/ui/gamelogic.js +++ b/examples/applets/pairsgame/contents/ui/gamelogic.js @@ -1,22 +1,9 @@ -/*************************************************************************** - * Copyright 2010 by Davide Bettio * - * Copyright 2010 by Marco Martin * - * * - * 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-FileCopyrightText: 2010 by Davide Bettio + SPDX-FileCopyrightText: 2010 by Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ var rows = 3 diff --git a/examples/applets/pairsgame/contents/ui/main.qml b/examples/applets/pairsgame/contents/ui/main.qml index 4e73517de..2b7a4d21f 100644 --- a/examples/applets/pairsgame/contents/ui/main.qml +++ b/examples/applets/pairsgame/contents/ui/main.qml @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2010 by Davide Bettio * - * * - * 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-FileCopyrightText: 2010 Davide Bettio + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 1.0 import "gamelogic.js" as GameLogic diff --git a/examples/applets/qmltasks/contents/ui/qmltasks.qml b/examples/applets/qmltasks/contents/ui/qmltasks.qml index e6e538a74..06e65e2cd 100644 --- a/examples/applets/qmltasks/contents/ui/qmltasks.qml +++ b/examples/applets/qmltasks/contents/ui/qmltasks.qml @@ -1,23 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Author: Marco Martin - * Date: Sun Nov 7 2010, 18:51:24 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/examples/applets/samegame/contents/qml/SamegameCore/BoomBlock.qml b/examples/applets/samegame/contents/qml/SamegameCore/BoomBlock.qml index 43050af25..b67392cc8 100644 --- a/examples/applets/samegame/contents/qml/SamegameCore/BoomBlock.qml +++ b/examples/applets/samegame/contents/qml/SamegameCore/BoomBlock.qml @@ -1,43 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtDeclarative module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the QtDeclarative module of the Qt Toolkit. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 +*/ import Qt 4.7 import Qt.labs.particles 1.0 diff --git a/examples/applets/samegame/contents/qml/SamegameCore/Button.qml b/examples/applets/samegame/contents/qml/SamegameCore/Button.qml index d5979b26d..dda451932 100644 --- a/examples/applets/samegame/contents/qml/SamegameCore/Button.qml +++ b/examples/applets/samegame/contents/qml/SamegameCore/Button.qml @@ -1,43 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtDeclarative module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the QtDeclarative module of the Qt Toolkit. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 +*/ + import Qt 4.7 diff --git a/examples/applets/samegame/contents/qml/SamegameCore/Dialog.qml b/examples/applets/samegame/contents/qml/SamegameCore/Dialog.qml index 7e64bd63d..d1efd44ba 100644 --- a/examples/applets/samegame/contents/qml/SamegameCore/Dialog.qml +++ b/examples/applets/samegame/contents/qml/SamegameCore/Dialog.qml @@ -1,43 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtDeclarative module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the QtDeclarative module of the Qt Toolkit. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 +*/ + import Qt 4.7 diff --git a/examples/applets/samegame/contents/qml/samegame.qml b/examples/applets/samegame/contents/qml/samegame.qml index bf2e70648..cc554cd90 100644 --- a/examples/applets/samegame/contents/qml/samegame.qml +++ b/examples/applets/samegame/contents/qml/samegame.qml @@ -1,43 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the QtDeclarative module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the QtDeclarative module of the Qt Toolkit. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 +*/ import Qt 4.7 import "SamegameCore" diff --git a/examples/applets/testcomponents/contents/ui/ButtonsPage.qml b/examples/applets/testcomponents/contents/ui/ButtonsPage.qml index 756423780..a5fd442bc 100644 --- a/examples/applets/testcomponents/contents/ui/ButtonsPage.qml +++ b/examples/applets/testcomponents/contents/ui/ButtonsPage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testcomponents/contents/ui/DialogContent.qml b/examples/applets/testcomponents/contents/ui/DialogContent.qml index 3c7ec9b62..3c3fd4415 100644 --- a/examples/applets/testcomponents/contents/ui/DialogContent.qml +++ b/examples/applets/testcomponents/contents/ui/DialogContent.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Window 2.0 diff --git a/examples/applets/testcomponents/contents/ui/DialogsPage.qml b/examples/applets/testcomponents/contents/ui/DialogsPage.qml index af0a59540..646d0c5bd 100644 --- a/examples/applets/testcomponents/contents/ui/DialogsPage.qml +++ b/examples/applets/testcomponents/contents/ui/DialogsPage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Window 2.0 diff --git a/examples/applets/testcomponents/contents/ui/DragItem.qml b/examples/applets/testcomponents/contents/ui/DragItem.qml index d6aa2ec02..5ef65a3fe 100644 --- a/examples/applets/testcomponents/contents/ui/DragItem.qml +++ b/examples/applets/testcomponents/contents/ui/DragItem.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testcomponents/contents/ui/DragPage.qml b/examples/applets/testcomponents/contents/ui/DragPage.qml index 74f61775f..dc6c1d68b 100644 --- a/examples/applets/testcomponents/contents/ui/DragPage.qml +++ b/examples/applets/testcomponents/contents/ui/DragPage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testcomponents/contents/ui/IconsPage.qml b/examples/applets/testcomponents/contents/ui/IconsPage.qml index a572ee8e8..17164cf6b 100644 --- a/examples/applets/testcomponents/contents/ui/IconsPage.qml +++ b/examples/applets/testcomponents/contents/ui/IconsPage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testcomponents/contents/ui/MousePage.qml b/examples/applets/testcomponents/contents/ui/MousePage.qml index bb5828c82..afabf6e70 100644 --- a/examples/applets/testcomponents/contents/ui/MousePage.qml +++ b/examples/applets/testcomponents/contents/ui/MousePage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testcomponents/contents/ui/PlasmoidPage.qml b/examples/applets/testcomponents/contents/ui/PlasmoidPage.qml index 22688ed7f..056208e0e 100644 --- a/examples/applets/testcomponents/contents/ui/PlasmoidPage.qml +++ b/examples/applets/testcomponents/contents/ui/PlasmoidPage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/examples/applets/testcomponents/contents/ui/TestMenu.qml b/examples/applets/testcomponents/contents/ui/TestMenu.qml index 27f9ab48a..cd5f2c835 100644 --- a/examples/applets/testcomponents/contents/ui/TestMenu.qml +++ b/examples/applets/testcomponents/contents/ui/TestMenu.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/examples/applets/testcomponents/contents/ui/ThemePage.qml b/examples/applets/testcomponents/contents/ui/ThemePage.qml index eda816014..b511a8504 100644 --- a/examples/applets/testcomponents/contents/ui/ThemePage.qml +++ b/examples/applets/testcomponents/contents/ui/ThemePage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testcomponents/contents/ui/testcomponents.qml b/examples/applets/testcomponents/contents/ui/testcomponents.qml index 7c20a75d4..aa40ae30b 100644 --- a/examples/applets/testcomponents/contents/ui/testcomponents.qml +++ b/examples/applets/testcomponents/contents/ui/testcomponents.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Layouts 1.1 diff --git a/examples/applets/testshaders/contents/ui/ColorExample.qml b/examples/applets/testshaders/contents/ui/ColorExample.qml index 6c2b0835d..7fb5bfcbb 100644 --- a/examples/applets/testshaders/contents/ui/ColorExample.qml +++ b/examples/applets/testshaders/contents/ui/ColorExample.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testshaders/contents/ui/ColorShower.qml b/examples/applets/testshaders/contents/ui/ColorShower.qml index fa3c292de..9683a15fa 100644 --- a/examples/applets/testshaders/contents/ui/ColorShower.qml +++ b/examples/applets/testshaders/contents/ui/ColorShower.qml @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Digia Plc and /or its subsidiary(-ies) + + This file is part of the examples of the Qt Toolkit. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.0 import QtQuick.Particles 2.0 diff --git a/examples/applets/testshaders/contents/ui/EditorPage.qml b/examples/applets/testshaders/contents/ui/EditorPage.qml index 52de2f36b..f8d43cd8f 100644 --- a/examples/applets/testshaders/contents/ui/EditorPage.qml +++ b/examples/applets/testshaders/contents/ui/EditorPage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testshaders/contents/ui/ShaderExample.qml b/examples/applets/testshaders/contents/ui/ShaderExample.qml index 5ecbe52a8..3c5592229 100644 --- a/examples/applets/testshaders/contents/ui/ShaderExample.qml +++ b/examples/applets/testshaders/contents/ui/ShaderExample.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testshaders/contents/ui/Shadows.qml b/examples/applets/testshaders/contents/ui/Shadows.qml index 209c1001d..650ed0858 100644 --- a/examples/applets/testshaders/contents/ui/Shadows.qml +++ b/examples/applets/testshaders/contents/ui/Shadows.qml @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Digia Plc and /or its subsidiary(-ies) + + This file is part of the examples of the Qt Toolkit. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.0 //import QtQuick.Particles 2.0 diff --git a/examples/applets/testshaders/contents/ui/SimpleExample.qml b/examples/applets/testshaders/contents/ui/SimpleExample.qml index b30c77ca2..205d8cc91 100644 --- a/examples/applets/testshaders/contents/ui/SimpleExample.qml +++ b/examples/applets/testshaders/contents/ui/SimpleExample.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testshaders/contents/ui/WaterEffect.qml b/examples/applets/testshaders/contents/ui/WaterEffect.qml index e9be24055..9d86d6894 100644 --- a/examples/applets/testshaders/contents/ui/WaterEffect.qml +++ b/examples/applets/testshaders/contents/ui/WaterEffect.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/applets/testshaders/contents/ui/WobbleExample.qml b/examples/applets/testshaders/contents/ui/WobbleExample.qml index 57a2cfdf8..bdfa48d11 100644 --- a/examples/applets/testshaders/contents/ui/WobbleExample.qml +++ b/examples/applets/testshaders/contents/ui/WobbleExample.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/examples/applets/testshaders/contents/ui/config.qml b/examples/applets/testshaders/contents/ui/config.qml index 0e08f6977..f8858c8eb 100644 --- a/examples/applets/testshaders/contents/ui/config.qml +++ b/examples/applets/testshaders/contents/ui/config.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 // import org.kde.plasma.components 2.0 as PlasmaComponents diff --git a/examples/applets/testshaders/contents/ui/testshaderapplet.qml b/examples/applets/testshaders/contents/ui/testshaderapplet.qml index 5fdea4960..768fd8cf5 100644 --- a/examples/applets/testshaders/contents/ui/testshaderapplet.qml +++ b/examples/applets/testshaders/contents/ui/testshaderapplet.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Layouts 1.1 diff --git a/examples/applets/testtheme/contents/ui/FontGizmo.qml b/examples/applets/testtheme/contents/ui/FontGizmo.qml index 19ca53e0a..5591f8e7f 100644 --- a/examples/applets/testtheme/contents/ui/FontGizmo.qml +++ b/examples/applets/testtheme/contents/ui/FontGizmo.qml @@ -1,20 +1,8 @@ /* - * Copyright 2014 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Window 2.2 diff --git a/examples/applets/testtheme/contents/ui/FontTest.qml b/examples/applets/testtheme/contents/ui/FontTest.qml index 3c58a2581..5536a796d 100644 --- a/examples/applets/testtheme/contents/ui/FontTest.qml +++ b/examples/applets/testtheme/contents/ui/FontTest.qml @@ -1,20 +1,8 @@ /* - * Copyright 2014 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 diff --git a/examples/applets/testtheme/contents/ui/FontsPage.qml b/examples/applets/testtheme/contents/ui/FontsPage.qml index fb2cee1a5..910d363cb 100644 --- a/examples/applets/testtheme/contents/ui/FontsPage.qml +++ b/examples/applets/testtheme/contents/ui/FontsPage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2014 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 diff --git a/examples/applets/testtheme/contents/ui/ScalePage.qml b/examples/applets/testtheme/contents/ui/ScalePage.qml index 60d4300c9..4cc90541c 100644 --- a/examples/applets/testtheme/contents/ui/ScalePage.qml +++ b/examples/applets/testtheme/contents/ui/ScalePage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2014 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 diff --git a/examples/applets/testtheme/contents/ui/UnitsPage.qml b/examples/applets/testtheme/contents/ui/UnitsPage.qml index 24cef311f..865c4a6ba 100644 --- a/examples/applets/testtheme/contents/ui/UnitsPage.qml +++ b/examples/applets/testtheme/contents/ui/UnitsPage.qml @@ -1,20 +1,8 @@ /* - * Copyright 2014 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 diff --git a/examples/applets/testtheme/contents/ui/testtheme.qml b/examples/applets/testtheme/contents/ui/testtheme.qml index 865c2eba8..ff48c0f8c 100644 --- a/examples/applets/testtheme/contents/ui/testtheme.qml +++ b/examples/applets/testtheme/contents/ui/testtheme.qml @@ -1,20 +1,8 @@ /* - * Copyright 2014 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Layouts 1.1 diff --git a/examples/applets/widgetgallery/contents/ui/Busy.qml b/examples/applets/widgetgallery/contents/ui/Busy.qml index 1264de046..c0fbaa8ab 100644 --- a/examples/applets/widgetgallery/contents/ui/Busy.qml +++ b/examples/applets/widgetgallery/contents/ui/Busy.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/Buttons.qml b/examples/applets/widgetgallery/contents/ui/Buttons.qml index 9bae08503..a131723b7 100644 --- a/examples/applets/widgetgallery/contents/ui/Buttons.qml +++ b/examples/applets/widgetgallery/contents/ui/Buttons.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/CheckableButtons.qml b/examples/applets/widgetgallery/contents/ui/CheckableButtons.qml index 49ded7515..a41e0f149 100644 --- a/examples/applets/widgetgallery/contents/ui/CheckableButtons.qml +++ b/examples/applets/widgetgallery/contents/ui/CheckableButtons.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/Menu.qml b/examples/applets/widgetgallery/contents/ui/Menu.qml index be97ff8d0..be09483a0 100644 --- a/examples/applets/widgetgallery/contents/ui/Menu.qml +++ b/examples/applets/widgetgallery/contents/ui/Menu.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2011 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/Misc.qml b/examples/applets/widgetgallery/contents/ui/Misc.qml index 6762854f6..e5c597885 100644 --- a/examples/applets/widgetgallery/contents/ui/Misc.qml +++ b/examples/applets/widgetgallery/contents/ui/Misc.qml @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.0 import org.kde.plasma.components 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/Scrollers.qml b/examples/applets/widgetgallery/contents/ui/Scrollers.qml index 50f971f67..866450ca2 100644 --- a/examples/applets/widgetgallery/contents/ui/Scrollers.qml +++ b/examples/applets/widgetgallery/contents/ui/Scrollers.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/Sliders.qml b/examples/applets/widgetgallery/contents/ui/Sliders.qml index 9b1eae8a0..c941c009f 100644 --- a/examples/applets/widgetgallery/contents/ui/Sliders.qml +++ b/examples/applets/widgetgallery/contents/ui/Sliders.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/Texts.qml b/examples/applets/widgetgallery/contents/ui/Texts.qml index 9bb4812fc..55ac2ac7e 100644 --- a/examples/applets/widgetgallery/contents/ui/Texts.qml +++ b/examples/applets/widgetgallery/contents/ui/Texts.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/Typography.qml b/examples/applets/widgetgallery/contents/ui/Typography.qml index d3aa40600..93abb356c 100644 --- a/examples/applets/widgetgallery/contents/ui/Typography.qml +++ b/examples/applets/widgetgallery/contents/ui/Typography.qml @@ -1,20 +1,7 @@ /* -* Copyright 2012 by Sebastian Kügler -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/main.qml b/examples/applets/widgetgallery/contents/ui/main.qml index 68d84089a..72a62939f 100644 --- a/examples/applets/widgetgallery/contents/ui/main.qml +++ b/examples/applets/widgetgallery/contents/ui/main.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/widgetgallery/contents/ui/standalonemain.qml b/examples/applets/widgetgallery/contents/ui/standalonemain.qml index 3db74090d..b17152644 100644 --- a/examples/applets/widgetgallery/contents/ui/standalonemain.qml +++ b/examples/applets/widgetgallery/contents/ui/standalonemain.qml @@ -1,21 +1,8 @@ /* - * Copyright (C) 2011 by Daker Fernandes Pinheiro - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Layouts 1.1 diff --git a/examples/applets/widgetgallery/platformcontents/application/tablet/ui/main.qml b/examples/applets/widgetgallery/platformcontents/application/tablet/ui/main.qml index 057dd3d99..0510ecd69 100644 --- a/examples/applets/widgetgallery/platformcontents/application/tablet/ui/main.qml +++ b/examples/applets/widgetgallery/platformcontents/application/tablet/ui/main.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/examples/applets/windowthumbnails/contents/ui/main.qml b/examples/applets/windowthumbnails/contents/ui/main.qml index fb97288d6..94c71355d 100644 --- a/examples/applets/windowthumbnails/contents/ui/main.qml +++ b/examples/applets/windowthumbnails/contents/ui/main.qml @@ -1,23 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Author: Marco Martin - * Date: Sun Nov 7 2010, 18:51:24 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Layouts 1.1 diff --git a/examples/containments/testcontainment/contents/ui/PlasmoidContainer.qml b/examples/containments/testcontainment/contents/ui/PlasmoidContainer.qml index e75bc898e..d1ebde5ef 100644 --- a/examples/containments/testcontainment/contents/ui/PlasmoidContainer.qml +++ b/examples/containments/testcontainment/contents/ui/PlasmoidContainer.qml @@ -1,21 +1,8 @@ /* - * Copyright 2015 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 diff --git a/examples/containments/testcontainment/contents/ui/main.qml b/examples/containments/testcontainment/contents/ui/main.qml index e46ace10d..c1dce200f 100644 --- a/examples/containments/testcontainment/contents/ui/main.qml +++ b/examples/containments/testcontainment/contents/ui/main.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/dataengines/customDataContainers/customDataContainersEngine.cpp b/examples/dataengines/customDataContainers/customDataContainersEngine.cpp index 9d2aeba07..3346c34fd 100644 --- a/examples/dataengines/customDataContainers/customDataContainersEngine.cpp +++ b/examples/dataengines/customDataContainers/customDataContainersEngine.cpp @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #include #include diff --git a/examples/dataengines/customDataContainers/customDataContainersEngine.h b/examples/dataengines/customDataContainers/customDataContainersEngine.h index 78c794fb6..e6b0352e9 100644 --- a/examples/dataengines/customDataContainers/customDataContainersEngine.h +++ b/examples/dataengines/customDataContainers/customDataContainersEngine.h @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #ifndef DATACONTAINERSENGINE_H #define DATACONTAINERSENGINE_H diff --git a/examples/dataengines/customDataContainers/httpContainer.cpp b/examples/dataengines/customDataContainers/httpContainer.cpp index fd72d8840..408779ac6 100644 --- a/examples/dataengines/customDataContainers/httpContainer.cpp +++ b/examples/dataengines/customDataContainers/httpContainer.cpp @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #include "httpContainer.h" diff --git a/examples/dataengines/customDataContainers/httpContainer.h b/examples/dataengines/customDataContainers/httpContainer.h index f40ab653b..feb696ac1 100644 --- a/examples/dataengines/customDataContainers/httpContainer.h +++ b/examples/dataengines/customDataContainers/httpContainer.h @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #ifndef HTTPCONTAINER_H #define HTTPCONTAINER_H diff --git a/examples/dataengines/dataEngineTracker/dataenginetracker.cpp b/examples/dataengines/dataEngineTracker/dataenginetracker.cpp index 24a337e92..a5ea1c23d 100644 --- a/examples/dataengines/dataEngineTracker/dataenginetracker.cpp +++ b/examples/dataengines/dataEngineTracker/dataenginetracker.cpp @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #include "dataenginetracker.h" diff --git a/examples/dataengines/dataEngineTracker/dataenginetracker.h b/examples/dataengines/dataEngineTracker/dataenginetracker.h index ae8b5662f..b846a856e 100644 --- a/examples/dataengines/dataEngineTracker/dataenginetracker.h +++ b/examples/dataengines/dataEngineTracker/dataenginetracker.h @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #ifndef DATAENGINETRACKER_H #define DATAENGINETRACKER_H diff --git a/examples/dataengines/simpleEngine/simpleEngine.cpp b/examples/dataengines/simpleEngine/simpleEngine.cpp index 629e3c239..e540e85bc 100644 --- a/examples/dataengines/simpleEngine/simpleEngine.cpp +++ b/examples/dataengines/simpleEngine/simpleEngine.cpp @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #include #include diff --git a/examples/dataengines/simpleEngine/simpleEngine.h b/examples/dataengines/simpleEngine/simpleEngine.h index 261fe3e54..fcda64cdf 100644 --- a/examples/dataengines/simpleEngine/simpleEngine.h +++ b/examples/dataengines/simpleEngine/simpleEngine.h @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #ifndef SIMPLEENGINE_H #define SIMPLEENGINE_H diff --git a/examples/dataengines/sourcesOnRequest/sourcesOnRequest.cpp b/examples/dataengines/sourcesOnRequest/sourcesOnRequest.cpp index b146c704d..53ff51a66 100644 --- a/examples/dataengines/sourcesOnRequest/sourcesOnRequest.cpp +++ b/examples/dataengines/sourcesOnRequest/sourcesOnRequest.cpp @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #include "sourcesOnRequest.h" diff --git a/examples/dataengines/sourcesOnRequest/sourcesOnRequest.h b/examples/dataengines/sourcesOnRequest/sourcesOnRequest.h index 4ee97fb0f..ee7803c02 100644 --- a/examples/dataengines/sourcesOnRequest/sourcesOnRequest.h +++ b/examples/dataengines/sourcesOnRequest/sourcesOnRequest.h @@ -1,27 +1,8 @@ /* - * Copyright 2011 Aaron Seigo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: BSD-2-Clause +*/ #ifndef SOURCESONREQUESTENGINE_H #define SOURCESONREQUESTENGINE_H diff --git a/examples/developerguide/basic/contents/ui/main.qml b/examples/developerguide/basic/contents/ui/main.qml index 69c940143..481a820c5 100644 --- a/examples/developerguide/basic/contents/ui/main.qml +++ b/examples/developerguide/basic/contents/ui/main.qml @@ -1,21 +1,8 @@ /* - * Copyright 2015 Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2015 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.3 import QtQuick.Layouts 1.1 diff --git a/examples/shell/customcorona.cpp b/examples/shell/customcorona.cpp index 10a2c10e8..23911e14c 100644 --- a/examples/shell/customcorona.cpp +++ b/examples/shell/customcorona.cpp @@ -1,22 +1,8 @@ /* - * Copyright 2015 Marco Martin - * - * 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 desktopFoundation; 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 approved - * 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 - */ + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +*/ #include "customcorona.h" #include diff --git a/examples/shell/customcorona.h b/examples/shell/customcorona.h index f69f193f5..84fc9e379 100644 --- a/examples/shell/customcorona.h +++ b/examples/shell/customcorona.h @@ -1,22 +1,8 @@ /* - * Copyright 2015 Marco Martin - * - * 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 approved - * 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 - */ + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +*/ #ifndef CUSTOMCORONA_H #define CUSTOMCORONA_H diff --git a/examples/shell/main.cpp b/examples/shell/main.cpp index 2dd2ec029..e4c4a9323 100644 --- a/examples/shell/main.cpp +++ b/examples/shell/main.cpp @@ -1,22 +1,8 @@ /* - * Copyright 2015 Marco Martin - * - * 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 approved - * 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 - */ + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +*/ #include #include diff --git a/examples/testcontainmentactionsplugin/test.cpp b/examples/testcontainmentactionsplugin/test.cpp index 51d81338d..21264902a 100644 --- a/examples/testcontainmentactionsplugin/test.cpp +++ b/examples/testcontainmentactionsplugin/test.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2009 by Chani Armitage - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Chani Armitage + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "test.h" diff --git a/examples/testcontainmentactionsplugin/test.h b/examples/testcontainmentactionsplugin/test.h index 0e9c2780b..28c9abd67 100644 --- a/examples/testcontainmentactionsplugin/test.h +++ b/examples/testcontainmentactionsplugin/test.h @@ -1,21 +1,8 @@ /* - * Copyright 2009 by Chani Armitage - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Chani Armitage + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef CONTEXTTEST_HEADER #define CONTEXTTEST_HEADER diff --git a/examples/wallpapers/autumn/contents/ui/config.qml b/examples/wallpapers/autumn/contents/ui/config.qml index bdb31d9f0..974007ab6 100644 --- a/examples/wallpapers/autumn/contents/ui/config.qml +++ b/examples/wallpapers/autumn/contents/ui/config.qml @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/examples/wallpapers/autumn/contents/ui/main.qml b/examples/wallpapers/autumn/contents/ui/main.qml index cee990a84..7aacc3b06 100644 --- a/examples/wallpapers/autumn/contents/ui/main.qml +++ b/examples/wallpapers/autumn/contents/ui/main.qml @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names -** of its contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Digia Plc and /or its subsidiary(-ies) + + This file is part of the examples of the Qt Toolkit. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.0 import QtQuick.Particles 2.0 diff --git a/src/declarativeimports/calendar/calendar.cpp b/src/declarativeimports/calendar/calendar.cpp index b29d14092..bda767f94 100644 --- a/src/declarativeimports/calendar/calendar.cpp +++ b/src/declarativeimports/calendar/calendar.cpp @@ -1,21 +1,8 @@ /* - Copyright (C) 2013 Mark Gaiser - Copyright (C) 2016 Martin Klapetek - - 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-FileCopyrightText: 2013 Mark Gaiser + SPDX-FileCopyrightText: 2016 Martin Klapetek + SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/src/declarativeimports/calendar/calendar.h b/src/declarativeimports/calendar/calendar.h index 57e0ea70d..891ff3f16 100644 --- a/src/declarativeimports/calendar/calendar.h +++ b/src/declarativeimports/calendar/calendar.h @@ -1,21 +1,8 @@ /* - Copyright (C) 2013 Mark Gaiser - Copyright (C) 2016 Martin Klapetek - - 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-FileCopyrightText: 2013 Mark Gaiser + SPDX-FileCopyrightText: 2016 Martin Klapetek + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef CALENDAR_H diff --git a/src/declarativeimports/calendar/calendardata.cpp b/src/declarativeimports/calendar/calendardata.cpp index e2a0e1a84..cba3e8071 100644 --- a/src/declarativeimports/calendar/calendardata.cpp +++ b/src/declarativeimports/calendar/calendardata.cpp @@ -1,20 +1,7 @@ /* - Copyright (C) 2013 Mark Gaiser - - 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-FileCopyrightText: 2013 Mark Gaiser + SPDX-License-Identifier: GPL-2.0-or-later */ #include "calendardata.h" diff --git a/src/declarativeimports/calendar/calendardata.h b/src/declarativeimports/calendar/calendardata.h index 5b5395c99..b606a9a15 100644 --- a/src/declarativeimports/calendar/calendardata.h +++ b/src/declarativeimports/calendar/calendardata.h @@ -1,20 +1,7 @@ /* - Copyright (C) 2013 Mark Gaiser - - 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-FileCopyrightText: 2013 Mark Gaiser + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef CALENDARDATA_H diff --git a/src/declarativeimports/calendar/calendarplugin.cpp b/src/declarativeimports/calendar/calendarplugin.cpp index 6db061759..01df50070 100644 --- a/src/declarativeimports/calendar/calendarplugin.cpp +++ b/src/declarativeimports/calendar/calendarplugin.cpp @@ -1,20 +1,7 @@ /* - Copyright (C) 2013 Mark Gaiser - - 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-FileCopyrightText: 2013 Mark Gaiser + SPDX-License-Identifier: GPL-2.0-or-later */ #include "calendarplugin.h" diff --git a/src/declarativeimports/calendar/calendarplugin.h b/src/declarativeimports/calendar/calendarplugin.h index 14f387530..6e235e945 100644 --- a/src/declarativeimports/calendar/calendarplugin.h +++ b/src/declarativeimports/calendar/calendarplugin.h @@ -1,20 +1,7 @@ /* - Copyright (C) 2013 Mark Gaiser - - 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-FileCopyrightText: 2013 Mark Gaiser + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef CALENDARPLUGIN_H diff --git a/src/declarativeimports/calendar/daydata.h b/src/declarativeimports/calendar/daydata.h index 58d62b34e..df63f1774 100644 --- a/src/declarativeimports/calendar/daydata.h +++ b/src/declarativeimports/calendar/daydata.h @@ -1,18 +1,5 @@ /* - 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 DAYDATA_H diff --git a/src/declarativeimports/calendar/daysmodel.cpp b/src/declarativeimports/calendar/daysmodel.cpp index 31a831a1c..492e3b693 100644 --- a/src/declarativeimports/calendar/daysmodel.cpp +++ b/src/declarativeimports/calendar/daysmodel.cpp @@ -1,21 +1,8 @@ /* - Copyright (C) 2013 Mark Gaiser - Copyright (C) 2016 Martin Klapetek - - 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-FileCopyrightText: 2013 Mark Gaiser + SPDX-FileCopyrightText: 2016 Martin Klapetek + SPDX-License-Identifier: GPL-2.0-or-later */ #include "daysmodel.h" diff --git a/src/declarativeimports/calendar/daysmodel.h b/src/declarativeimports/calendar/daysmodel.h index 8e03c4eae..568a5445b 100644 --- a/src/declarativeimports/calendar/daysmodel.h +++ b/src/declarativeimports/calendar/daysmodel.h @@ -1,21 +1,8 @@ /* - Copyright (C) 2013 Mark Gaiser - Copyright (C) 2016 Martin Klapetek - - 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-FileCopyrightText: 2013 Mark Gaiser + SPDX-FileCopyrightText: 2016 Martin Klapetek + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef DAYSMODEL_H diff --git a/src/declarativeimports/calendar/eventdatadecorator.cpp b/src/declarativeimports/calendar/eventdatadecorator.cpp index 421f4a37e..ae6a0e42b 100644 --- a/src/declarativeimports/calendar/eventdatadecorator.cpp +++ b/src/declarativeimports/calendar/eventdatadecorator.cpp @@ -1,20 +1,7 @@ /* - Copyright (C) 2015 Martin Klapetek - - 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-FileCopyrightText: 2015 Martin Klapetek + SPDX-License-Identifier: GPL-2.0-or-later */ #include "eventdatadecorator.h" diff --git a/src/declarativeimports/calendar/eventdatadecorator.h b/src/declarativeimports/calendar/eventdatadecorator.h index f256d65cd..d4ee272c6 100644 --- a/src/declarativeimports/calendar/eventdatadecorator.h +++ b/src/declarativeimports/calendar/eventdatadecorator.h @@ -1,20 +1,7 @@ /* - Copyright (C) 2015 Martin Klapetek - - 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-FileCopyrightText: 2015 Martin Klapetek + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef EVENTDATADECORATOR_H diff --git a/src/declarativeimports/calendar/eventpluginsmanager.cpp b/src/declarativeimports/calendar/eventpluginsmanager.cpp index 92238ebf1..b25993994 100644 --- a/src/declarativeimports/calendar/eventpluginsmanager.cpp +++ b/src/declarativeimports/calendar/eventpluginsmanager.cpp @@ -1,20 +1,7 @@ /* - Copyright (C) 2015 Martin Klapetek - - 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-FileCopyrightText: 2015 Martin Klapetek + SPDX-License-Identifier: GPL-2.0-or-later */ #include "eventpluginsmanager.h" diff --git a/src/declarativeimports/calendar/eventpluginsmanager.h b/src/declarativeimports/calendar/eventpluginsmanager.h index 1642e61db..fc209acf7 100644 --- a/src/declarativeimports/calendar/eventpluginsmanager.h +++ b/src/declarativeimports/calendar/eventpluginsmanager.h @@ -1,20 +1,7 @@ /* - Copyright (C) 2015 Martin Klapetek - - 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-FileCopyrightText: 2015 Martin Klapetek + SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef EVENTPLUGINSMANAGER_H diff --git a/src/declarativeimports/calendar/qml/CalendarToolbar.qml b/src/declarativeimports/calendar/qml/CalendarToolbar.qml index a5ca3662d..6f342384b 100644 --- a/src/declarativeimports/calendar/qml/CalendarToolbar.qml +++ b/src/declarativeimports/calendar/qml/CalendarToolbar.qml @@ -1,20 +1,9 @@ /* - * Copyright 2013 Heena Mahour - * Copyright 2013 Sebastian Kügler - * - * 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, see . - */ + SPDX-FileCopyrightText: 2013 Heena Mahour + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.calendar 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/calendar/qml/DayDelegate.qml b/src/declarativeimports/calendar/qml/DayDelegate.qml index 206f435df..ae9f767d6 100644 --- a/src/declarativeimports/calendar/qml/DayDelegate.qml +++ b/src/declarativeimports/calendar/qml/DayDelegate.qml @@ -1,21 +1,10 @@ /* - * Copyright 2013 Heena Mahour - * Copyright 2013 Sebastian Kügler - * Copyright 2015 Kai Uwe Broulik - * - * 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, see . - */ + SPDX-FileCopyrightText: 2013 Heena Mahour + SPDX-FileCopyrightText: 2013 Sebastian Kügler + SPDX-FileCopyrightText: 2015 Kai Uwe Broulik + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.calendar 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/calendar/qml/DaysCalendar.qml b/src/declarativeimports/calendar/qml/DaysCalendar.qml index 90444b91b..afa83fb10 100644 --- a/src/declarativeimports/calendar/qml/DaysCalendar.qml +++ b/src/declarativeimports/calendar/qml/DaysCalendar.qml @@ -1,21 +1,10 @@ /* - * Copyright 2013 Heena Mahour - * Copyright 2013 Sebastian Kügler - * Copyright 2015, 2016 Kai Uwe Broulik - * - * 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, see . - */ + SPDX-FileCopyrightText: 2013 Heena Mahour + SPDX-FileCopyrightText: 2013 Sebastian Kügler + SPDX-FileCopyrightText: 2015, 2016 Kai Uwe Broulik + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Layouts 1.1 diff --git a/src/declarativeimports/calendar/qml/MonthMenu.qml b/src/declarativeimports/calendar/qml/MonthMenu.qml index beddf6852..a2f085891 100644 --- a/src/declarativeimports/calendar/qml/MonthMenu.qml +++ b/src/declarativeimports/calendar/qml/MonthMenu.qml @@ -1,21 +1,9 @@ /* - * Copyright 2013 Heena Mahour - * Copyright 2013 Martin Klapetek - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2013 Heena Mahour + SPDX-FileCopyrightText: 2013 Martin Klapetek + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 import org.kde.plasma.components 2.0 as PlasmaComponents diff --git a/src/declarativeimports/calendar/qml/MonthView.qml b/src/declarativeimports/calendar/qml/MonthView.qml index bba4353af..fb6c2ce32 100644 --- a/src/declarativeimports/calendar/qml/MonthView.qml +++ b/src/declarativeimports/calendar/qml/MonthView.qml @@ -1,21 +1,10 @@ /* - * Copyright 2013 Heena Mahour - * Copyright 2013 Sebastian Kügler - * Copyright 2015 Kai Uwe Broulik - * - * 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, see . - */ + SPDX-FileCopyrightText: 2013 Heena Mahour + SPDX-FileCopyrightText: 2013 Sebastian Kügler + SPDX-FileCopyrightText: 2015 Kai Uwe Broulik + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 diff --git a/src/declarativeimports/core/colorscope.cpp b/src/declarativeimports/core/colorscope.cpp index 3c6de03ea..d4de10bdd 100644 --- a/src/declarativeimports/core/colorscope.cpp +++ b/src/declarativeimports/core/colorscope.cpp @@ -1,23 +1,10 @@ -/*************************************************************************** - * Copyright 2011 Marco Martin * - * Copyright 2011 Artur Duque de Souza * - * Copyright 2013 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Artur Duque de Souza + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "colorscope.h" diff --git a/src/declarativeimports/core/colorscope.h b/src/declarativeimports/core/colorscope.h index 3d9bddec8..edb35cb3a 100644 --- a/src/declarativeimports/core/colorscope.h +++ b/src/declarativeimports/core/colorscope.h @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2014 Marco Martin * - * * - * 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-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef COLORSCOPE_H #define COLORSCOPE_H diff --git a/src/declarativeimports/core/corebindingsplugin.cpp b/src/declarativeimports/core/corebindingsplugin.cpp index daedccc09..edc61adcf 100644 --- a/src/declarativeimports/core/corebindingsplugin.cpp +++ b/src/declarativeimports/core/corebindingsplugin.cpp @@ -1,24 +1,11 @@ /* - * Copyright 2009 by Alan Alpert - * Copyright 2010 by Ménard Alexis - * Copyright 2010 by Marco Martin - * Copyright 2013 by Sebastian Kügler + SPDX-FileCopyrightText: 2009 Alan Alpert + SPDX-FileCopyrightText: 2010 Ménard Alexis + SPDX-FileCopyrightText: 2010 Marco Martin + SPDX-FileCopyrightText: 2013 Sebastian Kügler - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #include "corebindingsplugin.h" diff --git a/src/declarativeimports/core/corebindingsplugin.h b/src/declarativeimports/core/corebindingsplugin.h index 84e142fc7..1917e9128 100644 --- a/src/declarativeimports/core/corebindingsplugin.h +++ b/src/declarativeimports/core/corebindingsplugin.h @@ -1,24 +1,11 @@ /* - * Copyright 2009 by Alan Alpert - * Copyright 2010 by Ménard Alexis - * Copyright 2010 by Marco Martin - * Copyright 2013 by Sebastian Kügler + SPDX-FileCopyrightText: 2009 Alan Alpert + SPDX-FileCopyrightText: 2010 Ménard Alexis + SPDX-FileCopyrightText: 2010 Marco Martin + SPDX-FileCopyrightText: 2013 Sebastian Kügler - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #ifndef COREBINDINGSPLUGIN_H #define COREBINDINGSPLUGIN_H diff --git a/src/declarativeimports/core/datamodel.cpp b/src/declarativeimports/core/datamodel.cpp index 0f3c7129e..f51421461 100644 --- a/src/declarativeimports/core/datamodel.cpp +++ b/src/declarativeimports/core/datamodel.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2010 by Marco Martin + SPDX-FileCopyrightText: 2010 Marco Martin - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #include "datamodel.h" #include "datasource.h" diff --git a/src/declarativeimports/core/datamodel.h b/src/declarativeimports/core/datamodel.h index 49192ad44..b12d4ae02 100644 --- a/src/declarativeimports/core/datamodel.h +++ b/src/declarativeimports/core/datamodel.h @@ -1,21 +1,8 @@ /* - * Copyright 2010 by Marco MArtin + SPDX-FileCopyrightText: 2010 Marco Martin - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #ifndef DATAMODEL_H #define DATAMODEL_H diff --git a/src/declarativeimports/core/datasource.cpp b/src/declarativeimports/core/datasource.cpp index b98501b4a..1e8e4f3ca 100644 --- a/src/declarativeimports/core/datasource.cpp +++ b/src/declarativeimports/core/datasource.cpp @@ -1,24 +1,11 @@ /* - * Copyright 2009 by Alan Alpert - * Copyright 2010 by Ménard Alexis - * Copyright 2010 by Marco Martin - * Copyright 2013 by Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Alan Alpert + SPDX-FileCopyrightText: 2010 Ménard Alexis + SPDX-FileCopyrightText: 2010 Marco Martin + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "datasource.h" diff --git a/src/declarativeimports/core/datasource.h b/src/declarativeimports/core/datasource.h index 90fadcb0b..12ebc0902 100644 --- a/src/declarativeimports/core/datasource.h +++ b/src/declarativeimports/core/datasource.h @@ -1,24 +1,11 @@ /* - * Copyright 2009 by Alan Alpert - * Copyright 2010 by Ménard Alexis - * Copyright 2010 by Marco MArtin - * Copyright 2013 by Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Alan Alpert + SPDX-FileCopyrightText: 2010 Ménard Alexis + SPDX-FileCopyrightText: 2010 Marco MArtin + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef DATASOURCE_H #define DATASOURCE_H diff --git a/src/declarativeimports/core/fadingnode.cpp b/src/declarativeimports/core/fadingnode.cpp index c9359a6b3..774972654 100644 --- a/src/declarativeimports/core/fadingnode.cpp +++ b/src/declarativeimports/core/fadingnode.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 David Edmundson - * - * 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: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "fadingnode_p.h" diff --git a/src/declarativeimports/core/fadingnode_p.h b/src/declarativeimports/core/fadingnode_p.h index a31b625b5..fed26cad1 100644 --- a/src/declarativeimports/core/fadingnode_p.h +++ b/src/declarativeimports/core/fadingnode_p.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 David Edmundson - * - * 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: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef FADINGNODE_H #define FADINGNODE_H diff --git a/src/declarativeimports/core/framesvgitem.cpp b/src/declarativeimports/core/framesvgitem.cpp index 48496fa66..2ac8f496c 100644 --- a/src/declarativeimports/core/framesvgitem.cpp +++ b/src/declarativeimports/core/framesvgitem.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2010 Marco Martin - * Copyright 2014 David Edmundson - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2010 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "framesvgitem.h" diff --git a/src/declarativeimports/core/framesvgitem.h b/src/declarativeimports/core/framesvgitem.h index dc866b14a..e08bbf9f5 100644 --- a/src/declarativeimports/core/framesvgitem.h +++ b/src/declarativeimports/core/framesvgitem.h @@ -1,23 +1,9 @@ -/*************************************************************************** - * Copyright 2010 Marco Martin * - * Copyright 2014 David Edmundson * - * * - * * - * 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-FileCopyrightText: 2010 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FRAMESVGITEM_P #define FRAMESVGITEM_P diff --git a/src/declarativeimports/core/iconitem.cpp b/src/declarativeimports/core/iconitem.cpp index 2f3d5e0cd..262d236f8 100644 --- a/src/declarativeimports/core/iconitem.cpp +++ b/src/declarativeimports/core/iconitem.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2012 Marco Martin - * Copyright 2014 David Edmundson - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2012 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "iconitem.h" #include diff --git a/src/declarativeimports/core/iconitem.h b/src/declarativeimports/core/iconitem.h index c9daddc74..500274a97 100644 --- a/src/declarativeimports/core/iconitem.h +++ b/src/declarativeimports/core/iconitem.h @@ -1,22 +1,9 @@ /* - * Copyright 2012 Marco Martin - * Copyright 2014 David Edmundson - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2012 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef ICONITEM_H #define ICONITEM_H diff --git a/src/declarativeimports/core/private/DefaultToolTip.qml b/src/declarativeimports/core/private/DefaultToolTip.qml index 3b846befa..5099128ab 100644 --- a/src/declarativeimports/core/private/DefaultToolTip.qml +++ b/src/declarativeimports/core/private/DefaultToolTip.qml @@ -1,20 +1,7 @@ /* -* Copyright 2013-2015 by Sebastian Kügler -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2013-2015 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/core/quicktheme.cpp b/src/declarativeimports/core/quicktheme.cpp index e2294f7e3..e0ee6b029 100644 --- a/src/declarativeimports/core/quicktheme.cpp +++ b/src/declarativeimports/core/quicktheme.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "quicktheme.h" diff --git a/src/declarativeimports/core/quicktheme.h b/src/declarativeimports/core/quicktheme.h index ccb91ce2b..b62eb2481 100644 --- a/src/declarativeimports/core/quicktheme.h +++ b/src/declarativeimports/core/quicktheme.h @@ -1,22 +1,9 @@ /* - * Copyright 2006-2007 Aaron Seigo - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_QUICKTHEME_H #define PLASMA_QUICKTHEME_H diff --git a/src/declarativeimports/core/serviceoperationstatus.cpp b/src/declarativeimports/core/serviceoperationstatus.cpp index ed355b6cb..02525ae63 100644 --- a/src/declarativeimports/core/serviceoperationstatus.cpp +++ b/src/declarativeimports/core/serviceoperationstatus.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "serviceoperationstatus.h" diff --git a/src/declarativeimports/core/serviceoperationstatus.h b/src/declarativeimports/core/serviceoperationstatus.h index 03dd8858c..cfe9abe42 100644 --- a/src/declarativeimports/core/serviceoperationstatus.h +++ b/src/declarativeimports/core/serviceoperationstatus.h @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2013 Marco Martin * - * * - * 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SERVICEOPERATIONSTATUS_P #define SERVICEOPERATIONSTATUS_P diff --git a/src/declarativeimports/core/svgitem.cpp b/src/declarativeimports/core/svgitem.cpp index 4c2d29729..d86732f66 100644 --- a/src/declarativeimports/core/svgitem.cpp +++ b/src/declarativeimports/core/svgitem.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2010 Marco Martin - * Copyright 2014 David Edmundson - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2010 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "svgitem.h" diff --git a/src/declarativeimports/core/svgitem.h b/src/declarativeimports/core/svgitem.h index a712c52dd..d94a197a8 100644 --- a/src/declarativeimports/core/svgitem.h +++ b/src/declarativeimports/core/svgitem.h @@ -1,22 +1,9 @@ -/*************************************************************************** - * Copyright 2010 Marco Martin * - * Copyright 2014 David Edmundson * - * * - * 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-FileCopyrightText: 2010 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SVGITEM_P #define SVGITEM_P diff --git a/src/declarativeimports/core/tooltip.cpp b/src/declarativeimports/core/tooltip.cpp index edf26e797..f48ed5de6 100644 --- a/src/declarativeimports/core/tooltip.cpp +++ b/src/declarativeimports/core/tooltip.cpp @@ -1,23 +1,10 @@ -/*************************************************************************** - * Copyright 2011 Marco Martin * - * Copyright 2011 Artur Duque de Souza * - * Copyright 2013 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Artur Duque de Souza + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "tooltip.h" #include "tooltipdialog.h" diff --git a/src/declarativeimports/core/tooltip.h b/src/declarativeimports/core/tooltip.h index dd96e0ad1..792322b60 100644 --- a/src/declarativeimports/core/tooltip.h +++ b/src/declarativeimports/core/tooltip.h @@ -1,23 +1,10 @@ -/*************************************************************************** - * Copyright 2011 Marco Martin * - * Copyright 2011 Artur Duque de Souza * - * Copyright 2013 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Artur Duque de Souza + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef TOOLTIPOBJECT_H #define TOOLTIPOBJECT_H diff --git a/src/declarativeimports/core/tooltipdialog.cpp b/src/declarativeimports/core/tooltipdialog.cpp index 5e717b32b..5e50032c4 100644 --- a/src/declarativeimports/core/tooltipdialog.cpp +++ b/src/declarativeimports/core/tooltipdialog.cpp @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2013 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "tooltipdialog.h" diff --git a/src/declarativeimports/core/tooltipdialog.h b/src/declarativeimports/core/tooltipdialog.h index 108242be5..ff63fb2d3 100644 --- a/src/declarativeimports/core/tooltipdialog.h +++ b/src/declarativeimports/core/tooltipdialog.h @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2013 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef TOOLTIPDIALOG_H #define TOOLTIPDIALOG_H diff --git a/src/declarativeimports/core/units.cpp b/src/declarativeimports/core/units.cpp index edb853476..30ebe4153 100644 --- a/src/declarativeimports/core/units.cpp +++ b/src/declarativeimports/core/units.cpp @@ -1,23 +1,10 @@ -/*************************************************************************** - * Copyright 2013 Marco Martin * - * Copyright 2014 Sebastian Kügler * - * Copyright 2014 David Edmundson * - * * - * 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-FileCopyrightText: 2013 Marco Martin + SPDX-FileCopyrightText: 2014 Sebastian Kügler + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "units.h" diff --git a/src/declarativeimports/core/units.h b/src/declarativeimports/core/units.h index 129a3bfcf..f9eca0cca 100644 --- a/src/declarativeimports/core/units.h +++ b/src/declarativeimports/core/units.h @@ -1,22 +1,9 @@ -/*************************************************************************** - * Copyright 2013 Marco Martin * - * Copyright 2014 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2013 Marco Martin + SPDX-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef UNITS_H #define UNITS_H diff --git a/src/declarativeimports/core/windowthumbnail.cpp b/src/declarativeimports/core/windowthumbnail.cpp index d1a4d9bbe..90ba5765b 100644 --- a/src/declarativeimports/core/windowthumbnail.cpp +++ b/src/declarativeimports/core/windowthumbnail.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2013 by Martin Gräßlin + SPDX-FileCopyrightText: 2013 Martin Gräßlin - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #include "windowthumbnail.h" // KF5 #include diff --git a/src/declarativeimports/core/windowthumbnail.h b/src/declarativeimports/core/windowthumbnail.h index 0b36e583f..54b30fdc5 100644 --- a/src/declarativeimports/core/windowthumbnail.h +++ b/src/declarativeimports/core/windowthumbnail.h @@ -1,21 +1,8 @@ /* - * Copyright 2013 by Martin Gräßlin + SPDX-FileCopyrightText: 2013 Martin Gräßlin - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #ifndef PLASMA_WINDOWTHUMBNAIL_H #define PLASMA_WINDOWTHUMBNAIL_H #include diff --git a/src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml b/src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml index 397beca26..2893e1efb 100644 --- a/src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml +++ b/src/declarativeimports/kirigamiplasmadesktopstyle/Units.qml @@ -1,21 +1,8 @@ /* - * Copyright 2015 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.4 import QtQuick.Window 2.2 diff --git a/src/declarativeimports/kirigamiplasmastyle/AbstractApplicationHeader.qml b/src/declarativeimports/kirigamiplasmastyle/AbstractApplicationHeader.qml index 33998c86c..cc14fc696 100644 --- a/src/declarativeimports/kirigamiplasmastyle/AbstractApplicationHeader.qml +++ b/src/declarativeimports/kirigamiplasmastyle/AbstractApplicationHeader.qml @@ -1,9 +1,9 @@ /* - * SPDX-FileCopyrightText: 2016 Marco Martin - * SPDY-FileCopyrightText: 2020 Jonah Brüchert - * - * SPDX-License-Identifier: LGPL-2.0-or-later - */ + SPDX-FileCopyrightText: 2016 Marco Martin + SPDY-FileCopyrightText: 2020 Jonah Brüchert + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.5 import org.kde.kirigami 2.4 as Kirigami diff --git a/src/declarativeimports/kirigamiplasmastyle/Icon.qml b/src/declarativeimports/kirigamiplasmastyle/Icon.qml index 04878d39b..0599832ba 100644 --- a/src/declarativeimports/kirigamiplasmastyle/Icon.qml +++ b/src/declarativeimports/kirigamiplasmastyle/Icon.qml @@ -1,21 +1,8 @@ /* - * Copyright 2015 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/kirigamiplasmastyle/Theme.qml b/src/declarativeimports/kirigamiplasmastyle/Theme.qml index 3158268c8..e973217d6 100644 --- a/src/declarativeimports/kirigamiplasmastyle/Theme.qml +++ b/src/declarativeimports/kirigamiplasmastyle/Theme.qml @@ -1,21 +1,8 @@ /* - * Copyright 2015 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ pragma Singleton diff --git a/src/declarativeimports/kirigamiplasmastyle/Units.qml b/src/declarativeimports/kirigamiplasmastyle/Units.qml index 10672dce9..8e475aefa 100644 --- a/src/declarativeimports/kirigamiplasmastyle/Units.qml +++ b/src/declarativeimports/kirigamiplasmastyle/Units.qml @@ -1,21 +1,8 @@ /* - * Copyright 2015 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ pragma Singleton diff --git a/src/declarativeimports/plasmacomponents/enums.cpp b/src/declarativeimports/plasmacomponents/enums.cpp index 5607c5fe7..8de328959 100644 --- a/src/declarativeimports/plasmacomponents/enums.cpp +++ b/src/declarativeimports/plasmacomponents/enums.cpp @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library 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-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ #include "enums.h" diff --git a/src/declarativeimports/plasmacomponents/enums.h b/src/declarativeimports/plasmacomponents/enums.h index 4535a1add..fbdfd18c5 100644 --- a/src/declarativeimports/plasmacomponents/enums.h +++ b/src/declarativeimports/plasmacomponents/enums.h @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library 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-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef ENUMS_H diff --git a/src/declarativeimports/plasmacomponents/plasmacomponentsplugin.cpp b/src/declarativeimports/plasmacomponents/plasmacomponentsplugin.cpp index 7ff870d5e..db7980d7f 100644 --- a/src/declarativeimports/plasmacomponents/plasmacomponentsplugin.cpp +++ b/src/declarativeimports/plasmacomponents/plasmacomponentsplugin.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2011 by Marco Martin + SPDX-FileCopyrightText: 2011 Marco Martin - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #include "plasmacomponentsplugin.h" diff --git a/src/declarativeimports/plasmacomponents/plasmacomponentsplugin.h b/src/declarativeimports/plasmacomponents/plasmacomponentsplugin.h index 2c46afa8c..0e91ddb6d 100644 --- a/src/declarativeimports/plasmacomponents/plasmacomponentsplugin.h +++ b/src/declarativeimports/plasmacomponents/plasmacomponentsplugin.h @@ -1,21 +1,8 @@ /* - * Copyright 2011 by Marco Martin + SPDX-FileCopyrightText: 2011 Marco Martin - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #ifndef PLASMACOMPONENTSPLUGIN_H #define PLASMACOMPONENTSPLUGIN_H diff --git a/src/declarativeimports/plasmacomponents/qmenu.cpp b/src/declarativeimports/plasmacomponents/qmenu.cpp index 1069f134f..9f5c5eedf 100644 --- a/src/declarativeimports/plasmacomponents/qmenu.cpp +++ b/src/declarativeimports/plasmacomponents/qmenu.cpp @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2011 Viranch Mehta * - * * - * 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-FileCopyrightText: 2011 Viranch Mehta + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "qmenu.h" diff --git a/src/declarativeimports/plasmacomponents/qmenu.h b/src/declarativeimports/plasmacomponents/qmenu.h index de5ec2c21..74cca7114 100644 --- a/src/declarativeimports/plasmacomponents/qmenu.h +++ b/src/declarativeimports/plasmacomponents/qmenu.h @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright 2011 Viranch Mehta * - * * - * 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-FileCopyrightText: 2011 Viranch Mehta + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef QMENU_PROXY_H #define QMENU_PROXY_H diff --git a/src/declarativeimports/plasmacomponents/qmenuitem.cpp b/src/declarativeimports/plasmacomponents/qmenuitem.cpp index 2e1a2e574..7885b39ba 100644 --- a/src/declarativeimports/plasmacomponents/qmenuitem.cpp +++ b/src/declarativeimports/plasmacomponents/qmenuitem.cpp @@ -1,22 +1,9 @@ -/*************************************************************************** - * Copyright 2011 Viranch Mehta * - * Copyright 2013 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2011 Viranch Mehta + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "qmenuitem.h" diff --git a/src/declarativeimports/plasmacomponents/qmenuitem.h b/src/declarativeimports/plasmacomponents/qmenuitem.h index c42d52000..e5ab0cfae 100644 --- a/src/declarativeimports/plasmacomponents/qmenuitem.h +++ b/src/declarativeimports/plasmacomponents/qmenuitem.h @@ -1,22 +1,9 @@ -/*************************************************************************** - * Copyright 2011 Viranch Mehta * - * Copyright 2013 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2011 Viranch Mehta + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef QMENUITEM_H #define QMENUITEM_H diff --git a/src/declarativeimports/plasmacomponents/qml/BusyIndicator.qml b/src/declarativeimports/plasmacomponents/qml/BusyIndicator.qml index 27fffb2b3..60dfb76fe 100644 --- a/src/declarativeimports/plasmacomponents/qml/BusyIndicator.qml +++ b/src/declarativeimports/plasmacomponents/qml/BusyIndicator.qml @@ -1,22 +1,9 @@ /* -* Copyright (C) 2010 by Artur Duque de Souza -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2014 by Kai Uwe Broulik -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2010 Artur Duque de Souza + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2014 Kai Uwe Broulik + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmacomponents/qml/Button.qml b/src/declarativeimports/plasmacomponents/qml/Button.qml index 6f8286f42..ce3a947fd 100644 --- a/src/declarativeimports/plasmacomponents/qml/Button.qml +++ b/src/declarativeimports/plasmacomponents/qml/Button.qml @@ -1,24 +1,10 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2011 by Mark Gaiser -* Copyright (C) 2011 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. -*/ + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Mark Gaiser + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-License-Identifier: LGPL-2.0-or-later +*/ /** * A button with optional label and icon which uses the plasma theme. diff --git a/src/declarativeimports/plasmacomponents/qml/ButtonColumn.qml b/src/declarativeimports/plasmacomponents/qml/ButtonColumn.qml index c490192fc..9ab95b4c3 100644 --- a/src/declarativeimports/plasmacomponents/qml/ButtonColumn.qml +++ b/src/declarativeimports/plasmacomponents/qml/ButtonColumn.qml @@ -1,43 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only OR LicenseRef-Qt-Commercial +*/ import QtQuick 2.1 import "ButtonGroup.js" as Behavior diff --git a/src/declarativeimports/plasmacomponents/qml/ButtonGroup.js b/src/declarativeimports/plasmacomponents/qml/ButtonGroup.js index cef9f0f95..9f3c6beb5 100644 --- a/src/declarativeimports/plasmacomponents/qml/ButtonGroup.js +++ b/src/declarativeimports/plasmacomponents/qml/ButtonGroup.js @@ -1,43 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only OR LicenseRef-Qt-Commercial +*/ var self; var checkHandlers = []; diff --git a/src/declarativeimports/plasmacomponents/qml/ButtonRow.qml b/src/declarativeimports/plasmacomponents/qml/ButtonRow.qml index e5dfbcbec..c1c21efce 100644 --- a/src/declarativeimports/plasmacomponents/qml/ButtonRow.qml +++ b/src/declarativeimports/plasmacomponents/qml/ButtonRow.qml @@ -1,43 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only OR LicenseRef-Qt-Commercial +*/ import QtQuick 2.1 import "ButtonGroup.js" as Behavior diff --git a/src/declarativeimports/plasmacomponents/qml/CheckBox.qml b/src/declarativeimports/plasmacomponents/qml/CheckBox.qml index 13bfbd636..e899f4f38 100644 --- a/src/declarativeimports/plasmacomponents/qml/CheckBox.qml +++ b/src/declarativeimports/plasmacomponents/qml/CheckBox.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright 2014 Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/ComboBox.qml b/src/declarativeimports/plasmacomponents/qml/ComboBox.qml index eaaefa752..4ce7f8773 100644 --- a/src/declarativeimports/plasmacomponents/qml/ComboBox.qml +++ b/src/declarativeimports/plasmacomponents/qml/ComboBox.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2014 by David Edmundson -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick.Controls 1.1 diff --git a/src/declarativeimports/plasmacomponents/qml/CommonDialog.qml b/src/declarativeimports/plasmacomponents/qml/CommonDialog.qml index 2b21dc8a0..1085e8492 100644 --- a/src/declarativeimports/plasmacomponents/qml/CommonDialog.qml +++ b/src/declarativeimports/plasmacomponents/qml/CommonDialog.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents/qml/ContextMenu.qml b/src/declarativeimports/plasmacomponents/qml/ContextMenu.qml index bd48db710..c79cbdadf 100644 --- a/src/declarativeimports/plasmacomponents/qml/ContextMenu.qml +++ b/src/declarativeimports/plasmacomponents/qml/ContextMenu.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import org.kde.plasma.components 2.0 as PlasmaComponents diff --git a/src/declarativeimports/plasmacomponents/qml/Dialog.qml b/src/declarativeimports/plasmacomponents/qml/Dialog.qml index ab93cf78c..cdd26c7d6 100644 --- a/src/declarativeimports/plasmacomponents/qml/Dialog.qml +++ b/src/declarativeimports/plasmacomponents/qml/Dialog.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents/qml/Highlight.qml b/src/declarativeimports/plasmacomponents/qml/Highlight.qml index 78197ee6c..1eefa740f 100644 --- a/src/declarativeimports/plasmacomponents/qml/Highlight.qml +++ b/src/declarativeimports/plasmacomponents/qml/Highlight.qml @@ -1,21 +1,8 @@ - /* - * Copyright 2011 Daker Fernandes Pinheiro - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ +/* + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents/qml/Label.qml b/src/declarativeimports/plasmacomponents/qml/Label.qml index 5e48da5c9..62288191f 100644 --- a/src/declarativeimports/plasmacomponents/qml/Label.qml +++ b/src/declarativeimports/plasmacomponents/qml/Label.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/ListItem.qml b/src/declarativeimports/plasmacomponents/qml/ListItem.qml index cb61fca27..83576a14a 100644 --- a/src/declarativeimports/plasmacomponents/qml/ListItem.qml +++ b/src/declarativeimports/plasmacomponents/qml/ListItem.qml @@ -1,21 +1,8 @@ /* - * Copyright 2010 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml b/src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml index 21a88dde2..bda764911 100644 --- a/src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml +++ b/src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 David Edmundson - * Copyright 2017 Kai Uwe Broulik - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library 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-FileCopyrightText: 2014 David Edmundson + SPDX-FileCopyrightText: 2017 Kai Uwe Broulik + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import org.kde.plasma.components 2.0 as PlasmaComponents diff --git a/src/declarativeimports/plasmacomponents/qml/Page.qml b/src/declarativeimports/plasmacomponents/qml/Page.qml index 124e75815..a020c8095 100644 --- a/src/declarativeimports/plasmacomponents/qml/Page.qml +++ b/src/declarativeimports/plasmacomponents/qml/Page.qml @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/PageStack.qml b/src/declarativeimports/plasmacomponents/qml/PageStack.qml index 764779cb7..74d3481be 100644 --- a/src/declarativeimports/plasmacomponents/qml/PageStack.qml +++ b/src/declarativeimports/plasmacomponents/qml/PageStack.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ // The PageStack item defines a container for pages and a stack-based // navigation model. Pages can be defined as QML items or components. diff --git a/src/declarativeimports/plasmacomponents/qml/ProgressBar.qml b/src/declarativeimports/plasmacomponents/qml/ProgressBar.qml index b87180a08..ebff9fce3 100644 --- a/src/declarativeimports/plasmacomponents/qml/ProgressBar.qml +++ b/src/declarativeimports/plasmacomponents/qml/ProgressBar.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2014 by Kai Uwe Broulik -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2014 Kai Uwe Broulik + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/QueryDialog.qml b/src/declarativeimports/plasmacomponents/qml/QueryDialog.qml index ba773461d..ac07b8034 100644 --- a/src/declarativeimports/plasmacomponents/qml/QueryDialog.qml +++ b/src/declarativeimports/plasmacomponents/qml/QueryDialog.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import org.kde.plasma.extras 2.0 as PlasmaExtras diff --git a/src/declarativeimports/plasmacomponents/qml/RadioButton.qml b/src/declarativeimports/plasmacomponents/qml/RadioButton.qml index d864ecab3..79c9814c3 100644 --- a/src/declarativeimports/plasmacomponents/qml/RadioButton.qml +++ b/src/declarativeimports/plasmacomponents/qml/RadioButton.qml @@ -1,22 +1,9 @@ /* - * Copyright (C) 2011 by Daker Fernandes Pinheiro - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Controls 1.2 as QtControls diff --git a/src/declarativeimports/plasmacomponents/qml/ScrollBar.qml b/src/declarativeimports/plasmacomponents/qml/ScrollBar.qml index a2f736aae..cb5d1a407 100644 --- a/src/declarativeimports/plasmacomponents/qml/ScrollBar.qml +++ b/src/declarativeimports/plasmacomponents/qml/ScrollBar.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2011 Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/SectionScroller.qml b/src/declarativeimports/plasmacomponents/qml/SectionScroller.qml index 2239069dd..5b7c3143f 100644 --- a/src/declarativeimports/plasmacomponents/qml/SectionScroller.qml +++ b/src/declarativeimports/plasmacomponents/qml/SectionScroller.qml @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import "private/SectionScroller.js" as Sections diff --git a/src/declarativeimports/plasmacomponents/qml/SelectionDialog.qml b/src/declarativeimports/plasmacomponents/qml/SelectionDialog.qml index 41fca076e..e7ec2bcc9 100644 --- a/src/declarativeimports/plasmacomponents/qml/SelectionDialog.qml +++ b/src/declarativeimports/plasmacomponents/qml/SelectionDialog.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents/qml/Sheet.qml b/src/declarativeimports/plasmacomponents/qml/Sheet.qml index 7ebb9f8b6..b7ee5acaf 100644 --- a/src/declarativeimports/plasmacomponents/qml/Sheet.qml +++ b/src/declarativeimports/plasmacomponents/qml/Sheet.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents/qml/Slider.qml b/src/declarativeimports/plasmacomponents/qml/Slider.qml index 0804a943a..5eb69fe2c 100644 --- a/src/declarativeimports/plasmacomponents/qml/Slider.qml +++ b/src/declarativeimports/plasmacomponents/qml/Slider.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2014 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/Switch.qml b/src/declarativeimports/plasmacomponents/qml/Switch.qml index 0ba43c4d5..8f0e588e1 100644 --- a/src/declarativeimports/plasmacomponents/qml/Switch.qml +++ b/src/declarativeimports/plasmacomponents/qml/Switch.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/TabBar.qml b/src/declarativeimports/plasmacomponents/qml/TabBar.qml index e93f8beba..aeb0feabd 100644 --- a/src/declarativeimports/plasmacomponents/qml/TabBar.qml +++ b/src/declarativeimports/plasmacomponents/qml/TabBar.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import QtQuick.Layouts 1.1 diff --git a/src/declarativeimports/plasmacomponents/qml/TabButton.qml b/src/declarativeimports/plasmacomponents/qml/TabButton.qml index ce88b6cc6..589bed11d 100644 --- a/src/declarativeimports/plasmacomponents/qml/TabButton.qml +++ b/src/declarativeimports/plasmacomponents/qml/TabButton.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.1 import QtQuick.Layouts 1.1 diff --git a/src/declarativeimports/plasmacomponents/qml/TabGroup.qml b/src/declarativeimports/plasmacomponents/qml/TabGroup.qml index de98b3928..acfed38da 100644 --- a/src/declarativeimports/plasmacomponents/qml/TabGroup.qml +++ b/src/declarativeimports/plasmacomponents/qml/TabGroup.qml @@ -1,42 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.2 import "private/TabGroup.js" as Engine diff --git a/src/declarativeimports/plasmacomponents/qml/TextArea.qml b/src/declarativeimports/plasmacomponents/qml/TextArea.qml index 96c19e206..772417c16 100644 --- a/src/declarativeimports/plasmacomponents/qml/TextArea.qml +++ b/src/declarativeimports/plasmacomponents/qml/TextArea.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/TextField.qml b/src/declarativeimports/plasmacomponents/qml/TextField.qml index 1ef8a86f4..f911fff89 100644 --- a/src/declarativeimports/plasmacomponents/qml/TextField.qml +++ b/src/declarativeimports/plasmacomponents/qml/TextField.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2014 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/ToolBar.qml b/src/declarativeimports/plasmacomponents/qml/ToolBar.qml index fca400f63..2fb0eb5aa 100644 --- a/src/declarativeimports/plasmacomponents/qml/ToolBar.qml +++ b/src/declarativeimports/plasmacomponents/qml/ToolBar.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/ToolBarLayout.qml b/src/declarativeimports/plasmacomponents/qml/ToolBarLayout.qml index af59d8063..bddddabf9 100644 --- a/src/declarativeimports/plasmacomponents/qml/ToolBarLayout.qml +++ b/src/declarativeimports/plasmacomponents/qml/ToolBarLayout.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/ToolButton.qml b/src/declarativeimports/plasmacomponents/qml/ToolButton.qml index 0f77947db..7230a4c84 100644 --- a/src/declarativeimports/plasmacomponents/qml/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents/qml/ToolButton.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2011 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/private/AppManager.js b/src/declarativeimports/plasmacomponents/qml/private/AppManager.js index f8dea6b1d..98bce48c8 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/AppManager.js +++ b/src/declarativeimports/plasmacomponents/qml/private/AppManager.js @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ .pragma library diff --git a/src/declarativeimports/plasmacomponents/qml/private/DualStateButton.qml b/src/declarativeimports/plasmacomponents/qml/private/DualStateButton.qml index 3f9b9b33f..65d0b808f 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/DualStateButton.qml +++ b/src/declarativeimports/plasmacomponents/qml/private/DualStateButton.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/private/InlineDialog.qml b/src/declarativeimports/plasmacomponents/qml/private/InlineDialog.qml index 622ef3ab3..535f6be7b 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/InlineDialog.qml +++ b/src/declarativeimports/plasmacomponents/qml/private/InlineDialog.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents/qml/private/PageStack.js b/src/declarativeimports/plasmacomponents/qml/private/PageStack.js index 8986956b0..560ded95c 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/PageStack.js +++ b/src/declarativeimports/plasmacomponents/qml/private/PageStack.js @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ // Page stack. Items are page containers. var pageStack = []; diff --git a/src/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml b/src/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml index ea5ef4941..6c79c67b3 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml +++ b/src/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2011 Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/private/ScrollDecoratorDelegate.qml b/src/declarativeimports/plasmacomponents/qml/private/ScrollDecoratorDelegate.qml index d178de1f0..2a3b8ad55 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/ScrollDecoratorDelegate.qml +++ b/src/declarativeimports/plasmacomponents/qml/private/ScrollDecoratorDelegate.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2011 Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmacomponents/qml/private/SectionScroller.js b/src/declarativeimports/plasmacomponents/qml/private/SectionScroller.js index 7b987fede..d843c6204 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/SectionScroller.js +++ b/src/declarativeimports/plasmacomponents/qml/private/SectionScroller.js @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ var _sectionData = []; var _sections = []; diff --git a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml index 437820162..caff5f43d 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml +++ b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright 2011 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ /**Documented API Inherits: diff --git a/src/declarativeimports/plasmacomponents/qml/private/TabGroup.js b/src/declarativeimports/plasmacomponents/qml/private/TabGroup.js index da1c65418..b638283bc 100644 --- a/src/declarativeimports/plasmacomponents/qml/private/TabGroup.js +++ b/src/declarativeimports/plasmacomponents/qml/private/TabGroup.js @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ var allContainers = [] var allContents = [] diff --git a/src/declarativeimports/plasmacomponents/qrangemodel.cpp b/src/declarativeimports/plasmacomponents/qrangemodel.cpp index 1fa2a9ac1..5dae81b26 100644 --- a/src/declarativeimports/plasmacomponents/qrangemodel.cpp +++ b/src/declarativeimports/plasmacomponents/qrangemodel.cpp @@ -1,43 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ /*! \class QRangeModel \brief The QRangeModel class, helps users to build components that depend diff --git a/src/declarativeimports/plasmacomponents/qrangemodel.h b/src/declarativeimports/plasmacomponents/qrangemodel.h index 1b14d3a8a..df5191093 100644 --- a/src/declarativeimports/plasmacomponents/qrangemodel.h +++ b/src/declarativeimports/plasmacomponents/qrangemodel.h @@ -1,42 +1,10 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ #ifndef QRANGEMODEL_H #define QRANGEMODEL_H diff --git a/src/declarativeimports/plasmacomponents/qrangemodel_p.h b/src/declarativeimports/plasmacomponents/qrangemodel_p.h index 2fbada479..bbe04affe 100644 --- a/src/declarativeimports/plasmacomponents/qrangemodel_p.h +++ b/src/declarativeimports/plasmacomponents/qrangemodel_p.h @@ -1,28 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project on Qt Labs. -** -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions contained -** in the Technology Preview License Agreement accompanying this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project on Qt Labs. + + SPDX-License-Identifier: LGPL-2.1-only +*/ #ifndef QRANGEMODEL_P_H #define QRANGEMODEL_P_H diff --git a/src/declarativeimports/plasmacomponents/tests/TestContextMenu.qml b/src/declarativeimports/plasmacomponents/tests/TestContextMenu.qml index fe510e5a5..f41213352 100644 --- a/src/declarativeimports/plasmacomponents/tests/TestContextMenu.qml +++ b/src/declarativeimports/plasmacomponents/tests/TestContextMenu.qml @@ -1,20 +1,8 @@ /* - * Copyright 2014 Sebastian Kügler - * - * 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 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 // import QtQuick.Layouts 1.1 diff --git a/src/declarativeimports/plasmacomponents3/BusyIndicator.qml b/src/declarativeimports/plasmacomponents3/BusyIndicator.qml index f0b1c5e9d..eaa9ac333 100644 --- a/src/declarativeimports/plasmacomponents3/BusyIndicator.qml +++ b/src/declarativeimports/plasmacomponents3/BusyIndicator.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2014 Kai Uwe Broulik -* Copyright 2016 Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2014 Kai Uwe Broulik + SPDX-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmacomponents3/Button.qml b/src/declarativeimports/plasmacomponents3/Button.qml index 71bbf84a9..678c9d24d 100644 --- a/src/declarativeimports/plasmacomponents3/Button.qml +++ b/src/declarativeimports/plasmacomponents3/Button.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Layouts 1.2 diff --git a/src/declarativeimports/plasmacomponents3/CheckBox.qml b/src/declarativeimports/plasmacomponents3/CheckBox.qml index be71e6104..f9f29d03f 100644 --- a/src/declarativeimports/plasmacomponents3/CheckBox.qml +++ b/src/declarativeimports/plasmacomponents3/CheckBox.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Layouts 1.3 diff --git a/src/declarativeimports/plasmacomponents3/CheckDelegate.qml b/src/declarativeimports/plasmacomponents3/CheckDelegate.qml index 50ab5bd94..455d8055d 100644 --- a/src/declarativeimports/plasmacomponents3/CheckDelegate.qml +++ b/src/declarativeimports/plasmacomponents3/CheckDelegate.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.5 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/CheckIndicator.qml b/src/declarativeimports/plasmacomponents3/CheckIndicator.qml index 8710ec044..a80a42f1c 100644 --- a/src/declarativeimports/plasmacomponents3/CheckIndicator.qml +++ b/src/declarativeimports/plasmacomponents3/CheckIndicator.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents3/ComboBox.qml b/src/declarativeimports/plasmacomponents3/ComboBox.qml index cedb1f6b2..f31316d14 100644 --- a/src/declarativeimports/plasmacomponents3/ComboBox.qml +++ b/src/declarativeimports/plasmacomponents3/ComboBox.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Window 2.2 diff --git a/src/declarativeimports/plasmacomponents3/Container.qml b/src/declarativeimports/plasmacomponents3/Container.qml index e14e0556e..3dda252ea 100644 --- a/src/declarativeimports/plasmacomponents3/Container.qml +++ b/src/declarativeimports/plasmacomponents3/Container.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/Control.qml b/src/declarativeimports/plasmacomponents3/Control.qml index 3882aa291..0f3faee54 100644 --- a/src/declarativeimports/plasmacomponents3/Control.qml +++ b/src/declarativeimports/plasmacomponents3/Control.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/Dial.qml b/src/declarativeimports/plasmacomponents3/Dial.qml index 1d52efa49..5e4ca1afc 100644 --- a/src/declarativeimports/plasmacomponents3/Dial.qml +++ b/src/declarativeimports/plasmacomponents3/Dial.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/Dialog.qml b/src/declarativeimports/plasmacomponents3/Dialog.qml index 6b505a3a7..f9b1a9c41 100644 --- a/src/declarativeimports/plasmacomponents3/Dialog.qml +++ b/src/declarativeimports/plasmacomponents3/Dialog.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/DialogButtonBox.qml b/src/declarativeimports/plasmacomponents3/DialogButtonBox.qml index 227c0d5e7..f13b55e43 100644 --- a/src/declarativeimports/plasmacomponents3/DialogButtonBox.qml +++ b/src/declarativeimports/plasmacomponents3/DialogButtonBox.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/Drawer.qml b/src/declarativeimports/plasmacomponents3/Drawer.qml index 8dda065d2..9411f528a 100644 --- a/src/declarativeimports/plasmacomponents3/Drawer.qml +++ b/src/declarativeimports/plasmacomponents3/Drawer.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/Frame.qml b/src/declarativeimports/plasmacomponents3/Frame.qml index edf64229d..74c9f4c9b 100644 --- a/src/declarativeimports/plasmacomponents3/Frame.qml +++ b/src/declarativeimports/plasmacomponents3/Frame.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Controls @QQC2_VERSION@ diff --git a/src/declarativeimports/plasmacomponents3/GroupBox.qml b/src/declarativeimports/plasmacomponents3/GroupBox.qml index 591192e9b..9c2168720 100644 --- a/src/declarativeimports/plasmacomponents3/GroupBox.qml +++ b/src/declarativeimports/plasmacomponents3/GroupBox.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Controls @QQC2_VERSION@ diff --git a/src/declarativeimports/plasmacomponents3/ItemDelegate.qml b/src/declarativeimports/plasmacomponents3/ItemDelegate.qml index 98d3e4533..651908e1b 100644 --- a/src/declarativeimports/plasmacomponents3/ItemDelegate.qml +++ b/src/declarativeimports/plasmacomponents3/ItemDelegate.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.5 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/Label.qml b/src/declarativeimports/plasmacomponents3/Label.qml index a9dc5f023..142f52bad 100644 --- a/src/declarativeimports/plasmacomponents3/Label.qml +++ b/src/declarativeimports/plasmacomponents3/Label.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Window 2.2 diff --git a/src/declarativeimports/plasmacomponents3/Menu.qml b/src/declarativeimports/plasmacomponents3/Menu.qml index 7ac08a16b..59fbce4f1 100644 --- a/src/declarativeimports/plasmacomponents3/Menu.qml +++ b/src/declarativeimports/plasmacomponents3/Menu.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.7 import QtQuick.Controls @QQC2_VERSION@ diff --git a/src/declarativeimports/plasmacomponents3/MenuItem.qml b/src/declarativeimports/plasmacomponents3/MenuItem.qml index 7b4f36c5c..0975b9ce7 100644 --- a/src/declarativeimports/plasmacomponents3/MenuItem.qml +++ b/src/declarativeimports/plasmacomponents3/MenuItem.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Layouts 1.2 diff --git a/src/declarativeimports/plasmacomponents3/Page.qml b/src/declarativeimports/plasmacomponents3/Page.qml index fae77f8ef..66ef8ee6d 100644 --- a/src/declarativeimports/plasmacomponents3/Page.qml +++ b/src/declarativeimports/plasmacomponents3/Page.qml @@ -1,21 +1,8 @@ /* - * Copyright 2020 Niccolò Venerandi - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2020 Niccolò Venerandi + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/PageIndicator.qml b/src/declarativeimports/plasmacomponents3/PageIndicator.qml index 0a035155a..0eae0b7b4 100644 --- a/src/declarativeimports/plasmacomponents3/PageIndicator.qml +++ b/src/declarativeimports/plasmacomponents3/PageIndicator.qml @@ -1,21 +1,8 @@ /* - * Copyright 2018 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2018 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Layouts 1.2 diff --git a/src/declarativeimports/plasmacomponents3/Popup.qml b/src/declarativeimports/plasmacomponents3/Popup.qml index 5c5aa1d67..868d1971b 100644 --- a/src/declarativeimports/plasmacomponents3/Popup.qml +++ b/src/declarativeimports/plasmacomponents3/Popup.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/ProgressBar.qml b/src/declarativeimports/plasmacomponents3/ProgressBar.qml index 5de5fb343..8bc27e2df 100644 --- a/src/declarativeimports/plasmacomponents3/ProgressBar.qml +++ b/src/declarativeimports/plasmacomponents3/ProgressBar.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/RadioButton.qml b/src/declarativeimports/plasmacomponents3/RadioButton.qml index 955e7bf6a..0b89ef20f 100644 --- a/src/declarativeimports/plasmacomponents3/RadioButton.qml +++ b/src/declarativeimports/plasmacomponents3/RadioButton.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/RadioDelegate.qml b/src/declarativeimports/plasmacomponents3/RadioDelegate.qml index df732d4ce..6f395c41b 100644 --- a/src/declarativeimports/plasmacomponents3/RadioDelegate.qml +++ b/src/declarativeimports/plasmacomponents3/RadioDelegate.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.5 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/RadioIndicator.qml b/src/declarativeimports/plasmacomponents3/RadioIndicator.qml index 79697168d..38ed4cc88 100644 --- a/src/declarativeimports/plasmacomponents3/RadioIndicator.qml +++ b/src/declarativeimports/plasmacomponents3/RadioIndicator.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents3/RangeSlider.qml b/src/declarativeimports/plasmacomponents3/RangeSlider.qml index 3abe590cf..6d73d93cc 100644 --- a/src/declarativeimports/plasmacomponents3/RangeSlider.qml +++ b/src/declarativeimports/plasmacomponents3/RangeSlider.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/RoundButton.qml b/src/declarativeimports/plasmacomponents3/RoundButton.qml index d880e102f..8a5309cb7 100644 --- a/src/declarativeimports/plasmacomponents3/RoundButton.qml +++ b/src/declarativeimports/plasmacomponents3/RoundButton.qml @@ -1,21 +1,8 @@ /* - * Copyright 2018 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2018 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Layouts 1.2 diff --git a/src/declarativeimports/plasmacomponents3/ScrollBar.qml b/src/declarativeimports/plasmacomponents3/ScrollBar.qml index 936aa5c21..d774d9911 100644 --- a/src/declarativeimports/plasmacomponents3/ScrollBar.qml +++ b/src/declarativeimports/plasmacomponents3/ScrollBar.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/ScrollView.qml b/src/declarativeimports/plasmacomponents3/ScrollView.qml index 5af51a531..65243c754 100644 --- a/src/declarativeimports/plasmacomponents3/ScrollView.qml +++ b/src/declarativeimports/plasmacomponents3/ScrollView.qml @@ -1,23 +1,9 @@ /* - * Copyright 2017 Marco Martin - * Copyright 2017 The Qt Company Ltd. - * - * GNU Lesser General Public License Usage - * Alternatively, this file may be used under the terms of the GNU Lesser - * General Public License version 3 as published by the Free Software - * Foundation and appearing in the file LICENSE.LGPLv3 included in the - * packaging of this file. Please review the following information to - * ensure the GNU Lesser General Public License version 3 requirements - * will be met: https://www.gnu.org/licenses/lgpl.html. - * - * GNU General Public License Usage - * Alternatively, this file may be used under the terms of the GNU - * General Public License version 2.0 or later as published by the Free - * Software Foundation and appearing in the file LICENSE.GPL included in - * the packaging of this file. Please review the following information to - * ensure the GNU General Public License version 2.0 requirements will be - * met: http://www.gnu.org/licenses/gpl-2.0.html. - */ + SPDX-FileCopyrightText: 2017 Marco Martin + SPDX-FileCopyrightText: 2017 The Qt Company Ltd. + + SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-or-later +*/ import QtQuick 2.9 diff --git a/src/declarativeimports/plasmacomponents3/Slider.qml b/src/declarativeimports/plasmacomponents3/Slider.qml index 459f5ca62..8b5aeefa6 100644 --- a/src/declarativeimports/plasmacomponents3/Slider.qml +++ b/src/declarativeimports/plasmacomponents3/Slider.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/Switch.qml b/src/declarativeimports/plasmacomponents3/Switch.qml index 17e672298..91c8a5691 100644 --- a/src/declarativeimports/plasmacomponents3/Switch.qml +++ b/src/declarativeimports/plasmacomponents3/Switch.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/SwitchDelegate.qml b/src/declarativeimports/plasmacomponents3/SwitchDelegate.qml index a6a079718..67328d026 100644 --- a/src/declarativeimports/plasmacomponents3/SwitchDelegate.qml +++ b/src/declarativeimports/plasmacomponents3/SwitchDelegate.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.5 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/SwitchIndicator.qml b/src/declarativeimports/plasmacomponents3/SwitchIndicator.qml index 1a44186fc..d0ea49258 100644 --- a/src/declarativeimports/plasmacomponents3/SwitchIndicator.qml +++ b/src/declarativeimports/plasmacomponents3/SwitchIndicator.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents3/TabBar.qml b/src/declarativeimports/plasmacomponents3/TabBar.qml index ef547892f..ec9d59c50 100644 --- a/src/declarativeimports/plasmacomponents3/TabBar.qml +++ b/src/declarativeimports/plasmacomponents3/TabBar.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/TabButton.qml b/src/declarativeimports/plasmacomponents3/TabButton.qml index 8d7494558..faae24c19 100644 --- a/src/declarativeimports/plasmacomponents3/TabButton.qml +++ b/src/declarativeimports/plasmacomponents3/TabButton.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Layouts 1.2 diff --git a/src/declarativeimports/plasmacomponents3/TextArea.qml b/src/declarativeimports/plasmacomponents3/TextArea.qml index 8765b3c99..695c1c09c 100644 --- a/src/declarativeimports/plasmacomponents3/TextArea.qml +++ b/src/declarativeimports/plasmacomponents3/TextArea.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Window 2.2 diff --git a/src/declarativeimports/plasmacomponents3/TextField.qml b/src/declarativeimports/plasmacomponents3/TextField.qml index b5392ee5e..961cbd074 100644 --- a/src/declarativeimports/plasmacomponents3/TextField.qml +++ b/src/declarativeimports/plasmacomponents3/TextField.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Window 2.2 diff --git a/src/declarativeimports/plasmacomponents3/ToolBar.qml b/src/declarativeimports/plasmacomponents3/ToolBar.qml index 806ecac34..642088f11 100644 --- a/src/declarativeimports/plasmacomponents3/ToolBar.qml +++ b/src/declarativeimports/plasmacomponents3/ToolBar.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/ToolButton.qml b/src/declarativeimports/plasmacomponents3/ToolButton.qml index 4ee936d53..9e6abfe74 100644 --- a/src/declarativeimports/plasmacomponents3/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents3/ToolButton.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Layouts 1.2 diff --git a/src/declarativeimports/plasmacomponents3/ToolTip.qml b/src/declarativeimports/plasmacomponents3/ToolTip.qml index 04289cfbc..75b542e09 100644 --- a/src/declarativeimports/plasmacomponents3/ToolTip.qml +++ b/src/declarativeimports/plasmacomponents3/ToolTip.qml @@ -1,22 +1,9 @@ /* - * Copyright 2016 Marco Martin - * Copyright (C) 2016 The Qt Company Ltd. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + SPDX-FileCopyrightText: 2016 The Qt Company Ltd. + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.6 import QtQuick.Templates @QQC2_VERSION@ as T diff --git a/src/declarativeimports/plasmacomponents3/mobiletextselection/MobileCursor.qml b/src/declarativeimports/plasmacomponents3/mobiletextselection/MobileCursor.qml index 8be90b6d3..564a322bd 100644 --- a/src/declarativeimports/plasmacomponents3/mobiletextselection/MobileCursor.qml +++ b/src/declarativeimports/plasmacomponents3/mobiletextselection/MobileCursor.qml @@ -1,21 +1,8 @@ /* - * Copyright (C) 2018 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2018 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmacomponents3/mobiletextselection/MobileTextActionsToolBar.qml b/src/declarativeimports/plasmacomponents3/mobiletextselection/MobileTextActionsToolBar.qml index f3960c5cf..d3beb35ab 100644 --- a/src/declarativeimports/plasmacomponents3/mobiletextselection/MobileTextActionsToolBar.qml +++ b/src/declarativeimports/plasmacomponents3/mobiletextselection/MobileTextActionsToolBar.qml @@ -1,21 +1,8 @@ /* - * Copyright (C) 2018 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2018 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ pragma Singleton diff --git a/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml b/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml index 19c99375a..54043f0ba 100644 --- a/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml +++ b/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml @@ -1,22 +1,9 @@ /* - * Copyright (C) 2011 by Daker Fernandes Pinheiro - * Copyright (C) 2011 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ /**Documented API Inherits: diff --git a/src/declarativeimports/plasmacomponents3/private/DefaultListItemBackground.qml b/src/declarativeimports/plasmacomponents3/private/DefaultListItemBackground.qml index dd0cb05e4..71d90a6de 100644 --- a/src/declarativeimports/plasmacomponents3/private/DefaultListItemBackground.qml +++ b/src/declarativeimports/plasmacomponents3/private/DefaultListItemBackground.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 //for Settings diff --git a/src/declarativeimports/plasmacomponents3/private/RoundShadow.qml b/src/declarativeimports/plasmacomponents3/private/RoundShadow.qml index d6d2b7310..161171b58 100644 --- a/src/declarativeimports/plasmacomponents3/private/RoundShadow.qml +++ b/src/declarativeimports/plasmacomponents3/private/RoundShadow.qml @@ -1,22 +1,9 @@ /* - * Copyright (C) 2011 by Daker Fernandes Pinheiro - * Copyright (C) 2011 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ /**Documented API Inherits: diff --git a/src/declarativeimports/plasmacomponents3/private/TextFieldFocus.qml b/src/declarativeimports/plasmacomponents3/private/TextFieldFocus.qml index 26a9c7426..5fb2ec3f1 100644 --- a/src/declarativeimports/plasmacomponents3/private/TextFieldFocus.qml +++ b/src/declarativeimports/plasmacomponents3/private/TextFieldFocus.qml @@ -1,22 +1,9 @@ /* - * Copyright (C) 2011 by Daker Fernandes Pinheiro - * Copyright (C) 2011 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmaextracomponents/appbackgroundprovider.cpp b/src/declarativeimports/plasmaextracomponents/appbackgroundprovider.cpp index 87ee0ac73..54d852d6f 100644 --- a/src/declarativeimports/plasmaextracomponents/appbackgroundprovider.cpp +++ b/src/declarativeimports/plasmaextracomponents/appbackgroundprovider.cpp @@ -1,20 +1,7 @@ /* - Copyright 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Marco Martin - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-or-later */ #include "appbackgroundprovider_p.h" diff --git a/src/declarativeimports/plasmaextracomponents/appbackgroundprovider_p.h b/src/declarativeimports/plasmaextracomponents/appbackgroundprovider_p.h index 6d1bed52f..155552d63 100644 --- a/src/declarativeimports/plasmaextracomponents/appbackgroundprovider_p.h +++ b/src/declarativeimports/plasmaextracomponents/appbackgroundprovider_p.h @@ -1,20 +1,7 @@ /* - Copyright 2011 Marco Martin + SPDX-FileCopyrightText: 2011 Marco Martin - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef APPBACKGROUND_PROVIDER_H diff --git a/src/declarativeimports/plasmaextracomponents/fallbackcomponent.cpp b/src/declarativeimports/plasmaextracomponents/fallbackcomponent.cpp index 92e0b47f1..bb2729ff7 100644 --- a/src/declarativeimports/plasmaextracomponents/fallbackcomponent.cpp +++ b/src/declarativeimports/plasmaextracomponents/fallbackcomponent.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2011 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "fallbackcomponent.h" diff --git a/src/declarativeimports/plasmaextracomponents/fallbackcomponent.h b/src/declarativeimports/plasmaextracomponents/fallbackcomponent.h index 022da488f..3267eeca2 100644 --- a/src/declarativeimports/plasmaextracomponents/fallbackcomponent.h +++ b/src/declarativeimports/plasmaextracomponents/fallbackcomponent.h @@ -1,21 +1,8 @@ /* - * Copyright 2011 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef FALLBACKCOMPONENT_H #define FALLBACKCOMPONENT_H diff --git a/src/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.cpp b/src/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.cpp index 588de4fd3..4fc31a29f 100644 --- a/src/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.cpp +++ b/src/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Sebastian Kügler + SPDX-FileCopyrightText: 2012 Sebastian Kügler - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #include "plasmaextracomponentsplugin.h" diff --git a/src/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.h b/src/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.h index e1e2ecadf..2fc88b18e 100644 --- a/src/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.h +++ b/src/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.h @@ -1,22 +1,9 @@ /* - * Copyright 2011 by Marco Martin - * Copyright 2012 by Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMAEXTRACOMPONENTSPLUGIN_H #define PLASMAEXTRACOMPONENTSPLUGIN_H diff --git a/src/declarativeimports/plasmaextracomponents/qml/App.qml b/src/declarativeimports/plasmaextracomponents/qml/App.qml index 67147f897..42d039dbf 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/App.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/App.qml @@ -1,20 +1,7 @@ /* -* Copyright 2012 by Sebastian Kügler -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/plasmaextracomponents/qml/ConditionalLoader.qml b/src/declarativeimports/plasmaextracomponents/qml/ConditionalLoader.qml index 8dd97a077..f00754e2b 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/ConditionalLoader.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/ConditionalLoader.qml @@ -1,19 +1,7 @@ /* - Copyright (C) 2012 Marco Martin + SPDX-FileCopyrightText: 2012 Marco Martin - 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 2.010-1301 USA. + SPDX-License-Identifier: GPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/plasmaextracomponents/qml/DescriptiveLabel.qml b/src/declarativeimports/plasmaextracomponents/qml/DescriptiveLabel.qml index 90bd7a11e..c1b84d757 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/DescriptiveLabel.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/DescriptiveLabel.qml @@ -1,20 +1,7 @@ /* -* Copyright 2012 by Sebastian Kügler -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml b/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml index f22487430..f9acdfd8b 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml @@ -1,21 +1,8 @@ /* - * Copyright 2020 Nate Graham - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2020 Nate Graham + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.14 import QtQuick.Layouts 1.1 diff --git a/src/declarativeimports/plasmaextracomponents/qml/Heading.qml b/src/declarativeimports/plasmaextracomponents/qml/Heading.qml index 819d9de92..cdda0ded1 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/Heading.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/Heading.qml @@ -1,20 +1,7 @@ /* -* Copyright 2012 by Sebastian Kügler -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml b/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml index 3d4cf63ad..4c6c3e82a 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/ListItem.qml @@ -1,21 +1,8 @@ /* - * Copyright 2020 Carson Black - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2020 Carson Black + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.12 import org.kde.kirigami 2.12 as Kirigami @@ -90,4 +77,4 @@ Kirigami.AbstractListItem { visible: __listItem.separatorVisible && (__listItem.sectionDelegate || (typeof(index) != "undefined" && index > 0 && !__listItem.checked && !__listItem.pressed)) } } -} \ No newline at end of file +} diff --git a/src/declarativeimports/plasmaextracomponents/qml/PageRow.qml b/src/declarativeimports/plasmaextracomponents/qml/PageRow.qml index 44d5246ab..78d814bcc 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/PageRow.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/PageRow.qml @@ -1,44 +1,11 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Marco Martin -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Components project. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor -** the names of its contributors may be used to endorse or promote -** products derived from this software without specific prior written -** permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** $QT_END_LICENSE$ -** -****************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Marco Martin + SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) + + This file is part of the Qt Components project. + + SPDX-License-Identifier: BSD-3-Clause +*/ import QtQuick 2.0 import org.kde.plasma.components 2.0 diff --git a/src/declarativeimports/plasmaextracomponents/qml/Paragraph.qml b/src/declarativeimports/plasmaextracomponents/qml/Paragraph.qml index 21d414997..2395e50ea 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/Paragraph.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/Paragraph.qml @@ -1,20 +1,7 @@ /* -* Copyright 2012 by Sebastian Kügler -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/plasmaextracomponents/qml/PlaceholderMessage.qml b/src/declarativeimports/plasmaextracomponents/qml/PlaceholderMessage.qml index 8a227c544..23bc90314 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/PlaceholderMessage.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/PlaceholderMessage.qml @@ -1,21 +1,8 @@ /* - * Copyright 2020 Nate Graham - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2020 Nate Graham + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Layouts 1.12 diff --git a/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml b/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml index 222129f1b..511df8239 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml @@ -1,21 +1,8 @@ /* - * Copyright 2020 Niccolò Venerandi - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library 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-FileCopyrightText: 2020 Niccolò Venerandi + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.12 import QtQuick.Layouts 1.12 diff --git a/src/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml b/src/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml index c2fb8c6f4..6758807f7 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml @@ -1,20 +1,7 @@ /* -* Copyright 2014 David Edmundson -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmaextracomponents/qml/Title.qml b/src/declarativeimports/plasmaextracomponents/qml/Title.qml index dd9ef37b3..8778a8fbf 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/Title.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/Title.qml @@ -1,20 +1,7 @@ /* -* Copyright 2012 by Sebastian Kügler -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/plasmaextracomponents/qml/animations/ActivateAnimation.qml b/src/declarativeimports/plasmaextracomponents/qml/animations/ActivateAnimation.qml index 728a9110f..190609371 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/animations/ActivateAnimation.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/animations/ActivateAnimation.qml @@ -1,22 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Copyright 2011 Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmaextracomponents/qml/animations/AppearAnimation.qml b/src/declarativeimports/plasmaextracomponents/qml/animations/AppearAnimation.qml index 449523a04..eb7802cc8 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/animations/AppearAnimation.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/animations/AppearAnimation.qml @@ -1,22 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Copyright 2011 Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmaextracomponents/qml/animations/DisappearAnimation.qml b/src/declarativeimports/plasmaextracomponents/qml/animations/DisappearAnimation.qml index b3ee6716a..e5b7485d5 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/animations/DisappearAnimation.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/animations/DisappearAnimation.qml @@ -1,22 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Copyright 2011 Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmaextracomponents/qml/animations/PressedAnimation.qml b/src/declarativeimports/plasmaextracomponents/qml/animations/PressedAnimation.qml index 11fed220b..7d8999579 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/animations/PressedAnimation.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/animations/PressedAnimation.qml @@ -1,22 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Copyright 2011 Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmaextracomponents/qml/animations/ReleasedAnimation.qml b/src/declarativeimports/plasmaextracomponents/qml/animations/ReleasedAnimation.qml index dfa12c541..7ee80bf57 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/animations/ReleasedAnimation.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/animations/ReleasedAnimation.qml @@ -1,22 +1,9 @@ // -*- coding: iso-8859-1 -*- /* - * Copyright 2011 Sebastian Kügler - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmastyle/ApplicationWindowStyle.qml b/src/declarativeimports/plasmastyle/ApplicationWindowStyle.qml index ed8627943..59d5688da 100644 --- a/src/declarativeimports/plasmastyle/ApplicationWindowStyle.qml +++ b/src/declarativeimports/plasmastyle/ApplicationWindowStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls 1.3 diff --git a/src/declarativeimports/plasmastyle/BusyIndicatorStyle.qml b/src/declarativeimports/plasmastyle/BusyIndicatorStyle.qml index 5ad2b24f5..325930f5a 100644 --- a/src/declarativeimports/plasmastyle/BusyIndicatorStyle.qml +++ b/src/declarativeimports/plasmastyle/BusyIndicatorStyle.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2014 Kai Uwe Broulik -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2014 Kai Uwe Broulik + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmastyle/ButtonStyle.qml b/src/declarativeimports/plasmastyle/ButtonStyle.qml index 6e36b2c11..7cf5f72ea 100644 --- a/src/declarativeimports/plasmastyle/ButtonStyle.qml +++ b/src/declarativeimports/plasmastyle/ButtonStyle.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 by Marco Martin - * Copyright 2014 by David Edmundson - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/CalendarStyle.qml b/src/declarativeimports/plasmastyle/CalendarStyle.qml index 00ef9e887..30c3e676a 100644 --- a/src/declarativeimports/plasmastyle/CalendarStyle.qml +++ b/src/declarativeimports/plasmastyle/CalendarStyle.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 Digia Plc and/or its subsidiary(-ies). - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Digia Plc and /or its subsidiary(-ies). + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/CheckBoxStyle.qml b/src/declarativeimports/plasmastyle/CheckBoxStyle.qml index 7d4373bfa..9bcf463c4 100644 --- a/src/declarativeimports/plasmastyle/CheckBoxStyle.qml +++ b/src/declarativeimports/plasmastyle/CheckBoxStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/ComboBoxStyle.qml b/src/declarativeimports/plasmastyle/ComboBoxStyle.qml index c1766f92d..13b0e8fe9 100644 --- a/src/declarativeimports/plasmastyle/ComboBoxStyle.qml +++ b/src/declarativeimports/plasmastyle/ComboBoxStyle.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2014 by David Edmundson -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/plasmastyle/CursorDelegate.qml b/src/declarativeimports/plasmastyle/CursorDelegate.qml index 07a817589..3efc0dfda 100644 --- a/src/declarativeimports/plasmastyle/CursorDelegate.qml +++ b/src/declarativeimports/plasmastyle/CursorDelegate.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2015 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmastyle/CursorHandleStyle.qml b/src/declarativeimports/plasmastyle/CursorHandleStyle.qml index baec252b3..34fc7cabf 100644 --- a/src/declarativeimports/plasmastyle/CursorHandleStyle.qml +++ b/src/declarativeimports/plasmastyle/CursorHandleStyle.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2015 by Marco MArtin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmastyle/EditMenuTouch.qml b/src/declarativeimports/plasmastyle/EditMenuTouch.qml index d23a9273d..ea4746516 100644 --- a/src/declarativeimports/plasmastyle/EditMenuTouch.qml +++ b/src/declarativeimports/plasmastyle/EditMenuTouch.qml @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Controls 1.1 diff --git a/src/declarativeimports/plasmastyle/FocusFrameStyle.qml b/src/declarativeimports/plasmastyle/FocusFrameStyle.qml index a3edb5e20..7e51b601d 100644 --- a/src/declarativeimports/plasmastyle/FocusFrameStyle.qml +++ b/src/declarativeimports/plasmastyle/FocusFrameStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmastyle/GroupBoxStyle.qml b/src/declarativeimports/plasmastyle/GroupBoxStyle.qml index fd447b670..5243b94db 100644 --- a/src/declarativeimports/plasmastyle/GroupBoxStyle.qml +++ b/src/declarativeimports/plasmastyle/GroupBoxStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls 1.2 diff --git a/src/declarativeimports/plasmastyle/MenuBarStyle.qml b/src/declarativeimports/plasmastyle/MenuBarStyle.qml index 9af171b6b..a482e8d64 100644 --- a/src/declarativeimports/plasmastyle/MenuBarStyle.qml +++ b/src/declarativeimports/plasmastyle/MenuBarStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls.Styles 1.2 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/MenuStyle.qml b/src/declarativeimports/plasmastyle/MenuStyle.qml index 75e4bbd82..10c391827 100644 --- a/src/declarativeimports/plasmastyle/MenuStyle.qml +++ b/src/declarativeimports/plasmastyle/MenuStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Window 2.1 diff --git a/src/declarativeimports/plasmastyle/ProgressBarStyle.qml b/src/declarativeimports/plasmastyle/ProgressBarStyle.qml index 3a924e747..96bd308a7 100644 --- a/src/declarativeimports/plasmastyle/ProgressBarStyle.qml +++ b/src/declarativeimports/plasmastyle/ProgressBarStyle.qml @@ -1,21 +1,8 @@ /* -* Copyright (C) 2011 by Daker Fernandes Pinheiro -* Copyright (C) 2014 by Kai Uwe Broulik -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2014 Kai Uwe Broulik + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmastyle/RadioButtonStyle.qml b/src/declarativeimports/plasmastyle/RadioButtonStyle.qml index a225c4161..c7699f700 100644 --- a/src/declarativeimports/plasmastyle/RadioButtonStyle.qml +++ b/src/declarativeimports/plasmastyle/RadioButtonStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/ScrollViewStyle.qml b/src/declarativeimports/plasmastyle/ScrollViewStyle.qml index 37951e794..df66e5d97 100644 --- a/src/declarativeimports/plasmastyle/ScrollViewStyle.qml +++ b/src/declarativeimports/plasmastyle/ScrollViewStyle.qml @@ -1,21 +1,8 @@ /* -* Copyright 2012 Marco Martin -* Copyright (C) 2014 by David Edmundson -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2012 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.0 diff --git a/src/declarativeimports/plasmastyle/SelectionHandleStyle.qml b/src/declarativeimports/plasmastyle/SelectionHandleStyle.qml index 44def9cdc..aedd1d1e9 100644 --- a/src/declarativeimports/plasmastyle/SelectionHandleStyle.qml +++ b/src/declarativeimports/plasmastyle/SelectionHandleStyle.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2015 by Marco MArtin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.2 diff --git a/src/declarativeimports/plasmastyle/SliderStyle.qml b/src/declarativeimports/plasmastyle/SliderStyle.qml index 58f5067e6..f70184983 100644 --- a/src/declarativeimports/plasmastyle/SliderStyle.qml +++ b/src/declarativeimports/plasmastyle/SliderStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmastyle/SpinBoxStyle.qml b/src/declarativeimports/plasmastyle/SpinBoxStyle.qml index 4515f81bf..3d34c2a77 100644 --- a/src/declarativeimports/plasmastyle/SpinBoxStyle.qml +++ b/src/declarativeimports/plasmastyle/SpinBoxStyle.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 by Marco Martin - * Copyright 2014 by David Edmundson - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Window 2.2 diff --git a/src/declarativeimports/plasmastyle/StatusBarStyle.qml b/src/declarativeimports/plasmastyle/StatusBarStyle.qml index 6370a3ccb..257941557 100644 --- a/src/declarativeimports/plasmastyle/StatusBarStyle.qml +++ b/src/declarativeimports/plasmastyle/StatusBarStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls.Styles 1.2 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/SwitchStyle.qml b/src/declarativeimports/plasmastyle/SwitchStyle.qml index 95ecc7d3a..01d51e678 100644 --- a/src/declarativeimports/plasmastyle/SwitchStyle.qml +++ b/src/declarativeimports/plasmastyle/SwitchStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls.Styles 1.2 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/TabViewStyle.qml b/src/declarativeimports/plasmastyle/TabViewStyle.qml index 9ac8af334..061ce457a 100644 --- a/src/declarativeimports/plasmastyle/TabViewStyle.qml +++ b/src/declarativeimports/plasmastyle/TabViewStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls 1.2 diff --git a/src/declarativeimports/plasmastyle/TableViewStyle.qml b/src/declarativeimports/plasmastyle/TableViewStyle.qml index 2531fcedf..532b5aac4 100644 --- a/src/declarativeimports/plasmastyle/TableViewStyle.qml +++ b/src/declarativeimports/plasmastyle/TableViewStyle.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 Digia Plc and/or its subsidiary(-ies). - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Digia Plc and /or its subsidiary(-ies). + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls.Styles 1.2 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/TextAreaStyle.qml b/src/declarativeimports/plasmastyle/TextAreaStyle.qml index 28882c209..b46954ba8 100644 --- a/src/declarativeimports/plasmastyle/TextAreaStyle.qml +++ b/src/declarativeimports/plasmastyle/TextAreaStyle.qml @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 by Marco MArtin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 diff --git a/src/declarativeimports/plasmastyle/TextFieldStyle.qml b/src/declarativeimports/plasmastyle/TextFieldStyle.qml index 55031d7f8..354a0027e 100644 --- a/src/declarativeimports/plasmastyle/TextFieldStyle.qml +++ b/src/declarativeimports/plasmastyle/TextFieldStyle.qml @@ -1,20 +1,7 @@ /* -* Copyright (C) 2014 by Marco Martin -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library General Public License for more details -* -* You should have received a copy of the GNU Library General Public -* License along with this program; if not, write to the -* Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick 2.6 diff --git a/src/declarativeimports/plasmastyle/ToolBarStyle.qml b/src/declarativeimports/plasmastyle/ToolBarStyle.qml index ef2ade56f..3557da57b 100644 --- a/src/declarativeimports/plasmastyle/ToolBarStyle.qml +++ b/src/declarativeimports/plasmastyle/ToolBarStyle.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 by Marco Martin - * Copyright 2014 by David Edmundson - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/ToolButtonStyle.qml b/src/declarativeimports/plasmastyle/ToolButtonStyle.qml index 0141cc2f1..5f2072b04 100644 --- a/src/declarativeimports/plasmastyle/ToolButtonStyle.qml +++ b/src/declarativeimports/plasmastyle/ToolButtonStyle.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 by Marco Martin - * Copyright 2014 by David Edmundson - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Marco Martin + SPDX-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle diff --git a/src/declarativeimports/plasmastyle/private/ButtonShadow.qml b/src/declarativeimports/plasmastyle/private/ButtonShadow.qml index 19c99375a..54043f0ba 100644 --- a/src/declarativeimports/plasmastyle/private/ButtonShadow.qml +++ b/src/declarativeimports/plasmastyle/private/ButtonShadow.qml @@ -1,22 +1,9 @@ /* - * Copyright (C) 2011 by Daker Fernandes Pinheiro - * Copyright (C) 2011 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ /**Documented API Inherits: diff --git a/src/declarativeimports/plasmastyle/private/RoundShadow.qml b/src/declarativeimports/plasmastyle/private/RoundShadow.qml index d6d2b7310..161171b58 100644 --- a/src/declarativeimports/plasmastyle/private/RoundShadow.qml +++ b/src/declarativeimports/plasmastyle/private/RoundShadow.qml @@ -1,22 +1,9 @@ /* - * Copyright (C) 2011 by Daker Fernandes Pinheiro - * Copyright (C) 2011 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ /**Documented API Inherits: diff --git a/src/declarativeimports/plasmastyle/private/TextFieldFocus.qml b/src/declarativeimports/plasmastyle/private/TextFieldFocus.qml index 26a9c7426..5fb2ec3f1 100644 --- a/src/declarativeimports/plasmastyle/private/TextFieldFocus.qml +++ b/src/declarativeimports/plasmastyle/private/TextFieldFocus.qml @@ -1,22 +1,9 @@ /* - * Copyright (C) 2011 by Daker Fernandes Pinheiro - * Copyright (C) 2011 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro + SPDX-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/src/declarativeimports/plasmastyle/private/Util.js b/src/declarativeimports/plasmastyle/private/Util.js index 8afba999f..322850346 100644 --- a/src/declarativeimports/plasmastyle/private/Util.js +++ b/src/declarativeimports/plasmastyle/private/Util.js @@ -1,22 +1,9 @@ /* - * Copyright 2017 by Fabian Vogt - * Copyright 2017 by Kai Uwe Broulik - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2017 Fabian Vogt + SPDX-FileCopyrightText: 2017 Kai Uwe Broulik + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ .pragma library diff --git a/src/declarativeimports/platformcomponents/application.cpp b/src/declarativeimports/platformcomponents/application.cpp index a0e2bee39..951df3367 100644 --- a/src/declarativeimports/platformcomponents/application.cpp +++ b/src/declarativeimports/platformcomponents/application.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2013 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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-FileCopyrightText: 2013 Ivan Cukic + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "application.h" #include "application_p.h" diff --git a/src/declarativeimports/platformcomponents/application.h b/src/declarativeimports/platformcomponents/application.h index 245d6a58d..1d0712fd2 100644 --- a/src/declarativeimports/platformcomponents/application.h +++ b/src/declarativeimports/platformcomponents/application.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2013 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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-FileCopyrightText: 2013 Ivan Cukic + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef APPLICATION_H #define APPLICATION_H diff --git a/src/declarativeimports/platformcomponents/application_p.h b/src/declarativeimports/platformcomponents/application_p.h index 8e690928c..4f6d6494e 100644 --- a/src/declarativeimports/platformcomponents/application_p.h +++ b/src/declarativeimports/platformcomponents/application_p.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2013 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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-FileCopyrightText: 2013 Ivan Cukic + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef APPLICATION_P_H #define APPLICATION_P_H diff --git a/src/declarativeimports/platformcomponents/icondialog.cpp b/src/declarativeimports/platformcomponents/icondialog.cpp index c823a7a52..361faf432 100644 --- a/src/declarativeimports/platformcomponents/icondialog.cpp +++ b/src/declarativeimports/platformcomponents/icondialog.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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-FileCopyrightText: 2014 Ivan Cukic + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "icondialog.h" diff --git a/src/declarativeimports/platformcomponents/icondialog.h b/src/declarativeimports/platformcomponents/icondialog.h index 15a26ded8..a84d03e05 100644 --- a/src/declarativeimports/platformcomponents/icondialog.h +++ b/src/declarativeimports/platformcomponents/icondialog.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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-FileCopyrightText: 2014 Ivan Cukic + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef ICONDIALOG_H #define ICONDIALOG_H diff --git a/src/declarativeimports/platformcomponents/platformextensionplugin.cpp b/src/declarativeimports/platformcomponents/platformextensionplugin.cpp index 3361cbe87..4349f6041 100644 --- a/src/declarativeimports/platformcomponents/platformextensionplugin.cpp +++ b/src/declarativeimports/platformcomponents/platformextensionplugin.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2013 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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-FileCopyrightText: 2013 Ivan Cukic + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/src/declarativeimports/platformcomponents/utils/d_ptr.h b/src/declarativeimports/platformcomponents/utils/d_ptr.h index c1e37a755..5553c584c 100644 --- a/src/declarativeimports/platformcomponents/utils/d_ptr.h +++ b/src/declarativeimports/platformcomponents/utils/d_ptr.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2012 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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 Lesser General Public License for more details - * - * You should have received a copy of the GNU Lesser 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-FileCopyrightText: 2012 Ivan Cukic + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef D_PTR_H #define D_PTR_H diff --git a/src/declarativeimports/platformcomponents/utils/d_ptr_implementation.h b/src/declarativeimports/platformcomponents/utils/d_ptr_implementation.h index faad5744d..3fa6978c4 100644 --- a/src/declarativeimports/platformcomponents/utils/d_ptr_implementation.h +++ b/src/declarativeimports/platformcomponents/utils/d_ptr_implementation.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2012 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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 Lesser General Public License for more details - * - * You should have received a copy of the GNU Lesser 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-FileCopyrightText: 2012 Ivan Cukic + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef D_PTR_IMPLEMENTATION_H #define D_PTR_IMPLEMENTATION_H diff --git a/src/declarativeimports/platformcomponents/utils/sharedsingleton.h b/src/declarativeimports/platformcomponents/utils/sharedsingleton.h index 2aa87a384..f5b5b6a90 100644 --- a/src/declarativeimports/platformcomponents/utils/sharedsingleton.h +++ b/src/declarativeimports/platformcomponents/utils/sharedsingleton.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2013 Ivan Cukic - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * or (at your option) any later version, as published by the Free - * Software Foundation - * - * 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-FileCopyrightText: 2013 Ivan Cukic + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SHARED_SINGLETON_P_H #define SHARED_SINGLETON_P_H diff --git a/src/plasma/applet.cpp b/src/plasma/applet.cpp index e775b6800..89eaa1443 100644 --- a/src/plasma/applet.cpp +++ b/src/plasma/applet.cpp @@ -1,24 +1,11 @@ /* - * Copyright 2005 by Aaron Seigo - * Copyright 2007 by Riccardo Iaconelli - * Copyright 2008 by Ménard Alexis - * Copyright (c) 2009 Chani Armitage - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2005 Aaron Seigo + SPDX-FileCopyrightText: 2007 Riccardo Iaconelli + SPDX-FileCopyrightText: 2008 Ménard Alexis + SPDX-FileCopyrightText: 2009 Chani Armitage + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "applet.h" #include "private/applet_p.h" diff --git a/src/plasma/applet.h b/src/plasma/applet.h index 087a1cb38..a38b96804 100644 --- a/src/plasma/applet.h +++ b/src/plasma/applet.h @@ -1,23 +1,10 @@ /* - * Copyright 2006-2007 by Aaron Seigo - * Copyright 2007 by Riccardo Iaconelli - * Copyright 2008 by Ménard Alexis + SPDX-FileCopyrightText: 2006-2007 Aaron Seigo + SPDX-FileCopyrightText: 2007 Riccardo Iaconelli + SPDX-FileCopyrightText: 2008 Ménard Alexis - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #ifndef PLASMA_APPLET_H #define PLASMA_APPLET_H diff --git a/src/plasma/containment.cpp b/src/plasma/containment.cpp index d542a8099..94de15fb2 100644 --- a/src/plasma/containment.cpp +++ b/src/plasma/containment.cpp @@ -1,24 +1,11 @@ /* - * Copyright 2007 by Aaron Seigo - * Copyright 2008 by Ménard Alexis - * Copyright 2009 Chani Armitage - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + SPDX-FileCopyrightText: 2008 Ménard Alexis + SPDX-FileCopyrightText: 2009 Chani Armitage + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "containment.h" #include "private/containment_p.h" diff --git a/src/plasma/containment.h b/src/plasma/containment.h index 3d29e0210..fa9c1e31d 100644 --- a/src/plasma/containment.h +++ b/src/plasma/containment.h @@ -1,23 +1,10 @@ /* - * Copyright 2007 by Aaron Seigo - * Copyright 2008 by Ménard Alexis - * Copyright (c) 2009 Chani Armitage - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + SPDX-FileCopyrightText: 2008 Ménard Alexis + SPDX-FileCopyrightText: 2009 Chani Armitage + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_CONTAINMENT_H #define PLASMA_CONTAINMENT_H diff --git a/src/plasma/containmentactions.cpp b/src/plasma/containmentactions.cpp index 6009ca919..5325d3f3e 100644 --- a/src/plasma/containmentactions.cpp +++ b/src/plasma/containmentactions.cpp @@ -1,21 +1,8 @@ /* - * Copyright (c) 2009 Chani Armitage - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Chani Armitage + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "containmentactions.h" #include "containment.h" diff --git a/src/plasma/containmentactions.h b/src/plasma/containmentactions.h index 53aba6387..c86f7905c 100644 --- a/src/plasma/containmentactions.h +++ b/src/plasma/containmentactions.h @@ -1,21 +1,8 @@ /* - * Copyright (c) 2009 Chani Armitage + SPDX-FileCopyrightText: 2009 Chani Armitage - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #ifndef PLASMA_CONTAINMENTACTIONS_H #define PLASMA_CONTAINMENTACTIONS_H diff --git a/src/plasma/corona.cpp b/src/plasma/corona.cpp index 78ae2b5cb..9d74e233b 100644 --- a/src/plasma/corona.cpp +++ b/src/plasma/corona.cpp @@ -1,24 +1,11 @@ /* - * Copyright 2007 Matt Broadstone - * Copyright 2007-2011 Aaron Seigo - * Copyright 2007 Riccardo Iaconelli - * Copyright (c) 2009 Chani Armitage - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Matt Broadstone + SPDX-FileCopyrightText: 2007-2011 Aaron Seigo + SPDX-FileCopyrightText: 2007 Riccardo Iaconelli + SPDX-FileCopyrightText: 2009 Chani Armitage + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "corona.h" #include "private/corona_p.h" diff --git a/src/plasma/corona.h b/src/plasma/corona.h index a762dd48b..553fdd2a6 100644 --- a/src/plasma/corona.h +++ b/src/plasma/corona.h @@ -1,23 +1,10 @@ /* - * Copyright 2007 Aaron Seigo - * Copyright 2007 Matt Broadstone - * Copyright 2012 Marco MArtin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + SPDX-FileCopyrightText: 2007 Matt Broadstone + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_CORONA_H #define PLASMA_CORONA_H diff --git a/src/plasma/datacontainer.cpp b/src/plasma/datacontainer.cpp index 134cb6a0b..893671b78 100644 --- a/src/plasma/datacontainer.cpp +++ b/src/plasma/datacontainer.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "datacontainer.h" #include "private/datacontainer_p.h" #include "private/storage_p.h" diff --git a/src/plasma/datacontainer.h b/src/plasma/datacontainer.h index e20908a83..f852ab582 100644 --- a/src/plasma/datacontainer.h +++ b/src/plasma/datacontainer.h @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_DATACONTAINER_H #define PLASMA_DATACONTAINER_H diff --git a/src/plasma/dataengine.cpp b/src/plasma/dataengine.cpp index 373b68c5d..83fc3eaef 100644 --- a/src/plasma/dataengine.cpp +++ b/src/plasma/dataengine.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dataengine.h" #include "private/dataengine_p.h" diff --git a/src/plasma/dataengine.h b/src/plasma/dataengine.h index 41dfe449e..d379feba7 100644 --- a/src/plasma/dataengine.h +++ b/src/plasma/dataengine.h @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_DATAENGINE_H #define PLASMA_DATAENGINE_H diff --git a/src/plasma/dataengineconsumer.cpp b/src/plasma/dataengineconsumer.cpp index c9f2ead00..bae84de23 100644 --- a/src/plasma/dataengineconsumer.cpp +++ b/src/plasma/dataengineconsumer.cpp @@ -1,23 +1,10 @@ /* - * Copyright 2005 by Aaron Seigo - * Copyright 2007 by Riccardo Iaconelli - * Copyright 2008 by Ménard Alexis - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2005 Aaron Seigo + SPDX-FileCopyrightText: 2007 Riccardo Iaconelli + SPDX-FileCopyrightText: 2008 Ménard Alexis + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dataengineconsumer.h" #include "private/dataengineconsumer_p.h" diff --git a/src/plasma/dataengineconsumer.h b/src/plasma/dataengineconsumer.h index 3f97ce629..c85afdb32 100644 --- a/src/plasma/dataengineconsumer.h +++ b/src/plasma/dataengineconsumer.h @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2012 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_DATAENGINECONSUMER_H #define PLASMA_DATAENGINECONSUMER_H diff --git a/src/plasma/framesvg.cpp b/src/plasma/framesvg.cpp index 4022bb048..2213646db 100644 --- a/src/plasma/framesvg.cpp +++ b/src/plasma/framesvg.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2008-2010 by Aaron Seigo - * Copyright 2008-2010 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008-2010 Aaron Seigo + SPDX-FileCopyrightText: 2008-2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "framesvg.h" #include "private/framesvg_p.h" diff --git a/src/plasma/framesvg.h b/src/plasma/framesvg.h index 3a63c0b70..bea526267 100644 --- a/src/plasma/framesvg.h +++ b/src/plasma/framesvg.h @@ -1,22 +1,9 @@ /* - * Copyright 2008 by Aaron Seigo - * Copyright 2008 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + SPDX-FileCopyrightText: 2008 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_FRAMESVG_H #define PLASMA_FRAMESVG_H diff --git a/src/plasma/package.cpp b/src/plasma/package.cpp index ceae485df..2b2be16d7 100644 --- a/src/plasma/package.cpp +++ b/src/plasma/package.cpp @@ -1,24 +1,11 @@ -/****************************************************************************** -* Copyright 2007 by Aaron Seigo * -* Copyright 2010 by Marco Martin * -* Copyright 2010 by Kevin Ottens * -* Copyright 2009 by Rob Scheepmaker * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Aaron Seigo + SPDX-FileCopyrightText: 2010 Marco Martin + SPDX-FileCopyrightText: 2010 Kevin Ottens + SPDX-FileCopyrightText: 2009 Rob Scheepmaker + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "package.h" diff --git a/src/plasma/package.h b/src/plasma/package.h index 970f3c047..581d63a95 100644 --- a/src/plasma/package.h +++ b/src/plasma/package.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007-2011 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2011 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_PACKAGE_H #define PLASMA_PACKAGE_H diff --git a/src/plasma/packagestructure.cpp b/src/plasma/packagestructure.cpp index a174c0cc0..2a0df8725 100644 --- a/src/plasma/packagestructure.cpp +++ b/src/plasma/packagestructure.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2011 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "packagestructure.h" #include diff --git a/src/plasma/packagestructure.h b/src/plasma/packagestructure.h index 0afd8e180..a5d0ddd28 100644 --- a/src/plasma/packagestructure.h +++ b/src/plasma/packagestructure.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2011 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_PACKAGESTRUCTURE_H #define PLASMA_PACKAGESTRUCTURE_H diff --git a/src/plasma/packagestructure/containmentactionspackage.cpp b/src/plasma/packagestructure/containmentactionspackage.cpp index ebb34261a..18d8d90cd 100644 --- a/src/plasma/packagestructure/containmentactionspackage.cpp +++ b/src/plasma/packagestructure/containmentactionspackage.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007-2009 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2009 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "plasma.h" diff --git a/src/plasma/packagestructure/dataenginepackage.cpp b/src/plasma/packagestructure/dataenginepackage.cpp index 79a42bb9b..6c19cd0cd 100644 --- a/src/plasma/packagestructure/dataenginepackage.cpp +++ b/src/plasma/packagestructure/dataenginepackage.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007-2009 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2009 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "plasma.h" diff --git a/src/plasma/packagestructure/packages.cpp b/src/plasma/packagestructure/packages.cpp index 143349a7f..c8ce325ef 100644 --- a/src/plasma/packagestructure/packages.cpp +++ b/src/plasma/packagestructure/packages.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007-2009 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2009 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include #include // FLT_MAX diff --git a/src/plasma/packagestructure/packages_p.h b/src/plasma/packagestructure/packages_p.h index ec2e939fb..e3e10e8ad 100644 --- a/src/plasma/packagestructure/packages_p.h +++ b/src/plasma/packagestructure/packages_p.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef LIBS_PLASMA_PACKAGES_P_H #define LIBS_PLASMA_PACKAGES_P_H diff --git a/src/plasma/packagestructure/plasmagenericpackage.cpp b/src/plasma/packagestructure/plasmagenericpackage.cpp index 982247673..b554072da 100644 --- a/src/plasma/packagestructure/plasmagenericpackage.cpp +++ b/src/plasma/packagestructure/plasmagenericpackage.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007-2009 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2009 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "plasma.h" diff --git a/src/plasma/packagestructure/plasmathemepackage.cpp b/src/plasma/packagestructure/plasmathemepackage.cpp index c375d4b45..d57f90175 100644 --- a/src/plasma/packagestructure/plasmathemepackage.cpp +++ b/src/plasma/packagestructure/plasmathemepackage.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007-2009 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2009 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "plasma.h" diff --git a/src/plasma/packagestructure/plasmoidpackage.cpp b/src/plasma/packagestructure/plasmoidpackage.cpp index 7070b1f96..b99e3e9fa 100644 --- a/src/plasma/packagestructure/plasmoidpackage.cpp +++ b/src/plasma/packagestructure/plasmoidpackage.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2007-2009 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2009 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "plasma.h" diff --git a/src/plasma/plasma.cpp b/src/plasma/plasma.cpp index 49ffb32ee..498131520 100644 --- a/src/plasma/plasma.cpp +++ b/src/plasma/plasma.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2005 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2005 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include diff --git a/src/plasma/plasma.h b/src/plasma/plasma.h index 7c4ad7972..6f6d89541 100644 --- a/src/plasma/plasma.h +++ b/src/plasma/plasma.h @@ -1,21 +1,8 @@ /* - * Copyright 2005 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2005 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_DEFS_H #define PLASMA_DEFS_H diff --git a/src/plasma/pluginloader.cpp b/src/plasma/pluginloader.cpp index c0097e3a7..68c952672 100644 --- a/src/plasma/pluginloader.cpp +++ b/src/plasma/pluginloader.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2010 Ryan Rix - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2010 Ryan Rix + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "pluginloader.h" diff --git a/src/plasma/pluginloader.h b/src/plasma/pluginloader.h index b4c8d8d94..2cfc9bdbe 100644 --- a/src/plasma/pluginloader.h +++ b/src/plasma/pluginloader.h @@ -1,21 +1,8 @@ /* - * Copyright 2010 by Ryan Rix - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2010 Ryan Rix + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLUGIN_LOADER_H #define PLUGIN_LOADER_H diff --git a/src/plasma/private/actionwidgetinterface_p.h b/src/plasma/private/actionwidgetinterface_p.h index 1ef7fed30..294132bd1 100644 --- a/src/plasma/private/actionwidgetinterface_p.h +++ b/src/plasma/private/actionwidgetinterface_p.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2009 by Aaron Seigo * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2009 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef ACTIONWIDGETINTERFACE_P_H #define ACTIONWIDGETINTERFACE_P_H diff --git a/src/plasma/private/applet_p.cpp b/src/plasma/private/applet_p.cpp index 777be0511..ac033266a 100644 --- a/src/plasma/private/applet_p.cpp +++ b/src/plasma/private/applet_p.cpp @@ -1,25 +1,12 @@ /* - * Copyright 2005 by Aaron Seigo - * Copyright 2007 by Riccardo Iaconelli - * Copyright 2008 by Ménard Alexis - * Copyright (c) 2009 Chani Armitage - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2005 Aaron Seigo + SPDX-FileCopyrightText: 2007 Riccardo Iaconelli + SPDX-FileCopyrightText: 2008 Ménard Alexis + SPDX-FileCopyrightText: 2009 Chani Armitage + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "private/applet_p.h" diff --git a/src/plasma/private/applet_p.h b/src/plasma/private/applet_p.h index a55be1022..8bdbc6da0 100644 --- a/src/plasma/private/applet_p.h +++ b/src/plasma/private/applet_p.h @@ -1,22 +1,9 @@ /* -* Copyright 2005 by Aaron Seigo -* Copyright 2007 by Riccardo Iaconelli -* Copyright 2008 by Ménard Alexis -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2005 Aaron Seigo + SPDX-FileCopyrightText: 2007 Riccardo Iaconelli + SPDX-FileCopyrightText: 2008 Ménard Alexis + + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef PLASMA_APPLET_P_H diff --git a/src/plasma/private/associatedapplicationmanager.cpp b/src/plasma/private/associatedapplicationmanager.cpp index e4df97295..387d4a7b3 100644 --- a/src/plasma/private/associatedapplicationmanager.cpp +++ b/src/plasma/private/associatedapplicationmanager.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2009 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "associatedapplicationmanager_p.h" diff --git a/src/plasma/private/associatedapplicationmanager_p.h b/src/plasma/private/associatedapplicationmanager_p.h index 16a8565c8..8d93a5c22 100644 --- a/src/plasma/private/associatedapplicationmanager_p.h +++ b/src/plasma/private/associatedapplicationmanager_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2009 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_ASSOCIATEDAPPLICATIONMANAGER_P_H #define PLASMA_ASSOCIATEDAPPLICATIONMANAGER_P_H diff --git a/src/plasma/private/authorizationmanager_p.h b/src/plasma/private/authorizationmanager_p.h index 45775ad21..574bf7f3d 100644 --- a/src/plasma/private/authorizationmanager_p.h +++ b/src/plasma/private/authorizationmanager_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2009 by Rob Scheepmaker - * - * 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 St, Fifth Floor, - * Boston, MA 02110-1301 USA - */ + SPDX-FileCopyrightText: 2009 Rob Scheepmaker + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef PLASMA_AUTHORIZATIONMANAGER_P_H #define PLASMA_AUTHORIZATIONMANAGER_P_H diff --git a/src/plasma/private/containment_p.cpp b/src/plasma/private/containment_p.cpp index 34d6511fe..8b76b78a3 100644 --- a/src/plasma/private/containment_p.cpp +++ b/src/plasma/private/containment_p.cpp @@ -1,24 +1,11 @@ /* - * Copyright 2007 by Aaron Seigo - * Copyright 2008 by Ménard Alexis - * Copyright 2009 Chani Armitage - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + SPDX-FileCopyrightText: 2008 Ménard Alexis + SPDX-FileCopyrightText: 2009 Chani Armitage + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "private/containment_p.h" diff --git a/src/plasma/private/containment_p.h b/src/plasma/private/containment_p.h index b16bea8e6..e98a06995 100644 --- a/src/plasma/private/containment_p.h +++ b/src/plasma/private/containment_p.h @@ -1,22 +1,9 @@ /* - * Copyright 2007 by Aaron Seigo - * Copyright 2008 by Ménard Alexis - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + SPDX-FileCopyrightText: 2008 Ménard Alexis + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef CONTAINMENT_P_H #define CONTAINMENT_P_H diff --git a/src/plasma/private/containmentactions_p.h b/src/plasma/private/containmentactions_p.h index 76ac09e50..3193fdc44 100644 --- a/src/plasma/private/containmentactions_p.h +++ b/src/plasma/private/containmentactions_p.h @@ -1,21 +1,8 @@ /* - * Copyright (c) 2009 Chani Armitage - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Chani Armitage + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_CONTAINMENTACTIONSPRIVATE_H #define PLASMA_CONTAINMENTACTIONSPRIVATE_H diff --git a/src/plasma/private/corona_p.h b/src/plasma/private/corona_p.h index 1181bf784..d14ddb5f4 100644 --- a/src/plasma/private/corona_p.h +++ b/src/plasma/private/corona_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2007-2011 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007-2011 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_CORONA_P_H #define PLASMA_CORONA_P_H diff --git a/src/plasma/private/datacontainer_p.cpp b/src/plasma/private/datacontainer_p.cpp index 3cb0de078..c811411ff 100644 --- a/src/plasma/private/datacontainer_p.cpp +++ b/src/plasma/private/datacontainer_p.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "datacontainer.h" //krazy:exclude=includes #include "datacontainer_p.h" //krazy:exclude=includes diff --git a/src/plasma/private/datacontainer_p.h b/src/plasma/private/datacontainer_p.h index de63a4e45..5e9777c78 100644 --- a/src/plasma/private/datacontainer_p.h +++ b/src/plasma/private/datacontainer_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_DATACONTAINER_P_H #define PLASMA_DATACONTAINER_P_H diff --git a/src/plasma/private/dataengine_p.h b/src/plasma/private/dataengine_p.h index 5394b405a..57ed9310e 100644 --- a/src/plasma/private/dataengine_p.h +++ b/src/plasma/private/dataengine_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef DATAENGINE_P_H #define DATAENGINE_P_H diff --git a/src/plasma/private/dataengineconsumer_p.h b/src/plasma/private/dataengineconsumer_p.h index f7cf02686..ed51c9640 100644 --- a/src/plasma/private/dataengineconsumer_p.h +++ b/src/plasma/private/dataengineconsumer_p.h @@ -1,23 +1,10 @@ /* - * Copyright 2005 by Aaron Seigo - * Copyright 2007 by Riccardo Iaconelli - * Copyright 2008 by Ménard Alexis - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2005 Aaron Seigo + SPDX-FileCopyrightText: 2007 Riccardo Iaconelli + SPDX-FileCopyrightText: 2008 Ménard Alexis + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_DATAENGINECONSUMER_P_H #define PLASMA_DATAENGINECONSUMER_P_H diff --git a/src/plasma/private/dataenginemanager.cpp b/src/plasma/private/dataenginemanager.cpp index 69e0eab37..6b35de159 100644 --- a/src/plasma/private/dataenginemanager.cpp +++ b/src/plasma/private/dataenginemanager.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dataenginemanager_p.h" diff --git a/src/plasma/private/dataenginemanager_p.h b/src/plasma/private/dataenginemanager_p.h index cb272bdef..9dff2adaa 100644 --- a/src/plasma/private/dataenginemanager_p.h +++ b/src/plasma/private/dataenginemanager_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_DATAENGINEMANAGER_P_H #define PLASMA_DATAENGINEMANAGER_P_H diff --git a/src/plasma/private/effectwatcher.cpp b/src/plasma/private/effectwatcher.cpp index 04da91904..5ce1922d7 100644 --- a/src/plasma/private/effectwatcher.cpp +++ b/src/plasma/private/effectwatcher.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2011 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "effectwatcher_p.h" diff --git a/src/plasma/private/effectwatcher_p.h b/src/plasma/private/effectwatcher_p.h index e5b851bf5..dba7e5402 100644 --- a/src/plasma/private/effectwatcher_p.h +++ b/src/plasma/private/effectwatcher_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2011 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef EFFECTWATCHER_P_H #define EFFECTWATCHER_P_H diff --git a/src/plasma/private/framesvg_helpers.h b/src/plasma/private/framesvg_helpers.h index 08c233a9c..2954ec479 100644 --- a/src/plasma/private/framesvg_helpers.h +++ b/src/plasma/private/framesvg_helpers.h @@ -1,21 +1,8 @@ /* - * Copyright 2014 by Aleix Pol Gonzalez - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2014 Aleix Pol Gonzalez + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef FRAMESVG_HELPERS_H #define FRAMESVG_HELPERS_H diff --git a/src/plasma/private/framesvg_p.h b/src/plasma/private/framesvg_p.h index 69fb3e1cc..51d11df88 100644 --- a/src/plasma/private/framesvg_p.h +++ b/src/plasma/private/framesvg_p.h @@ -1,22 +1,9 @@ /* - * Copyright 2008 by Aaron Seigo - * Copyright 2009 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + SPDX-FileCopyrightText: 2009 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_FRAMESVG_P_H #define PLASMA_FRAMESVG_P_H diff --git a/src/plasma/private/package_p.h b/src/plasma/private/package_p.h index 044b57a8d..4687d455d 100644 --- a/src/plasma/private/package_p.h +++ b/src/plasma/private/package_p.h @@ -1,22 +1,9 @@ /* - * Copyright © 2009 Rob Scheepmaker - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Rob Scheepmaker + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_PACKAGE_P_H #define PLASMA_PACKAGE_P_H diff --git a/src/plasma/private/packagestructure_p.h b/src/plasma/private/packagestructure_p.h index 2f54f0625..3c792510a 100644 --- a/src/plasma/private/packagestructure_p.h +++ b/src/plasma/private/packagestructure_p.h @@ -1,22 +1,9 @@ /* - * Copyright © 2009 Rob Scheepmaker - * Copyright 2014 Marco Martin - * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License as -* published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Rob Scheepmaker + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_PACKAGESTRUCTURE_P_H #define PLASMA_PACKAGESTRUCTURE_P_H diff --git a/src/plasma/private/service_p.h b/src/plasma/private/service_p.h index b8512d923..f794f7148 100644 --- a/src/plasma/private/service_p.h +++ b/src/plasma/private/service_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2008 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef SERVICE_P_H #define SERVICE_P_H diff --git a/src/plasma/private/servicejob_p.h b/src/plasma/private/servicejob_p.h index b27cf0291..d775dd4e6 100644 --- a/src/plasma/private/servicejob_p.h +++ b/src/plasma/private/servicejob_p.h @@ -1,21 +1,8 @@ /* - * Copyright © 2009 Rob Scheepmaker - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2009 Rob Scheepmaker + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef SERVICEJOB_P_H #define SERVICEJOB_P_H diff --git a/src/plasma/private/sharedtimer_p.h b/src/plasma/private/sharedtimer_p.h index 376bba342..8f40640b5 100644 --- a/src/plasma/private/sharedtimer_p.h +++ b/src/plasma/private/sharedtimer_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2008 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_SHAREDTIMER_P_H #define PLASMA_SHAREDTIMER_P_H diff --git a/src/plasma/private/storage.cpp b/src/plasma/private/storage.cpp index 06c1e82d6..5f3d7a92f 100644 --- a/src/plasma/private/storage.cpp +++ b/src/plasma/private/storage.cpp @@ -1,24 +1,10 @@ -///////////////////////////////////////////////////////////////////////// -// storage.cpp // -// // -// Copyright (C) 2010 Brian Pritchett // -// Copyright (C) 2010 Marco Martin // -// // -// 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 // -///////////////////////////////////////////////////////////////////////// +/* + storage.cpp + SPDX-FileCopyrightText: 2010 Brian Pritchett + SPDX-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "private/storage_p.h" diff --git a/src/plasma/private/storage_p.h b/src/plasma/private/storage_p.h index 2fa408efb..e75a37d5f 100644 --- a/src/plasma/private/storage_p.h +++ b/src/plasma/private/storage_p.h @@ -1,24 +1,10 @@ -///////////////////////////////////////////////////////////////////////// -// storage.h // -// // -// Copyright (C) 2010 Brian Pritchett // -// Copyright (C) 2010 Marco Martin // -// // -// 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 // -///////////////////////////////////////////////////////////////////////// +/* + storage.h + SPDX-FileCopyrightText: 2010 Brian Pritchett + SPDX-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_STORAGE_P_H #define PLASMA_STORAGE_P_H diff --git a/src/plasma/private/storagethread.cpp b/src/plasma/private/storagethread.cpp index 047789d92..2cac3e581 100644 --- a/src/plasma/private/storagethread.cpp +++ b/src/plasma/private/storagethread.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2011 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "storagethread_p.h" diff --git a/src/plasma/private/storagethread_p.h b/src/plasma/private/storagethread_p.h index a82365437..92f11c3b3 100644 --- a/src/plasma/private/storagethread_p.h +++ b/src/plasma/private/storagethread_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2011 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2011 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef STORAGETHREAD_H #define STORAGETHREAD_H diff --git a/src/plasma/private/svg_p.h b/src/plasma/private/svg_p.h index 0d8b3f1b0..4d3361094 100644 --- a/src/plasma/private/svg_p.h +++ b/src/plasma/private/svg_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2006-2010 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2010 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_SVG_P_H #define PLASMA_SVG_P_H diff --git a/src/plasma/private/theme_p.cpp b/src/plasma/private/theme_p.cpp index 4d91e9769..da6156ded 100644 --- a/src/plasma/private/theme_p.cpp +++ b/src/plasma/private/theme_p.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2006-2007 Aaron Seigo - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "theme_p.h" #include "framesvg.h" diff --git a/src/plasma/private/theme_p.h b/src/plasma/private/theme_p.h index 783cb8201..ec35bf81e 100644 --- a/src/plasma/private/theme_p.h +++ b/src/plasma/private/theme_p.h @@ -1,22 +1,9 @@ /* - * Copyright 2006-2007 Aaron Seigo - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_THEME_P_H #define PLASMA_THEME_P_H diff --git a/src/plasma/private/timetracker.cpp b/src/plasma/private/timetracker.cpp index a0351c4fd..00e6b2a7a 100644 --- a/src/plasma/private/timetracker.cpp +++ b/src/plasma/private/timetracker.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2014 by Aleix Pol Gonzalez - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2014 Aleix Pol Gonzalez + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "timetracker.h" #include diff --git a/src/plasma/private/timetracker.h b/src/plasma/private/timetracker.h index dc14705b9..553be0969 100644 --- a/src/plasma/private/timetracker.h +++ b/src/plasma/private/timetracker.h @@ -1,21 +1,8 @@ /* - * Copyright 2014 by Aleix Pol Gonzalez - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2014 Aleix Pol Gonzalez + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef TIMETRACKER_H #define TIMETRACKER_H diff --git a/src/plasma/scripting/appletscript.cpp b/src/plasma/scripting/appletscript.cpp index 996ddac4a..d66b1cc70 100644 --- a/src/plasma/scripting/appletscript.cpp +++ b/src/plasma/scripting/appletscript.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2007 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "scripting/appletscript.h" diff --git a/src/plasma/scripting/appletscript.h b/src/plasma/scripting/appletscript.h index 8b7f2538b..1332ebe92 100644 --- a/src/plasma/scripting/appletscript.h +++ b/src/plasma/scripting/appletscript.h @@ -1,21 +1,8 @@ /* - * Copyright 2007 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_APPLETSCRIPT_H #define PLASMA_APPLETSCRIPT_H diff --git a/src/plasma/scripting/dataenginescript.cpp b/src/plasma/scripting/dataenginescript.cpp index ae97dd1b4..67d4956ed 100644 --- a/src/plasma/scripting/dataenginescript.cpp +++ b/src/plasma/scripting/dataenginescript.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2007 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dataenginescript.h" diff --git a/src/plasma/scripting/dataenginescript.h b/src/plasma/scripting/dataenginescript.h index c15ff8f26..a5b12e73a 100644 --- a/src/plasma/scripting/dataenginescript.h +++ b/src/plasma/scripting/dataenginescript.h @@ -1,21 +1,8 @@ /* - * Copyright 2007 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_DATAENGINESCRIPT_H #define PLASMA_DATAENGINESCRIPT_H diff --git a/src/plasma/scripting/scriptengine.cpp b/src/plasma/scripting/scriptengine.cpp index dab8d16e8..0badb49cc 100644 --- a/src/plasma/scripting/scriptengine.cpp +++ b/src/plasma/scripting/scriptengine.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2007 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "scripting/scriptengine.h" diff --git a/src/plasma/scripting/scriptengine.h b/src/plasma/scripting/scriptengine.h index 988c4a711..5a8a0a989 100644 --- a/src/plasma/scripting/scriptengine.h +++ b/src/plasma/scripting/scriptengine.h @@ -1,21 +1,8 @@ /* - * Copyright 2007 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_SCRIPTENGINE_H #define PLASMA_SCRIPTENGINE_H diff --git a/src/plasma/service.cpp b/src/plasma/service.cpp index a781ba282..8028f1c82 100644 --- a/src/plasma/service.cpp +++ b/src/plasma/service.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2008 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "service.h" #include "private/service_p.h" diff --git a/src/plasma/service.h b/src/plasma/service.h index e39706802..a2311bba4 100644 --- a/src/plasma/service.h +++ b/src/plasma/service.h @@ -1,21 +1,8 @@ /* - * Copyright 2008 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_SERVICE_H #define PLASMA_SERVICE_H diff --git a/src/plasma/servicejob.cpp b/src/plasma/servicejob.cpp index f1fc5c223..8727a601e 100644 --- a/src/plasma/servicejob.cpp +++ b/src/plasma/servicejob.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2008 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "servicejob.h" diff --git a/src/plasma/servicejob.h b/src/plasma/servicejob.h index 0ba5d130e..a9b26b9a5 100644 --- a/src/plasma/servicejob.h +++ b/src/plasma/servicejob.h @@ -1,21 +1,8 @@ /* - * Copyright 2008 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_SERVICEJOB_H #define PLASMA_SERVICEJOB_H diff --git a/src/plasma/svg.cpp b/src/plasma/svg.cpp index 12a034bad..98d0c170d 100644 --- a/src/plasma/svg.cpp +++ b/src/plasma/svg.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2006-2007 Aaron Seigo - * Copyright 2008-2010 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + SPDX-FileCopyrightText: 2008-2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "svg.h" #include "private/svg_p.h" diff --git a/src/plasma/svg.h b/src/plasma/svg.h index fa1441e1e..c5dbbea39 100644 --- a/src/plasma/svg.h +++ b/src/plasma/svg.h @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_SVG_H #define PLASMA_SVG_H diff --git a/src/plasma/theme.cpp b/src/plasma/theme.cpp index 3574d1a7a..1c606fca1 100644 --- a/src/plasma/theme.cpp +++ b/src/plasma/theme.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2006-2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "theme.h" #include "private/theme_p.h" diff --git a/src/plasma/theme.h b/src/plasma/theme.h index 7c5422198..ec7fd9129 100644 --- a/src/plasma/theme.h +++ b/src/plasma/theme.h @@ -1,22 +1,9 @@ /* - * Copyright 2006-2007 Aaron Seigo - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2006-2007 Aaron Seigo + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMA_THEME_H #define PLASMA_THEME_H diff --git a/src/plasma/version.cpp b/src/plasma/version.cpp index a11a2443d..e6ee75547 100644 --- a/src/plasma/version.cpp +++ b/src/plasma/version.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2008 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include #include diff --git a/src/plasma/version.h b/src/plasma/version.h index 843bd3fc8..43c5e6e0e 100644 --- a/src/plasma/version.h +++ b/src/plasma/version.h @@ -1,21 +1,8 @@ /* - * Copyright 2008 by Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLASMAVERSION_H #define PLASMAVERSION_H diff --git a/src/plasmapkg/main.cpp b/src/plasmapkg/main.cpp index a6ad39780..540894992 100644 --- a/src/plasmapkg/main.cpp +++ b/src/plasmapkg/main.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2016 Aleix Pol Gonzalez - * - * 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, - * 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 Library 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-FileCopyrightText: 2016 Aleix Pol Gonzalez + + SPDX-License-Identifier: GPL-2.0-or-later +*/ /** * This binary is deprecated, please refer to kpackagetool5 within the KPackage framework diff --git a/src/plasmaquick/appletquickitem.cpp b/src/plasmaquick/appletquickitem.cpp index 3c561881b..43051964b 100644 --- a/src/plasmaquick/appletquickitem.cpp +++ b/src/plasmaquick/appletquickitem.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "appletquickitem.h" #include "private/appletquickitem_p.h" diff --git a/src/plasmaquick/appletquickitem.h b/src/plasmaquick/appletquickitem.h index aa7114bbe..2a7a7e196 100644 --- a/src/plasmaquick/appletquickitem.h +++ b/src/plasmaquick/appletquickitem.h @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef APPLETQUICKITEM_H #define APPLETQUICKITEM_H diff --git a/src/plasmaquick/configmodel.cpp b/src/plasmaquick/configmodel.cpp index 48db4e038..b4a4c6650 100644 --- a/src/plasmaquick/configmodel.cpp +++ b/src/plasmaquick/configmodel.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2013 Marco Martin - * Copyright 2015 Eike Hein - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + SPDX-FileCopyrightText: 2015 Eike Hein + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "private/configcategory_p.h" #include "configview.h" diff --git a/src/plasmaquick/configmodel.h b/src/plasmaquick/configmodel.h index bf6c0fbc2..c2e7fd6f0 100644 --- a/src/plasmaquick/configmodel.h +++ b/src/plasmaquick/configmodel.h @@ -1,22 +1,9 @@ /* - * Copyright 2013 Marco Martin - * Copyright 2015 Eike Hein - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + SPDX-FileCopyrightText: 2015 Eike Hein + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef CONFIGMODEL_H #define CONFIGMODEL_H diff --git a/src/plasmaquick/configview.cpp b/src/plasmaquick/configview.cpp index 41066b8e5..0b20bedac 100644 --- a/src/plasmaquick/configview.cpp +++ b/src/plasmaquick/configview.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "private/configcategory_p.h" #include "configview.h" diff --git a/src/plasmaquick/configview.h b/src/plasmaquick/configview.h index d559da739..c43841244 100644 --- a/src/plasmaquick/configview.h +++ b/src/plasmaquick/configview.h @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef CONFIGVIEW_H #define CONFIGVIEW_H diff --git a/src/plasmaquick/containmentview.cpp b/src/plasmaquick/containmentview.cpp index 5cc0274a7..a04044bd8 100644 --- a/src/plasmaquick/containmentview.cpp +++ b/src/plasmaquick/containmentview.cpp @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "containmentview.h" #include "configview.h" diff --git a/src/plasmaquick/containmentview.h b/src/plasmaquick/containmentview.h index f890b3808..130196225 100644 --- a/src/plasmaquick/containmentview.h +++ b/src/plasmaquick/containmentview.h @@ -1,20 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * 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-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PLASMAQUICKCONTAINMENTVIEW_H #define PLASMAQUICKCONTAINMENTVIEW_H diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index b9b10fad5..a939102ff 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -1,24 +1,11 @@ -/*************************************************************************** - * Copyright 2011 Marco Martin * - * Copyright 2013 Sebastian Kügler * - * Copyright 2014 Martin Gräßlin * - * Copyright 2014 Vishesh Handa * - * * - * 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-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2013 Sebastian Kügler + SPDX-FileCopyrightText: 2014 Martin Gräßlin + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dialog.h" #include "config-plasma.h" diff --git a/src/plasmaquick/dialog.h b/src/plasmaquick/dialog.h index ff432f81e..d6d50b16a 100644 --- a/src/plasmaquick/dialog.h +++ b/src/plasmaquick/dialog.h @@ -1,22 +1,9 @@ -/*************************************************************************** - * Copyright 2011 Marco Martin * - * Copyright 2013 Sebastian Kügler * - * * - * 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-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef DIALOG_PROXY_P #define DIALOG_PROXY_P diff --git a/src/plasmaquick/dialogshadows.cpp b/src/plasmaquick/dialogshadows.cpp index f2d9c6b35..7d38c945e 100644 --- a/src/plasmaquick/dialogshadows.cpp +++ b/src/plasmaquick/dialogshadows.cpp @@ -1,20 +1,8 @@ /* -* Copyright 2011 by Aaron Seigo -* Copyright 2020 by Vlad Zahorodnii -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License version 2, -* 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 Library 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-FileCopyrightText: 2011 Aaron Seigo + SPDX-FileCopyrightText: 2020 Vlad Zahorodnii + + SPDX-License-Identifier: LGPL-2.0-or-later */ #include "dialogshadows_p.h" diff --git a/src/plasmaquick/dialogshadows_p.h b/src/plasmaquick/dialogshadows_p.h index ce4a4d8e4..2b81bda81 100644 --- a/src/plasmaquick/dialogshadows_p.h +++ b/src/plasmaquick/dialogshadows_p.h @@ -1,19 +1,7 @@ /* -* Copyright 2011 by Aaron Seigo -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU Library General Public License version 2, -* 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 Library 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-FileCopyrightText: 2011 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef PLASMA_DIALOGSHADOWS_H diff --git a/src/plasmaquick/packageurlinterceptor.cpp b/src/plasmaquick/packageurlinterceptor.cpp index 14fb7c2fd..b7eb5ab24 100644 --- a/src/plasmaquick/packageurlinterceptor.cpp +++ b/src/plasmaquick/packageurlinterceptor.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "packageurlinterceptor.h" diff --git a/src/plasmaquick/packageurlinterceptor.h b/src/plasmaquick/packageurlinterceptor.h index 86a5837de..aff1b2be2 100644 --- a/src/plasmaquick/packageurlinterceptor.h +++ b/src/plasmaquick/packageurlinterceptor.h @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PACKAGEURLINTERCEPTOR_H #define PACKAGEURLINTERCEPTOR_H diff --git a/src/plasmaquick/private/appletquickitem_p.h b/src/plasmaquick/private/appletquickitem_p.h index f9c1f2108..7acda9d9c 100644 --- a/src/plasmaquick/private/appletquickitem_p.h +++ b/src/plasmaquick/private/appletquickitem_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2014 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef APPLETQUICKITEM_P_H #define APPLETQUICKITEM_P_H diff --git a/src/plasmaquick/private/configcategory_p.cpp b/src/plasmaquick/private/configcategory_p.cpp index 872b931bb..dc89af48b 100644 --- a/src/plasmaquick/private/configcategory_p.cpp +++ b/src/plasmaquick/private/configcategory_p.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2013 Marco Martin - * Copyright 2015 Eike Hein - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + SPDX-FileCopyrightText: 2015 Eike Hein + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "configcategory_p.h" diff --git a/src/plasmaquick/private/configcategory_p.h b/src/plasmaquick/private/configcategory_p.h index 53f5e9602..c7a328219 100644 --- a/src/plasmaquick/private/configcategory_p.h +++ b/src/plasmaquick/private/configcategory_p.h @@ -1,22 +1,9 @@ /* - * Copyright 2013 Marco Martin - * Copyright 2015 Eike Hein - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + SPDX-FileCopyrightText: 2015 Eike Hein + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef CONFIGCATEGORY_P_H #define CONFIGCATEGORY_P_H diff --git a/src/plasmaquick/private/packages.cpp b/src/plasmaquick/private/packages.cpp index bf50c7114..5b2a9dc6f 100644 --- a/src/plasmaquick/private/packages.cpp +++ b/src/plasmaquick/private/packages.cpp @@ -1,22 +1,9 @@ -/****************************************************************************** -* Copyright 2007-2009 by Aaron Seigo * -* Copyright 2013 by Sebastian Kügler * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2009 Aaron Seigo + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "packages.h" diff --git a/src/plasmaquick/private/packages.h b/src/plasmaquick/private/packages.h index bdd02b7b7..362654d91 100644 --- a/src/plasmaquick/private/packages.h +++ b/src/plasmaquick/private/packages.h @@ -1,23 +1,10 @@ -/****************************************************************************** -* Copyright 2007 by Aaron Seigo * -* Copyright 2013 by Marco Martin * -* Copyright 2013 by Sebastian Kügler * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Aaron Seigo + SPDX-FileCopyrightText: 2013 Marco Martin + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef SHELLPACKAGES_H #define SHELLPACKAGES_H diff --git a/src/plasmaquick/shellpluginloader.cpp b/src/plasmaquick/shellpluginloader.cpp index e86bf0d04..67f7d8033 100644 --- a/src/plasmaquick/shellpluginloader.cpp +++ b/src/plasmaquick/shellpluginloader.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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, 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "shellpluginloader.h" diff --git a/src/plasmaquick/shellpluginloader.h b/src/plasmaquick/shellpluginloader.h index daeea435d..0952ec998 100644 --- a/src/plasmaquick/shellpluginloader.h +++ b/src/plasmaquick/shellpluginloader.h @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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, 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SHELLPLUGINLOADER_H #define SHELLPLUGINLOADER_H diff --git a/src/plasmaquick/view.cpp b/src/plasmaquick/view.cpp index 4b9c0159a..7eb067fed 100644 --- a/src/plasmaquick/view.cpp +++ b/src/plasmaquick/view.cpp @@ -1,20 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "view.h" #include "configview.h" diff --git a/src/plasmaquick/view.h b/src/plasmaquick/view.h index 340bffec2..04409a5aa 100644 --- a/src/plasmaquick/view.h +++ b/src/plasmaquick/view.h @@ -1,20 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * 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-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PLASMAQUICKVIEW_H #define PLASMAQUICKVIEW_H diff --git a/src/plasmaquick/waylandintegration.cpp b/src/plasmaquick/waylandintegration.cpp index 143a7951b..0cb24107a 100644 --- a/src/plasmaquick/waylandintegration.cpp +++ b/src/plasmaquick/waylandintegration.cpp @@ -1,25 +1,13 @@ /* - * Copyright 2020 Vlad Zahorodnii - * - * Based on WaylandIntegration from kwayland-integration - * - * Copyright 2014 Martin Gräßlin - * Copyright 2015 Marco Martin - * - * 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-FileCopyrightText: 2020 Vlad Zahorodnii + + Based on WaylandIntegration from kwayland-integration + + SPDX-FileCopyrightText: 2014 Martin Gräßlin + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "waylandintegration_p.h" #include "debug_p.h" diff --git a/src/plasmaquick/waylandintegration_p.h b/src/plasmaquick/waylandintegration_p.h index bc8610b77..41061bf65 100644 --- a/src/plasmaquick/waylandintegration_p.h +++ b/src/plasmaquick/waylandintegration_p.h @@ -1,20 +1,8 @@ /* - * Copyright 2020 Vlad Zahorodnii - * - * 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-FileCopyrightText: 2020 Vlad Zahorodnii + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef WAYLANDINTEGRATION_P_H #define WAYLANDINTEGRATION_P_H diff --git a/src/scriptengines/python/plasma_importer.py b/src/scriptengines/python/plasma_importer.py index dae245aea..3d2244a6b 100644 --- a/src/scriptengines/python/plasma_importer.py +++ b/src/scriptengines/python/plasma_importer.py @@ -1,22 +1,8 @@ # -*- coding: utf-8 -*- # -# Copyright 2008 Simon Edwards -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Library General Public License as -# published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Simon Edwards # +# SPDX-License-Identifier: LGPL-2.0-or-later import sys import os diff --git a/src/scriptengines/python/plasmascript.py b/src/scriptengines/python/plasmascript.py index ba149cf5e..c971af68a 100644 --- a/src/scriptengines/python/plasmascript.py +++ b/src/scriptengines/python/plasmascript.py @@ -1,22 +1,8 @@ # -*- coding: utf-8 -*- # -# Copyright 2008 Simon Edwards -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Library General Public License as -# published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Simon Edwards # +# SPDX-License-Identifier: LGPL-2.0-or-later # Plasma applet API for Python diff --git a/src/scriptengines/python/pydataengine.py b/src/scriptengines/python/pydataengine.py index edb93c9c9..7b05bdccc 100644 --- a/src/scriptengines/python/pydataengine.py +++ b/src/scriptengines/python/pydataengine.py @@ -1,22 +1,9 @@ # -*- coding: utf-8 -*- # -# Copyright 2008 Simon Edwards -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Library General Public License as -# published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Simon Edwards # +# SPDX-License-Identifier: LGPL-2.0-or-later + from PyQt4.QtCore import * from PyQt4.QtGui import * from PyKDE4.plasma import Plasma diff --git a/src/scriptengines/python/pyrunner.py b/src/scriptengines/python/pyrunner.py index e520e307e..95f26228d 100644 --- a/src/scriptengines/python/pyrunner.py +++ b/src/scriptengines/python/pyrunner.py @@ -1,23 +1,10 @@ # -*- coding: utf-8 -*- # -# Copyright 2008 Simon Edwards -# Copyright 2009 Petri Damstén -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Library General Public License as -# published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Simon Edwards +# SPDX-FileCopyrightText: 2009 Petri Damstén # +# SPDX-License-Identifier: LGPL-2.0-or-later + from PyQt4.QtCore import * from PyQt4.QtGui import * from PyKDE4.plasma import Plasma diff --git a/src/scriptengines/qml/plasmoid/appletinterface.cpp b/src/scriptengines/qml/plasmoid/appletinterface.cpp index e3843b490..634599a27 100644 --- a/src/scriptengines/qml/plasmoid/appletinterface.cpp +++ b/src/scriptengines/qml/plasmoid/appletinterface.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2008-2013 Aaron Seigo - * Copyright 2010-2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008-2013 Aaron Seigo + SPDX-FileCopyrightText: 2010-2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "appletinterface.h" diff --git a/src/scriptengines/qml/plasmoid/appletinterface.h b/src/scriptengines/qml/plasmoid/appletinterface.h index a6e4f2a9c..d16ecaff3 100644 --- a/src/scriptengines/qml/plasmoid/appletinterface.h +++ b/src/scriptengines/qml/plasmoid/appletinterface.h @@ -1,23 +1,10 @@ /* - * Copyright 2008 Chani Armitage - * Copyright 2008, 2009 Aaron Seigo - * Copyright 2010 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Chani Armitage + SPDX-FileCopyrightText: 2008, 2009 Aaron Seigo + SPDX-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef APPLETINTERFACE_H #define APPLETINTERFACE_H diff --git a/src/scriptengines/qml/plasmoid/containmentinterface.cpp b/src/scriptengines/qml/plasmoid/containmentinterface.cpp index 9eed4dabb..064d7388f 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -1,23 +1,10 @@ /* - * Copyright 2008 Chani Armitage - * Copyright 2008, 2009 Aaron Seigo - * Copyright 2010 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Chani Armitage + SPDX-FileCopyrightText: 2008, 2009 Aaron Seigo + SPDX-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "containmentinterface.h" #include "wallpaperinterface.h" diff --git a/src/scriptengines/qml/plasmoid/containmentinterface.h b/src/scriptengines/qml/plasmoid/containmentinterface.h index 3c5ac6d5e..97ab02ca7 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.h +++ b/src/scriptengines/qml/plasmoid/containmentinterface.h @@ -1,22 +1,9 @@ /* - * Copyright 2008-2013 Aaron Seigo - * Copyright 2010-2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008-2013 Aaron Seigo + SPDX-FileCopyrightText: 2010-2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef CONTAINMENTINTERFACE_H #define CONTAINMENTINTERFACE_H diff --git a/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp b/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp index fd67e94e6..2da2addf5 100644 --- a/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp +++ b/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2009 by Alan Alpert - * Copyright 2010 by Ménard Alexis + SPDX-FileCopyrightText: 2009 Alan Alpert + SPDX-FileCopyrightText: 2010 Ménard Alexis - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #include #include diff --git a/src/scriptengines/qml/plasmoid/declarativeappletscript.h b/src/scriptengines/qml/plasmoid/declarativeappletscript.h index 66d35dcea..4a1d77e31 100644 --- a/src/scriptengines/qml/plasmoid/declarativeappletscript.h +++ b/src/scriptengines/qml/plasmoid/declarativeappletscript.h @@ -1,22 +1,9 @@ /* - * Copyright 2009 by Alan Alpert - * Copyright 2010 by Ménard Alexis + SPDX-FileCopyrightText: 2009 Alan Alpert + SPDX-FileCopyrightText: 2010 Ménard Alexis - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later +*/ #ifndef DECLARATIVE_APPLETSCRIPT_H #define DECLARATIVE_APPLETSCRIPT_H diff --git a/src/scriptengines/qml/plasmoid/dropmenu.cpp b/src/scriptengines/qml/plasmoid/dropmenu.cpp index f07d4ea2a..5c35523c8 100644 --- a/src/scriptengines/qml/plasmoid/dropmenu.cpp +++ b/src/scriptengines/qml/plasmoid/dropmenu.cpp @@ -1,23 +1,10 @@ /* - * Copyright 2008 Chani Armitage - * Copyright 2008, 2009 Aaron Seigo - * Copyright 2010 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008 Chani Armitage + SPDX-FileCopyrightText: 2008, 2009 Aaron Seigo + SPDX-FileCopyrightText: 2010 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dropmenu.h" #include "containmentinterface.h" diff --git a/src/scriptengines/qml/plasmoid/dropmenu.h b/src/scriptengines/qml/plasmoid/dropmenu.h index 3382fbf4f..fe54ff86c 100644 --- a/src/scriptengines/qml/plasmoid/dropmenu.h +++ b/src/scriptengines/qml/plasmoid/dropmenu.h @@ -1,22 +1,9 @@ /* - * Copyright 2008-2013 Aaron Seigo - * Copyright 2010-2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2008-2013 Aaron Seigo + SPDX-FileCopyrightText: 2010-2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef DROPMENU_H #define DROPMENU_H diff --git a/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp b/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp index 0b824afeb..951d2d7c3 100644 --- a/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp +++ b/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "wallpaperinterface.h" diff --git a/src/scriptengines/qml/plasmoid/wallpaperinterface.h b/src/scriptengines/qml/plasmoid/wallpaperinterface.h index daea6a80a..8cbd3b42b 100644 --- a/src/scriptengines/qml/plasmoid/wallpaperinterface.h +++ b/src/scriptengines/qml/plasmoid/wallpaperinterface.h @@ -1,21 +1,8 @@ /* - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef WALLPAPERINTERFACE_H #define WALLPAPERINTERFACE_H diff --git a/src/scriptengines/ruby/data_engine.rb b/src/scriptengines/ruby/data_engine.rb index 459c9cc9b..3c8613071 100644 --- a/src/scriptengines/ruby/data_engine.rb +++ b/src/scriptengines/ruby/data_engine.rb @@ -1,20 +1,7 @@ =begin - * Copyright 2008 by Richard Dale + * SPDX-FileCopyrightText: Richard Dale * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library 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: LGPL-2.0-or-later =end require 'plasma_applet' diff --git a/src/tools/inkscape extensions/plasmarename.py b/src/tools/inkscape extensions/plasmarename.py index 3373b4b67..27cf80981 100644 --- a/src/tools/inkscape extensions/plasmarename.py +++ b/src/tools/inkscape extensions/plasmarename.py @@ -2,21 +2,9 @@ # -*- coding: utf-8 -*- ''' -Copyright (C) 2009 Marco Martin +SPDX-FileCopyrightText: 2009 Marco Martin -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 ''' diff --git a/tests/colorcontext.qml b/tests/colorcontext.qml index 146b597a9..d1b195eaf 100644 --- a/tests/colorcontext.qml +++ b/tests/colorcontext.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * 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, - * 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 Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Layouts 1.2 diff --git a/tests/dialog.qml b/tests/dialog.qml index e857d8c39..3f0b6557c 100644 --- a/tests/dialog.qml +++ b/tests/dialog.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 David Edmundson - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dialog_fullscreen.qml b/tests/dialog_fullscreen.qml index e86dbe672..4068f645e 100644 --- a/tests/dialog_fullscreen.qml +++ b/tests/dialog_fullscreen.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Vishesh Handa - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dialog_minWidthHeightRepositioning.qml b/tests/dialog_minWidthHeightRepositioning.qml index c37543831..bf31b3fa1 100644 --- a/tests/dialog_minWidthHeightRepositioning.qml +++ b/tests/dialog_minWidthHeightRepositioning.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Vishesh Handa - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dialog_positioning.qml b/tests/dialog_positioning.qml index 9510bade9..4724c2899 100644 --- a/tests/dialog_positioning.qml +++ b/tests/dialog_positioning.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 David Edmundson - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dialog_positioning2.qml b/tests/dialog_positioning2.qml index 387d40b6c..8ab55d847 100644 --- a/tests/dialog_positioning2.qml +++ b/tests/dialog_positioning2.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Vishesh Handa - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dialog_positioning_parentrotated.qml b/tests/dialog_positioning_parentrotated.qml index cca460031..9816fa536 100644 --- a/tests/dialog_positioning_parentrotated.qml +++ b/tests/dialog_positioning_parentrotated.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 Vishesh Handa - * Copyright 2015 Marco Martin - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Vishesh Handa + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dialog_resizeWithParent.qml b/tests/dialog_resizeWithParent.qml index c2b30c1bd..8551f86f9 100644 --- a/tests/dialog_resizeWithParent.qml +++ b/tests/dialog_resizeWithParent.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 Vishesh Handa - * Copyright 2014 Marco Martin - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Vishesh Handa + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dialog_sizeMoreThanMin.qml b/tests/dialog_sizeMoreThanMin.qml index 693f1fd9b..82c57fb82 100644 --- a/tests/dialog_sizeMoreThanMin.qml +++ b/tests/dialog_sizeMoreThanMin.qml @@ -1,22 +1,9 @@ /* - * Copyright 2014 Vishesh Handa - * Copyright 2014 Marco Martin - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Vishesh Handa + SPDX-FileCopyrightText: 2014 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dialog_tooltip.qml b/tests/dialog_tooltip.qml index 981f61a7e..386902b96 100644 --- a/tests/dialog_tooltip.qml +++ b/tests/dialog_tooltip.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Vishesh Handa - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 diff --git a/tests/dialog_visualParentChange.qml b/tests/dialog_visualParentChange.qml index c6240e63c..032562c41 100644 --- a/tests/dialog_visualParentChange.qml +++ b/tests/dialog_visualParentChange.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Vishesh Handa - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/dpi/dpitest.cpp b/tests/dpi/dpitest.cpp index edfc92d6e..11bea60cc 100644 --- a/tests/dpi/dpitest.cpp +++ b/tests/dpi/dpitest.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2013 Sebastian Kügler * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "dpitest.h" diff --git a/tests/dpi/dpitest.h b/tests/dpi/dpitest.h index 4e5561e20..3519dfdc8 100644 --- a/tests/dpi/dpitest.h +++ b/tests/dpi/dpitest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2012 Sebastian Kügler * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef DPITEST_H #define DPITEST_H diff --git a/tests/dpi/main.cpp b/tests/dpi/main.cpp index b68cdb25a..f3c0b4369 100644 --- a/tests/dpi/main.cpp +++ b/tests/dpi/main.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2008 Aaron Seigo - * Copyright 2013 Sebastian Kügler - * - * 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, - * 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/tests/kplugins/main.cpp b/tests/kplugins/main.cpp index 5059a483e..954f2a59b 100644 --- a/tests/kplugins/main.cpp +++ b/tests/kplugins/main.cpp @@ -1,22 +1,9 @@ /* - * Copyright 2008 Aaron Seigo - * Copyright 2013 Sebastian Kügler - * - * 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, - * 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 Library 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-FileCopyrightText: 2008 Aaron Seigo + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/tests/kplugins/plugintest.cpp b/tests/kplugins/plugintest.cpp index 54d69cdba..293cc673a 100644 --- a/tests/kplugins/plugintest.cpp +++ b/tests/kplugins/plugintest.cpp @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2013 Sebastian Kügler * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "plugintest.h" diff --git a/tests/kplugins/plugintest.h b/tests/kplugins/plugintest.h index f065dbe88..fa37774a5 100644 --- a/tests/kplugins/plugintest.h +++ b/tests/kplugins/plugintest.h @@ -1,21 +1,8 @@ -/****************************************************************************** -* Copyright 2012 Sebastian Kügler * -* * -* This library is free software; you can redistribute it and/or * -* modify it under the terms of the GNU Library General Public * -* License as published by the Free Software Foundation; either * -* version 2 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 * -* Library General Public License for more details. * -* * -* You should have received a copy of the GNU Library General Public License * -* along with this library; see the file COPYING.LIB. If not, write to * -* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * -* Boston, MA 02110-1301, USA. * -*******************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Sebastian Kügler + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef PLUGINTEST_H #define PLUGINTEST_H diff --git a/tests/selected_svg.qml b/tests/selected_svg.qml index 69a4e4227..53350bb0b 100644 --- a/tests/selected_svg.qml +++ b/tests/selected_svg.qml @@ -1,21 +1,8 @@ /* - * Copyright 2016 Marco Martin - * - * 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, - * 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 Library 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-FileCopyrightText: 2016 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls 1.1 as Controls diff --git a/tests/testborders.qml b/tests/testborders.qml index da6763e7f..62c9c6ed7 100644 --- a/tests/testborders.qml +++ b/tests/testborders.qml @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 by Aleix Pol Gonzalez - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 diff --git a/tests/testengine/testengine.cpp b/tests/testengine/testengine.cpp index eab73dcb5..fc3565676 100644 --- a/tests/testengine/testengine.cpp +++ b/tests/testengine/testengine.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2008 Gilles CHAUVIN - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License either version 2, or - * (at your option) any later version as published by the Free Software - * Foundation. - * - * 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-FileCopyrightText: 2008 Gilles CHAUVIN + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "testengine.h" diff --git a/tests/testengine/testengine.h b/tests/testengine/testengine.h index 95f1cb663..c552fbae9 100644 --- a/tests/testengine/testengine.h +++ b/tests/testengine/testengine.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2008 Gilles CHAUVIN - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License either version 2, or - * (at your option) any later version as published by the Free Software - * Foundation. - * - * 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-FileCopyrightText: 2008 Gilles CHAUVIN + + SPDX-License-Identifier: GPL-2.0-or-later +*/ /* * A data engine meant to test the Plasma data engine explorer. diff --git a/tests/tooltip-icons.qml b/tests/tooltip-icons.qml index abf516720..698be63af 100644 --- a/tests/tooltip-icons.qml +++ b/tests/tooltip-icons.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 Bhushan Shah - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 Bhushan Shah + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore diff --git a/tests/tooltip.qml b/tests/tooltip.qml index e36924fac..79d23e1af 100644 --- a/tests/tooltip.qml +++ b/tests/tooltip.qml @@ -1,21 +1,8 @@ /* - * Copyright 2014 David Edmundson - * - * 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, - * 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 Library 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-FileCopyrightText: 2014 David Edmundson + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 From 7062c635a9bc7186af5d14037ba74cb527bf6386 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Thu, 13 Aug 2020 16:26:18 -0400 Subject: [PATCH 13/30] Fix PC2 ToolButtonStyle margins Previously, it was trying to use the margins of toolbutton-hover for flat buttons, but toolbutton-hover doesn't have real margins (0.001 since 0 isn't valid). BUG: #425255 --- src/declarativeimports/plasmastyle/ToolButtonStyle.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/declarativeimports/plasmastyle/ToolButtonStyle.qml b/src/declarativeimports/plasmastyle/ToolButtonStyle.qml index 5f2072b04..95d09641b 100644 --- a/src/declarativeimports/plasmastyle/ToolButtonStyle.qml +++ b/src/declarativeimports/plasmastyle/ToolButtonStyle.qml @@ -397,10 +397,10 @@ QtQuickControlStyle.ButtonStyle { ] Component.onCompleted: { - padding.top = surfaceNormal.margins.top - padding.left = surfaceNormal.margins.left - padding.right = surfaceNormal.margins.right - padding.bottom = surfaceNormal.margins.bottom + padding.top = control.flat ? surfacePressed.margins.top : surfaceNormal.margins.top + padding.left = control.flat ? surfacePressed.margins.left : surfaceNormal.margins.left + padding.right = control.flat ? surfacePressed.margins.right : surfaceNormal.margins.right + padding.bottom = control.flat ? surfacePressed.margins.bottom : surfaceNormal.margins.bottom } } } From eff71b665014cb03b1b12c39e25d6f9044c9219c Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Thu, 13 Aug 2020 18:26:44 -0400 Subject: [PATCH 14/30] Revert "Fix PC2 ToolButtonStyle margins" This reverts commit 7062c635a9bc7186af5d14037ba74cb527bf6386. Unfortunately, 3rd party themes were still broken after this commit was made because it didn't fix the real issue. The real issue is that toolbutton-hover is supposed to have margins, but it didn't have real margins due to a previous patch to `button.svg`. 3rd party themes depend on hover and toolbutton-hover being used in inconsistent ways because of past behavior. Unfortunately, they have to be inconsistent again to not break themes. --- src/declarativeimports/plasmastyle/ToolButtonStyle.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/declarativeimports/plasmastyle/ToolButtonStyle.qml b/src/declarativeimports/plasmastyle/ToolButtonStyle.qml index 95d09641b..5f2072b04 100644 --- a/src/declarativeimports/plasmastyle/ToolButtonStyle.qml +++ b/src/declarativeimports/plasmastyle/ToolButtonStyle.qml @@ -397,10 +397,10 @@ QtQuickControlStyle.ButtonStyle { ] Component.onCompleted: { - padding.top = control.flat ? surfacePressed.margins.top : surfaceNormal.margins.top - padding.left = control.flat ? surfacePressed.margins.left : surfaceNormal.margins.left - padding.right = control.flat ? surfacePressed.margins.right : surfaceNormal.margins.right - padding.bottom = control.flat ? surfacePressed.margins.bottom : surfaceNormal.margins.bottom + padding.top = surfaceNormal.margins.top + padding.left = surfaceNormal.margins.left + padding.right = surfaceNormal.margins.right + padding.bottom = surfaceNormal.margins.bottom } } } From 3e92503c2ae3d4146965e2f8393efa1e1d47bf91 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Thu, 13 Aug 2020 18:02:13 +0200 Subject: [PATCH 15/30] Remove ancient unused ModelTest copy --- autotests/modeltest.cpp | 544 ---------------------------------------- autotests/modeltest.h | 60 ----- 2 files changed, 604 deletions(-) delete mode 100644 autotests/modeltest.cpp delete mode 100644 autotests/modeltest.h diff --git a/autotests/modeltest.cpp b/autotests/modeltest.cpp deleted file mode 100644 index 0efdda225..000000000 --- a/autotests/modeltest.cpp +++ /dev/null @@ -1,544 +0,0 @@ -/* - SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) - - This file is part of the test suite of the Qt Toolkit. - - SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 -*/ - -#include - -#include "modeltest.h" - -#include -//#undef Q_ASSERT -//#define Q_ASSERT QVERIFY - -Q_DECLARE_METATYPE(QModelIndex) - -/*! - Connect to all of the models signals. Whenever anything happens recheck everything. -*/ -ModelTest::ModelTest(QAbstractItemModel *_model, QObject *parent) : QObject(parent), model(_model), fetchingMore(false) -{ - Q_ASSERT(model); - - connect(model, SIGNAL(columnsAboutToBeInserted(QModelIndex,int,int)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(columnsAboutToBeRemoved(QModelIndex,int,int)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(columnsInserted(QModelIndex,int,int)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(columnsRemoved(QModelIndex,int,int)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(dataChanged(QModelIndex,QModelIndex)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(headerDataChanged(Qt::Orientation,int,int)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(layoutAboutToBeChanged()), this, SLOT(runAllTests())); - connect(model, SIGNAL(layoutChanged()), this, SLOT(runAllTests())); - connect(model, SIGNAL(modelReset()), this, SLOT(runAllTests())); - connect(model, SIGNAL(rowsAboutToBeInserted(QModelIndex,int,int)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(rowsInserted(QModelIndex,int,int)), - this, SLOT(runAllTests())); - connect(model, SIGNAL(rowsRemoved(QModelIndex,int,int)), - this, SLOT(runAllTests())); - - // Special checks for inserting/removing - connect(model, SIGNAL(layoutAboutToBeChanged()), - this, SLOT(layoutAboutToBeChanged())); - connect(model, SIGNAL(layoutChanged()), - this, SLOT(layoutChanged())); - - connect(model, SIGNAL(rowsAboutToBeInserted(QModelIndex,int,int)), - this, SLOT(rowsAboutToBeInserted(QModelIndex,int,int))); - connect(model, SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)), - this, SLOT(rowsAboutToBeRemoved(QModelIndex,int,int))); - connect(model, SIGNAL(rowsInserted(QModelIndex,int,int)), - this, SLOT(rowsInserted(QModelIndex,int,int))); - connect(model, SIGNAL(rowsRemoved(QModelIndex,int,int)), - this, SLOT(rowsRemoved(QModelIndex,int,int))); - - runAllTests(); -} - -void ModelTest::runAllTests() -{ - if (fetchingMore) { - return; - } - nonDestructiveBasicTest(); - rowCount(); - columnCount(); - hasIndex(); - index(); - parent(); - data(); -} - -/*! - nonDestructiveBasicTest tries to call a number of the basic functions (not all) - to make sure the model doesn't outright segfault, testing the functions that makes sense. -*/ -void ModelTest::nonDestructiveBasicTest() -{ - Q_ASSERT(model->buddy(QModelIndex()) == QModelIndex()); - model->canFetchMore(QModelIndex()); - Q_ASSERT(model->columnCount(QModelIndex()) >= 0); - Q_ASSERT(model->data(QModelIndex()) == QVariant()); - fetchingMore = true; - model->fetchMore(QModelIndex()); - fetchingMore = false; - Qt::ItemFlags flags = model->flags(QModelIndex()); - Q_ASSERT(flags == Qt::ItemIsDropEnabled || flags == 0); - model->hasChildren(QModelIndex()); - model->hasIndex(0, 0); - model->headerData(0, Qt::Horizontal); - model->index(0, 0); - model->itemData(QModelIndex()); - QVariant cache; - model->match(QModelIndex(), -1, cache); - model->mimeTypes(); - Q_ASSERT(model->parent(QModelIndex()) == QModelIndex()); - Q_ASSERT(model->rowCount() >= 0); - QVariant variant; - model->setData(QModelIndex(), variant, -1); - model->setHeaderData(-1, Qt::Horizontal, QVariant()); - model->setHeaderData(999999, Qt::Horizontal, QVariant()); - QMap roles; - model->sibling(0, 0, QModelIndex()); - model->span(QModelIndex()); - model->supportedDropActions(); -} - -/*! - Tests model's implementation of QAbstractItemModel::rowCount() and hasChildren() - - Models that are dynamically populated are not as fully tested here. - */ -void ModelTest::rowCount() -{ -// qDebug() << "rc"; - // check top row - QModelIndex topIndex = model->index(0, 0, QModelIndex()); - int rows = model->rowCount(topIndex); - Q_ASSERT(rows >= 0); - if (rows > 0) { - Q_ASSERT(model->hasChildren(topIndex) == true); - } - - QModelIndex secondLevelIndex = model->index(0, 0, topIndex); - if (secondLevelIndex.isValid()) { // not the top level - // check a row count where parent is valid - rows = model->rowCount(secondLevelIndex); - Q_ASSERT(rows >= 0); - if (rows > 0) { - Q_ASSERT(model->hasChildren(secondLevelIndex) == true); - } - } - - // The models rowCount() is tested more extensively in checkChildren(), - // but this catches the big mistakes -} - -/*! - Tests model's implementation of QAbstractItemModel::columnCount() and hasChildren() - */ -void ModelTest::columnCount() -{ - // check top row - QModelIndex topIndex = model->index(0, 0, QModelIndex()); - Q_ASSERT(model->columnCount(topIndex) >= 0); - - // check a column count where parent is valid - QModelIndex childIndex = model->index(0, 0, topIndex); - if (childIndex.isValid()) { - Q_ASSERT(model->columnCount(childIndex) >= 0); - } - - // columnCount() is tested more extensively in checkChildren(), - // but this catches the big mistakes -} - -/*! - Tests model's implementation of QAbstractItemModel::hasIndex() - */ -void ModelTest::hasIndex() -{ -// qDebug() << "hi"; - // Make sure that invalid values returns an invalid index - Q_ASSERT(model->hasIndex(-2, -2) == false); - Q_ASSERT(model->hasIndex(-2, 0) == false); - Q_ASSERT(model->hasIndex(0, -2) == false); - - int rows = model->rowCount(); - int columns = model->columnCount(); - - // check out of bounds - Q_ASSERT(model->hasIndex(rows, columns) == false); - Q_ASSERT(model->hasIndex(rows + 1, columns + 1) == false); - - if (rows > 0) { - Q_ASSERT(model->hasIndex(0, 0) == true); - } - - // hasIndex() is tested more extensively in checkChildren(), - // but this catches the big mistakes -} - -/*! - Tests model's implementation of QAbstractItemModel::index() - */ -void ModelTest::index() -{ -// qDebug() << "i"; - // Make sure that invalid values returns an invalid index - Q_ASSERT(model->index(-2, -2) == QModelIndex()); - Q_ASSERT(model->index(-2, 0) == QModelIndex()); - Q_ASSERT(model->index(0, -2) == QModelIndex()); - - int rows = model->rowCount(); - int columns = model->columnCount(); - - if (rows == 0) { - return; - } - - // Catch off by one errors - Q_ASSERT(model->index(rows, columns) == QModelIndex()); - Q_ASSERT(model->index(0, 0).isValid() == true); - - // Make sure that the same index is *always* returned - QModelIndex a = model->index(0, 0); - QModelIndex b = model->index(0, 0); - Q_ASSERT(a == b); - - // index() is tested more extensively in checkChildren(), - // but this catches the big mistakes -} - -/*! - Tests model's implementation of QAbstractItemModel::parent() - */ -void ModelTest::parent() -{ -// qDebug() << "p"; - // Make sure the model wont crash and will return an invalid QModelIndex - // when asked for the parent of an invalid index. - Q_ASSERT(model->parent(QModelIndex()) == QModelIndex()); - - if (model->rowCount() == 0) { - return; - } - - // Column 0 | Column 1 | - // QModelIndex() | | - // \- topIndex | topIndex1 | - // \- childIndex | childIndex1 | - - // Common error test #1, make sure that a top level index has a parent - // that is a invalid QModelIndex. - QModelIndex topIndex = model->index(0, 0, QModelIndex()); - Q_ASSERT(model->parent(topIndex) == QModelIndex()); - - // Common error test #2, make sure that a second level index has a parent - // that is the first level index. - if (model->rowCount(topIndex) > 0) { - QModelIndex childIndex = model->index(0, 0, topIndex); - Q_ASSERT(model->parent(childIndex) == topIndex); - } - - // Common error test #3, the second column should NOT have the same children - // as the first column in a row. - // Usually the second column shouldn't have children. - QModelIndex topIndex1 = model->index(0, 1, QModelIndex()); - if (model->rowCount(topIndex1) > 0) { - QModelIndex childIndex = model->index(0, 0, topIndex); - QModelIndex childIndex1 = model->index(0, 0, topIndex1); - Q_ASSERT(childIndex != childIndex1); - } - - // Full test, walk n levels deep through the model making sure that all - // parent's children correctly specify their parent. - checkChildren(QModelIndex()); -} - -/*! - Called from the parent() test. - - A model that returns an index of parent X should also return X when asking - for the parent of the index. - - This recursive function does pretty extensive testing on the whole model in an - effort to catch edge cases. - - This function assumes that rowCount(), columnCount() and index() already work. - If they have a bug it will point it out, but the above tests should have already - found the basic bugs because it is easier to figure out the problem in - those tests then this one. - */ -void ModelTest::checkChildren(const QModelIndex &parent, int currentDepth) -{ - // First just try walking back up the tree. - QModelIndex p = parent; - while (p.isValid()) { - p = p.parent(); - } - - // For models that are dynamically populated - if (model->canFetchMore(parent)) { - fetchingMore = true; - model->fetchMore(parent); - fetchingMore = false; - } - - int rows = model->rowCount(parent); - int columns = model->columnCount(parent); - - if (rows > 0) { - Q_ASSERT(model->hasChildren(parent)); - } - - // Some further testing against rows(), columns(), and hasChildren() - Q_ASSERT(rows >= 0); - Q_ASSERT(columns >= 0); - if (rows > 0) { - Q_ASSERT(model->hasChildren(parent) == true); - } - - //qDebug() << "parent:" << model->data(parent).toString() << "rows:" << rows - // << "columns:" << columns << "parent column:" << parent.column(); - - Q_ASSERT(model->hasIndex(rows + 1, 0, parent) == false); - for (int r = 0; r < rows; ++r) { - if (model->canFetchMore(parent)) { - fetchingMore = true; - model->fetchMore(parent); - fetchingMore = false; - } - Q_ASSERT(model->hasIndex(r, columns + 1, parent) == false); - for (int c = 0; c < columns; ++c) { - Q_ASSERT(model->hasIndex(r, c, parent) == true); - QModelIndex index = model->index(r, c, parent); - // rowCount() and columnCount() said that it existed... - Q_ASSERT(index.isValid() == true); - - // index() should always return the same index when called twice in a row - QModelIndex modifiedIndex = model->index(r, c, parent); - Q_ASSERT(index == modifiedIndex); - - // Make sure we get the same index if we request it twice in a row - QModelIndex a = model->index(r, c, parent); - QModelIndex b = model->index(r, c, parent); - Q_ASSERT(a == b); - - // Some basic checking on the index that is returned - Q_ASSERT(index.model() == model); - Q_ASSERT(index.row() == r); - Q_ASSERT(index.column() == c); - // While you can technically return a QVariant usually this is a sign - // of an bug in data() Disable if this really is ok in your model. -// Q_ASSERT ( model->data ( index, Qt::DisplayRole ).isValid() == true ); - - // If the next test fails here is some somewhat useful debug you play with. - - if (model->parent(index) != parent) { - qDebug() << r << c << currentDepth << model->data(index).toString() - << model->data(parent).toString(); - qDebug() << index << parent << model->parent(index); -// And a view that you can even use to show the model. -// QTreeView view; -// view.setModel(model); -// view.show(); - } - - // Check that we can get back our real parent. -// qDebug() << model->parent ( index ) << parent ; - Q_ASSERT(model->parent(index) == parent); - - // recursively go down the children - if (model->hasChildren(index) && currentDepth < 10) { - //qDebug() << r << c << "has children" << model->rowCount(index); - checkChildren(index, ++currentDepth); - }/* else { if (currentDepth >= 10) qDebug() << "checked 10 deep"; };*/ - - // make sure that after testing the children that the index doesn't change. - QModelIndex newerIndex = model->index(r, c, parent); - Q_ASSERT(index == newerIndex); - } - } -} - -/*! - Tests model's implementation of QAbstractItemModel::data() - */ -void ModelTest::data() -{ - // Invalid index should return an invalid qvariant - Q_ASSERT(!model->data(QModelIndex()).isValid()); - - if (model->rowCount() == 0) { - return; - } - - // A valid index should have a valid QVariant data - Q_ASSERT(model->index(0, 0).isValid()); - - // shouldn't be able to set data on an invalid index - Q_ASSERT(model->setData(QModelIndex(), QLatin1String("foo"), Qt::DisplayRole) == false); - - // General Purpose roles that should return a QString - QVariant variant = model->data(model->index(0, 0), Qt::ToolTipRole); - if (variant.isValid()) { - Q_ASSERT(qVariantCanConvert (variant)); - } - variant = model->data(model->index(0, 0), Qt::StatusTipRole); - if (variant.isValid()) { - Q_ASSERT(qVariantCanConvert (variant)); - } - variant = model->data(model->index(0, 0), Qt::WhatsThisRole); - if (variant.isValid()) { - Q_ASSERT(qVariantCanConvert (variant)); - } - - // General Purpose roles that should return a QSize - variant = model->data(model->index(0, 0), Qt::SizeHintRole); - if (variant.isValid()) { - Q_ASSERT(qVariantCanConvert (variant)); - } - - // General Purpose roles that should return a QFont - QVariant fontVariant = model->data(model->index(0, 0), Qt::FontRole); - if (fontVariant.isValid()) { - Q_ASSERT(qVariantCanConvert (fontVariant)); - } - - // Check that the alignment is one we know about - QVariant textAlignmentVariant = model->data(model->index(0, 0), Qt::TextAlignmentRole); - if (textAlignmentVariant.isValid()) { - int alignment = textAlignmentVariant.toInt(); - Q_ASSERT(alignment == (alignment & (Qt::AlignHorizontal_Mask | Qt::AlignVertical_Mask))); - } - - // General Purpose roles that should return a QColor - QVariant colorVariant = model->data(model->index(0, 0), Qt::BackgroundRole); - if (colorVariant.isValid()) { - Q_ASSERT(qVariantCanConvert (colorVariant)); - } - - colorVariant = model->data(model->index(0, 0), Qt::ForegroundRole); - if (colorVariant.isValid()) { - Q_ASSERT(qVariantCanConvert (colorVariant)); - } - - // Check that the "check state" is one we know about. - QVariant checkStateVariant = model->data(model->index(0, 0), Qt::CheckStateRole); - if (checkStateVariant.isValid()) { - int state = checkStateVariant.toInt(); - Q_ASSERT(state == Qt::Unchecked || - state == Qt::PartiallyChecked || - state == Qt::Checked); - } -} - -/*! - Store what is about to be inserted to make sure it actually happens - - \sa rowsInserted() - */ -void ModelTest::rowsAboutToBeInserted(const QModelIndex &parent, int start, int end) -{ -// Q_UNUSED(end); -// qDebug() << "rowsAboutToBeInserted" << "start=" << start << "end=" << end << "parent=" << model->data ( parent ).toString() -// << "current count of parent=" << model->rowCount ( parent ); // << "display of last=" << model->data( model->index(start-1, 0, parent) ); -// qDebug() << model->index(start-1, 0, parent) << model->data( model->index(start-1, 0, parent) ); - Changing c; - c.parent = parent; - c.oldSize = model->rowCount(parent); - c.last = model->data(model->index(start - 1, 0, parent)); - c.next = model->data(model->index(start, 0, parent)); - insert.push(c); -} - -/*! - Confirm that what was said was going to happen actually did - - \sa rowsAboutToBeInserted() - */ -void ModelTest::rowsInserted(const QModelIndex &parent, int start, int end) -{ - Changing c = insert.pop(); - Q_ASSERT(c.parent == parent); -// qDebug() << "rowsInserted" << "start=" << start << "end=" << end << "oldsize=" << c.oldSize -// << "parent=" << model->data ( parent ).toString() << "current rowcount of parent=" << model->rowCount ( parent ); - -// for (int ii=start; ii <= end; ii++) -// { -// qDebug() << "itemWasInserted:" << ii << model->data ( model->index ( ii, 0, parent )); -// } -// qDebug(); - - Q_ASSERT(c.oldSize + (end - start + 1) == model->rowCount(parent)); - Q_ASSERT(c.last == model->data(model->index(start - 1, 0, c.parent))); - - if (c.next != model->data(model->index(end + 1, 0, c.parent))) { - qDebug() << start << end; - for (int i = 0; i < model->rowCount(); ++i) { - qDebug() << model->index(i, 0).data().toString(); - } - qDebug() << c.next << model->data(model->index(end + 1, 0, c.parent)); - } - - Q_ASSERT(c.next == model->data(model->index(end + 1, 0, c.parent))); -} - -void ModelTest::layoutAboutToBeChanged() -{ - for (int i = 0; i < qBound(0, model->rowCount(), 100); ++i) { - changing.append(QPersistentModelIndex(model->index(i, 0))); - } -} - -void ModelTest::layoutChanged() -{ - for (int i = 0; i < changing.count(); ++i) { - QPersistentModelIndex p = changing[i]; - Q_ASSERT(p == model->index(p.row(), p.column(), p.parent())); - } - changing.clear(); -} - -/*! - Store what is about to be inserted to make sure it actually happens - - \sa rowsRemoved() - */ -void ModelTest::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) -{ - qDebug() << "ratbr" << parent << start << end; - Changing c; - c.parent = parent; - c.oldSize = model->rowCount(parent); - c.last = model->data(model->index(start - 1, 0, parent)); - c.next = model->data(model->index(end + 1, 0, parent)); - remove.push(c); -} - -/*! - Confirm that what was said was going to happen actually did - - \sa rowsAboutToBeRemoved() - */ -void ModelTest::rowsRemoved(const QModelIndex &parent, int start, int end) -{ - qDebug() << "rr" << parent << start << end; - Changing c = remove.pop(); - Q_ASSERT(c.parent == parent); - Q_ASSERT(c.oldSize - (end - start + 1) == model->rowCount(parent)); - Q_ASSERT(c.last == model->data(model->index(start - 1, 0, c.parent))); - Q_ASSERT(c.next == model->data(model->index(start, 0, c.parent))); -} - diff --git a/autotests/modeltest.h b/autotests/modeltest.h deleted file mode 100644 index 59a8501fe..000000000 --- a/autotests/modeltest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - SPDX-FileCopyrightText: 2011 Nokia Corporation and /or its subsidiary(-ies) - - This file is part of the test suite of the Qt Toolkit. - - SPDX-License-Identifier: LGPL-2.1-only WITH Qt-LGPL-exception-1.1 -*/ - -#ifndef MODELTEST_H -#define MODELTEST_H - -#include -#include -#include - -class ModelTest : public QObject -{ - Q_OBJECT - -public: - explicit ModelTest(QAbstractItemModel *model, QObject *parent = nullptr); - -private Q_SLOTS: - void nonDestructiveBasicTest(); - void rowCount(); - void columnCount(); - void hasIndex(); - void index(); - void parent(); - void data(); - -protected Q_SLOTS: - void runAllTests(); - void layoutAboutToBeChanged(); - void layoutChanged(); - void rowsAboutToBeInserted(const QModelIndex &parent, int start, int end); - void rowsInserted(const QModelIndex &parent, int start, int end); - void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); - void rowsRemoved(const QModelIndex &parent, int start, int end); - -private: - void checkChildren(const QModelIndex &parent, int currentDepth = 0); - - QAbstractItemModel *model; - - struct Changing { - QModelIndex parent; - int oldSize; - QVariant last; - QVariant next; - }; - QStack insert; - QStack remove; - - bool fetchingMore; - - QList changing; -}; - -#endif From f857da38643ce143826580d3641a13b656676891 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Thu, 13 Aug 2020 18:40:51 -0400 Subject: [PATCH 16/30] Fix toolbutton-hover margins in button.svg The toolbutton-hover margins need to be inconsistent with the hover margins because 3rd party themes expect this inconsistent behavior now. BUG: #425255 --- src/desktoptheme/breeze/widgets/button.svg | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/desktoptheme/breeze/widgets/button.svg b/src/desktoptheme/breeze/widgets/button.svg index 5ec015286..fbeeeed89 100644 --- a/src/desktoptheme/breeze/widgets/button.svg +++ b/src/desktoptheme/breeze/widgets/button.svg @@ -1,5 +1,5 @@ - + @@ -351,10 +351,10 @@ - - - - + + + + @@ -426,11 +426,11 @@ margin hint NOTE: Some margin hints have 0.001 width or height because you can't use exactly 0! -NOTE: shadow, hover and focus (not focus-background) use negative margins! -This behavior is implemented in at least the following files (please keep this up to date, fix the problem or find a better place to put this info): -plasma-framework/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml - -We should add support for a negative margins hint to FrameSvg and document it instead of requiring people to read source code in order to know these things. Unfortunately, not sure if we can change the code of ButtonShadow since it would break themes that rely on this undocumented behaviour. Maybe in KF6. +NOTE: shadow, hover and focus (not focus-background) use negative margins! +This behavior is implemented in at least the following files (please keep this up to date, fix the problem or find a better place to put this info): +plasma-framework/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml + +We should add support for a negative margins hint to FrameSvg and document it instead of requiring people to read source code in order to know these things. Unfortunately, not sure if we can change the code of ButtonShadow since it would break themes that rely on this undocumented behaviour. Maybe in KF6. From a230221a54828a9680395d62aad6830d5b756d49 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 16 Aug 2020 01:16:17 +0200 Subject: [PATCH 17/30] GIT_SILENT increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 357f2953e..8f0c2769b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,7 +138,7 @@ ecm_setup_qtplugin_macro_names( PACKAGE_SETUP_AUTOMOC_VARIABLES ) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) -add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054600) +add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054900) #add_definitions(-Wno-deprecated) From 23997c46b4d2405a8c36579780896c4d142a79f9 Mon Sep 17 00:00:00 2001 From: Andreas Cord-Landwehr Date: Mon, 17 Aug 2020 08:00:58 +0200 Subject: [PATCH 18/30] Remove obsolete COPYING files --- COPYING | 339 ---------------------------------- COPYING.LIB | 510 ---------------------------------------------------- 2 files changed, 849 deletions(-) delete mode 100644 COPYING delete mode 100644 COPYING.LIB diff --git a/COPYING b/COPYING deleted file mode 100644 index d159169d1..000000000 --- a/COPYING +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - 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. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/COPYING.LIB b/COPYING.LIB deleted file mode 100644 index 2d2d780e6..000000000 --- a/COPYING.LIB +++ /dev/null @@ -1,510 +0,0 @@ - - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations -below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it -becomes a de-facto standard. To achieve this, non-free programs must -be allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control -compilation and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at least - three years, to give the same user the materials specified in - Subsection 6a, above, for a charge no more than the cost of - performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply, and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License -may add an explicit geographical distribution limitation excluding those -countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms -of the ordinary General Public License). - - To apply these terms, attach the following notices to the library. -It is safest to attach them to the start of each source file to most -effectively convey the exclusion of warranty; and each file should -have at least the "copyright" line and a pointer to where the full -notice is found. - - - - Copyright (C) - - 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 St, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or -your school, if any, to sign a "copyright disclaimer" for the library, -if necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James - Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - From d874449ad333c900b2e6d5f129bbe130ce479909 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Sat, 20 Jun 2020 16:13:03 +0200 Subject: [PATCH 19/30] Copy files rather than broken symlinks This fixes installation on Windows. An alternative solution would have been to dynamically create the symlinks in the install step, on Linux, and to copy them on Windows. 01:05:07.444 CMake Error at src/desktoptheme/breeze-dark/cmake_install.cmake:43 (file): 01:05:07.444 file INSTALL cannot read symlink 01:05:07.444 "C:/_/acd4f350/plasma-framework-5.71.0/src/desktoptheme/breeze-dark/widgets/plasmoidheading.svgz" 01:05:07.444 to duplicate at 01:05:07.444 "C:/Craft/BC/windows-mingw_64-gcc/build/kde/frameworks/tier3/plasma-framework/image-RelWithDebInfo-5.71.0/Craft/BC/windows-mingw_64-gcc/bin/data/plasma/desktoptheme/breeze-dark/widgets/plasmoidheading.svgz": 01:05:07.444 No such file or directory. 01:05:07.444 Call Stack (most recent call first): 01:05:07.444 src/desktoptheme/cmake_install.cmake:40 (include) 01:05:07.444 src/cmake_install.cmake:41 (include) 01:05:07.444 cmake_install.cmake:109 (include) --- src/desktoptheme/breeze-dark/CMakeLists.txt | 2 +- src/desktoptheme/breeze-dark/widgets/plasmoidheading.svgz | 1 - src/desktoptheme/breeze-light/CMakeLists.txt | 2 +- src/desktoptheme/breeze-light/widgets/plasmoidheading.svgz | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) delete mode 120000 src/desktoptheme/breeze-dark/widgets/plasmoidheading.svgz delete mode 120000 src/desktoptheme/breeze-light/widgets/plasmoidheading.svgz diff --git a/src/desktoptheme/breeze-dark/CMakeLists.txt b/src/desktoptheme/breeze-dark/CMakeLists.txt index 13a448a01..1e111f426 100644 --- a/src/desktoptheme/breeze-dark/CMakeLists.txt +++ b/src/desktoptheme/breeze-dark/CMakeLists.txt @@ -9,6 +9,6 @@ install( DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark ) install( - DIRECTORY widgets + FILES ${PROJECT_BINARY_DIR}/src/desktoptheme/breeze/default.gzipped/widgets/plasmoidheading.svgz DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark ) diff --git a/src/desktoptheme/breeze-dark/widgets/plasmoidheading.svgz b/src/desktoptheme/breeze-dark/widgets/plasmoidheading.svgz deleted file mode 120000 index b20bf0773..000000000 --- a/src/desktoptheme/breeze-dark/widgets/plasmoidheading.svgz +++ /dev/null @@ -1 +0,0 @@ -../../default/widgets/plasmoidheading.svgz \ No newline at end of file diff --git a/src/desktoptheme/breeze-light/CMakeLists.txt b/src/desktoptheme/breeze-light/CMakeLists.txt index 9bb996a80..1cea93b37 100644 --- a/src/desktoptheme/breeze-light/CMakeLists.txt +++ b/src/desktoptheme/breeze-light/CMakeLists.txt @@ -9,6 +9,6 @@ install( DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-light ) install( - DIRECTORY widgets + FILES ${PROJECT_BINARY_DIR}/src/desktoptheme/breeze/default.gzipped/widgets/plasmoidheading.svgz DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-light ) diff --git a/src/desktoptheme/breeze-light/widgets/plasmoidheading.svgz b/src/desktoptheme/breeze-light/widgets/plasmoidheading.svgz deleted file mode 120000 index b20bf0773..000000000 --- a/src/desktoptheme/breeze-light/widgets/plasmoidheading.svgz +++ /dev/null @@ -1 +0,0 @@ -../../default/widgets/plasmoidheading.svgz \ No newline at end of file From 2774a61db7ee12bbc3e39cdf496d80773b7b83a0 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Tue, 18 Aug 2020 15:16:57 -0400 Subject: [PATCH 20/30] Give PC2 slider implicitWidth and implicitHeight Needed to prevent them from having 0 width and height in Layouts. --- src/declarativeimports/plasmacomponents/qml/Slider.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/plasmacomponents/qml/Slider.qml b/src/declarativeimports/plasmacomponents/qml/Slider.qml index 5eb69fe2c..07b56ef9c 100644 --- a/src/declarativeimports/plasmacomponents/qml/Slider.qml +++ b/src/declarativeimports/plasmacomponents/qml/Slider.qml @@ -46,8 +46,8 @@ QtControls.Slider { */ property bool inverted: false - width: slider.isVertical ? PlasmaCore.Theme.mSize(PlasmaCore.Theme.defaultFont).height*1.6 : 200 - height: slider.isVertical ? 200 : PlasmaCore.Theme.mSize(PlasmaCore.Theme.defaultFont).height*1.6 + implicitWidth: slider.isVertical ? PlasmaCore.Theme.mSize(PlasmaCore.Theme.defaultFont).height*1.6 : 200 + implicitHeight: slider.isVertical ? 200 : PlasmaCore.Theme.mSize(PlasmaCore.Theme.defaultFont).height*1.6 // TODO: needs to define if there will be specific graphics for // disabled sliders opacity: enabled ? 1.0 : 0.5 From c73264c75e9cb9dee109010b3a1845c6afa1f617 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Tue, 18 Aug 2020 13:50:50 -0600 Subject: [PATCH 21/30] [PlasmaComponents3] Make checkbox text fill its layout Otherwise the elision property set on it has no effect because no width boundary is defined. --- src/declarativeimports/plasmacomponents3/CheckBox.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarativeimports/plasmacomponents3/CheckBox.qml b/src/declarativeimports/plasmacomponents3/CheckBox.qml index f9f29d03f..19de1eb99 100644 --- a/src/declarativeimports/plasmacomponents3/CheckBox.qml +++ b/src/declarativeimports/plasmacomponents3/CheckBox.qml @@ -49,6 +49,7 @@ T.CheckBox { } Label { + Layout.fillWidth: true text: control.text font: control.font color: PlasmaCore.ColorScope.textColor From 5ca28a123b8cbbb74cdcb05d357ab5be38385f45 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Tue, 18 Aug 2020 15:48:36 -0400 Subject: [PATCH 22/30] Make Heading use PC3 Label --- src/declarativeimports/plasmaextracomponents/qml/Heading.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarativeimports/plasmaextracomponents/qml/Heading.qml b/src/declarativeimports/plasmaextracomponents/qml/Heading.qml index cdda0ded1..2db2b3b7b 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/Heading.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/Heading.qml @@ -6,7 +6,7 @@ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore -import org.kde.plasma.components 2.0 +import org.kde.plasma.components 3.0 /** From 13882a60e1ca8205e183e4a7e567e0306e989e61 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Tue, 18 Aug 2020 05:45:23 -0400 Subject: [PATCH 23/30] Fix visual glitches and improve the layouts of component tests --- tests/components/ComponentBase.qml | 53 +++++++------- tests/components/busyindicator.qml | 19 ++--- tests/components/busyindicator3.qml | 24 +++--- tests/components/button.qml | 43 +++++------ tests/components/button3.qml | 23 +++--- tests/components/checkbox.qml | 27 +++---- tests/components/checkbox3.qml | 13 ++-- tests/components/combobox.qml | 12 +-- tests/components/combobox3.qml | 11 +-- tests/components/menu.qml | 15 ++-- tests/components/progressbar.qml | 103 ++++++++++++++++---------- tests/components/progressbar3.qml | 105 +++++++++++++++++++-------- tests/components/radiobutton.qml | 15 ++-- tests/components/radiobutton3.qml | 13 ++-- tests/components/slider.qml | 61 ++++++++++++++++ tests/components/slider3.qml | 109 ++++++++++++++++------------ tests/components/tabbar3.qml | 13 ++-- tests/components/textarea.qml | 13 ++-- tests/components/textarea3.qml | 10 +-- tests/components/textfield.qml | 13 ++-- tests/components/textfield3.qml | 10 +-- tests/components/toolbutton.qml | 20 ++--- tests/components/toolbutton3.qml | 31 ++++---- 23 files changed, 454 insertions(+), 302 deletions(-) create mode 100644 tests/components/slider.qml diff --git a/tests/components/ComponentBase.qml b/tests/components/ComponentBase.qml index e3245fb4c..d52d5247e 100644 --- a/tests/components/ComponentBase.qml +++ b/tests/components/ComponentBase.qml @@ -1,37 +1,34 @@ import QtQuick 2.0 import QtQuick.Layouts 1.2 - import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 as PlasmaComponents +import org.kde.plasma.extras 2.0 as PlasmaExtras -PlasmaCore.ColorScope -{ - id: root - width: 500 - height: 300 - property bool invertedColors: false - default property alias children: container.children - colorGroup: invertedColors ? PlasmaCore.Theme.ComplementaryColorGroup : PlasmaCore.Theme.NormalColorGroup +PlasmaComponents.Page { + id: mainPage + title: "Test" + width: Math.max(mainPage.contentWidth, mainPage.implicitHeaderWidth, mainPage.implicitFooterWidth) + + leftPadding + rightPadding + height: mainPage.contentHeight + mainPage.implicitHeaderHeight + mainPage.implicitFooterHeight + + topPadding + bottomPadding - Rectangle { - anchors.fill: parent + padding: PlasmaCore.Units.gridUnit + + header: PlasmaComponents.ToolBar { + leftPadding: mainPage.padding + rightPadding: mainPage.padding + contentItem: PlasmaExtras.Heading { + text: mainPage.title + /* FIXME: this line is needed to prevent vertical pixel + * misalignment of controls, such as checkboxes. + * The cause of the problem is unknown. + */ + level: 2 + } + } + + background: Rectangle { color: PlasmaCore.ColorScope.backgroundColor } - - PlasmaComponents.Label { - id: label - text: root.invertedColors ? "Invert" : "Normal" - MouseArea { - anchors.fill: parent - onClicked: root.invertedColors = !root.invertedColors - } - } - - Item { - id: container - anchors.top: label.bottom - anchors.left: parent.left - anchors.right: parent.right - anchors.bottom: parent.bottom - } } + diff --git a/tests/components/busyindicator.qml b/tests/components/busyindicator.qml index 0279ee0d3..523b62977 100644 --- a/tests/components/busyindicator.qml +++ b/tests/components/busyindicator.qml @@ -1,22 +1,23 @@ import QtQuick 2.0 +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { - Column { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + id: root + title: "Plasma Components 2 BusyIndicator" + contentItem: ColumnLayout { + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.Label { - width: parent.width wrapMode: Text.WordWrap text: "When checking and unchecking the checkbox, " + "the busy indicator should resume where it has " + - "paused and not glitch around" + "paused and not glitch around." } - Row { - spacing: 20 + RowLayout { + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.BusyIndicator { running: runningButton.checked @@ -25,8 +26,8 @@ ComponentBase { PlasmaComponents.CheckBox { id: runningButton text: "Running" + checked: true } } - } } diff --git a/tests/components/busyindicator3.qml b/tests/components/busyindicator3.qml index 1eeb24680..3401be3b0 100644 --- a/tests/components/busyindicator3.qml +++ b/tests/components/busyindicator3.qml @@ -1,22 +1,23 @@ import QtQuick 2.0 +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { - Column { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + id: root + title: "Plasma Components 3 BusyIndicator" + contentItem: ColumnLayout { + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.Label { - width: parent.width wrapMode: Text.WordWrap - text: "When checking and unchecking the checkbox, " + - "the busy indicator should resume where it has " + - "paused and not glitch around" + text: "The BusyIndicator should disappear when unchecked and restart when checked." + Layout.preferredWidth: Math.max(busyIndicatorLayout.width, root.implicitHeaderWidth) } - Row { - spacing: 20 + RowLayout { + id: busyIndicatorLayout + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.BusyIndicator { running: runningButton.checked @@ -25,9 +26,8 @@ ComponentBase { PlasmaComponents.CheckBox { id: runningButton text: "Running" + checked: true } } - } - } diff --git a/tests/components/button.qml b/tests/components/button.qml index 143d852ba..2a22cdc8e 100644 --- a/tests/components/button.qml +++ b/tests/components/button.qml @@ -1,34 +1,35 @@ import QtQuick 2.0 - -import org.kde.plasma.components 2.0 as PlasmaComponents -import QtQuick.Controls 1.2 import QtQuick.Layouts 1.2 +import QtQuick.Controls 1.2 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { - Grid { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + id: root + title: "Plasma Components 2 Button" + contentItem: GridLayout { + rowSpacing: PlasmaCore.Units.smallSpacing + columnSpacing: PlasmaCore.Units.largeSpacing columns: 2 - Label { + PlasmaComponents.Label { text: "icon + text" } PlasmaComponents.Button { - iconSource: "list-remove" + iconSource: "start-here-kde-plasma" text: "test" } - Label { + PlasmaComponents.Label { text: "icon alone, should look small and square" } PlasmaComponents.Button { - iconSource: "list-remove" + iconSource: "start-here-kde-plasma" } - Label { + PlasmaComponents.Label { text: "text alone, should be about as wide as the text itself" } @@ -36,7 +37,7 @@ ComponentBase { text: "test" } - Label { + PlasmaComponents.Label { text: "This should look highlighted on load" } @@ -46,26 +47,26 @@ ComponentBase { } - Label { + PlasmaComponents.Label { text: "long text, should expand to fit" } PlasmaComponents.Button { - iconSource: "list-remove" + iconSource: "start-here-kde-plasma" text: "This is a really really really really long button" } - Label { + PlasmaComponents.Label { text: "long text but constrained, should be 150px and elided" } PlasmaComponents.Button { - iconSource: "list-remove" + iconSource: "start-here-kde-plasma" text: "This is a really really really really long button" - width: 150 + Layout.maximumWidth: 150 } - Label { + PlasmaComponents.Label { text: "button with menu" } @@ -99,7 +100,7 @@ ComponentBase { } } - Label { + PlasmaComponents.Label { text: "button (with or without icon) and textfield should have the same height" } @@ -115,7 +116,7 @@ ComponentBase { } } - Label { + PlasmaComponents.Label { text: "minimum width property. Should be two letters wide" } diff --git a/tests/components/button3.qml b/tests/components/button3.qml index fc04928e6..d564c3dcf 100644 --- a/tests/components/button3.qml +++ b/tests/components/button3.qml @@ -1,13 +1,14 @@ import QtQuick 2.0 - -import org.kde.plasma.components 3.0 as PlasmaComponents import QtQuick.Layouts 1.2 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { - Grid { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + id: root + title: "PlasmaComponents 3 Button" + contentItem: GridLayout { + rowSpacing: PlasmaCore.Units.smallSpacing + columnSpacing: PlasmaCore.Units.largeSpacing columns: 2 PlasmaComponents.Label { @@ -15,7 +16,7 @@ ComponentBase { } PlasmaComponents.Button { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" text: "test" } @@ -24,7 +25,7 @@ ComponentBase { } PlasmaComponents.Button { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" } PlasmaComponents.Label { @@ -49,7 +50,7 @@ ComponentBase { } PlasmaComponents.Button { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" text: "This is a really really really really long button" } @@ -58,9 +59,9 @@ ComponentBase { } PlasmaComponents.Button { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" text: "This is a really really really really long button" - width: 150 + Layout.maximumWidth: 150 } diff --git a/tests/components/checkbox.qml b/tests/components/checkbox.qml index 4ae8f22bd..380e67147 100644 --- a/tests/components/checkbox.qml +++ b/tests/components/checkbox.qml @@ -1,24 +1,25 @@ import QtQuick 2.0 - -import org.kde.plasma.components 2.0 as PlasmaComponents -import QtQuick.Controls 1.2 import QtQuick.Layouts 1.2 +import QtQuick.Controls 1.2 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { - Grid { - anchors.fill: parent - anchors.margins: 20 - spacing: 4 + id: root + title: "Plasma Components 2 CheckBox" + contentItem: GridLayout { + rowSpacing: PlasmaCore.Units.smallSpacing + columnSpacing: PlasmaCore.Units.largeSpacing columns: 2 - Label { + PlasmaComponents.Label { text: "text" } PlasmaComponents.CheckBox { text: "Some awesome checkbox" } - Label { + PlasmaComponents.Label { text: "focus" } PlasmaComponents.CheckBox { @@ -26,7 +27,7 @@ ComponentBase { focus: true } - Label { + PlasmaComponents.Label { text: "checked" } PlasmaComponents.CheckBox { @@ -34,7 +35,7 @@ ComponentBase { checkedState: Qt.Checked } - Label { + PlasmaComponents.Label { text: "tri-state" } PlasmaComponents.CheckBox { @@ -42,7 +43,7 @@ ComponentBase { checkedState: Qt.PartiallyChecked } - Label { + PlasmaComponents.Label { text: "disabled" } PlasmaComponents.CheckBox { @@ -50,7 +51,7 @@ ComponentBase { enabled: false } - Label { + PlasmaComponents.Label { text: "disabled and checked" } PlasmaComponents.CheckBox { diff --git a/tests/components/checkbox3.qml b/tests/components/checkbox3.qml index 0e13e0110..f9864e4e8 100644 --- a/tests/components/checkbox3.qml +++ b/tests/components/checkbox3.qml @@ -1,13 +1,14 @@ import QtQuick 2.0 - -import org.kde.plasma.components 3.0 as PlasmaComponents import QtQuick.Layouts 1.2 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { - Grid { - anchors.fill: parent - anchors.margins: 20 - spacing: 4 + id: root + title: "Plasma Components 3 CheckBox" + contentItem: GridLayout { + columnSpacing: PlasmaCore.Units.largeSpacing + rowSpacing: PlasmaCore.Units.smallSpacing columns: 2 PlasmaComponents.Label { diff --git a/tests/components/combobox.qml b/tests/components/combobox.qml index 5fd0deb6b..5c1b1229c 100644 --- a/tests/components/combobox.qml +++ b/tests/components/combobox.qml @@ -1,13 +1,13 @@ import QtQuick 2.0 - -import org.kde.plasma.components 2.0 +import QtQuick.Layouts 1.12 import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 ComponentBase { - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + id: root + title: "Plasma Components 2 ComboBox" + contentItem: ColumnLayout { + spacing: PlasmaCore.Units.largeSpacing ListModel { id: demoModel ListElement { text: "Banana"; color: "Yellow" } diff --git a/tests/components/combobox3.qml b/tests/components/combobox3.qml index 3babd12ac..643603011 100644 --- a/tests/components/combobox3.qml +++ b/tests/components/combobox3.qml @@ -1,12 +1,13 @@ import QtQuick 2.0 - +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 ComponentBase { - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + id: root + title: "Plasma Components 3 ComboBox" + contentItem: ColumnLayout { + spacing: PlasmaCore.Units.largeSpacing ListModel { id: demoModel ListElement { text: "Banana"; color: "Yellow" } diff --git a/tests/components/menu.qml b/tests/components/menu.qml index 603eb83cb..228114002 100644 --- a/tests/components/menu.qml +++ b/tests/components/menu.qml @@ -1,12 +1,13 @@ import QtQuick 2.0 +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { - - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + id: root + title: "Plasma Components 2 ComboBox" + contentItem: ColumnLayout { + spacing: PlasmaCore.Units.largeSpacing PlasmaComponents.Button { text: "Simple menu" @@ -66,8 +67,8 @@ ComponentBase { } } - Row { - spacing: units.smallSpacing + RowLayout { + spacing: PlasmaCore.Units.smallSpacing PlasmaComponents.Button { id: minMaxButton diff --git a/tests/components/progressbar.qml b/tests/components/progressbar.qml index ea40cafb0..d579bf268 100644 --- a/tests/components/progressbar.qml +++ b/tests/components/progressbar.qml @@ -1,18 +1,26 @@ import QtQuick 2.0 - +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { id: root + title: "Plasma Components 2 ProgressBar" property int orientation: orientationCombo.model[orientationCombo.currentIndex].value + property int progressBarWidth: testProgressBar.width - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + PlasmaComponents.ProgressBar { + id: testProgressBar + visible: false + } - Column { - Text { + contentItem: GridLayout { + columns: 6 + columnSpacing: PlasmaCore.Units.largeSpacing + rowSpacing: PlasmaCore.Units.largeSpacing + + ColumnLayout { + PlasmaComponents.Label { text: "0%" } PlasmaComponents.ProgressBar { @@ -23,8 +31,8 @@ ComponentBase { } } - Column { - Text { + ColumnLayout { + PlasmaComponents.Label { text: "50%" } PlasmaComponents.ProgressBar { @@ -35,8 +43,8 @@ ComponentBase { } } - Column { - Text { + ColumnLayout { + PlasmaComponents.Label { text: "100%" } PlasmaComponents.ProgressBar { @@ -47,22 +55,27 @@ ComponentBase { } } - Column { - Text { - text: "these main bars should look the same width" + ColumnLayout { + PlasmaComponents.Label { + id: progressBarAndSliderLabel + text: "The progress bar and slider grooves should have the same visual width." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } - Flow { + GridLayout { + id: progressBarAndSliderGrid + columns: orientation === Qt.Vertical ? 2 : 1 + rows: orientation === Qt.Vertical ? 1 : 2 PlasmaComponents.ProgressBar { - width: orientation === Qt.Vertical ? undefined : 100 - height: orientation === Qt.Vertical ? 100 : undefined + id: progressBar minimumValue: 0 maximumValue: 100 value: 50 orientation: root.orientation } PlasmaComponents.Slider { - width: orientation === Qt.Vertical ? undefined : 100 - height: orientation === Qt.Vertical ? 100 : undefined + width: progressBar.width + height: progressBar.height minimumValue: 0 maximumValue: 100 value: 50 @@ -71,9 +84,11 @@ ComponentBase { } } - Column { - Text { - text: "Make sure the bar does\nnot leak outside" + ColumnLayout { + PlasmaComponents.Label { + text: "Min: 0; Max: 200; Value: 1\nMake sure the bar does not leak outside." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { minimumValue: 0 @@ -83,9 +98,11 @@ ComponentBase { } } - Column { - Text { - text: "should look like 100%" + ColumnLayout { + PlasmaComponents.Label { + text: "Min: 0; Max: 100; Value: 110\nThe progress bar should look like it is at 100%." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { minimumValue: 0 @@ -95,9 +112,11 @@ ComponentBase { } } - Column { - Text { - text: "QA Style 50%" + ColumnLayout { + PlasmaComponents.Label { + text: "Min: -100; Max: 100; Value: 0\nThe progress bar should look like it is at 50%." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { minimumValue: -100 @@ -107,9 +126,11 @@ ComponentBase { } } - Column { - Text { - text: "should look like 0%" + ColumnLayout { + PlasmaComponents.Label { + text: "Min: 0; Max: 100; Value: -10\nThe progress bar should look like it is at 0%." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { minimumValue: 0 @@ -119,9 +140,11 @@ ComponentBase { } } - Column { - Text { - text: "should be a continuous movement,
from one end to the other and back" + ColumnLayout { + PlasmaComponents.Label { + text: "This should have a continuous movement from one end to the other and back." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { indeterminate: indeterminateCheckBox.checked @@ -130,9 +153,11 @@ ComponentBase { } } - Column { - Text { - text: "Checking and unchecking should not break the layout,
should look like 50% if unchecked" + ColumnLayout { + PlasmaComponents.Label { + text: "Checking and unchecking should not break the layout. The progress bar should look like it is at 50% if unchecked." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.CheckBox { id: indeterminateCheckBox @@ -141,8 +166,8 @@ ComponentBase { } } - Column { - Text { + ColumnLayout { + PlasmaComponents.Label { text: "Slider orientation" } PlasmaComponents.ComboBox { diff --git a/tests/components/progressbar3.qml b/tests/components/progressbar3.qml index 033896b4f..34cfbef2a 100644 --- a/tests/components/progressbar3.qml +++ b/tests/components/progressbar3.qml @@ -1,17 +1,25 @@ import QtQuick 2.0 - +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { id: root + title: "Plasma Components 3 ProgressBar" + property int progressBarWidth: testProgressBar.width - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + PlasmaComponents.ProgressBar { + id: testProgressBar + visible: false + } - Column { - Text { + contentItem: GridLayout { + columns: 6 + columnSpacing: PlasmaCore.Units.largeSpacing + rowSpacing: PlasmaCore.Units.largeSpacing + + ColumnLayout { + PlasmaComponents.Label { text: "0%" } PlasmaComponents.ProgressBar { @@ -21,8 +29,8 @@ ComponentBase { } } - Column { - Text { + ColumnLayout { + PlasmaComponents.Label { text: "50%" } PlasmaComponents.ProgressBar { @@ -32,8 +40,8 @@ ComponentBase { } } - Column { - Text { + ColumnLayout { + PlasmaComponents.Label { text: "100%" } PlasmaComponents.ProgressBar { @@ -43,9 +51,38 @@ ComponentBase { } } - Column { - Text { - text: "Make sure the bar does\nnot leak outside" + ColumnLayout { + PlasmaComponents.Label { + id: progressBarAndSliderLabel + text: "The progress bar and slider grooves should have the same visual width." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth + } + GridLayout { + id: progressBarAndSliderGrid + columns: 1 + rows: 2 + PlasmaComponents.ProgressBar { + id: progressBar + from: 0 + to: 100 + value: 50 + } + PlasmaComponents.Slider { + Layout.preferredWidth: progressBar.width + Layout.preferredHeight: progressBar.height + from: 0 + to: 100 + value: 50 + } + } + } + + ColumnLayout { + PlasmaComponents.Label { + text: "Min: 0; Max: 200; Value: 1\nMake sure the bar does not leak outside." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { from: 0 @@ -54,9 +91,11 @@ ComponentBase { } } - Column { - Text { - text: "should look like 100%" + ColumnLayout { + PlasmaComponents.Label { + text: "Min: 0; Max: 100; Value: 110\nThe progress bar should look like it is at 100%." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { from: 0 @@ -65,9 +104,11 @@ ComponentBase { } } - Column { - Text { - text: "QA Style 50%" + ColumnLayout { + PlasmaComponents.Label { + text: "Min: -100; Max: 100; Value: 0\nThe progress bar should look like it is at 50%." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { from: -100 @@ -76,9 +117,11 @@ ComponentBase { } } - Column { - Text { - text: "should look like 0%" + ColumnLayout { + PlasmaComponents.Label { + text: "Min: 0; Max: 100; Value: -10\nThe progress bar should look like it is at 0%." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { from: 0 @@ -87,9 +130,11 @@ ComponentBase { } } - Column { - Text { - text: "should be a continuous movement,
from one end to the other and back" + ColumnLayout { + PlasmaComponents.Label { + text: "This should have a continuous movement from one end to the other and back." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.ProgressBar { indeterminate: indeterminateCheckBox.checked @@ -97,9 +142,11 @@ ComponentBase { } } - Column { - Text { - text: "Checking and unchecking should not break the layout,
should look like 50% if unchecked" + ColumnLayout { + PlasmaComponents.Label { + text: "Checking and unchecking should not break the layout. The progress bar should look like it is at 50% if unchecked." + wrapMode: Text.WordWrap + Layout.preferredWidth: progressBarWidth } PlasmaComponents.CheckBox { id: indeterminateCheckBox diff --git a/tests/components/radiobutton.qml b/tests/components/radiobutton.qml index 273436492..809a92229 100644 --- a/tests/components/radiobutton.qml +++ b/tests/components/radiobutton.qml @@ -1,14 +1,15 @@ import QtQuick 2.0 - -import org.kde.plasma.components 2.0 as PlasmaComponents -import QtQuick.Controls 1.2 import QtQuick.Layouts 1.2 +import QtQuick.Controls 1.2 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { - Grid { - anchors.fill: parent - anchors.margins: 20 - spacing: 4 + id: root + title: "Plasma Components 2 RadioButton" + contentItem: GridLayout { + columnSpacing: PlasmaCore.Units.largeSpacing + rowSpacing: PlasmaCore.Units.smallSpacing columns: 2 PlasmaComponents.Label { diff --git a/tests/components/radiobutton3.qml b/tests/components/radiobutton3.qml index e04337cdf..494eb35bd 100644 --- a/tests/components/radiobutton3.qml +++ b/tests/components/radiobutton3.qml @@ -1,13 +1,14 @@ import QtQuick 2.0 - -import org.kde.plasma.components 3.0 as PlasmaComponents import QtQuick.Layouts 1.2 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { - Grid { - anchors.fill: parent - anchors.margins: 20 - spacing: 4 + id: root + title: "Plasma Components 3 RadioButton" + contentItem: GridLayout { + columnSpacing: PlasmaCore.Units.largeSpacing + rowSpacing: PlasmaCore.Units.smallSpacing columns: 2 PlasmaComponents.Label { diff --git a/tests/components/slider.qml b/tests/components/slider.qml new file mode 100644 index 000000000..4cd33825d --- /dev/null +++ b/tests/components/slider.qml @@ -0,0 +1,61 @@ +import QtQuick 2.0 +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as PlasmaComponents + +// Run with qmlscene to use qqc2-desktop-style + +ComponentBase { + id: root + title: "Plasma Components 2 Slider" + contentItem: GridLayout { + columnSpacing: PlasmaCore.Units.largeSpacing + rowSpacing: PlasmaCore.Units.largeSpacing + columns: 2 + + PlasmaComponents.Label { + text: "Horizontal slider" + } + PlasmaComponents.Slider { + id: horizontalSlider + minimumValue: minTextField.text + maximumValue: maxTextField.text + stepSize: stepSizeTextField.text + } + + PlasmaComponents.Label { + text: "Vertical slider" + } + PlasmaComponents.Slider { + id: verticalSlider + minimumValue: minTextField.text + maximumValue: maxTextField.text + stepSize: stepSizeTextField.text + orientation: Qt.Vertical + } + + PlasmaComponents.Label { + text: "from: " + } + PlasmaComponents.TextField { + id: minTextField + text: "0" + } + + PlasmaComponents.Label { + text: "to: " + } + PlasmaComponents.TextField { + id: maxTextField + text: "100" + } + + PlasmaComponents.Label { + text: "stepSize: " + } + PlasmaComponents.TextField { + id: stepSizeTextField + text: "1" + } + } +} diff --git a/tests/components/slider3.qml b/tests/components/slider3.qml index 9f96eab33..ea38df1d1 100644 --- a/tests/components/slider3.qml +++ b/tests/components/slider3.qml @@ -1,54 +1,69 @@ import QtQuick 2.0 -import QtQuick.Layouts 1.3 - -import org.kde.kirigami 2.5 as Kirigami -import org.kde.plasma.components 3.0 -import QtQuick.Controls 2.5 as QQC2 -import org.kde.plasma.components 2.0 as PC2 +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 3.0 as PlasmaComponents // Run with qmlscene to use qqc2-desktop-style -Kirigami.ApplicationWindow { - pageStack.initialPage: Kirigami.Page { - Kirigami.FormLayout { - anchors.fill: parent - PC2.Slider { - Layout.fillWidth: true - Kirigami.FormData.label: "PC2 slider" - maximumValue: slider.to - stepSize: slider.stepSize - } - QQC2.Slider { - Layout.fillWidth: true - Kirigami.FormData.label: "QQC2 slider" - to: slider.to - stepSize: slider.stepSize - } - Slider { - id: slider - Kirigami.FormData.label: "PC3 slider" - to: max.text - stepSize: 1 - clip: true - } - TextField { - id: max - Kirigami.FormData.label: "maximumValue: " - text: "100" - } - Label { - Kirigami.FormData.label: "value: " - text: slider.value - } - Slider { - Kirigami.FormData.label: "Choose step size: " - to: slider.to * 2 - onMoved: slider.stepSize = value - } - Label { - Kirigami.FormData.label: "Step size: " - text: slider.stepSize - } +ComponentBase { + id: root + title: "Plasma Components 3 Slider" + contentItem: GridLayout { + columnSpacing: PlasmaCore.Units.largeSpacing + rowSpacing: PlasmaCore.Units.largeSpacing + columns: 2 + + PlasmaComponents.Label { + text: "Horizontal slider" + } + PlasmaComponents.Slider { + id: horizontalSlider + from: minSpinBox.value + to: maxSpinBox.value + stepSize: stepSizeSpinBox.value + } + + PlasmaComponents.Label { + text: "Vertical slider" + } + PlasmaComponents.Slider { + id: verticalSlider + from: minSpinBox.value + to: maxSpinBox.value + stepSize: stepSizeSpinBox.value + orientation: Qt.Vertical + } + + PlasmaComponents.Label { + text: "from: " + } + PlasmaComponents.SpinBox { + id: minSpinBox + value: 0 + from: -999 + to: 999 + editable: true + } + + PlasmaComponents.Label { + text: "to: " + } + PlasmaComponents.SpinBox { + id: maxSpinBox + value: 100 + from: -999 + to: 999 + editable: true + } + + PlasmaComponents.Label { + text: "stepSize: " + } + PlasmaComponents.SpinBox { + id: stepSizeSpinBox + value: 1 + to: 999 + editable: true } } } diff --git a/tests/components/tabbar3.qml b/tests/components/tabbar3.qml index 3f770ce02..e013226dc 100644 --- a/tests/components/tabbar3.qml +++ b/tests/components/tabbar3.qml @@ -1,21 +1,20 @@ import QtQuick 2.0 - +import QtQuick.Layouts 1.12 import org.kde.plasma.core 2.0 as PlasmaCore - import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { - PlasmaComponents.TabBar { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 - + id: root + title: "Plasma Components 3 TabBar with TabButtons" + contentItem: PlasmaComponents.TabBar { + implicitWidth: tabButton2.implicitWidth*4 PlasmaComponents.TabButton { icon.name: "application-menu" text: "Icon Only" display: PlasmaComponents.TabButton.IconOnly } PlasmaComponents.TabButton { + id: tabButton2 icon.name: "application-menu" text: "Text Beside Icon" display: PlasmaComponents.TabButton.TextBesideIcon diff --git a/tests/components/textarea.qml b/tests/components/textarea.qml index 9968b1518..ffe694502 100644 --- a/tests/components/textarea.qml +++ b/tests/components/textarea.qml @@ -1,18 +1,17 @@ import QtQuick 2.0 - -import org.kde.plasma.components 2.0 as PlasmaComponents - +import QtQuick.Layouts 1.12 import QtQuick.Controls 1.3 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { id: root + title: "Plasma Components 2 TextArea" property string longText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at volutpat nibh, non elementum nulla. Nunc sem magna, semper sit amet sollicitudin et, vestibulum sed metus. Fusce tempor dolor purus, non posuere urna sodales in. Aenean eu erat ipsum. Fusce egestas pulvinar nisi. Mauris vel enim tincidunt, elementum diam sed, tincidunt nulla. Maecenas tempus vitae ligula et convallis. Nullam justo velit, dignissim a nisl at, blandit posuere leo. Maecenas ac scelerisque odio, eget placerat ipsum. Ut iaculis, tortor et ullamcorper fringilla, mauris neque dapibus arcu, eget suscipit libero libero ut nunc. Sed maximus enim a ligula facilisis, non efficitur dolor blandit. Curabitur venenatis mattis erat ac gravida." - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + contentItem: Flow { + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.TextArea { placeholderText: "CHEESE" diff --git a/tests/components/textarea3.qml b/tests/components/textarea3.qml index d91f9c992..a4c909a11 100644 --- a/tests/components/textarea3.qml +++ b/tests/components/textarea3.qml @@ -1,16 +1,16 @@ import QtQuick 2.0 - +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { id: root + title: "Plasma Components 3 TextArea" property string longText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at volutpat nibh, non elementum nulla. Nunc sem magna, semper sit amet sollicitudin et, vestibulum sed metus. Fusce tempor dolor purus, non posuere urna sodales in. Aenean eu erat ipsum. Fusce egestas pulvinar nisi. Mauris vel enim tincidunt, elementum diam sed, tincidunt nulla. Maecenas tempus vitae ligula et convallis. Nullam justo velit, dignissim a nisl at, blandit posuere leo. Maecenas ac scelerisque odio, eget placerat ipsum. Ut iaculis, tortor et ullamcorper fringilla, mauris neque dapibus arcu, eget suscipit libero libero ut nunc. Sed maximus enim a ligula facilisis, non efficitur dolor blandit. Curabitur venenatis mattis erat ac gravida." - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + contentItem: Flow { + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.TextArea { placeholderText: "CHEESE" diff --git a/tests/components/textfield.qml b/tests/components/textfield.qml index bc4a885f7..3c8738a37 100644 --- a/tests/components/textfield.qml +++ b/tests/components/textfield.qml @@ -1,17 +1,16 @@ import QtQuick 2.0 - -import org.kde.plasma.components 2.0 as PlasmaComponents - +import QtQuick.Layouts 1.12 import QtQuick.Controls 1.3 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { id: root + title: "Plasma Components 2 TextField" property string longText: "This is a longer sentence" - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + contentItem: Flow { + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.TextField { placeholderText: longText diff --git a/tests/components/textfield3.qml b/tests/components/textfield3.qml index 2a04eaa56..d7e03d5a2 100644 --- a/tests/components/textfield3.qml +++ b/tests/components/textfield3.qml @@ -1,15 +1,15 @@ import QtQuick 2.0 - +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { id: root + title: "Plasma Components 3 TextField" property string longText: "This is a longer sentence" - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + contentItem: Flow { + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.TextField { placeholderText: longText diff --git a/tests/components/toolbutton.qml b/tests/components/toolbutton.qml index 027cc78de..a4baf6259 100644 --- a/tests/components/toolbutton.qml +++ b/tests/components/toolbutton.qml @@ -1,20 +1,22 @@ import QtQuick 2.0 - +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 as PlasmaComponents ComponentBase { - Flow { - anchors.fill: parent - anchors.margins: 20 - spacing: 20 + id: root + title: "Plasma Components 2 ToolButton" + + contentItem: Flow { + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.ToolButton { - iconSource: "list-remove" + iconSource: "start-here-kde-plasma" text: "test" flat: true } PlasmaComponents.ToolButton { - iconSource: "list-remove" + iconSource: "start-here-kde-plasma" flat: true } PlasmaComponents.ToolButton { @@ -22,12 +24,12 @@ ComponentBase { flat: true } PlasmaComponents.ToolButton { - iconSource: "list-remove" + iconSource: "start-here-kde-plasma" text: "test" flat: false } PlasmaComponents.ToolButton { - iconSource: "list-remove" + iconSource: "start-here-kde-plasma" flat: false } PlasmaComponents.ToolButton { diff --git a/tests/components/toolbutton3.qml b/tests/components/toolbutton3.qml index a92e12448..8a04c6972 100644 --- a/tests/components/toolbutton3.qml +++ b/tests/components/toolbutton3.qml @@ -1,26 +1,25 @@ import QtQuick 2.0 import QtQuick.Layouts 1.4 - import org.kde.plasma.core 2.0 as PlasmaCore - import org.kde.plasma.components 3.0 as PlasmaComponents ComponentBase { - ColumnLayout { - anchors.fill: parent - anchors.margins: 20 + id: root + title: "Plasma Components 3 ToolButton" + + contentItem: ColumnLayout { Flow { Layout.fillWidth: true Layout.fillHeight: true - spacing: 20 + spacing: PlasmaCore.Units.gridUnit PlasmaComponents.ToolButton { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" text: "test" flat: true } PlasmaComponents.ToolButton { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" flat: true } PlasmaComponents.ToolButton { @@ -28,12 +27,12 @@ ComponentBase { flat: true } PlasmaComponents.ToolButton { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" text: "test" flat: false } PlasmaComponents.ToolButton { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" flat: false } PlasmaComponents.ToolButton { @@ -68,16 +67,16 @@ ComponentBase { text: "They should always be square:" } PlasmaComponents.ToolButton { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" } PlasmaComponents.ToolButton { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" } PlasmaComponents.ToolButton { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" } PlasmaComponents.ToolButton { - icon.name: "list-remove" + icon.name: "start-here-kde-plasma" } } PlasmaComponents.Label { @@ -99,8 +98,8 @@ ComponentBase { icon.name: "window-close" Layout.fillWidth: true Layout.fillHeight: true - icon.width: units.iconSizes.small - icon.height: units.iconSizes.small + icon.width: PlasmaCore.Units.iconSizes.small + icon.height: PlasmaCore.Units.iconSizes.small text: "Text" } PlasmaComponents.ToolButton { From 7574eee24e38c3e0e327a51a7e9828f518403e58 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Sat, 15 Aug 2020 20:29:05 -0400 Subject: [PATCH 24/30] Unify the flat/normal behavior of PC3 Buttons/ToolButtons Rather than duplicating the behaviors in both Button.qml and ToolButton.qml, leading to bugs and inconsistencies, the Button/ToolButton background code is split into separate reusable files. The correct background is used depending on whether or not flat mode is enabled. BUG: 425174 --- .../plasmacomponents3/Button.qml | 68 ++---- .../plasmacomponents3/ToolButton.qml | 79 ++----- .../private/ButtonBackground.qml | 90 ++++++++ .../plasmacomponents3/private/ButtonFocus.qml | 81 +++++++ .../plasmacomponents3/private/ButtonHover.qml | 85 +++++++ .../private/ButtonShadow.qml | 105 ++++----- .../private/FlatButtonBackground.qml | 194 ++++++++++++++++ .../private/RaisedButtonBackground.qml | 216 ++++++++++++++++++ .../plasmacomponents3/private/qmldir | 6 +- 9 files changed, 749 insertions(+), 175 deletions(-) create mode 100644 src/declarativeimports/plasmacomponents3/private/ButtonBackground.qml create mode 100644 src/declarativeimports/plasmacomponents3/private/ButtonFocus.qml create mode 100644 src/declarativeimports/plasmacomponents3/private/ButtonHover.qml create mode 100644 src/declarativeimports/plasmacomponents3/private/FlatButtonBackground.qml create mode 100644 src/declarativeimports/plasmacomponents3/private/RaisedButtonBackground.qml diff --git a/src/declarativeimports/plasmacomponents3/Button.qml b/src/declarativeimports/plasmacomponents3/Button.qml index 678c9d24d..11a3dd1dc 100644 --- a/src/declarativeimports/plasmacomponents3/Button.qml +++ b/src/declarativeimports/plasmacomponents3/Button.qml @@ -21,10 +21,10 @@ T.Button { Layout.minimumWidth: contentItem.implicitWidth + leftPadding + rightPadding - leftPadding: surfaceNormal.margins.left - topPadding: surfaceNormal.margins.top - rightPadding: surfaceNormal.margins.right - bottomPadding: surfaceNormal.margins.bottom + leftPadding: background.leftMargin + topPadding: background.topMargin + rightPadding: background.rightMargin + bottomPadding: background.bottomMargin hoverEnabled: !Kirigami.Settings.tabletMode @@ -36,7 +36,16 @@ T.Button { PlasmaCore.ColorScope.colorGroup: flat ? parent.PlasmaCore.ColorScope.colorGroup : PlasmaCore.Theme.ButtonColorGroup contentItem: GridLayout { + + /* Even though keyboardFocus is already defined as a property + * in the background, it's null when it reaches the contentItem. + * That means it has to be created here too unless a solution is found. + */ + property bool keyboardFocus: control.activeFocus && + (control.focusReason == Qt.TabFocusReason || control.focusReason == Qt.BacktabFocusReason) + columns: control.display == T.AbstractButton.TextBesideIcon ? 2 : 1 + PlasmaCore.IconItem { id: icon @@ -57,7 +66,7 @@ T.Button { colorGroup: PlasmaCore.Theme.ButtonColorGroup visible: source.length > 0 && control.display !== T.Button.TextOnly source: control.icon ? (control.icon.name || control.icon.source) : "" - status: !control.flat && buttonSvg.hasElement("hint-focus-highlighted-background") && control.activeFocus && !control.pressed && !control.checked ? PlasmaCore.Svg.Selected : PlasmaCore.Svg.Normal + status: !control.flat && buttonSvg.hasElement("hint-focus-highlighted-background") && contentItem.keyboardFocus && !control.pressed && !control.checked ? PlasmaCore.Svg.Selected : PlasmaCore.Svg.Normal } Label { id: label @@ -66,57 +75,18 @@ T.Button { text: control.Kirigami.MnemonicData.richTextLabel font: control.font opacity: enabled || control.highlighted || control.checked ? 1 : 0.4 - color: buttonSvg.hasElement("hint-focus-highlighted-background") && control.activeFocus && !control.down ? theme.highlightedTextColor : theme.buttonTextColor + color: buttonSvg.hasElement("hint-focus-highlighted-background") && contentItem.keyboardFocus && !control.down ? PlasmaCore.Theme.highlightedTextColor : PlasmaCore.Theme.buttonTextColor horizontalAlignment: control.display !== T.Button.TextUnderIcon && icon.visible ? Text.AlignLeft : Text.AlignHCenter verticalAlignment: Text.AlignVCenter elide: Text.ElideRight } - } - - background: Item { - Private.ButtonShadow { - anchors.fill: parent - visible: (!control.flat || control.hovered) && (!control.pressed || !control.checked) - state: { - if (control.pressed) { - return "hidden" - } else if (control.hovered) { - return "hover" - } else if (control.activeFocus) { - return "focus" - } else { - return "shadow" - } - } - } PlasmaCore.Svg { id: buttonSvg imagePath: "widgets/button" } - PlasmaCore.FrameSvgItem { - id: surfaceNormal - anchors.fill: parent - imagePath: "widgets/button" - prefix: control.activeFocus ? ["focus-background", "normal"] : "normal" - opacity: (!control.flat || control.hovered) && (!control.pressed || !control.checked) ? 1 : 0 - Behavior on opacity { - OpacityAnimator { - duration: units.longDuration - easing.type: Easing.InOutQuad - } - } - } - PlasmaCore.FrameSvgItem { - anchors.fill: parent - imagePath: "widgets/button" - prefix: "pressed" - opacity: control.checked || control.pressed ? 1 : 0 - Behavior on opacity { - OpacityAnimator { - duration: units.longDuration - easing.type: Easing.InOutQuad - } - } - } + } + + background: Private.ButtonBackground { + parentControl: control } } diff --git a/src/declarativeimports/plasmacomponents3/ToolButton.qml b/src/declarativeimports/plasmacomponents3/ToolButton.qml index 9e6abfe74..a14cfa209 100644 --- a/src/declarativeimports/plasmacomponents3/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents3/ToolButton.qml @@ -11,7 +11,6 @@ import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.kirigami 2.5 as Kirigami import "private" as Private - T.ToolButton { id: control @@ -20,14 +19,12 @@ T.ToolButton { implicitHeight: Math.max(units.gridUnit, contentItem.implicitHeight) + topPadding + bottomPadding - // for flat toolbuttons, we want to use margins from the pressed state since - // those are the ones which are appropriate for a button without a buttonlike - // appearance where we increase the size of the icon compared to buttonlike - // buttons - leftPadding: control.flat ? surfacePressed.margins.left : surfaceNormal.margins.left - topPadding: control.flat ? surfacePressed.margins.top : surfaceNormal.margins.top - rightPadding: control.flat ? surfacePressed.margins.right : surfaceNormal.margins.right - bottomPadding: control.flat ? surfacePressed.margins.bottom : surfaceNormal.margins.bottom + Layout.minimumWidth: contentItem.implicitWidth + leftPadding + rightPadding + + leftPadding: background.leftMargin + topPadding: background.topMargin + rightPadding: background.rightMargin + bottomPadding: background.bottomMargin hoverEnabled: !Kirigami.Settings.tabletMode @@ -41,6 +38,14 @@ T.ToolButton { PlasmaCore.ColorScope.colorGroup: flat ? parent.PlasmaCore.ColorScope.colorGroup : PlasmaCore.Theme.ButtonColorGroup contentItem: GridLayout { + + /* Even though keyboardFocus is already defined as a property + * in the background, it's null when it reaches the contentItem. + * That means it has to be created here too unless a solution is found. + */ + property bool keyboardFocus: control.activeFocus && + (control.focusReason == Qt.TabFocusReason || control.focusReason == Qt.BacktabFocusReason) + columns: control.display == T.AbstractButton.TextBesideIcon ? 2 : 1 PlasmaCore.IconItem { @@ -65,12 +70,12 @@ T.ToolButton { implicitWidth: control.icon.width > 0 ? control.icon.width : units.iconSizes.smallMedium implicitHeight: control.icon.height > 0 ? control.icon.height : units.iconSizes.smallMedium - colorGroup: control.PlasmaCore.ColorScope.colorGroup + colorGroup: PlasmaCore.ColorScope.colorGroup visible: source.length > 0 && control.display !== T.AbstractButton.TextOnly source: control.icon ? (control.icon.name || control.icon.source) : "" - status: !control.flat && control.activeFocus && !control.pressed && !control.checked ? PlasmaCore.Svg.Selected : PlasmaCore.Svg.Normal + status: !control.flat && contentItem.keyboardFocus && !control.pressed && !control.checked ? PlasmaCore.Svg.Selected : PlasmaCore.Svg.Normal } - + Label { id: label Layout.fillWidth: true @@ -82,7 +87,6 @@ T.ToolButton { horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter elide: Text.ElideRight - PlasmaCore.FrameSvgItem { id: buttonsurfaceChecker visible: false @@ -92,52 +96,7 @@ T.ToolButton { } } - background: Item { - Private.ButtonShadow { - anchors.fill: parent - readonly property bool keyboardFocus: control.activeFocus && - (control.focusReason == Qt.TabFocusReason || control.focusReason == Qt.BacktabFocusReason) - visible: (!control.flat || control.hovered || keyboardFocus) && (!control.pressed || !control.checked) - - state: { - if (control.pressed) { - return "hidden" - } else if (control.hovered) { - return "hover" - } else if (keyboardFocus) { - return "focus" - } else if (control.flat) { - return "hidden" - } else { - return "shadow" - } - } - } - PlasmaCore.FrameSvgItem { - id: surfaceNormal - anchors.fill: parent - imagePath: "widgets/button" - prefix: "normal" - opacity: !control.flat && (!control.pressed || !control.checked) ? 1 : 0 - Behavior on opacity { - OpacityAnimator { - duration: units.longDuration - easing.type: Easing.InOutQuad - } - } - } - PlasmaCore.FrameSvgItem { - id: surfacePressed - anchors.fill: parent - imagePath: "widgets/button" - prefix: control.flat ? "toolbutton-pressed" : "pressed" - opacity: control.checked || control.pressed ? 1 : 0 - Behavior on opacity { - OpacityAnimator { - duration: units.longDuration - easing.type: Easing.InOutQuad - } - } - } + background: Private.ButtonBackground { + parentControl: control } } diff --git a/src/declarativeimports/plasmacomponents3/private/ButtonBackground.qml b/src/declarativeimports/plasmacomponents3/private/ButtonBackground.qml new file mode 100644 index 000000000..f19035479 --- /dev/null +++ b/src/declarativeimports/plasmacomponents3/private/ButtonBackground.qml @@ -0,0 +1,90 @@ +/* + * SPDX-FileCopyrightText: 2020 Noah Davis + * SPDX-License-Identifier: LGPL-2.0-or-later + */ + +import QtQuick 2.6 +import QtQuick.Templates @QQC2_VERSION@ as T +import org.kde.plasma.core 2.0 as PlasmaCore + +Item { + id: root + // TODO: mark this required when our minimum Qt version is new enough + property T.AbstractButton parentControl + + // These should be used as the padding for the parent control + property real leftMargin + property real topMargin + property real rightMargin + property real bottomMargin + /* FIXME: This is null when passed to the parent control's contentItem. + * This is meant to be used to pass information about the current + * appearance of the button to the contentItem of the Button or + * ToolButton so that the icon and label can use the right color. + */ + property string usedPrefix + + readonly property bool keyboardFocus: parentControl.activeFocus && + (parentControl.focusReason == Qt.TabFocusReason || parentControl.focusReason == Qt.BacktabFocusReason) + + FlatButtonBackground { + id: flatButtonBackground + anchors.fill: parent + hovered: parentControl.hovered + pressed: parentControl.pressed + checked: parentControl.checked + focused: root.keyboardFocus + } + + RaisedButtonBackground { + id: raisedButtonBackground + anchors.fill: parent + hovered: parentControl.hovered + pressed: parentControl.pressed + checked: parentControl.checked + focused: root.keyboardFocus + } + + state: parentControl.flat ? "flat" : "raised" + + states: [ + State { + name: "flat" + PropertyChanges { + target: root + leftMargin: flatButtonBackground.leftMargin + topMargin: flatButtonBackground.topMargin + rightMargin: flatButtonBackground.rightMargin + bottomMargin: flatButtonBackground.bottomMargin + usedPrefix: flatButtonBackground.usedPrefix + } + PropertyChanges { + target: flatButtonBackground + visible: true + } + PropertyChanges { + target: raisedButtonBackground + visible: false + } + }, + State { + name: "raised" + PropertyChanges { + target: root + leftMargin: raisedButtonBackground.leftMargin + topMargin: raisedButtonBackground.topMargin + rightMargin: raisedButtonBackground.rightMargin + bottomMargin: raisedButtonBackground.bottomMargin + usedPrefix: raisedButtonBackground.usedPrefix + } + PropertyChanges { + target: flatButtonBackground + visible: false + } + PropertyChanges { + target: raisedButtonBackground + visible: true + } + } + ] +} diff --git a/src/declarativeimports/plasmacomponents3/private/ButtonFocus.qml b/src/declarativeimports/plasmacomponents3/private/ButtonFocus.qml new file mode 100644 index 000000000..796bc31a1 --- /dev/null +++ b/src/declarativeimports/plasmacomponents3/private/ButtonFocus.qml @@ -0,0 +1,81 @@ +/* + * SPDX-FileCopyrightText: 2020 Noah Davis + * SPDX-License-Identifier: LGPL-2.0-or-later + */ + +import QtQuick 2.12 +import org.kde.plasma.core 2.0 as PlasmaCore + +Item { + id: root + property bool showFocus: false + property bool flat: false + + property alias enabledBorders: focusEffect.enabledBorders + + PlasmaCore.FrameSvgItem { + id: focusEffect + anchors { + fill: parent + leftMargin: -margins.left + topMargin: -margins.top + rightMargin: -margins.right + bottomMargin: -margins.bottom + } + opacity: 0 + imagePath: "widgets/button" + prefix: flat ? ["toolbutton-focus", "focus"] : "focus" + } + + state: root.showFocus ? "focused" : "hidden" + + states: [ + State { + name: "focused" + PropertyChanges { + target: focusEffect + opacity: 1 + } + }, + State { + name: "hidden" + PropertyChanges { + target: focusEffect + opacity: 0 + } + } + ] + + transitions: [ + Transition { + from: "*" + to: "hidden" + SequentialAnimation { + OpacityAnimator { + duration: units.shortDuration + easing.type: Easing.OutQuad + } + PropertyAction { + target: root + property: "visible" + value: false + } + } + }, + Transition { + from: "*" + to: "focused" + SequentialAnimation { + PropertyAction { + target: root + property: "visible" + value: true + } + OpacityAnimator { + duration: units.shortDuration + easing.type: Easing.OutQuad + } + } + } + ] +} diff --git a/src/declarativeimports/plasmacomponents3/private/ButtonHover.qml b/src/declarativeimports/plasmacomponents3/private/ButtonHover.qml new file mode 100644 index 000000000..75f943210 --- /dev/null +++ b/src/declarativeimports/plasmacomponents3/private/ButtonHover.qml @@ -0,0 +1,85 @@ +/* + * SPDX-FileCopyrightText: 2020 Noah Davis + * SPDX-License-Identifier: LGPL-2.0-or-later + */ + +import QtQuick 2.12 +import org.kde.plasma.core 2.0 as PlasmaCore + +Item { + id: root + property bool showHover: false + // TODO KF6: If "toolbutton-hover" is made to behave like "hover", + // put the logic for flat button hover effects here. + + //used to tell apart this implementation with the touch components one + property bool hasOverState: true + property alias enabledBorders: hoverEffect.enabledBorders + + PlasmaCore.FrameSvgItem { + id: hoverEffect + anchors { + fill: parent + leftMargin: -margins.left + topMargin: -margins.top + rightMargin: -margins.right + bottomMargin: -margins.bottom + } + opacity: 0 + imagePath: "widgets/button" + prefix: "hover" + } + + state: root.showHover ? "hovered" : "hidden" + + states: [ + State { + name: "hovered" + PropertyChanges { + target: hoverEffect + opacity: 1 + } + }, + State { + name: "hidden" + PropertyChanges { + target: hoverEffect + opacity: 0 + } + } + ] + + transitions: [ + Transition { + from: "*" + to: "hidden" + SequentialAnimation { + OpacityAnimator { + duration: units.shortDuration + easing.type: Easing.OutQuad + } + PropertyAction { + target: root + property: "visible" + value: false + } + } + }, + Transition { + from: "*" + to: "hovered" + SequentialAnimation { + PropertyAction { + target: root + property: "visible" + value: true + } + OpacityAnimator { + // Using a shorter duration here makes things feel more responsive. + duration: units.shortDuration/2 + easing.type: Easing.OutQuad + } + } + } + ] +} diff --git a/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml b/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml index 54043f0ba..c3ff79bed 100644 --- a/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml +++ b/src/declarativeimports/plasmacomponents3/private/ButtonShadow.qml @@ -1,6 +1,7 @@ /* SPDX-FileCopyrightText: 2011 Daker Fernandes Pinheiro SPDX-FileCopyrightText: 2011 Marco Martin + SPDX-FileCopyrightText: 2020 Noah Davis SPDX-License-Identifier: LGPL-2.0-or-later */ @@ -20,34 +21,17 @@ TODO i need more info here Properties: **/ -import QtQuick 2.1 +import QtQuick 2.12 import org.kde.plasma.core 2.0 as PlasmaCore Item { - id: main - state: parent.state - //used to tell apart this implementation with the touch components one - property bool hasOverState: true - property alias enabledBorders: shadow.enabledBorders + id: root + property bool showShadow: true + + property alias enabledBorders: shadowEffect.enabledBorders PlasmaCore.FrameSvgItem { - id: hover - - anchors { - fill: parent - leftMargin: -margins.left - topMargin: -margins.top - rightMargin: -margins.right - bottomMargin: -margins.bottom - } - opacity: 0 - imagePath: "widgets/button" - prefix: "hover" - } - - PlasmaCore.FrameSvgItem { - id: shadow - + id: shadowEffect anchors { fill: parent leftMargin: -margins.left @@ -59,63 +43,54 @@ Item { prefix: "shadow" } + state: showShadow ? "shown" : "hidden" + states: [ State { - name: "shadow" + name: "shown" PropertyChanges { - target: shadow + target: shadowEffect opacity: 1 } - PropertyChanges { - target: hover - opacity: 0 - prefix: "hover" - } - }, - State { - name: "hover" - PropertyChanges { - target: shadow - opacity: 0 - } - PropertyChanges { - target: hover - opacity: 1 - prefix: "hover" - } - }, - State { - name: "focus" - PropertyChanges { - target: shadow - opacity: 0 - } - PropertyChanges { - target: hover - opacity: 1 - prefix: "focus" - } }, State { name: "hidden" PropertyChanges { - target: shadow + target: shadowEffect opacity: 0 } - PropertyChanges { - target: hover - opacity: 0 - prefix: "hover" - } } ] - transitions: [ Transition { - PropertyAnimation { - properties: "opacity" - duration: units.longDuration - easing.type: Easing.OutQuad + from: "*" + to: "shown" + SequentialAnimation { + PropertyAction { + target: root + property: "visible" + value: true + } + OpacityAnimator { + duration: units.shortDuration + easing.type: Easing.OutQuad + } + } + }, + Transition { + from: "*" + to: "hidden" + SequentialAnimation { + OpacityAnimator { + // Same duration as pressed and flat background hovered state animations + duration: units.shortDuration/2 + easing.type: Easing.OutQuad + } + PropertyAction { + target: root + property: "visible" + value: false + } } } ] diff --git a/src/declarativeimports/plasmacomponents3/private/FlatButtonBackground.qml b/src/declarativeimports/plasmacomponents3/private/FlatButtonBackground.qml new file mode 100644 index 000000000..b1d00b09d --- /dev/null +++ b/src/declarativeimports/plasmacomponents3/private/FlatButtonBackground.qml @@ -0,0 +1,194 @@ +/* + * SPDX-FileCopyrightText: 2020 Noah Davis + * SPDX-License-Identifier: LGPL-2.0-or-later + */ + +import QtQuick 2.6 +import org.kde.plasma.core 2.0 as PlasmaCore + +Item { + id: root + // TODO: Mark these required when our minimum Qt version is new enough. + property bool hovered + property bool pressed + property bool checked + property bool focused + + property real leftMargin: surfaceHover.margins.left + property real topMargin: surfaceHover.margins.top + property real rightMargin: surfaceHover.margins.right + property real bottomMargin: surfaceHover.margins.bottom + property string usedPrefix: surfaceHover.usedPrefix + + ButtonShadow { + anchors.fill: parent + showShadow: !(root.checked || root.pressed) && root.usedPrefix === "normal" + } + + ButtonFocus { + anchors.fill: parent + showFocus: root.focused && !root.pressed + flat: true + } + + // TODO: Maybe add a way to customize the look of normal state flat buttons with "toolbutton-normal"? + // TODO: Maybe add a way to customize the background of focused flat buttons with "toolbutton-focus-background"? + // TODO KF6: "flat" would be a more logical name than "toolbutton" since toolbuttons can be non-flat. + PlasmaCore.FrameSvgItem { + id: surfaceHover + anchors.fill: parent + imagePath: "widgets/button" + /* TODO KF6: making "toolbutton-hover" margins work like "hover" + * and using "hover" as a fallback would make more sense. + * If that is done, make ButtonHover handle flat button hover effects. + */ + // The fallback is "normal" to match PC2 behavior. Some 3rd party themes depend on this. + prefix: ["toolbutton-hover", "normal"] + opacity: 0 + } + + PlasmaCore.FrameSvgItem { + id: surfacePressed + anchors.fill: parent + imagePath: "widgets/button" + prefix: ["toolbutton-pressed", "pressed"] + opacity: 0 + } + + state: { + if (root.checked || root.pressed) { + return "pressed"; + } else if (root.hovered) { + return "hovered"; + } else { + return "normal"; + } + } + + states: [ + State { + name: "normal" + PropertyChanges { + target: root + leftMargin: surfaceHover.margins.left + topMargin: surfaceHover.margins.top + rightMargin: surfaceHover.margins.right + bottomMargin: surfaceHover.margins.bottom + usedPrefix: surfaceHover.usedPrefix + } + PropertyChanges { + target: surfaceHover + opacity: 0 + } + PropertyChanges { + target: surfacePressed + opacity: 0 + } + }, + State { + name: "hovered" + PropertyChanges { + target: root + leftMargin: surfaceHover.margins.left + topMargin: surfaceHover.margins.top + rightMargin: surfaceHover.margins.right + bottomMargin: surfaceHover.margins.bottom + usedPrefix: surfaceHover.usedPrefix + } + PropertyChanges { + target: surfaceHover + opacity: 1 + } + PropertyChanges { + target: surfacePressed + opacity: 0 + } + }, + State { + name: "pressed" + PropertyChanges { + target: root + leftMargin: surfacePressed.margins.left + topMargin: surfacePressed.margins.top + rightMargin: surfacePressed.margins.right + bottomMargin: surfacePressed.margins.bottom + usedPrefix: surfacePressed.usedPrefix + } + PropertyChanges { + target: surfaceHover + opacity: 0 + } + PropertyChanges { + target: surfacePressed + opacity: 1 + } + } + ] + + transitions: [ + /* FIXME: For some reason, one of the surfaces will stop working when + * OpacityAnimator is used. + * OpacityAnimator would be more efficient. + */ + Transition { + from: "*" + to: "normal" + SequentialAnimation { + NumberAnimation { + property: "opacity" + duration: units.shortDuration + easing.type: Easing.OutQuad + } + PropertyAction { + targets: [surfaceHover, surfacePressed] + property: "visible" + value: false + } + } + }, + Transition { + from: "*" + to: "hovered" + SequentialAnimation { + PropertyAction { + target: surfaceHover + property: "visible" + value: true + } + NumberAnimation { + property: "opacity" + // Using a shorter duration here makes things feel more responsive. + duration: units.shortDuration/2 + easing.type: Easing.OutQuad + } + PropertyAction { + target: surfacePressed + property: "visible" + value: false + } + } + }, + Transition { + from: "*" + to: "pressed" + SequentialAnimation { + PropertyAction { + target: surfacePressed + property: "visible" + value: true + } + NumberAnimation { + property: "opacity" + // Using a shorter duration here makes things feel more responsive. + duration: units.shortDuration/2 + easing.type: Easing.OutQuad + } + PropertyAction { + target: surfaceHover + property: "visible" + value: false + } + } + } + ] +} diff --git a/src/declarativeimports/plasmacomponents3/private/RaisedButtonBackground.qml b/src/declarativeimports/plasmacomponents3/private/RaisedButtonBackground.qml new file mode 100644 index 000000000..b1274a400 --- /dev/null +++ b/src/declarativeimports/plasmacomponents3/private/RaisedButtonBackground.qml @@ -0,0 +1,216 @@ +/* + * SPDX-FileCopyrightText: 2020 Noah Davis + * SPDX-License-Identifier: LGPL-2.0-or-later + */ + +import QtQuick 2.6 +import org.kde.plasma.core 2.0 as PlasmaCore + +Item { + id: root + // TODO: Mark these required when our minimum Qt version is new enough. + property bool hovered + property bool pressed + property bool checked + property bool focused + + property real leftMargin: surfaceNormal.margins.left + property real topMargin: surfaceNormal.margins.top + property real rightMargin: surfaceNormal.margins.right + property real bottomMargin: surfaceNormal.margins.bottom + property string usedPrefix: surfaceNormal.usedPrefix + + ButtonShadow { + anchors.fill: parent + showShadow: !(root.checked || root.pressed) + } + + PlasmaCore.FrameSvgItem { + id: surfaceNormal + anchors.fill: parent + imagePath: "widgets/button" + prefix: "normal" + opacity: 1 + } + + // Intentionally lower than surfacePressed, surfaceFocused + ButtonFocus { + anchors.fill: parent + showFocus: root.focused && !root.pressed + } + + // Intentionally lower than surfacePressed and surfaceFocused + ButtonHover { + anchors.fill: parent + showHover: root.hovered && !root.pressed + } + + PlasmaCore.FrameSvgItem { + id: surfacePressed + anchors.fill: parent + imagePath: "widgets/button" + prefix: "pressed" + opacity: 0 + } + + PlasmaCore.FrameSvgItem { + id: surfaceFocused + anchors.fill: parent + imagePath: "widgets/button" + prefix: ["focus-background", "normal"] + opacity: 0 + } + + state: { + if (root.checked || root.pressed) { + return "pressed"; + } else if (focused && surfaceFocused.usedPrefix != "normal") { + return "focused"; + } else { + return "normal"; + } + } + + states: [ + State { + name: "normal" + PropertyChanges { + target: root + leftMargin: surfaceNormal.margins.left + topMargin: surfaceNormal.margins.top + rightMargin: surfaceNormal.margins.right + bottomMargin: surfaceNormal.margins.bottom + usedPrefix: surfaceNormal.usedPrefix + } + PropertyChanges { + target: surfaceNormal + opacity: 1 + } + PropertyChanges { + target: surfacePressed + opacity: 0 + } + PropertyChanges { + target: surfaceFocused + opacity: 0 + } + }, + State { + name: "pressed" + PropertyChanges { + target: root + leftMargin: surfacePressed.margins.left + topMargin: surfacePressed.margins.top + rightMargin: surfacePressed.margins.right + bottomMargin: surfacePressed.margins.bottom + usedPrefix: surfacePressed.usedPrefix + } + PropertyChanges { + target: surfaceNormal + opacity: 0 + } + PropertyChanges { + target: surfacePressed + opacity: 1 + } + PropertyChanges { + target: surfaceFocused + opacity: 0 + } + }, + State { + name: "focused" + PropertyChanges { + target: root + leftMargin: surfaceFocused.margins.left + topMargin: surfaceFocused.margins.top + rightMargin: surfaceFocused.margins.right + bottomMargin: surfaceFocused.margins.bottom + usedPrefix: surfaceFocused.usedPrefix + } + PropertyChanges { + target: surfaceNormal + opacity: 0 + } + PropertyChanges { + target: surfacePressed + opacity: 0 + } + PropertyChanges { + target: surfaceFocused + opacity: 1 + } + } + ] + + transitions: [ + /* FIXME: For some reason, one of the surfaces will stop working when + * OpacityAnimator is used. + * OpacityAnimator would be more efficient. + */ + Transition { + from: "*" + to: "normal" + SequentialAnimation { + PropertyAction { + target: surfaceNormal + property: "visible" + value: true + } + NumberAnimation { + property: "opacity" + duration: units.shortDuration + easing.type: Easing.OutQuad + } + PropertyAction { + targets: [surfacePressed, surfaceFocused] + property: "visible" + value: false + } + } + }, + Transition { + from: "*" + to: "pressed" + SequentialAnimation { + PropertyAction { + target: surfacePressed + property: "visible" + value: true + } + NumberAnimation { + property: "opacity" + // Using a shorter duration here makes things feel more responsive. + duration: units.shortDuration/2 + easing.type: Easing.OutQuad + } + PropertyAction { + targets: [surfaceNormal, surfaceFocused] + property: "visible" + value: false + } + } + }, + Transition { + from: "*" + to: "focused" + SequentialAnimation { + PropertyAction { + target: surfaceFocused + property: "visible" + value: true + } + NumberAnimation { + property: "opacity" + duration: units.shortDuration + easing.type: Easing.OutQuad + } + PropertyAction { + targets: [surfaceNormal, surfacePressed] + property: "visible" + value: false + } + } + } + ] +} diff --git a/src/declarativeimports/plasmacomponents3/private/qmldir b/src/declarativeimports/plasmacomponents3/private/qmldir index d91a06928..2d260ccea 100644 --- a/src/declarativeimports/plasmacomponents3/private/qmldir +++ b/src/declarativeimports/plasmacomponents3/private/qmldir @@ -1,5 +1,9 @@ - +ButtonBackground 1.0 ButtonBackground.qml +ButtonFocus 1.0 ButtonFocus.qml +ButtonHoverFocus 1.0 ButtonHoverFocus.qml ButtonShadow 1.0 ButtonShadow.qml DefaultListItemBackground 1.0 DefaultListItemBackground.qml +FlatButtonBackground 1.0 FlatButtonBackground.qml +RaisedButtonBackground 1.0 RaisedButtonBackground.qml RoundShadow 1.0 RoundShadow.qml TextFieldFocus 1.0 TextFieldFocus.qml From c31edc876b822038dcaa5094f8ef3be7691f2707 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Thu, 20 Aug 2020 19:40:46 -0400 Subject: [PATCH 25/30] Use ButtonFocus and ButtonHover in PC3 CheckIndicator --- .../plasmacomponents3/CheckIndicator.qml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/CheckIndicator.qml b/src/declarativeimports/plasmacomponents3/CheckIndicator.qml index a80a42f1c..04322f5c8 100644 --- a/src/declarativeimports/plasmacomponents3/CheckIndicator.qml +++ b/src/declarativeimports/plasmacomponents3/CheckIndicator.qml @@ -17,6 +17,11 @@ PlasmaCore.FrameSvgItem { implicitHeight: implicitWidth opacity: control.enabled ? 1 : 0.6 + Private.ButtonShadow { + anchors.fill: parent + showShadow: !control.pressed + } + PlasmaCore.SvgItem { svg: PlasmaCore.Svg { id: checkmarkSvg @@ -47,9 +52,14 @@ PlasmaCore.FrameSvgItem { } } } - Private.ButtonShadow { - z: -1 + + Private.ButtonFocus { anchors.fill: parent - state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "shadow") + showFocus: control.activeFocus && !control.pressed + } + + Private.ButtonHover { + anchors.fill: parent + showHover: control.hovered && !control.pressed } } From 89b7d0afb59ddc54f86220a279f513dd75f03116 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Thu, 20 Aug 2020 21:05:43 -0400 Subject: [PATCH 26/30] Use ButtonFocus and ButtonHover in PC3 RoundButton --- .../plasmacomponents3/RoundButton.qml | 36 +++++++++++-------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/RoundButton.qml b/src/declarativeimports/plasmacomponents3/RoundButton.qml index 8a5309cb7..5dda03d7d 100644 --- a/src/declarativeimports/plasmacomponents3/RoundButton.qml +++ b/src/declarativeimports/plasmacomponents3/RoundButton.qml @@ -52,6 +52,8 @@ T.RoundButton { background: Item { opacity: control.enabled ? 1 : 0.6 + // Round Button + PlasmaCore.Svg { id: buttonSvg imagePath: "widgets/actionbutton" @@ -87,27 +89,22 @@ T.RoundButton { } } + // Normal Button + // TODO: Make round button always round? + + readonly property bool useNormalButton: control.text.length > 0 + Private.ButtonShadow { anchors.fill: parent - visible: control.text.length > 0 && (!control.flat || control.hovered) && (!control.pressed || !control.checked) - state: { - if (control.pressed) { - return "hidden" - } else if (control.hovered) { - return "hover" - } else if (control.activeFocus) { - return "focus" - } else { - return "shadow" - } - } + showShadow: background.useNormalButton && !control.flat && (!control.pressed || !control.checked) } + PlasmaCore.FrameSvgItem { id: surfaceNormal anchors.fill: parent imagePath: "widgets/button" prefix: "normal" - opacity: control.text.length > 0 && (!control.flat || control.hovered) && (!control.pressed || !control.checked) ? 1 : 0 + opacity: background.useNormalButton && (!control.flat || control.hovered) && (!control.pressed || !control.checked) ? 1 : 0 Behavior on opacity { OpacityAnimator { duration: units.longDuration @@ -115,11 +112,22 @@ T.RoundButton { } } } + + Private.ButtonFocus { + anchors.fill: parent + showFocus: background.useNormalButton && control.activeFocus && !control.pressed + } + + Private.ButtonHover { + anchors.fill: parent + showHover: background.useNormalButton && control.hovered && !control.pressed + } + PlasmaCore.FrameSvgItem { anchors.fill: parent imagePath: "widgets/button" prefix: "pressed" - visible: control.text.length > 0 + visible: background.useNormalButton opacity: control.checked || control.pressed ? 1 : 0 Behavior on opacity { OpacityAnimator { From 8fe3f656e8fe4759bac2903acbfdeb98bafc6102 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Thu, 20 Aug 2020 21:06:34 -0400 Subject: [PATCH 27/30] Add PC3 RoundButton test and add flat buttons to PC3 Button test --- tests/components/button3.qml | 335 +++++++++++++++++++++--------- tests/components/roundbutton3.qml | 268 ++++++++++++++++++++++++ 2 files changed, 501 insertions(+), 102 deletions(-) create mode 100644 tests/components/roundbutton3.qml diff --git a/tests/components/button3.qml b/tests/components/button3.qml index d564c3dcf..46830dfd5 100644 --- a/tests/components/button3.qml +++ b/tests/components/button3.qml @@ -2,131 +2,262 @@ import QtQuick 2.0 import QtQuick.Layouts 1.2 import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 as PlasmaComponents +import org.kde.plasma.extras 2.0 as PlasmaExtras ComponentBase { id: root title: "PlasmaComponents 3 Button" - contentItem: GridLayout { - rowSpacing: PlasmaCore.Units.smallSpacing - columnSpacing: PlasmaCore.Units.largeSpacing - columns: 2 + contentItem: ColumnLayout { + GridLayout { + rowSpacing: PlasmaCore.Units.smallSpacing + columnSpacing: PlasmaCore.Units.largeSpacing + columns: 2 - PlasmaComponents.Label { - text: "icon + text" - } + PlasmaComponents.Label { + text: "icon + text" + } - PlasmaComponents.Button { - icon.name: "start-here-kde-plasma" - text: "test" - } + PlasmaComponents.Button { + icon.name: "start-here-kde-plasma" + text: "test" + } - PlasmaComponents.Label { - text: "icon alone, should look small and square" - } + PlasmaComponents.Label { + text: "icon alone, should look small and square" + } - PlasmaComponents.Button { - icon.name: "start-here-kde-plasma" - } + PlasmaComponents.Button { + icon.name: "start-here-kde-plasma" + } - PlasmaComponents.Label { - text: "text alone, should be about as wide as the text itself" - } + PlasmaComponents.Label { + text: "text alone, should be about as wide as the text itself" + } - PlasmaComponents.Button { - text: "test" - } - - PlasmaComponents.Label { - text: "This should look highlighted on load" - } - - PlasmaComponents.Button { - text: "test" - focus: true - } - - PlasmaComponents.Label { - text: "long text, should expand to fit" - } - - PlasmaComponents.Button { - icon.name: "start-here-kde-plasma" - text: "This is a really really really really long button" - } - - PlasmaComponents.Label { - text: "long text but constrained, should be 150px and elided" - } - - PlasmaComponents.Button { - icon.name: "start-here-kde-plasma" - text: "This is a really really really really long button" - Layout.maximumWidth: 150 - } - - - PlasmaComponents.Label { - text: "button (with or without icon) and textfield should have the same height" - } - - RowLayout { PlasmaComponents.Button { text: "test" } + + PlasmaComponents.Label { + text: "This should look highlighted on load" + } + PlasmaComponents.Button { - icon.name: "application-menu" text: "test" + focus: true } - PlasmaComponents.TextField { - } - } - PlasmaComponents.Label { - text: "minimum width property. Should be two letters wide" - } + PlasmaComponents.Label { + text: "long text, should expand to fit" + } - RowLayout { PlasmaComponents.Button { - text: "AA" - implicitWidth: Layout.minimumWidth + icon.name: "start-here-kde-plasma" + text: "This is a really really really really long button" } - PlasmaComponents.Button { - icon.name: "application-menu" - text: "AA" - implicitWidth: Layout.minimumWidth - } - PlasmaComponents.Button { - icon.name: "application-menu" - implicitWidth: Layout.minimumWidth - } - } - PlasmaComponents.Label { - text: "Display property" - } - RowLayout { - PlasmaComponents.Button { - icon.name: "application-menu" - text: "Icon Only" - display: PlasmaComponents.Button.IconOnly + PlasmaComponents.Label { + text: "long text but constrained, should be 150px and elided" } - PlasmaComponents.Button { - icon.name: "application-menu" - text: "Text Beside Icon" - display: PlasmaComponents.Button.TextBesideIcon - } - PlasmaComponents.Button { - icon.name: "application-menu" - text: "Text Under Icon" - display: PlasmaComponents.Button.TextUnderIcon - } - PlasmaComponents.Button { - icon.name: "application-menu" - text: "Text Only" - display: PlasmaComponents.Button.TextOnly - } - } + PlasmaComponents.Button { + icon.name: "start-here-kde-plasma" + text: "This is a really really really really long button" + Layout.maximumWidth: 150 + } + + + PlasmaComponents.Label { + text: "button (with or without icon) and textfield should have the same height" + } + + RowLayout { + PlasmaComponents.Button { + text: "test" + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "test" + } + PlasmaComponents.TextField { + } + } + + PlasmaComponents.Label { + text: "minimum width property. Should be two letters wide" + } + + RowLayout { + PlasmaComponents.Button { + text: "AA" + implicitWidth: Layout.minimumWidth + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "AA" + implicitWidth: Layout.minimumWidth + } + PlasmaComponents.Button { + icon.name: "application-menu" + implicitWidth: Layout.minimumWidth + } + } + + PlasmaComponents.Label { + text: "Display property" + } + RowLayout { + PlasmaComponents.Button { + icon.name: "application-menu" + text: "Icon Only" + display: PlasmaComponents.Button.IconOnly + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "Text Beside Icon" + display: PlasmaComponents.Button.TextBesideIcon + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "Text Under Icon" + display: PlasmaComponents.Button.TextUnderIcon + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "Text Only" + display: PlasmaComponents.Button.TextOnly + } + } + } + PlasmaExtras.Heading { + text: "Flat Buttons" + } + GridLayout { + rowSpacing: PlasmaCore.Units.smallSpacing + columnSpacing: PlasmaCore.Units.largeSpacing + columns: 2 + + PlasmaComponents.Label { + text: "icon + text" + } + + PlasmaComponents.Button { + icon.name: "start-here-kde-plasma" + text: "test" + flat: true + } + + PlasmaComponents.Label { + text: "icon alone, should look small and square" + } + + PlasmaComponents.Button { + icon.name: "start-here-kde-plasma" + flat: true + } + + PlasmaComponents.Label { + text: "text alone, should be about as wide as the text itself" + } + + PlasmaComponents.Button { + text: "test" + flat: true + } + + PlasmaComponents.Label { + text: "long text, should expand to fit" + } + + PlasmaComponents.Button { + icon.name: "start-here-kde-plasma" + text: "This is a really really really really long button" + flat: true + } + + PlasmaComponents.Label { + text: "long text but constrained, should be 150px and elided" + } + + PlasmaComponents.Button { + icon.name: "start-here-kde-plasma" + text: "This is a really really really really long button" + Layout.maximumWidth: 150 + flat: true + } + + + PlasmaComponents.Label { + text: "button (with or without icon) and textfield should have the same height" + } + + RowLayout { + PlasmaComponents.Button { + text: "test" + flat: true + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "test" + flat: true + } + PlasmaComponents.TextField { + } + } + + PlasmaComponents.Label { + text: "minimum width property. Should be two letters wide" + } + + RowLayout { + PlasmaComponents.Button { + text: "AA" + implicitWidth: Layout.minimumWidth + flat: true + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "AA" + implicitWidth: Layout.minimumWidth + flat: true + } + PlasmaComponents.Button { + icon.name: "application-menu" + implicitWidth: Layout.minimumWidth + flat: true + } + } + + PlasmaComponents.Label { + text: "Display property" + } + RowLayout { + PlasmaComponents.Button { + icon.name: "application-menu" + text: "Icon Only" + display: PlasmaComponents.Button.IconOnly + flat: true + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "Text Beside Icon" + display: PlasmaComponents.Button.TextBesideIcon + flat: true + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "Text Under Icon" + display: PlasmaComponents.Button.TextUnderIcon + flat: true + } + PlasmaComponents.Button { + icon.name: "application-menu" + text: "Text Only" + display: PlasmaComponents.Button.TextOnly + flat: true + } + } + } } } diff --git a/tests/components/roundbutton3.qml b/tests/components/roundbutton3.qml new file mode 100644 index 000000000..36947296f --- /dev/null +++ b/tests/components/roundbutton3.qml @@ -0,0 +1,268 @@ +/* + * SPDX-FileCopyrightText: 2020 Noah Davis + * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL + */ + +import QtQuick 2.12 +import QtQuick.Layouts 1.12 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.components 3.0 as PlasmaComponents +import org.kde.plasma.extras 2.0 as PlasmaExtras + +ComponentBase { + id: root + title: "Plasma Components 3 RoundButton" + contentItem: ColumnLayout { + GridLayout { + rowSpacing: PlasmaCore.Units.smallSpacing + columnSpacing: PlasmaCore.Units.largeSpacing + columns: 2 + + PlasmaComponents.Label { + text: "icon + text" + } + + PlasmaComponents.RoundButton { + icon.name: "start-here-kde-plasma" + text: "test" + } + + PlasmaComponents.Label { + text: "icon alone, should look small and square" + } + + PlasmaComponents.RoundButton { + icon.name: "start-here-kde-plasma" + } + + PlasmaComponents.Label { + text: "text alone, should be about as wide as the text itself" + } + + PlasmaComponents.RoundButton { + text: "test" + } + + PlasmaComponents.Label { + text: "This should look highlighted on load" + } + + PlasmaComponents.RoundButton { + text: "test" + focus: true + } + + PlasmaComponents.Label { + text: "long text, should expand to fit" + } + + PlasmaComponents.RoundButton { + icon.name: "start-here-kde-plasma" + text: "This is a really really really really long button" + } + + PlasmaComponents.Label { + text: "long text but constrained, should be 150px and elided" + } + + PlasmaComponents.RoundButton { + icon.name: "start-here-kde-plasma" + text: "This is a really really really really long button" + Layout.maximumWidth: 150 + } + + + PlasmaComponents.Label { + text: "button (with or without icon) and textfield should have the same height" + } + + RowLayout { + PlasmaComponents.RoundButton { + text: "test" + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "test" + } + PlasmaComponents.TextField { + } + } + + PlasmaComponents.Label { + text: "minimum width property. Should be two letters wide" + } + + RowLayout { + PlasmaComponents.RoundButton { + text: "AA" + implicitWidth: Layout.minimumWidth + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "AA" + implicitWidth: Layout.minimumWidth + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + implicitWidth: Layout.minimumWidth + } + } + + PlasmaComponents.Label { + text: "Display property" + } + RowLayout { + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "Icon Only" + display: PlasmaComponents.RoundButton.IconOnly + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "Text Beside Icon" + display: PlasmaComponents.RoundButton.TextBesideIcon + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "Text Under Icon" + display: PlasmaComponents.RoundButton.TextUnderIcon + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "Text Only" + display: PlasmaComponents.RoundButton.TextOnly + } + } + + } + PlasmaExtras.Heading { + text: "Flat Buttons" + } + GridLayout { + rowSpacing: PlasmaCore.Units.smallSpacing + columnSpacing: PlasmaCore.Units.largeSpacing + columns: 2 + + PlasmaComponents.Label { + text: "icon + text" + } + + PlasmaComponents.RoundButton { + icon.name: "start-here-kde-plasma" + text: "test" + flat: true + } + + PlasmaComponents.Label { + text: "icon alone, should look small and square" + } + + PlasmaComponents.RoundButton { + icon.name: "start-here-kde-plasma" + flat: true + } + + PlasmaComponents.Label { + text: "text alone, should be about as wide as the text itself" + } + + PlasmaComponents.RoundButton { + text: "test" + flat: true + } + + PlasmaComponents.Label { + text: "long text, should expand to fit" + } + + PlasmaComponents.RoundButton { + icon.name: "start-here-kde-plasma" + text: "This is a really really really really long button" + flat: true + } + + PlasmaComponents.Label { + text: "long text but constrained, should be 150px and elided" + } + + PlasmaComponents.RoundButton { + icon.name: "start-here-kde-plasma" + text: "This is a really really really really long button" + Layout.maximumWidth: 150 + flat: true + } + + + PlasmaComponents.Label { + text: "button (with or without icon) and textfield should have the same height" + } + + RowLayout { + PlasmaComponents.RoundButton { + text: "test" + flat: true + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "test" + flat: true + } + PlasmaComponents.TextField { + } + } + + PlasmaComponents.Label { + text: "minimum width property. Should be two letters wide" + } + + RowLayout { + PlasmaComponents.RoundButton { + text: "AA" + implicitWidth: Layout.minimumWidth + flat: true + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "AA" + implicitWidth: Layout.minimumWidth + flat: true + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + implicitWidth: Layout.minimumWidth + flat: true + } + } + + PlasmaComponents.Label { + text: "Display property" + } + RowLayout { + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "Icon Only" + display: PlasmaComponents.RoundButton.IconOnly + flat: true + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "Text Beside Icon" + display: PlasmaComponents.RoundButton.TextBesideIcon + flat: true + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "Text Under Icon" + display: PlasmaComponents.RoundButton.TextUnderIcon + flat: true + } + PlasmaComponents.RoundButton { + icon.name: "application-menu" + text: "Text Only" + display: PlasmaComponents.RoundButton.TextOnly + flat: true + } + } + } + } +} From a4e7ea68072788d90eb43463f18cb5b266c315f3 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Thu, 20 Aug 2020 22:25:33 -0400 Subject: [PATCH 28/30] Use ButtonFocus and ButtonHover in PC3 ComboBox --- .../plasmacomponents3/ComboBox.qml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/ComboBox.qml b/src/declarativeimports/plasmacomponents3/ComboBox.qml index f31316d14..70b4c85cb 100644 --- a/src/declarativeimports/plasmacomponents3/ComboBox.qml +++ b/src/declarativeimports/plasmacomponents3/ComboBox.qml @@ -185,27 +185,27 @@ T.ComboBox { prefix: editable ? "base" : (control.pressed ? "pressed" : "normal") + + Private.ButtonShadow { + anchors.fill: parent + showShadow: !parent.editable && !control.pressed + } + Private.TextFieldFocus { visible: parent.editable z: -1 state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "hidden") anchors.fill: parent } - Private.ButtonShadow { - z: -1 - visible: !parent.editable + + Private.ButtonFocus { anchors.fill: parent - state: { - if (control.pressed) { - return "hidden" - } else if (control.hovered) { - return "hover" - } else if (control.activeFocus) { - return "focus" - } else { - return "shadow" - } - } + showFocus: control.activeFocus && !control.pressed + } + + Private.ButtonHover { + anchors.fill: parent + showHover: control.hovered && !control.pressed } MouseArea { From 3509283d63463ab1fb002ad1d143e4c2157f61c0 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Sat, 22 Aug 2020 22:32:22 -0400 Subject: [PATCH 29/30] Make PC3 BusyIndicator visuals keep a 1:1 aspect ratio Updated the tests so that you can see if the aspect ratio is correct. Made an animated transition for when `control.running` is false. Removed the code that updates the RotationAnimator when control.running changes since it didn't work. Set padding to 0 (see comment). BUG: 425504 --- .../plasmacomponents3/BusyIndicator.qml | 125 ++++++++++++++---- tests/components/busyindicator.qml | 22 ++- tests/components/busyindicator3.qml | 20 ++- 3 files changed, 136 insertions(+), 31 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/BusyIndicator.qml b/src/declarativeimports/plasmacomponents3/BusyIndicator.qml index eaa9ac333..e76636e7a 100644 --- a/src/declarativeimports/plasmacomponents3/BusyIndicator.qml +++ b/src/declarativeimports/plasmacomponents3/BusyIndicator.qml @@ -12,38 +12,109 @@ import org.kde.plasma.core 2.0 as PlasmaCore T.BusyIndicator { id: control - implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding - implicitHeight: contentItem.implicitHeight + topPadding + bottomPadding + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) - padding: units.smallSpacing + /* PC2 BusyIndicator didn't have padding or margins and + * BusyIndicator doesn't need padding since it has no background. + * A Control containing a BusyIndicator can have padding instead + * (e.g., a ToolBar, a Page or maybe a widget in a Plasma panel). + */ + padding: 0 - contentItem: PlasmaCore.SvgItem { - id: indicatorItem - visible: control.running - svg: PlasmaCore.Svg { - imagePath: "widgets/busywidget" - colorGroup: PlasmaCore.ColorScope.colorGroup - } - elementId: "busywidget" + contentItem: Item { + /* implicitWidth and implicitHeight won't work unless they come + * from a child of the contentItem. No idea why. + */ + implicitWidth: PlasmaCore.Units.gridUnit * 2 + implicitHeight: implicitWidth - implicitWidth: units.gridUnit * 2 - implicitHeight: units.gridUnit * 2 + PlasmaCore.SvgItem { + id: busyIndicatorSvgItem - Connections { - target: control - onRunningChanged: { - rotationAnimator.from = rotation - rotationAnimator.to = rotation + 360 + /* Do not use `anchors.fill: parent` in here or else + * the aspect ratio won't always be 1:1. + */ + width: Math.min(parent.width, parent.height) + height: width + + svg: PlasmaCore.Svg { + imagePath: "widgets/busywidget" + colorGroup: PlasmaCore.ColorScope.colorGroup + } + elementId: "busywidget" + + RotationAnimator on rotation { + id: rotationAnimator + from: 0 + to: 360 + duration: 2000 + loops: Animation.Infinite } } - - RotationAnimator on rotation { - id: rotationAnimator - from: 0 - to: 360 - duration: 2000 - running: control.running && indicatorItem.visible && indicatorItem.opacity > 0; - loops: Animation.Infinite - } } + + state: control.running ? "running" : "hidden" + + states: [ + State { + name: "hidden" + PropertyChanges { + target: contentItem + opacity: 0 + } + }, + State { + name: "running" + PropertyChanges { + target: contentItem + opacity: 1 + } + } + ] + + transitions: [ + Transition { + from: "*" + to: "hidden" + SequentialAnimation { + OpacityAnimator { + duration: PlasmaCore.Units.shortDuration + easing.type: Easing.OutQuad + } + PropertyAction { + target: contentItem + property: "visible" + value: false + } + } + PropertyAction { + target: rotationAnimator + property: "running" + value: false + } + }, + Transition { + from: "*" + to: "running" + PropertyAction { + target: rotationAnimator + property: "running" + value: true + } + SequentialAnimation { + PropertyAction { + target: contentItem + property: "visible" + value: true + } + OpacityAnimator { + duration: PlasmaCore.Units.shortDuration + easing.type: Easing.OutQuad + } + } + } + ] } diff --git a/tests/components/busyindicator.qml b/tests/components/busyindicator.qml index 523b62977..597c8bc0b 100644 --- a/tests/components/busyindicator.qml +++ b/tests/components/busyindicator.qml @@ -11,15 +11,31 @@ ComponentBase { PlasmaComponents.Label { wrapMode: Text.WordWrap - text: "When checking and unchecking the checkbox, " + - "the busy indicator should resume where it has " + - "paused and not glitch around." + text: "The BusyIndicator should have a height of 16px and should have a 1:1 aspect ratio" + Layout.preferredWidth: Math.max(busyIndicatorLayout.width, root.implicitHeaderWidth) + } + PlasmaComponents.BusyIndicator { + Layout.preferredHeight: 16 + } + + PlasmaComponents.Label { + wrapMode: Text.WordWrap + text: "The BusyIndicator should use its implicit size." + Layout.preferredWidth: Math.max(busyIndicatorLayout.width, root.implicitHeaderWidth) + } + PlasmaComponents.BusyIndicator {} + + PlasmaComponents.Label { + wrapMode: Text.WordWrap + text: "The BusyIndicator should maintain a 1:1 aspect ratio, pause when unchecked and resume when checked." } RowLayout { spacing: PlasmaCore.Units.gridUnit PlasmaComponents.BusyIndicator { + Layout.fillWidth: true + Layout.fillHeight: true running: runningButton.checked } diff --git a/tests/components/busyindicator3.qml b/tests/components/busyindicator3.qml index 3401be3b0..5b0051ceb 100644 --- a/tests/components/busyindicator3.qml +++ b/tests/components/busyindicator3.qml @@ -11,7 +11,23 @@ ComponentBase { PlasmaComponents.Label { wrapMode: Text.WordWrap - text: "The BusyIndicator should disappear when unchecked and restart when checked." + text: "The BusyIndicator should have a height of 16px and should have a 1:1 aspect ratio" + Layout.preferredWidth: Math.max(busyIndicatorLayout.width, root.implicitHeaderWidth) + } + PlasmaComponents.BusyIndicator { + Layout.preferredHeight: 16 + } + + PlasmaComponents.Label { + wrapMode: Text.WordWrap + text: "The BusyIndicator should use its implicit size." + Layout.preferredWidth: Math.max(busyIndicatorLayout.width, root.implicitHeaderWidth) + } + PlasmaComponents.BusyIndicator {} + + PlasmaComponents.Label { + wrapMode: Text.WordWrap + text: "The BusyIndicator should maintain a 1:1 aspect ratio, disappear when unchecked and restart when checked." Layout.preferredWidth: Math.max(busyIndicatorLayout.width, root.implicitHeaderWidth) } @@ -20,6 +36,8 @@ ComponentBase { spacing: PlasmaCore.Units.gridUnit PlasmaComponents.BusyIndicator { + Layout.fillWidth: true + Layout.fillHeight: true running: runningButton.checked } From 3f8469acb19d9f4781245070619f3f817257f9a3 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sun, 23 Aug 2020 17:42:24 +0200 Subject: [PATCH 30/30] Use Q_DECLARE_OPERATORS_FOR_FLAGS in same namespace as flags definition Having the macro's definition of the operator| in the namespace of the flags argument improves/unbreaks things for the argument-dependent lookup of unqualified function names, e.g. when flags are combined in calls of other methods, but there is some other operator| defined in the namespace of the current code. Given Q_DECLARE_OPERATORS_FOR_FLAGS creates inlined functions, this should be a source and binary compatible change. Qt did similar for Qt 5.12 in https://codereview.qt-project.org/c/qt/qtbase/+/225348 --- src/plasma/framesvg.h | 4 ++-- src/plasma/plasma.h | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/plasma/framesvg.h b/src/plasma/framesvg.h index bea526267..00a71872c 100644 --- a/src/plasma/framesvg.h +++ b/src/plasma/framesvg.h @@ -305,8 +305,8 @@ private: //Q_PRIVATE_SLOT(d, void updateSizes()) }; +Q_DECLARE_OPERATORS_FOR_FLAGS(FrameSvg::EnabledBorders) + } // Plasma namespace -Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::FrameSvg::EnabledBorders) - #endif // multiple inclusion guard diff --git a/src/plasma/plasma.h b/src/plasma/plasma.h index 6f6d89541..a2a5efd70 100644 --- a/src/plasma/plasma.h +++ b/src/plasma/plasma.h @@ -297,10 +297,11 @@ PLASMA_EXPORT Types::Direction locationToDirection(Types::Location location); **/ PLASMA_EXPORT Types::Direction locationToInverseDirection(Types::Location location); +Q_DECLARE_OPERATORS_FOR_FLAGS(Types::Constraints) +Q_DECLARE_OPERATORS_FOR_FLAGS(Types::Flip) +Q_DECLARE_OPERATORS_FOR_FLAGS(Types::ComponentTypes) +Q_DECLARE_OPERATORS_FOR_FLAGS(Types::BackgroundFlags) + } // Plasma namespace -Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::Types::Constraints) -Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::Types::Flip) -Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::Types::ComponentTypes) -Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::Types::BackgroundFlags) #endif // multiple inclusion guard