summary refs log tree commit diff
path: root/src/notifications
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-03-05 00:35:15 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-05 01:04:07 +0100
commita6f0d2ea7d8eb359e7d9ca7b5aac91ffe9d140ec (patch)
treeaab5ff97d57e57ea675e27adbf80449939cedebe /src/notifications
parentAvoid some duplicate property queries (diff)
downloadnheko-a6f0d2ea7d8eb359e7d9ca7b5aac91ffe9d140ec.tar.xz
Update license headers
Diffstat (limited to 'src/notifications')
-rw-r--r--src/notifications/Manager.h4
-rw-r--r--src/notifications/ManagerLinux.cpp13
-rw-r--r--src/notifications/ManagerWin.cpp4
3 files changed, 14 insertions, 7 deletions
diff --git a/src/notifications/Manager.h b/src/notifications/Manager.h
index 950740ba..e2b3236a 100644
--- a/src/notifications/Manager.h
+++ b/src/notifications/Manager.h
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2021 Nheko Contributors
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
 #pragma once
 
 #include <QImage>
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp
index c7fd4023..a222bd36 100644
--- a/src/notifications/ManagerLinux.cpp
+++ b/src/notifications/ManagerLinux.cpp
@@ -44,12 +44,11 @@ NotificationsManager::NotificationsManager(QObject *parent)
                                               SLOT(notificationReplied(uint, QString)));
 }
 
-/**
- * This function is based on code from
- * https://github.com/rohieb/StratumsphereTrayIcon
- * Copyright (C) 2012 Roland Hieber <rohieb@rohieb.name>
- * Licensed under the GNU General Public License, version 3
- */
+// SPDX-FileCopyrightText: 2012 Roland Hieber <rohieb@rohieb.name>
+// SPDX-FileCopyrightText: 2021 Nheko Contributors
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
 void
 NotificationsManager::postNotification(const mtx::responses::Notification &notification,
                                        const QImage &icon)
@@ -174,7 +173,7 @@ NotificationsManager::notificationClosed(uint id, uint reason)
  * http://www.clementine-player.org) and licensed under the GNU General Public
  * License, version 3 or later.
  *
- * Copyright 2010, David Sansome <me@davidsansome.com>
+ * SPDX-FileCopyrightText: 2010 David Sansome <me@davidsansome.com>
  */
 QDBusArgument &
 operator<<(QDBusArgument &arg, const QImage &image)
diff --git a/src/notifications/ManagerWin.cpp b/src/notifications/ManagerWin.cpp
index 85abe642..3152d84f 100644
--- a/src/notifications/ManagerWin.cpp
+++ b/src/notifications/ManagerWin.cpp
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2021 Nheko Contributors
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
 #include "notifications/Manager.h"
 #include "wintoastlib.h"