OSDN Git Service

plasma: ipinfo geolocation plugin copyright
authorIvailo Monev <xakepa10@gmail.com>
Mon, 25 Apr 2022 07:20:51 +0000 (10:20 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Mon, 25 Apr 2022 07:20:51 +0000 (10:20 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
plasma/dataengines/geolocation/location_ipinfo.cpp
plasma/dataengines/geolocation/location_ipinfo.h

index 6e7ea87..a4e15f4 100644 (file)
@@ -1,35 +1,30 @@
-/*
- *   Copyright (C) 2009 Petri Damstén <damu@iki.fi>
- *                  - Original Implementation.
- *                 2009 Andrew Coles  <andrew.coles@yahoo.co.uk>
- *                  - Extension to iplocationtools engine.
- *                 2021 Ivailo Monev <xakepa10@gmail.com>
- *                  - Additional IP provider for geolocation engine.
- *
- *   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 <http://www.gnu.org/licenses/>.
- */
+/*  This file is part of the KDE project
+    Copyright (C) 2021 Ivailo Monev <xakepa10@gmail.com>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License version 2, as published by the Free Software Foundation.
+
+    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.
+*/
 
 #include "location_ipinfo.h"
 #include <KDebug>
 #include <KJob>
-#include <KIO/Job>
 #include <KIO/TransferJob>
 #include <QJsonDocument>
 #include <QLocale>
 
-class IPinfo::Private : public QObject {
-
+class IPinfo::Private
+{
 public:
     QByteArray payload;
 
index b4ccd01..28e6821 100644 (file)
@@ -1,29 +1,27 @@
-/*
- *   Copyright (C) 2009 Petri Damstén <damu@iki.fi>
- *
- *   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 <http://www.gnu.org/licenses/>.
- */
+/*  This file is part of the KDE project
+    Copyright (C) 2021 Ivailo Monev <xakepa10@gmail.com>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License version 2, as published by the Free Software Foundation.
+
+    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.
+*/
 
 #ifndef IPINFO_H
 #define IPINFO_H
 
 #include "geolocationprovider.h"
 
-class KJob;
-namespace KIO {
-    class Job;
-}
+#include <KIO/Job>
 
 class IPinfo : public GeolocationProvider
 {
@@ -41,7 +39,6 @@ protected slots:
 private:
     class Private;
     Private *const d;
-
 };
 
 #endif