From 90fc7441d534626b0e9a77aac22087594c595843 Mon Sep 17 00:00:00 2001 From: xibowen Date: Wed, 24 Jan 2024 15:29:38 +0800 Subject: [PATCH] Add copyright --- .../libnm-icon-kylin/kynetworkicon.cpp | 20 +++++++++++++++++++ .../libnm-icon-kylin/kynetworkicon.h | 20 +++++++++++++++++++ .../component/DeviceFrame/deviceframe.cpp | 20 +++++++++++++++++++ .../component/DeviceFrame/deviceframe.h | 20 +++++++++++++++++++ .../plugins/component/Divider/divider.cpp | 20 +++++++++++++++++++ .../plugins/component/Divider/divider.h | 20 +++++++++++++++++++ .../component/DrownLabel/drownlabel.cpp | 20 +++++++++++++++++++ .../plugins/component/DrownLabel/drownlabel.h | 20 +++++++++++++++++++ .../plugins/component/FixLabel/fixlabel.cpp | 20 +++++++++++++++++++ .../plugins/component/FixLabel/fixlabel.h | 20 +++++++++++++++++++ .../component/InfoButton/infobutton.cpp | 20 +++++++++++++++++++ .../plugins/component/InfoButton/infobutton.h | 20 +++++++++++++++++++ .../RadioItemButton/radioitembutton.cpp | 20 +++++++++++++++++++ .../RadioItemButton/radioitembutton.h | 20 +++++++++++++++++++ .../plugins/netconnect/itemframe.cpp | 20 +++++++++++++++++++ .../plugins/netconnect/itemframe.h | 20 +++++++++++++++++++ .../plugins/netconnect/lanitem.cpp | 20 +++++++++++++++++++ kylin-nm-plugin/plugins/netconnect/lanitem.h | 20 +++++++++++++++++++ .../plugins/wlanconnect/deviceframe.cpp | 20 +++++++++++++++++++ .../plugins/wlanconnect/deviceframe.h | 20 +++++++++++++++++++ .../hiddenwifi/enterprisewlanpage.cpp | 20 +++++++++++++++++++ .../hiddenwifi/enterprisewlanpage.h | 20 +++++++++++++++++++ .../hiddenwifi/entsecuritywidget.cpp | 20 +++++++++++++++++++ .../hiddenwifi/entsecuritywidget.h | 20 +++++++++++++++++++ .../wlanconnect/hiddenwifi/hiddenwifipage.cpp | 20 +++++++++++++++++++ .../wlanconnect/hiddenwifi/hiddenwifipage.h | 20 +++++++++++++++++++ .../plugins/wlanconnect/itemframe.cpp | 20 +++++++++++++++++++ .../plugins/wlanconnect/itemframe.h | 20 +++++++++++++++++++ .../plugins/wlanconnect/wlanitem.cpp | 20 +++++++++++++++++++ .../plugins/wlanconnect/wlanitem.h | 20 +++++++++++++++++++ plugins/component/DrownLabel/drownlabel.cpp | 2 ++ plugins/component/DrownLabel/drownlabel.h | 3 ++- src/backend/dbus-interface/kylinagent.h | 19 ------------------ src/frontend/netdetails/dnssettingwidget.cpp | 20 +++++++++++++++++++ src/frontend/netdetails/dnssettingwidget.h | 20 +++++++++++++++++++ src/frontend/tools/themepalette.h | 18 +++++++++++++++++ 36 files changed, 662 insertions(+), 20 deletions(-) diff --git a/kylin-nm-plugin/libnm-icon-kylin/kynetworkicon.cpp b/kylin-nm-plugin/libnm-icon-kylin/kynetworkicon.cpp index fe13dc61..2a905e3c 100644 --- a/kylin-nm-plugin/libnm-icon-kylin/kynetworkicon.cpp +++ b/kylin-nm-plugin/libnm-icon-kylin/kynetworkicon.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "kynetworkicon.h" #include "imageutil.h" diff --git a/kylin-nm-plugin/libnm-icon-kylin/kynetworkicon.h b/kylin-nm-plugin/libnm-icon-kylin/kynetworkicon.h index a699336b..5f4e0db1 100644 --- a/kylin-nm-plugin/libnm-icon-kylin/kynetworkicon.h +++ b/kylin-nm-plugin/libnm-icon-kylin/kynetworkicon.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef KYNETWORKICON_H #define KYNETWORKICON_H diff --git a/kylin-nm-plugin/plugins/component/DeviceFrame/deviceframe.cpp b/kylin-nm-plugin/plugins/component/DeviceFrame/deviceframe.cpp index c3104912..d29161c8 100644 --- a/kylin-nm-plugin/plugins/component/DeviceFrame/deviceframe.cpp +++ b/kylin-nm-plugin/plugins/component/DeviceFrame/deviceframe.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "deviceframe.h" #define LAYOUT_MARGINS 24,0,0,0 diff --git a/kylin-nm-plugin/plugins/component/DeviceFrame/deviceframe.h b/kylin-nm-plugin/plugins/component/DeviceFrame/deviceframe.h index 0182c580..25e419ab 100644 --- a/kylin-nm-plugin/plugins/component/DeviceFrame/deviceframe.h +++ b/kylin-nm-plugin/plugins/component/DeviceFrame/deviceframe.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef DEVICEFRAME_H #define DEVICEFRAME_H #include diff --git a/kylin-nm-plugin/plugins/component/Divider/divider.cpp b/kylin-nm-plugin/plugins/component/Divider/divider.cpp index f82fba9a..4724b64e 100644 --- a/kylin-nm-plugin/plugins/component/Divider/divider.cpp +++ b/kylin-nm-plugin/plugins/component/Divider/divider.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "divider.h" #include #include diff --git a/kylin-nm-plugin/plugins/component/Divider/divider.h b/kylin-nm-plugin/plugins/component/Divider/divider.h index e22a6392..cce9dec8 100644 --- a/kylin-nm-plugin/plugins/component/Divider/divider.h +++ b/kylin-nm-plugin/plugins/component/Divider/divider.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef DIVIDER_H #define DIVIDER_H #include diff --git a/kylin-nm-plugin/plugins/component/DrownLabel/drownlabel.cpp b/kylin-nm-plugin/plugins/component/DrownLabel/drownlabel.cpp index 4e46523a..ebf515b4 100644 --- a/kylin-nm-plugin/plugins/component/DrownLabel/drownlabel.cpp +++ b/kylin-nm-plugin/plugins/component/DrownLabel/drownlabel.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "drownlabel.h" #include "deviceframe.h" diff --git a/kylin-nm-plugin/plugins/component/DrownLabel/drownlabel.h b/kylin-nm-plugin/plugins/component/DrownLabel/drownlabel.h index 806dc132..24623d65 100644 --- a/kylin-nm-plugin/plugins/component/DrownLabel/drownlabel.h +++ b/kylin-nm-plugin/plugins/component/DrownLabel/drownlabel.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef DROWNLABEL_H #define DROWNLABEL_H diff --git a/kylin-nm-plugin/plugins/component/FixLabel/fixlabel.cpp b/kylin-nm-plugin/plugins/component/FixLabel/fixlabel.cpp index 93cf55f5..49d70555 100644 --- a/kylin-nm-plugin/plugins/component/FixLabel/fixlabel.cpp +++ b/kylin-nm-plugin/plugins/component/FixLabel/fixlabel.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "fixlabel.h" #include diff --git a/kylin-nm-plugin/plugins/component/FixLabel/fixlabel.h b/kylin-nm-plugin/plugins/component/FixLabel/fixlabel.h index a5b3f7f7..b54c4642 100644 --- a/kylin-nm-plugin/plugins/component/FixLabel/fixlabel.h +++ b/kylin-nm-plugin/plugins/component/FixLabel/fixlabel.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef FIXLABEL_H #define FIXLABEL_H diff --git a/kylin-nm-plugin/plugins/component/InfoButton/infobutton.cpp b/kylin-nm-plugin/plugins/component/InfoButton/infobutton.cpp index 2e95ece5..1edc1259 100644 --- a/kylin-nm-plugin/plugins/component/InfoButton/infobutton.cpp +++ b/kylin-nm-plugin/plugins/component/InfoButton/infobutton.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "infobutton.h" #include #include diff --git a/kylin-nm-plugin/plugins/component/InfoButton/infobutton.h b/kylin-nm-plugin/plugins/component/InfoButton/infobutton.h index fec1bcc7..12ef7b20 100644 --- a/kylin-nm-plugin/plugins/component/InfoButton/infobutton.h +++ b/kylin-nm-plugin/plugins/component/InfoButton/infobutton.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef INFOBUTTON_H #define INFOBUTTON_H #include diff --git a/kylin-nm-plugin/plugins/component/RadioItemButton/radioitembutton.cpp b/kylin-nm-plugin/plugins/component/RadioItemButton/radioitembutton.cpp index 420eca99..d79a70c7 100644 --- a/kylin-nm-plugin/plugins/component/RadioItemButton/radioitembutton.cpp +++ b/kylin-nm-plugin/plugins/component/RadioItemButton/radioitembutton.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "radioitembutton.h" #include //#include diff --git a/kylin-nm-plugin/plugins/component/RadioItemButton/radioitembutton.h b/kylin-nm-plugin/plugins/component/RadioItemButton/radioitembutton.h index eabd0674..de7e7492 100644 --- a/kylin-nm-plugin/plugins/component/RadioItemButton/radioitembutton.h +++ b/kylin-nm-plugin/plugins/component/RadioItemButton/radioitembutton.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef NETBUTTON_H #define NETBUTTON_H #include diff --git a/kylin-nm-plugin/plugins/netconnect/itemframe.cpp b/kylin-nm-plugin/plugins/netconnect/itemframe.cpp index 7b0bd70c..c73a02d7 100644 --- a/kylin-nm-plugin/plugins/netconnect/itemframe.cpp +++ b/kylin-nm-plugin/plugins/netconnect/itemframe.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "itemframe.h" #define LAYOUT_MARGINS 4,0,12,0 diff --git a/kylin-nm-plugin/plugins/netconnect/itemframe.h b/kylin-nm-plugin/plugins/netconnect/itemframe.h index a0cbaaf5..966c39aa 100644 --- a/kylin-nm-plugin/plugins/netconnect/itemframe.h +++ b/kylin-nm-plugin/plugins/netconnect/itemframe.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef ITEMFRAME_H #define ITEMFRAME_H #include diff --git a/kylin-nm-plugin/plugins/netconnect/lanitem.cpp b/kylin-nm-plugin/plugins/netconnect/lanitem.cpp index 267c8f8e..f83c0254 100644 --- a/kylin-nm-plugin/plugins/netconnect/lanitem.cpp +++ b/kylin-nm-plugin/plugins/netconnect/lanitem.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "lanitem.h" #include #define FRAME_SPEED 150 diff --git a/kylin-nm-plugin/plugins/netconnect/lanitem.h b/kylin-nm-plugin/plugins/netconnect/lanitem.h index a3cbf2ee..ca607b11 100644 --- a/kylin-nm-plugin/plugins/netconnect/lanitem.h +++ b/kylin-nm-plugin/plugins/netconnect/lanitem.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef LANITEM_H #define LANITEM_H #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/deviceframe.cpp b/kylin-nm-plugin/plugins/wlanconnect/deviceframe.cpp index 9765faef..a1d004f2 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/deviceframe.cpp +++ b/kylin-nm-plugin/plugins/wlanconnect/deviceframe.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "deviceframe.h" #include #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/deviceframe.h b/kylin-nm-plugin/plugins/wlanconnect/deviceframe.h index f70eda47..496b06ae 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/deviceframe.h +++ b/kylin-nm-plugin/plugins/wlanconnect/deviceframe.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef DEVICEFRAME_H #define DEVICEFRAME_H #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/enterprisewlanpage.cpp b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/enterprisewlanpage.cpp index 6d9997b0..25b9a528 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/enterprisewlanpage.cpp +++ b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/enterprisewlanpage.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "enterprisewlanpage.h" #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/enterprisewlanpage.h b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/enterprisewlanpage.h index a06beb63..41ebf85e 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/enterprisewlanpage.h +++ b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/enterprisewlanpage.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef ENTERPRISEWLANPAGE_H #define ENTERPRISEWLANPAGE_H diff --git a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/entsecuritywidget.cpp b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/entsecuritywidget.cpp index 43422850..030f43db 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/entsecuritywidget.cpp +++ b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/entsecuritywidget.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "entsecuritywidget.h" #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/entsecuritywidget.h b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/entsecuritywidget.h index 1cb17d92..907f9f98 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/entsecuritywidget.h +++ b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/entsecuritywidget.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef ENTSECURITYWIDGET_H #define ENTSECURITYWIDGET_H diff --git a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/hiddenwifipage.cpp b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/hiddenwifipage.cpp index 542260e0..127d5b40 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/hiddenwifipage.cpp +++ b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/hiddenwifipage.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "hiddenwifipage.h" #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/hiddenwifipage.h b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/hiddenwifipage.h index f7d48fe7..e6557e97 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/hiddenwifipage.h +++ b/kylin-nm-plugin/plugins/wlanconnect/hiddenwifi/hiddenwifipage.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef HIDDENWIFIPAGE_H #define HIDDENWIFIPAGE_H diff --git a/kylin-nm-plugin/plugins/wlanconnect/itemframe.cpp b/kylin-nm-plugin/plugins/wlanconnect/itemframe.cpp index 7a11611e..f2508aa6 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/itemframe.cpp +++ b/kylin-nm-plugin/plugins/wlanconnect/itemframe.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "itemframe.h" #include #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/itemframe.h b/kylin-nm-plugin/plugins/wlanconnect/itemframe.h index b127662a..590519d2 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/itemframe.h +++ b/kylin-nm-plugin/plugins/wlanconnect/itemframe.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef ITEMFRAME_H #define ITEMFRAME_H #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/wlanitem.cpp b/kylin-nm-plugin/plugins/wlanconnect/wlanitem.cpp index 72ecdef2..eb93de87 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/wlanitem.cpp +++ b/kylin-nm-plugin/plugins/wlanconnect/wlanitem.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "wlanitem.h" #include #include diff --git a/kylin-nm-plugin/plugins/wlanconnect/wlanitem.h b/kylin-nm-plugin/plugins/wlanconnect/wlanitem.h index 159942d6..f8c50b39 100644 --- a/kylin-nm-plugin/plugins/wlanconnect/wlanitem.h +++ b/kylin-nm-plugin/plugins/wlanconnect/wlanitem.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef WLANITEM_H #define WLANITEM_H #include diff --git a/plugins/component/DrownLabel/drownlabel.cpp b/plugins/component/DrownLabel/drownlabel.cpp index 9d05152a..725f08a2 100644 --- a/plugins/component/DrownLabel/drownlabel.cpp +++ b/plugins/component/DrownLabel/drownlabel.cpp @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * */ + + #include "drownlabel.h" #include "deviceframe.h" diff --git a/plugins/component/DrownLabel/drownlabel.h b/plugins/component/DrownLabel/drownlabel.h index 7938cc28..2d95092b 100644 --- a/plugins/component/DrownLabel/drownlabel.h +++ b/plugins/component/DrownLabel/drownlabel.h @@ -1,4 +1,3 @@ - /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. @@ -18,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * */ + + #ifndef DROWNLABEL_H #define DROWNLABEL_H diff --git a/src/backend/dbus-interface/kylinagent.h b/src/backend/dbus-interface/kylinagent.h index 7c491c78..82ec3445 100644 --- a/src/backend/dbus-interface/kylinagent.h +++ b/src/backend/dbus-interface/kylinagent.h @@ -1,22 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- - * - * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. - * - * 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, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ #ifndef __KYLINNMANGENT_H__ #define __KYLINNMANGENT_H__ diff --git a/src/frontend/netdetails/dnssettingwidget.cpp b/src/frontend/netdetails/dnssettingwidget.cpp index 92a8eb1c..672364aa 100644 --- a/src/frontend/netdetails/dnssettingwidget.cpp +++ b/src/frontend/netdetails/dnssettingwidget.cpp @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #include "dnssettingwidget.h" #include #include diff --git a/src/frontend/netdetails/dnssettingwidget.h b/src/frontend/netdetails/dnssettingwidget.h index 91291b9f..ad03c06d 100644 --- a/src/frontend/netdetails/dnssettingwidget.h +++ b/src/frontend/netdetails/dnssettingwidget.h @@ -1,3 +1,23 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + #ifndef DNSSETTINGWIDGET_H #define DNSSETTINGWIDGET_H diff --git a/src/frontend/tools/themepalette.h b/src/frontend/tools/themepalette.h index 2c1d0402..d2688a64 100644 --- a/src/frontend/tools/themepalette.h +++ b/src/frontend/tools/themepalette.h @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2020 Tianjin KYLIN Information Technology Co., Ltd. + * + * 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, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY 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