From 389da546e69869e3dda3521b6957a58e71defe7f Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 25 Apr 2022 10:20:51 +0300 Subject: [PATCH] plasma: ipinfo geolocation plugin copyright Signed-off-by: Ivailo Monev --- plasma/dataengines/geolocation/location_ipinfo.cpp | 43 ++++++++++------------ plasma/dataengines/geolocation/location_ipinfo.h | 39 +++++++++----------- 2 files changed, 37 insertions(+), 45 deletions(-) diff --git a/plasma/dataengines/geolocation/location_ipinfo.cpp b/plasma/dataengines/geolocation/location_ipinfo.cpp index 6e7ea870..a4e15f42 100644 --- a/plasma/dataengines/geolocation/location_ipinfo.cpp +++ b/plasma/dataengines/geolocation/location_ipinfo.cpp @@ -1,35 +1,30 @@ -/* - * Copyright (C) 2009 Petri Damstén - * - Original Implementation. - * 2009 Andrew Coles - * - Extension to iplocationtools engine. - * 2021 Ivailo Monev - * - 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 . - */ +/* This file is part of the KDE project + Copyright (C) 2021 Ivailo Monev + + 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 #include -#include #include #include #include -class IPinfo::Private : public QObject { - +class IPinfo::Private +{ public: QByteArray payload; diff --git a/plasma/dataengines/geolocation/location_ipinfo.h b/plasma/dataengines/geolocation/location_ipinfo.h index b4ccd016..28e68217 100644 --- a/plasma/dataengines/geolocation/location_ipinfo.h +++ b/plasma/dataengines/geolocation/location_ipinfo.h @@ -1,29 +1,27 @@ -/* - * Copyright (C) 2009 Petri Damstén - * - * 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 . - */ +/* This file is part of the KDE project + Copyright (C) 2021 Ivailo Monev + + 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 class IPinfo : public GeolocationProvider { @@ -41,7 +39,6 @@ protected slots: private: class Private; Private *const d; - }; #endif -- 2.11.0