From 8b2e55cf945cb42fffb72e366f17824aa1f871e3 Mon Sep 17 00:00:00 2001 From: Jos van den Oever Date: Tue, 5 Sep 2017 20:06:20 +0200 Subject: [PATCH] Add licenses to all files that not generated or template code The license is GPLv2+ in line with KDE policy. --- demo/qml/DataAndChart.qml | 20 +++++++++++++++++++ demo/qml/Fibonacci.qml | 20 +++++++++++++++++++ demo/qml/Fibonacci2.qml | 20 +++++++++++++++++++ demo/qml/FibonacciList.qml | 20 +++++++++++++++++++ demo/qml/FibonacciList2.qml | 20 +++++++++++++++++++ demo/qml/FibonacciListKirigami.qml | 20 +++++++++++++++++++ demo/qml/FileTreeView.qml | 20 +++++++++++++++++++ demo/qml/FileTreeView2.qml | 20 +++++++++++++++++++ demo/qml/FileTreeViewKirigami.qml | 20 +++++++++++++++++++ demo/qml/ProcessesTree.qml | 20 +++++++++++++++++++ demo/qml/StyleSwitcher.qml | 20 +++++++++++++++++++ demo/qml/StyleSwitcher2.qml | 20 +++++++++++++++++++ demo/qml/chart.qml | 20 +++++++++++++++++++ demo/qml/demo-kirigami2.qml | 20 +++++++++++++++++++ demo/qml/demo-qtquick2.qml | 20 +++++++++++++++++++ demo/qml/demo.qml | 20 +++++++++++++++++++ demo/rust/src/implementation/demo.rs | 18 +++++++++++++++++ demo/rust/src/implementation/fibonacci.rs | 18 +++++++++++++++++ .../src/implementation/file_system_tree.rs | 18 +++++++++++++++++ demo/rust/src/implementation/mod.rs | 18 +++++++++++++++++ demo/rust/src/implementation/processes.rs | 18 +++++++++++++++++ demo/rust/src/implementation/time_series.rs | 18 +++++++++++++++++ demo/rust/src/lib.rs | 18 +++++++++++++++++ demo/src/SortedModel.cpp | 20 +++++++++++++++++++ demo/src/SortedModel.h | 20 +++++++++++++++++++ demo/src/main.cpp | 20 +++++++++++++++++++ src/cpp.cpp | 20 +++++++++++++++++++ src/cpp.h | 20 +++++++++++++++++++ src/helper.cpp | 20 +++++++++++++++++++ src/helper.h | 20 +++++++++++++++++++ src/main.cpp | 20 +++++++++++++++++++ src/parseJson.cpp | 20 +++++++++++++++++++ src/parseJson.h | 20 +++++++++++++++++++ src/rust.cpp | 20 +++++++++++++++++++ src/rust.h | 20 +++++++++++++++++++ src/structs.h | 20 +++++++++++++++++++ tests/test_list.cpp | 20 +++++++++++++++++++ tests/test_object.cpp | 20 +++++++++++++++++++ tests/test_objects.cpp | 20 +++++++++++++++++++ tests/test_tree.cpp | 20 +++++++++++++++++++ 40 files changed, 786 insertions(+) diff --git a/demo/qml/DataAndChart.qml b/demo/qml/DataAndChart.qml index 7dd31c1..9e2ab5e 100644 --- a/demo/qml/DataAndChart.qml +++ b/demo/qml/DataAndChart.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQml.Models 2.2 import QtQuick.Controls 1.5 diff --git a/demo/qml/Fibonacci.qml b/demo/qml/Fibonacci.qml index d31e7cd..70db04c 100644 --- a/demo/qml/Fibonacci.qml +++ b/demo/qml/Fibonacci.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQuick.Controls 1.5 import QtQuick.Layouts 1.3 diff --git a/demo/qml/Fibonacci2.qml b/demo/qml/Fibonacci2.qml index a81b2a6..63c7c69 100644 --- a/demo/qml/Fibonacci2.qml +++ b/demo/qml/Fibonacci2.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQuick.Controls 2.0 import QtQuick.Layouts 1.3 diff --git a/demo/qml/FibonacciList.qml b/demo/qml/FibonacciList.qml index 6da1f51..a447dde 100644 --- a/demo/qml/FibonacciList.qml +++ b/demo/qml/FibonacciList.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQml.Models 2.2 import QtQuick.Controls 1.5 diff --git a/demo/qml/FibonacciList2.qml b/demo/qml/FibonacciList2.qml index 7845422..1b0ca1f 100644 --- a/demo/qml/FibonacciList2.qml +++ b/demo/qml/FibonacciList2.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQuick.Controls 2.2 diff --git a/demo/qml/FibonacciListKirigami.qml b/demo/qml/FibonacciListKirigami.qml index 4d5bf5c..56a718a 100644 --- a/demo/qml/FibonacciListKirigami.qml +++ b/demo/qml/FibonacciListKirigami.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQuick.Controls 2.0 as QQC2 import org.kde.kirigami 2.0 as Kirigami diff --git a/demo/qml/FileTreeView.qml b/demo/qml/FileTreeView.qml index 46b51ef..d1b419d 100644 --- a/demo/qml/FileTreeView.qml +++ b/demo/qml/FileTreeView.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQml.Models 2.2 import QtQuick.Controls 1.5 diff --git a/demo/qml/FileTreeView2.qml b/demo/qml/FileTreeView2.qml index 475bb65..66bce2d 100644 --- a/demo/qml/FileTreeView2.qml +++ b/demo/qml/FileTreeView2.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQml.Models 2.2 import QtQuick.Controls 2.2 diff --git a/demo/qml/FileTreeViewKirigami.qml b/demo/qml/FileTreeViewKirigami.qml index e1d9221..0f45992 100644 --- a/demo/qml/FileTreeViewKirigami.qml +++ b/demo/qml/FileTreeViewKirigami.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQml.Models 2.2 import QtQuick.Controls 2.2 diff --git a/demo/qml/ProcessesTree.qml b/demo/qml/ProcessesTree.qml index 1c105b4..c87572b 100644 --- a/demo/qml/ProcessesTree.qml +++ b/demo/qml/ProcessesTree.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQml.Models 2.2 import QtQuick.Controls 1.5 diff --git a/demo/qml/StyleSwitcher.qml b/demo/qml/StyleSwitcher.qml index 191f39a..7518be2 100644 --- a/demo/qml/StyleSwitcher.qml +++ b/demo/qml/StyleSwitcher.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQuick.Controls 1.5 import QtQuick.Layouts 1.3 diff --git a/demo/qml/StyleSwitcher2.qml b/demo/qml/StyleSwitcher2.qml index 57894c9..a4c523d 100644 --- a/demo/qml/StyleSwitcher2.qml +++ b/demo/qml/StyleSwitcher2.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQuick.Controls 2.2 import QtQuick.Layouts 1.3 diff --git a/demo/qml/chart.qml b/demo/qml/chart.qml index 557603d..2c4c19e 100644 --- a/demo/qml/chart.qml +++ b/demo/qml/chart.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtCharts 2.2 diff --git a/demo/qml/demo-kirigami2.qml b/demo/qml/demo-kirigami2.qml index 9d23052..f511ae5 100644 --- a/demo/qml/demo-kirigami2.qml +++ b/demo/qml/demo-kirigami2.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.1 import QtQuick.Controls 2.0 as QQC2 import org.kde.kirigami 2.0 as Kirigami diff --git a/demo/qml/demo-qtquick2.qml b/demo/qml/demo-qtquick2.qml index 50956d8..86570e3 100644 --- a/demo/qml/demo-qtquick2.qml +++ b/demo/qml/demo-qtquick2.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQuick.Controls 2.0 import QtQuick.Layouts 1.3 diff --git a/demo/qml/demo.qml b/demo/qml/demo.qml index 966d7a8..5d31e0d 100644 --- a/demo/qml/demo.qml +++ b/demo/qml/demo.qml @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + import QtQuick 2.6 import QtQml.Models 2.2 import QtQuick.Controls 1.5 diff --git a/demo/rust/src/implementation/demo.rs b/demo/rust/src/implementation/demo.rs index 495c1e7..6891058 100644 --- a/demo/rust/src/implementation/demo.rs +++ b/demo/rust/src/implementation/demo.rs @@ -1,3 +1,21 @@ +// Copyright 2017 Jos van den Oever +// +// 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 . + use interface::*; use super::*; diff --git a/demo/rust/src/implementation/fibonacci.rs b/demo/rust/src/implementation/fibonacci.rs index cec0422..bc2a37d 100644 --- a/demo/rust/src/implementation/fibonacci.rs +++ b/demo/rust/src/implementation/fibonacci.rs @@ -1,3 +1,21 @@ +// Copyright 2017 Jos van den Oever +// +// 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 . + use std::thread; use interface::*; use std::sync::atomic::AtomicUsize; diff --git a/demo/rust/src/implementation/file_system_tree.rs b/demo/rust/src/implementation/file_system_tree.rs index 9e1c3c9..a2116a4 100644 --- a/demo/rust/src/implementation/file_system_tree.rs +++ b/demo/rust/src/implementation/file_system_tree.rs @@ -1,3 +1,21 @@ +// Copyright 2017 Jos van den Oever +// +// 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 . + use interface::*; use std::fs::*; use std::fs::read_dir; diff --git a/demo/rust/src/implementation/mod.rs b/demo/rust/src/implementation/mod.rs index a7935b5..69ce8db 100644 --- a/demo/rust/src/implementation/mod.rs +++ b/demo/rust/src/implementation/mod.rs @@ -1,3 +1,21 @@ +// Copyright 2017 Jos van den Oever +// +// 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 . + mod demo; mod fibonacci; mod file_system_tree; diff --git a/demo/rust/src/implementation/processes.rs b/demo/rust/src/implementation/processes.rs index c31c1dd..7d4a188 100644 --- a/demo/rust/src/implementation/processes.rs +++ b/demo/rust/src/implementation/processes.rs @@ -1,3 +1,21 @@ +// Copyright 2017 Jos van den Oever +// +// 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 . + use interface::*; use sysinfo::*; use std::sync::{Arc, Mutex}; diff --git a/demo/rust/src/implementation/time_series.rs b/demo/rust/src/implementation/time_series.rs index 9752ece..95318bf 100644 --- a/demo/rust/src/implementation/time_series.rs +++ b/demo/rust/src/implementation/time_series.rs @@ -1,3 +1,21 @@ +// Copyright 2017 Jos van den Oever +// +// 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 . + use interface::*; #[derive(Default, Clone)] diff --git a/demo/rust/src/lib.rs b/demo/rust/src/lib.rs index 78763bf..d9f65a6 100644 --- a/demo/rust/src/lib.rs +++ b/demo/rust/src/lib.rs @@ -1,3 +1,21 @@ +// Copyright 2017 Jos van den Oever +// +// 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 . + extern crate libc; extern crate sysinfo; diff --git a/demo/src/SortedModel.cpp b/demo/src/SortedModel.cpp index 9b967d2..370bbec 100644 --- a/demo/src/SortedModel.cpp +++ b/demo/src/SortedModel.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "SortedModel.h" bool SortedModel::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const diff --git a/demo/src/SortedModel.h b/demo/src/SortedModel.h index f488b63..d712c59 100644 --- a/demo/src/SortedModel.h +++ b/demo/src/SortedModel.h @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #ifndef SORTED_MODEL #define SORTED_MODEL diff --git a/demo/src/main.cpp b/demo/src/main.cpp index 3d74c88..a704891 100644 --- a/demo/src/main.cpp +++ b/demo/src/main.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "Bindings.h" #include "SortedModel.h" diff --git a/src/cpp.cpp b/src/cpp.cpp index 2341369..441209b 100644 --- a/src/cpp.cpp +++ b/src/cpp.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "structs.h" #include "cpp.h" #include "helper.h" diff --git a/src/cpp.h b/src/cpp.h index 68750ce..1a27c8d 100644 --- a/src/cpp.h +++ b/src/cpp.h @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + struct Configuration; void writeHeader(const Configuration& conf); void writeCpp(const Configuration& conf); diff --git a/src/helper.cpp b/src/helper.cpp index b432776..a194a22 100644 --- a/src/helper.cpp +++ b/src/helper.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include QTextStream err(stderr); diff --git a/src/helper.h b/src/helper.h index 10ca642..508c480 100644 --- a/src/helper.h +++ b/src/helper.h @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include #include #include diff --git a/src/main.cpp b/src/main.cpp index 3d8f689..fd20700 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "parseJson.h" #include "cpp.h" #include "rust.h" diff --git a/src/parseJson.cpp b/src/parseJson.cpp index e4d2f1a..09af681 100644 --- a/src/parseJson.cpp +++ b/src/parseJson.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "parseJson.h" #include "helper.h" #include diff --git a/src/parseJson.h b/src/parseJson.h index 7f23d38..42e4d0c 100644 --- a/src/parseJson.h +++ b/src/parseJson.h @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "structs.h" Configuration parseConfiguration(const QString& path); diff --git a/src/rust.cpp b/src/rust.cpp index 1ed4730..2bd0030 100644 --- a/src/rust.cpp +++ b/src/rust.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "structs.h" #include "helper.h" diff --git a/src/rust.h b/src/rust.h index d4d11d5..779f379 100644 --- a/src/rust.h +++ b/src/rust.h @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + class Configuration; void writeRustInterface(const Configuration& conf); void writeRustImplementation(const Configuration& conf); diff --git a/src/structs.h b/src/structs.h index 8536ad5..58c5fb9 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include #include #include diff --git a/tests/test_list.cpp b/tests/test_list.cpp index d7a7cfb..e1f06a3 100644 --- a/tests/test_list.cpp +++ b/tests/test_list.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "test_list_rust.h" #include #include diff --git a/tests/test_object.cpp b/tests/test_object.cpp index 2a3bec2..24d7ac6 100644 --- a/tests/test_object.cpp +++ b/tests/test_object.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "test_object_rust.h" #include #include diff --git a/tests/test_objects.cpp b/tests/test_objects.cpp index 9e9bb31..5213b46 100644 --- a/tests/test_objects.cpp +++ b/tests/test_objects.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "test_objects_rust.h" #include #include diff --git a/tests/test_tree.cpp b/tests/test_tree.cpp index 1bed36d..ed6becc 100644 --- a/tests/test_tree.cpp +++ b/tests/test_tree.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2017 Jos van den Oever + * + * 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 . + */ + #include "test_list_rust.h" #include #include