From a117eaa12b1a71b2d0acb9f266e24c69ba5cda4f Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 18 Apr 2021 17:47:22 +0200 Subject: [PATCH] Improve License header style --- src/accountlistmodel.cpp | 8 +++----- src/clipboard.cpp | 8 +++----- src/clipboard.h | 7 ++----- src/controller.cpp | 10 ++++------ src/devicesmodel.cpp | 7 ++----- src/devicesmodel.h | 7 ++----- src/emojimodel.cpp | 7 ++----- src/emojimodel.h | 7 ++----- src/filetypesingleton.cpp | 5 ++--- src/filetypesingleton.h | 9 ++++----- src/login.cpp | 7 ++----- src/login.h | 7 ++----- src/main.cpp | 8 +++----- src/matriximageprovider.cpp | 10 ++++------ src/matriximageprovider.h | 9 +++------ src/messageeventmodel.cpp | 8 +++----- src/messageeventmodel.h | 7 ++----- src/messagefiltermodel.cpp | 6 ++---- src/messagefiltermodel.h | 6 ++---- 19 files changed, 49 insertions(+), 94 deletions(-) diff --git a/src/accountlistmodel.cpp b/src/accountlistmodel.cpp index 969cf3f5f..5f0587029 100644 --- a/src/accountlistmodel.cpp +++ b/src/accountlistmodel.cpp @@ -1,8 +1,6 @@ -/** - * SPDX-FileCopyrightText: 2018-2019 Black Hat - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2018-2019 Black Hat +// SPDX-License-Identifier: GPL-3.0-only + #include "accountlistmodel.h" #include "room.h" diff --git a/src/clipboard.cpp b/src/clipboard.cpp index 9da9b0603..d8e23a310 100644 --- a/src/clipboard.cpp +++ b/src/clipboard.cpp @@ -1,8 +1,6 @@ -/** - * SPDX-FileCopyrightText: 2019 Black Hat - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2019 Black Hat +// SPDX-License-Identifier: GPL-3.0-only + #include "clipboard.h" #include diff --git a/src/clipboard.h b/src/clipboard.h index f27d9507e..8b9728465 100644 --- a/src/clipboard.h +++ b/src/clipboard.h @@ -1,8 +1,5 @@ -/** - * SPDX-FileCopyrightText: 2019 Black Hat - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2019 Black Hat +// SPDX-License-Identifier: GPL-3.0-only #pragma once diff --git a/src/controller.cpp b/src/controller.cpp index 5d3cb0518..aa03c2cad 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -1,9 +1,7 @@ -/** - * SPDX-FileCopyrightText: 2018-2019 Black Hat - * SPDX-FileCopyrightText: 2020 Tobias Fella - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2018-2019 Black Hat +// SPDX-FileCopyrightText: 2020 Tobias Fella +// SPDX-License-Identifier: GPL-3.0-only + #include "controller.h" #include diff --git a/src/devicesmodel.cpp b/src/devicesmodel.cpp index 57b25df08..65b3662c4 100644 --- a/src/devicesmodel.cpp +++ b/src/devicesmodel.cpp @@ -1,8 +1,5 @@ -/** - * SPDX-FileCopyrightText: Tobias Fella - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ +// SPDX-FileCopyrightText: Tobias Fella +// SPDX-License-Identifier: GPL-2.0-or-later #include "devicesmodel.h" diff --git a/src/devicesmodel.h b/src/devicesmodel.h index a20fd077a..061e6180d 100644 --- a/src/devicesmodel.h +++ b/src/devicesmodel.h @@ -1,8 +1,5 @@ -/** - * SPDX-FileCopyrightText: Tobias Fella - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ +// SPDX-FileCopyrightText: Tobias Fella +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/src/emojimodel.cpp b/src/emojimodel.cpp index 3bc811a44..56e7d9e78 100644 --- a/src/emojimodel.cpp +++ b/src/emojimodel.cpp @@ -1,8 +1,5 @@ -/** - * SPDX-FileCopyrightText: 2017 Konstantinos Sideris - * - * SPDX-License-Identifier: GPL-3.0-or-later - */ +// SPDX-FileCopyrightText: 2017 Konstantinos Sideris +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/src/emojimodel.h b/src/emojimodel.h index 8f8437356..ec58882ac 100644 --- a/src/emojimodel.h +++ b/src/emojimodel.h @@ -1,8 +1,5 @@ -/** - * SPDX-FileCopyrightText: 2018 Black Hat - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2018 Black Hat +// SPDX-License-Identifier: GPL-3.0-only #pragma once diff --git a/src/filetypesingleton.cpp b/src/filetypesingleton.cpp index 10617142c..184104d26 100644 --- a/src/filetypesingleton.cpp +++ b/src/filetypesingleton.cpp @@ -1,6 +1,5 @@ -/* SPDX-FileCopyrightText: 2021 Noah Davis - * SPDX-License-Identifier: LicenseRef-KDE-Accepted-LGPL - */ +// SPDX-FileCopyrightText: 2021 Noah Davis +// SPDX-License-Identifier: LicenseRef-KDE-Accepted-LGPL #include "filetypesingleton.h" #include diff --git a/src/filetypesingleton.h b/src/filetypesingleton.h index e3fe704b7..3032bc02b 100644 --- a/src/filetypesingleton.h +++ b/src/filetypesingleton.h @@ -1,8 +1,7 @@ -/* SPDX-FileCopyrightText: 2015 Klaralvdalens Datakonsult AB - * SPDX-FileCopyrightText: 2016 The Qt Company Ltd. - * SPDX-FileCopyrightText: 2021 Noah Davis - * SPDX-License-Identifier: LicenseRef-KDE-Accepted-LGPL - */ +// SPDX-FileCopyrightText: 2015 Klaralvdalens Datakonsult AB +// SPDX-FileCopyrightText: 2016 The Qt Company Ltd. +// SPDX-FileCopyrightText: 2021 Noah Davis +// SPDX-License-Identifier: LicenseRef-KDE-Accepted-LGPL #pragma once diff --git a/src/login.cpp b/src/login.cpp index 1bedf90ee..6dae9c817 100644 --- a/src/login.cpp +++ b/src/login.cpp @@ -1,8 +1,5 @@ -/** - * SPDX-FileCopyrightText: 2020 Tobias Fella - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ +// SPDX-FileCopyrightText: 2020 Tobias Fella +// SPDX-License-Identifier: GPL-2.0-or-later #include "login.h" #include "connection.h" diff --git a/src/login.h b/src/login.h index 76d3c7197..a465353be 100644 --- a/src/login.h +++ b/src/login.h @@ -1,8 +1,5 @@ -/** - * SPDX-FileCopyrightText: 2020 Tobias Fella - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ +// SPDX-FileCopyrightText: 2020 Tobias Fella +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/src/main.cpp b/src/main.cpp index 66c7e536d..83d006375 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,8 +1,6 @@ -/** - * SPDX-FileCopyrightText: 2018-2019 Black Hat - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2018-2019 Black Hat +// SPDX-License-Identifier: GPL-3.0-only + #include #include #include diff --git a/src/matriximageprovider.cpp b/src/matriximageprovider.cpp index 33b351a55..401c0e77d 100644 --- a/src/matriximageprovider.cpp +++ b/src/matriximageprovider.cpp @@ -1,9 +1,7 @@ -/** - * SPDX-FileCopyrightText: 2018-2019 Black Hat - * SPDX-FileCopyrightText: 2019 Kitsune Ral - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2018-2019 Black Hat +// SPDX-FileCopyrightText: 2019 Kitsune Ral +// SPDX-License-Identifier: GPL-3.0-only + #include "matriximageprovider.h" #include diff --git a/src/matriximageprovider.h b/src/matriximageprovider.h index 9db6012c0..d5f28aa7e 100644 --- a/src/matriximageprovider.h +++ b/src/matriximageprovider.h @@ -1,9 +1,6 @@ -/** - * SPDX-FileCopyrightText: 2018-2019 Black Hat - * SPDX-FileCopyrightText: 2019 Kitsune Ral - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2018-2019 Black Hat +// SPDX-FileCopyrightText: 2019 Kitsune Ral +// SPDX-License-Identifier: GPL-3.0-only #pragma once diff --git a/src/messageeventmodel.cpp b/src/messageeventmodel.cpp index ecfc7562f..1d67a187d 100644 --- a/src/messageeventmodel.cpp +++ b/src/messageeventmodel.cpp @@ -1,8 +1,6 @@ -/** - * SPDX-FileCopyrightText: 2018-2019 Black Hat - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2018-2019 Black Hat +// SPDX-License-Identifier: GPL-3.0-only + #include "messageeventmodel.h" #include "neochatconfig.h" diff --git a/src/messageeventmodel.h b/src/messageeventmodel.h index 1ac16d103..443d92eae 100644 --- a/src/messageeventmodel.h +++ b/src/messageeventmodel.h @@ -1,8 +1,5 @@ -/** - * SPDX-FileCopyrightText: 2018-2019 Black Hat - * - * SPDX-License-Identifier: GPL-3.0-only - */ +// SPDX-FileCopyrightText: 2018-2019 Black Hat +// SPDX-License-Identifier: GPL-3.0-only #pragma once diff --git a/src/messagefiltermodel.cpp b/src/messagefiltermodel.cpp index c911df7fa..057f5c5e7 100644 --- a/src/messagefiltermodel.cpp +++ b/src/messagefiltermodel.cpp @@ -1,7 +1,5 @@ -/* - * SPDX-FileCopyrightText: 2021 Nicolas Fella - * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL - */ +// SPDX-FileCopyrightText: 2021 Nicolas Fella +// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL #include "messagefiltermodel.h" diff --git a/src/messagefiltermodel.h b/src/messagefiltermodel.h index 823507409..a0b19c663 100644 --- a/src/messagefiltermodel.h +++ b/src/messagefiltermodel.h @@ -1,7 +1,5 @@ -/* - * SPDX-FileCopyrightText: 2021 Nicolas Fella - * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL - */ +// SPDX-FileCopyrightText: 2021 Nicolas Fella +// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL #pragma once