From 8467c6e7c60bc059dc1c53142641cc324465e1bf Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sat, 5 Jan 2019 23:40:22 +0200 Subject: [PATCH] Add GPLv3 license comments in source files --- qml/cover/CoverPage.qml | 17 +++++++++++++++++ qml/harbour-batterybuddy.qml | 17 +++++++++++++++++ qml/pages/AboutPage.qml | 17 +++++++++++++++++ qml/pages/InfoPage.qml | 17 +++++++++++++++++ qml/pages/MainPage.qml | 17 +++++++++++++++++ src/battery.cpp | 17 +++++++++++++++++ src/battery.h | 17 +++++++++++++++++ src/harbour-batterybuddy.cpp | 17 +++++++++++++++++ src/settings.cpp | 17 +++++++++++++++++ src/settings.h | 17 +++++++++++++++++ 10 files changed, 170 insertions(+) diff --git a/qml/cover/CoverPage.qml b/qml/cover/CoverPage.qml index 3ef80f5..8ed54d2 100644 --- a/qml/cover/CoverPage.qml +++ b/qml/cover/CoverPage.qml @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ import QtQuick 2.0 import Sailfish.Silica 1.0 diff --git a/qml/harbour-batterybuddy.qml b/qml/harbour-batterybuddy.qml index 944e65e..76f01c3 100644 --- a/qml/harbour-batterybuddy.qml +++ b/qml/harbour-batterybuddy.qml @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ import QtQuick 2.0 import Sailfish.Silica 1.0 import "pages" diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml index 6c4ce0d..f279006 100644 --- a/qml/pages/AboutPage.qml +++ b/qml/pages/AboutPage.qml @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ import QtQuick 2.0 import Sailfish.Silica 1.0 diff --git a/qml/pages/InfoPage.qml b/qml/pages/InfoPage.qml index dcc7e12..eee7758 100644 --- a/qml/pages/InfoPage.qml +++ b/qml/pages/InfoPage.qml @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ import QtQuick 2.0 import Sailfish.Silica 1.0 diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 6ea5a9c..79b8578 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ import QtQuick 2.0 import QtMultimedia 5.6 import Sailfish.Silica 1.0 diff --git a/src/battery.cpp b/src/battery.cpp index f0659db..dd0fe50 100644 --- a/src/battery.cpp +++ b/src/battery.cpp @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ #include "battery.h" Battery::Battery(QObject* parent) : QObject(parent) diff --git a/src/battery.h b/src/battery.h index 255eb29..4db01a6 100644 --- a/src/battery.h +++ b/src/battery.h @@ -2,6 +2,23 @@ #define BATTERY_H #include +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ #include #include #include diff --git a/src/harbour-batterybuddy.cpp b/src/harbour-batterybuddy.cpp index 6dff5a1..bc7a1a8 100644 --- a/src/harbour-batterybuddy.cpp +++ b/src/harbour-batterybuddy.cpp @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ #ifdef QT_QML_DEBUG #include #endif diff --git a/src/settings.cpp b/src/settings.cpp index d0036a2..c711053 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ #include "settings.h" Settings::Settings(QObject *parent) : QObject(parent) diff --git a/src/settings.h b/src/settings.h index f748d65..9a1f2f3 100644 --- a/src/settings.h +++ b/src/settings.h @@ -1,3 +1,20 @@ +/** + * Battery Buddy, a Sailfish application to prolong battery lifetime + * + * Copyright (C) 2019 Matti Viljanen + * + * Battery Buddy 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. + * + * Battery Buddy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY 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 CarBudget. If not, see . + * + * Author: Matti Viljanen + */ #ifndef SETTINGS_H #define SETTINGS_H