From fb1f9c62e5732cc182b534af74d3f588a5dc9ea9 Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 19 Dec 2019 07:46:16 -0400 Subject: [PATCH] Add SPDX ID LGPL v3+ license headers --- src/backend/__init__.py | 2 ++ src/backend/backend.py | 2 ++ src/backend/errors.py | 2 ++ src/backend/html_markdown.py | 2 ++ src/backend/matrix_client.py | 2 ++ src/backend/media_cache.py | 2 ++ src/backend/models/__init__.py | 2 ++ src/backend/models/items.py | 2 ++ src/backend/models/model.py | 2 ++ src/backend/models/model_item.py | 2 ++ src/backend/models/model_store.py | 2 ++ src/backend/nio_callbacks.py | 2 ++ src/backend/pyotherside_events.py | 2 ++ src/backend/qml_bridge.py | 2 ++ src/backend/theme_parser.py | 2 ++ src/backend/user_files.py | 2 ++ src/backend/utils.py | 2 ++ src/clipboard.cpp | 2 ++ src/clipboard.h | 2 ++ src/gui/Base/HAvatar.qml | 2 ++ src/gui/Base/HBox.qml | 2 ++ src/gui/Base/HBusyIndicator.qml | 2 ++ src/gui/Base/HButton.qml | 2 ++ src/gui/Base/HButtonBackground.qml | 2 ++ src/gui/Base/HButtonContent.qml | 2 ++ src/gui/Base/HCheckBox.qml | 2 ++ src/gui/Base/HCircleProgressBar.qml | 2 ++ src/gui/Base/HColorAnimation.qml | 2 ++ src/gui/Base/HColumnLayout.qml | 2 ++ src/gui/Base/HDrawer.qml | 2 ++ src/gui/Base/HFlickable.qml | 2 ++ src/gui/Base/HFlow.qml | 2 ++ src/gui/Base/HGridLayout.qml | 2 ++ src/gui/Base/HIcon.qml | 2 ++ src/gui/Base/HImage.qml | 2 ++ src/gui/Base/HLabel.qml | 2 ++ src/gui/Base/HLabeledTextField.qml | 2 ++ src/gui/Base/HListModel.qml | 2 ++ src/gui/Base/HListView.qml | 2 ++ src/gui/Base/HLoader.qml | 2 ++ src/gui/Base/HMenu.qml | 2 ++ src/gui/Base/HMenuItem.qml | 2 ++ src/gui/Base/HMxcImage.qml | 2 ++ src/gui/Base/HNoticePage.qml | 2 ++ src/gui/Base/HNumberAnimation.qml | 2 ++ src/gui/Base/HPage.qml | 2 ++ src/gui/Base/HPauseAnimation.qml | 2 ++ src/gui/Base/HPopup.qml | 2 ++ src/gui/Base/HProgressBar.qml | 2 ++ src/gui/Base/HRepeater.qml | 2 ++ src/gui/Base/HRichLabel.qml | 2 ++ src/gui/Base/HRoomAvatar.qml | 2 ++ src/gui/Base/HRowLayout.qml | 2 ++ src/gui/Base/HScrollableTextArea.qml | 2 ++ src/gui/Base/HSelectableLabel.qml | 2 ++ src/gui/Base/HSelectableLabelContainer.qml | 2 ++ src/gui/Base/HShortcut.qml | 2 ++ src/gui/Base/HSlider.qml | 2 ++ src/gui/Base/HSpacer.qml | 2 ++ src/gui/Base/HSwipeView.qml | 2 ++ src/gui/Base/HTabBar.qml | 2 ++ src/gui/Base/HTabButton.qml | 2 ++ src/gui/Base/HTabContainer.qml | 2 ++ src/gui/Base/HTextField.qml | 2 ++ src/gui/Base/HTile.qml | 2 ++ src/gui/Base/HTileDelegate.qml | 2 ++ src/gui/Base/HToolTip.qml | 2 ++ src/gui/Base/HUserAvatar.qml | 2 ++ src/gui/Base/MediaPlayer/AudioPlayer.qml | 2 ++ src/gui/Base/MediaPlayer/OSD.qml | 2 ++ src/gui/Base/MediaPlayer/OSDButton.qml | 2 ++ src/gui/Base/MediaPlayer/OSDLabel.qml | 2 ++ src/gui/Base/MediaPlayer/VideoPlayer.qml | 2 ++ src/gui/DebugConsole.qml | 2 ++ src/gui/Dialogs/ExportKeys.qml | 2 ++ src/gui/Dialogs/HFileDialogOpener.qml | 2 ++ src/gui/Dialogs/ImportKeys.qml | 2 ++ src/gui/Dialogs/SendFilePicker.qml | 2 ++ src/gui/GlobalShortcuts.qml | 2 ++ src/gui/LoadingScreen.qml | 2 ++ src/gui/MainPane/AccountDelegate.qml | 2 ++ src/gui/MainPane/AccountRoomList.qml | 2 ++ src/gui/MainPane/MainPane.qml | 2 ++ src/gui/MainPane/MainPaneToolBar.qml | 2 ++ src/gui/MainPane/RoomDelegate.qml | 2 ++ src/gui/PageLoader.qml | 2 ++ src/gui/Pages/AccountSettings/AccountSettings.qml | 2 ++ src/gui/Pages/AccountSettings/ImportExportKeys.qml | 2 ++ src/gui/Pages/AccountSettings/Profile.qml | 2 ++ src/gui/Pages/AddAccount/AddAccount.qml | 2 ++ src/gui/Pages/AddAccount/Register.qml | 2 ++ src/gui/Pages/AddAccount/Reset.qml | 2 ++ src/gui/Pages/AddAccount/SignIn.qml | 2 ++ src/gui/Pages/AddChat/AddChat.qml | 2 ++ src/gui/Pages/AddChat/CreateRoom.qml | 2 ++ src/gui/Pages/AddChat/CurrentUserAvatar.qml | 2 ++ src/gui/Pages/AddChat/DirectChat.qml | 2 ++ src/gui/Pages/AddChat/EncryptCheckBox.qml | 2 ++ src/gui/Pages/AddChat/JoinRoom.qml | 2 ++ src/gui/Pages/Chat/Banners/Banner.qml | 2 ++ src/gui/Pages/Chat/Banners/InviteBanner.qml | 2 ++ src/gui/Pages/Chat/Banners/LeftBanner.qml | 2 ++ src/gui/Pages/Chat/Banners/UnknownDevicesBanner.qml | 2 ++ src/gui/Pages/Chat/Chat.qml | 2 ++ src/gui/Pages/Chat/ChatPage.qml | 2 ++ src/gui/Pages/Chat/Composer.qml | 2 ++ src/gui/Pages/Chat/FileTransfer/Transfer.qml | 2 ++ src/gui/Pages/Chat/FileTransfer/TransferList.qml | 2 ++ src/gui/Pages/Chat/LoadingRoomProgressBar.qml | 2 ++ src/gui/Pages/Chat/RoomHeader.qml | 2 ++ src/gui/Pages/Chat/RoomPane/MemberDelegate.qml | 2 ++ src/gui/Pages/Chat/RoomPane/MemberView.qml | 2 ++ src/gui/Pages/Chat/RoomPane/RoomPane.qml | 2 ++ src/gui/Pages/Chat/RoomPane/SettingsView.qml | 2 ++ src/gui/Pages/Chat/Timeline/Daybreak.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventAudio.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventContent.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventDelegate.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventFile.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventImage.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventImageTextBubble.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventList.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventMediaLoader.qml | 2 ++ src/gui/Pages/Chat/Timeline/EventVideo.qml | 2 ++ src/gui/Pages/Chat/TypingMembersBar.qml | 2 ++ src/gui/Pages/Default.qml | 2 ++ src/gui/Popups/BoxPopup.qml | 2 ++ src/gui/Popups/ClearMessagesPopup.qml | 2 ++ src/gui/Popups/ForgetRoomPopup.qml | 2 ++ src/gui/Popups/InviteToRoomPopup.qml | 2 ++ src/gui/Popups/LeaveRoomPopup.qml | 2 ++ src/gui/Popups/PasswordPopup.qml | 2 ++ src/gui/Popups/SignOutPopup.qml | 2 ++ src/gui/PythonBridge/EventHandlers.qml | 2 ++ src/gui/PythonBridge/Future.qml | 2 ++ src/gui/PythonBridge/PythonBridge.qml | 2 ++ src/gui/UI.qml | 2 ++ src/gui/Utils.qml | 2 ++ src/gui/Window.qml | 2 ++ src/main.cpp | 2 ++ src/utils.cpp | 2 ++ src/utils.h | 2 ++ 142 files changed, 284 insertions(+) diff --git a/src/backend/__init__.py b/src/backend/__init__.py index b4495bed..31a4c35c 100644 --- a/src/backend/__init__.py +++ b/src/backend/__init__.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """This package provides a Python backend accessible from the QML UI side.""" __app_name__ = "harmonyqml" diff --git a/src/backend/backend.py b/src/backend/backend.py index 4b6a8732..72ac0ce0 100644 --- a/src/backend/backend.py +++ b/src/backend/backend.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + import asyncio import logging as log import sys diff --git a/src/backend/errors.py b/src/backend/errors.py index 5a2b702b..105df1d8 100644 --- a/src/backend/errors.py +++ b/src/backend/errors.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """Custom exception definitions.""" from dataclasses import dataclass, field diff --git a/src/backend/html_markdown.py b/src/backend/html_markdown.py index 5d13749c..ee6758f6 100644 --- a/src/backend/html_markdown.py +++ b/src/backend/html_markdown.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """HTML and Markdown processing tools.""" import re diff --git a/src/backend/matrix_client.py b/src/backend/matrix_client.py index cf97c6bd..6d1efc17 100644 --- a/src/backend/matrix_client.py +++ b/src/backend/matrix_client.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """Matrix client and related classes.""" import asyncio diff --git a/src/backend/media_cache.py b/src/backend/media_cache.py index ca280a51..84f2b9ac 100644 --- a/src/backend/media_cache.py +++ b/src/backend/media_cache.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """Matrix media downloading, caching and retrieval.""" import asyncio diff --git a/src/backend/models/__init__.py b/src/backend/models/__init__.py index f4b9fac9..c27f14bb 100644 --- a/src/backend/models/__init__.py +++ b/src/backend/models/__init__.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """Provide classes related to data models shared between Python and QML.""" from typing import Tuple, Type, Union diff --git a/src/backend/models/items.py b/src/backend/models/items.py index b7963845..a2307b39 100644 --- a/src/backend/models/items.py +++ b/src/backend/models/items.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """`ModelItem` subclasses definitions.""" import asyncio diff --git a/src/backend/models/model.py b/src/backend/models/model.py index 148d2175..0d950576 100644 --- a/src/backend/models/model.py +++ b/src/backend/models/model.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + import logging as log import time from threading import Lock, Thread diff --git a/src/backend/models/model_item.py b/src/backend/models/model_item.py index 313fe638..3e1724d7 100644 --- a/src/backend/models/model_item.py +++ b/src/backend/models/model_item.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + from typing import Any, Dict, Optional from ..utils import serialize_value_for_qml diff --git a/src/backend/models/model_store.py b/src/backend/models/model_store.py index 40b364b8..7446313e 100644 --- a/src/backend/models/model_store.py +++ b/src/backend/models/model_store.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + from collections import UserDict from dataclasses import dataclass, field from typing import Dict diff --git a/src/backend/nio_callbacks.py b/src/backend/nio_callbacks.py index 7eb176a4..8ec0b17f 100644 --- a/src/backend/nio_callbacks.py +++ b/src/backend/nio_callbacks.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + import asyncio import json import logging as log diff --git a/src/backend/pyotherside_events.py b/src/backend/pyotherside_events.py index 2c0be16f..d4ef448d 100644 --- a/src/backend/pyotherside_events.py +++ b/src/backend/pyotherside_events.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + from dataclasses import dataclass, field from typing import Any, Dict, List, Optional, Union diff --git a/src/backend/qml_bridge.py b/src/backend/qml_bridge.py index 1a86c8c1..1042ac59 100644 --- a/src/backend/qml_bridge.py +++ b/src/backend/qml_bridge.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """Install `uvloop` if possible and provide a `QMLBridge`.""" import asyncio diff --git a/src/backend/theme_parser.py b/src/backend/theme_parser.py index b5d3b30c..f952f0b9 100644 --- a/src/backend/theme_parser.py +++ b/src/backend/theme_parser.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """QPL (Qt Property Language) theme files to QML converter. QPL is a custom configuration format currently used for theme files. diff --git a/src/backend/user_files.py b/src/backend/user_files.py index 9c80d198..37f6eb94 100644 --- a/src/backend/user_files.py +++ b/src/backend/user_files.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """User data and configuration files definitions.""" import asyncio diff --git a/src/backend/utils.py b/src/backend/utils.py index 0ef06d4a..c6d91a56 100644 --- a/src/backend/utils.py +++ b/src/backend/utils.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later + """Various utilities that are used throughout the package.""" import collections diff --git a/src/clipboard.cpp b/src/clipboard.cpp index 205eacf4..86453c63 100644 --- a/src/clipboard.cpp +++ b/src/clipboard.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + // Function implementations of the Clipboard class, see the clipboard.h file. #include diff --git a/src/clipboard.h b/src/clipboard.h index b6568a1f..b552f7da 100644 --- a/src/clipboard.h +++ b/src/clipboard.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + // The Clipboard class exposes system clipboard management and retrieval // to QML. diff --git a/src/gui/Base/HAvatar.qml b/src/gui/Base/HAvatar.qml index ee06426c..2c83a6ba 100644 --- a/src/gui/Base/HAvatar.qml +++ b/src/gui/Base/HAvatar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import "../Base" diff --git a/src/gui/Base/HBox.qml b/src/gui/Base/HBox.qml index 41e3dca7..c36711d6 100644 --- a/src/gui/Base/HBox.qml +++ b/src/gui/Base/HBox.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HBusyIndicator.qml b/src/gui/Base/HBusyIndicator.qml index c92bb169..b8c5b01b 100644 --- a/src/gui/Base/HBusyIndicator.qml +++ b/src/gui/Base/HBusyIndicator.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Shapes 1.12 diff --git a/src/gui/Base/HButton.qml b/src/gui/Base/HButton.qml index b6d86d6d..1ca0fabc 100644 --- a/src/gui/Base/HButton.qml +++ b/src/gui/Base/HButton.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HButtonBackground.qml b/src/gui/Base/HButtonBackground.qml index 52efb65b..7a124d25 100644 --- a/src/gui/Base/HButtonBackground.qml +++ b/src/gui/Base/HButtonBackground.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HButtonContent.qml b/src/gui/Base/HButtonContent.qml index dd0c9e9d..a8cda485 100644 --- a/src/gui/Base/HButtonContent.qml +++ b/src/gui/Base/HButtonContent.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HCheckBox.qml b/src/gui/Base/HCheckBox.qml index 45803fa3..031fe61f 100644 --- a/src/gui/Base/HCheckBox.qml +++ b/src/gui/Base/HCheckBox.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HCircleProgressBar.qml b/src/gui/Base/HCircleProgressBar.qml index 101d3f43..ab85d43b 100644 --- a/src/gui/Base/HCircleProgressBar.qml +++ b/src/gui/Base/HCircleProgressBar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import RadialBar 1.0 diff --git a/src/gui/Base/HColorAnimation.qml b/src/gui/Base/HColorAnimation.qml index 25ed5485..c5cc8790 100644 --- a/src/gui/Base/HColorAnimation.qml +++ b/src/gui/Base/HColorAnimation.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 ColorAnimation { diff --git a/src/gui/Base/HColumnLayout.qml b/src/gui/Base/HColumnLayout.qml index d6011a83..b075e029 100644 --- a/src/gui/Base/HColumnLayout.qml +++ b/src/gui/Base/HColumnLayout.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HDrawer.qml b/src/gui/Base/HDrawer.qml index 65aa048e..e028880d 100644 --- a/src/gui/Base/HDrawer.qml +++ b/src/gui/Base/HDrawer.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HFlickable.qml b/src/gui/Base/HFlickable.qml index cc78fda1..92d024d7 100644 --- a/src/gui/Base/HFlickable.qml +++ b/src/gui/Base/HFlickable.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HFlow.qml b/src/gui/Base/HFlow.qml index d3b5457f..27e562b9 100644 --- a/src/gui/Base/HFlow.qml +++ b/src/gui/Base/HFlow.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 Flow { diff --git a/src/gui/Base/HGridLayout.qml b/src/gui/Base/HGridLayout.qml index 6d6e26f9..86963ea7 100644 --- a/src/gui/Base/HGridLayout.qml +++ b/src/gui/Base/HGridLayout.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HIcon.qml b/src/gui/Base/HIcon.qml index c7ffa4bc..9796bbc5 100644 --- a/src/gui/Base/HIcon.qml +++ b/src/gui/Base/HIcon.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtGraphicalEffects 1.12 diff --git a/src/gui/Base/HImage.qml b/src/gui/Base/HImage.qml index d75d7528..d1b50609 100644 --- a/src/gui/Base/HImage.qml +++ b/src/gui/Base/HImage.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 Image { diff --git a/src/gui/Base/HLabel.qml b/src/gui/Base/HLabel.qml index ae024872..49c5024b 100644 --- a/src/gui/Base/HLabel.qml +++ b/src/gui/Base/HLabel.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick.Controls 2.12 import QtQuick 2.12 diff --git a/src/gui/Base/HLabeledTextField.qml b/src/gui/Base/HLabeledTextField.qml index 0b4ec145..190c9d71 100644 --- a/src/gui/Base/HLabeledTextField.qml +++ b/src/gui/Base/HLabeledTextField.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HListModel.qml b/src/gui/Base/HListModel.qml index 9817a7dc..709821b4 100644 --- a/src/gui/Base/HListModel.qml +++ b/src/gui/Base/HListModel.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QSyncable 1.0 diff --git a/src/gui/Base/HListView.qml b/src/gui/Base/HListView.qml index f56c46f2..53e46d76 100644 --- a/src/gui/Base/HListView.qml +++ b/src/gui/Base/HListView.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HLoader.qml b/src/gui/Base/HLoader.qml index bd334897..badc7515 100644 --- a/src/gui/Base/HLoader.qml +++ b/src/gui/Base/HLoader.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 Loader { diff --git a/src/gui/Base/HMenu.qml b/src/gui/Base/HMenu.qml index 8eef88e9..06cfebbd 100644 --- a/src/gui/Base/HMenu.qml +++ b/src/gui/Base/HMenu.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HMenuItem.qml b/src/gui/Base/HMenuItem.qml index 02cf67d2..7b29ee44 100644 --- a/src/gui/Base/HMenuItem.qml +++ b/src/gui/Base/HMenuItem.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HMxcImage.qml b/src/gui/Base/HMxcImage.qml index df308c16..a314224c 100644 --- a/src/gui/Base/HMxcImage.qml +++ b/src/gui/Base/HMxcImage.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 HImage { diff --git a/src/gui/Base/HNoticePage.qml b/src/gui/Base/HNoticePage.qml index 33ad06e3..7bdc186c 100644 --- a/src/gui/Base/HNoticePage.qml +++ b/src/gui/Base/HNoticePage.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/Base/HNumberAnimation.qml b/src/gui/Base/HNumberAnimation.qml index 09b391a8..e5750df0 100644 --- a/src/gui/Base/HNumberAnimation.qml +++ b/src/gui/Base/HNumberAnimation.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 NumberAnimation { diff --git a/src/gui/Base/HPage.qml b/src/gui/Base/HPage.qml index 5f35af43..27f081a0 100644 --- a/src/gui/Base/HPage.qml +++ b/src/gui/Base/HPage.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HPauseAnimation.qml b/src/gui/Base/HPauseAnimation.qml index e704df77..2b8c64e8 100644 --- a/src/gui/Base/HPauseAnimation.qml +++ b/src/gui/Base/HPauseAnimation.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 PauseAnimation { diff --git a/src/gui/Base/HPopup.qml b/src/gui/Base/HPopup.qml index 7ce65531..f4ad110b 100644 --- a/src/gui/Base/HPopup.qml +++ b/src/gui/Base/HPopup.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HProgressBar.qml b/src/gui/Base/HProgressBar.qml index 344e4f1f..3e41eb1f 100644 --- a/src/gui/Base/HProgressBar.qml +++ b/src/gui/Base/HProgressBar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HRepeater.qml b/src/gui/Base/HRepeater.qml index 1253aca8..393dec94 100644 --- a/src/gui/Base/HRepeater.qml +++ b/src/gui/Base/HRepeater.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick.Controls 2.12 import QtQuick 2.12 diff --git a/src/gui/Base/HRichLabel.qml b/src/gui/Base/HRichLabel.qml index d2a22b34..ba9f3bc7 100644 --- a/src/gui/Base/HRichLabel.qml +++ b/src/gui/Base/HRichLabel.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 HLabel { diff --git a/src/gui/Base/HRoomAvatar.qml b/src/gui/Base/HRoomAvatar.qml index 15b5cbda..9f4f35d1 100644 --- a/src/gui/Base/HRoomAvatar.qml +++ b/src/gui/Base/HRoomAvatar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 HAvatar { diff --git a/src/gui/Base/HRowLayout.qml b/src/gui/Base/HRowLayout.qml index 2a35d2cf..54d60373 100644 --- a/src/gui/Base/HRowLayout.qml +++ b/src/gui/Base/HRowLayout.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HScrollableTextArea.qml b/src/gui/Base/HScrollableTextArea.qml index f678cd62..ba5f0dc1 100644 --- a/src/gui/Base/HScrollableTextArea.qml +++ b/src/gui/Base/HScrollableTextArea.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HSelectableLabel.qml b/src/gui/Base/HSelectableLabel.qml index 0ac03783..33f00a86 100644 --- a/src/gui/Base/HSelectableLabel.qml +++ b/src/gui/Base/HSelectableLabel.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HSelectableLabelContainer.qml b/src/gui/Base/HSelectableLabelContainer.qml index 5e5410d8..3f45bd3c 100644 --- a/src/gui/Base/HSelectableLabelContainer.qml +++ b/src/gui/Base/HSelectableLabelContainer.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 FocusScope { diff --git a/src/gui/Base/HShortcut.qml b/src/gui/Base/HShortcut.qml index fc381617..1464b5c2 100644 --- a/src/gui/Base/HShortcut.qml +++ b/src/gui/Base/HShortcut.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 Shortcut { diff --git a/src/gui/Base/HSlider.qml b/src/gui/Base/HSlider.qml index ae0cb087..ea9d9f74 100644 --- a/src/gui/Base/HSlider.qml +++ b/src/gui/Base/HSlider.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HSpacer.qml b/src/gui/Base/HSpacer.qml index 2bd85522..64770cd8 100644 --- a/src/gui/Base/HSpacer.qml +++ b/src/gui/Base/HSpacer.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HSwipeView.qml b/src/gui/Base/HSwipeView.qml index e9bfd84f..65111347 100644 --- a/src/gui/Base/HSwipeView.qml +++ b/src/gui/Base/HSwipeView.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HTabBar.qml b/src/gui/Base/HTabBar.qml index ac7e1f1b..4b610c52 100644 --- a/src/gui/Base/HTabBar.qml +++ b/src/gui/Base/HTabBar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HTabButton.qml b/src/gui/Base/HTabButton.qml index e4609bea..0437de2a 100644 --- a/src/gui/Base/HTabButton.qml +++ b/src/gui/Base/HTabButton.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HTabContainer.qml b/src/gui/Base/HTabContainer.qml index 30274d2c..a9c8d898 100644 --- a/src/gui/Base/HTabContainer.qml +++ b/src/gui/Base/HTabContainer.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HTextField.qml b/src/gui/Base/HTextField.qml index 2ab8af35..72f99e5b 100644 --- a/src/gui/Base/HTextField.qml +++ b/src/gui/Base/HTextField.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 diff --git a/src/gui/Base/HTile.qml b/src/gui/Base/HTile.qml index a9f2f112..c47fc295 100644 --- a/src/gui/Base/HTile.qml +++ b/src/gui/Base/HTile.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HTileDelegate.qml b/src/gui/Base/HTileDelegate.qml index 8bb10cb1..92ef5b26 100644 --- a/src/gui/Base/HTileDelegate.qml +++ b/src/gui/Base/HTileDelegate.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HToolTip.qml b/src/gui/Base/HToolTip.qml index 4ffd227b..582d5633 100644 --- a/src/gui/Base/HToolTip.qml +++ b/src/gui/Base/HToolTip.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Base/HUserAvatar.qml b/src/gui/Base/HUserAvatar.qml index 48ed6ffd..e9cf1def 100644 --- a/src/gui/Base/HUserAvatar.qml +++ b/src/gui/Base/HUserAvatar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 HAvatar { diff --git a/src/gui/Base/MediaPlayer/AudioPlayer.qml b/src/gui/Base/MediaPlayer/AudioPlayer.qml index 51cd8e22..d81f18e2 100644 --- a/src/gui/Base/MediaPlayer/AudioPlayer.qml +++ b/src/gui/Base/MediaPlayer/AudioPlayer.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtAV 1.7 diff --git a/src/gui/Base/MediaPlayer/OSD.qml b/src/gui/Base/MediaPlayer/OSD.qml index 0977421a..baef2f90 100644 --- a/src/gui/Base/MediaPlayer/OSD.qml +++ b/src/gui/Base/MediaPlayer/OSD.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import QtAV 1.7 diff --git a/src/gui/Base/MediaPlayer/OSDButton.qml b/src/gui/Base/MediaPlayer/OSDButton.qml index 90bf8b96..3fed282a 100644 --- a/src/gui/Base/MediaPlayer/OSDButton.qml +++ b/src/gui/Base/MediaPlayer/OSDButton.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../Base" diff --git a/src/gui/Base/MediaPlayer/OSDLabel.qml b/src/gui/Base/MediaPlayer/OSDLabel.qml index b8ad868d..1c847b63 100644 --- a/src/gui/Base/MediaPlayer/OSDLabel.qml +++ b/src/gui/Base/MediaPlayer/OSDLabel.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Base/MediaPlayer/VideoPlayer.qml b/src/gui/Base/MediaPlayer/VideoPlayer.qml index 02fc84d0..2895f025 100644 --- a/src/gui/Base/MediaPlayer/VideoPlayer.qml +++ b/src/gui/Base/MediaPlayer/VideoPlayer.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Window 2.12 import QtAV 1.7 diff --git a/src/gui/DebugConsole.qml b/src/gui/DebugConsole.qml index 703e88f9..2146a550 100644 --- a/src/gui/DebugConsole.qml +++ b/src/gui/DebugConsole.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Window 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Dialogs/ExportKeys.qml b/src/gui/Dialogs/ExportKeys.qml index 7fea327e..04aa5bcd 100644 --- a/src/gui/Dialogs/ExportKeys.qml +++ b/src/gui/Dialogs/ExportKeys.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import Qt.labs.platform 1.1 import "../Popups" diff --git a/src/gui/Dialogs/HFileDialogOpener.qml b/src/gui/Dialogs/HFileDialogOpener.qml index bdd1d3ca..e36f34b6 100644 --- a/src/gui/Dialogs/HFileDialogOpener.qml +++ b/src/gui/Dialogs/HFileDialogOpener.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import Qt.labs.platform 1.1 diff --git a/src/gui/Dialogs/ImportKeys.qml b/src/gui/Dialogs/ImportKeys.qml index be9ed8c9..4abe9f8a 100644 --- a/src/gui/Dialogs/ImportKeys.qml +++ b/src/gui/Dialogs/ImportKeys.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import Qt.labs.platform 1.1 import "../Popups" diff --git a/src/gui/Dialogs/SendFilePicker.qml b/src/gui/Dialogs/SendFilePicker.qml index 8d8341fd..957d6025 100644 --- a/src/gui/Dialogs/SendFilePicker.qml +++ b/src/gui/Dialogs/SendFilePicker.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import Qt.labs.platform 1.1 diff --git a/src/gui/GlobalShortcuts.qml b/src/gui/GlobalShortcuts.qml index 7c18293c..55345066 100644 --- a/src/gui/GlobalShortcuts.qml +++ b/src/gui/GlobalShortcuts.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import "Base" diff --git a/src/gui/LoadingScreen.qml b/src/gui/LoadingScreen.qml index ef0bc3f6..49674de5 100644 --- a/src/gui/LoadingScreen.qml +++ b/src/gui/LoadingScreen.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtGraphicalEffects 1.12 import "Base" diff --git a/src/gui/MainPane/AccountDelegate.qml b/src/gui/MainPane/AccountDelegate.qml index 4d1d1aff..c78c6d54 100644 --- a/src/gui/MainPane/AccountDelegate.qml +++ b/src/gui/MainPane/AccountDelegate.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/MainPane/AccountRoomList.qml b/src/gui/MainPane/AccountRoomList.qml index 99a3cf85..08de8e4d 100644 --- a/src/gui/MainPane/AccountRoomList.qml +++ b/src/gui/MainPane/AccountRoomList.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/MainPane/MainPane.qml b/src/gui/MainPane/MainPane.qml index 7b09efe4..4617fadf 100644 --- a/src/gui/MainPane/MainPane.qml +++ b/src/gui/MainPane/MainPane.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/MainPane/MainPaneToolBar.qml b/src/gui/MainPane/MainPaneToolBar.qml index 8670848c..f9bc93fb 100644 --- a/src/gui/MainPane/MainPaneToolBar.qml +++ b/src/gui/MainPane/MainPaneToolBar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/MainPane/RoomDelegate.qml b/src/gui/MainPane/RoomDelegate.qml index 799b057c..dea42e88 100644 --- a/src/gui/MainPane/RoomDelegate.qml +++ b/src/gui/MainPane/RoomDelegate.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/PageLoader.qml b/src/gui/PageLoader.qml index 22e8d8bd..7f0ac9ba 100644 --- a/src/gui/PageLoader.qml +++ b/src/gui/PageLoader.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Pages/AccountSettings/AccountSettings.qml b/src/gui/Pages/AccountSettings/AccountSettings.qml index 11fd8f4f..cb6ca037 100644 --- a/src/gui/Pages/AccountSettings/AccountSettings.qml +++ b/src/gui/Pages/AccountSettings/AccountSettings.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Pages/AccountSettings/ImportExportKeys.qml b/src/gui/Pages/AccountSettings/ImportExportKeys.qml index 9be1c394..b60ee860 100644 --- a/src/gui/Pages/AccountSettings/ImportExportKeys.qml +++ b/src/gui/Pages/AccountSettings/ImportExportKeys.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/AccountSettings/Profile.qml b/src/gui/Pages/AccountSettings/Profile.qml index 2f1da836..ff4ab386 100644 --- a/src/gui/Pages/AccountSettings/Profile.qml +++ b/src/gui/Pages/AccountSettings/Profile.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Pages/AddAccount/AddAccount.qml b/src/gui/Pages/AddAccount/AddAccount.qml index 0cdd1fd7..0297dc37 100644 --- a/src/gui/Pages/AddAccount/AddAccount.qml +++ b/src/gui/Pages/AddAccount/AddAccount.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/AddAccount/Register.qml b/src/gui/Pages/AddAccount/Register.qml index 2a9af76e..0c105a3a 100644 --- a/src/gui/Pages/AddAccount/Register.qml +++ b/src/gui/Pages/AddAccount/Register.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/AddAccount/Reset.qml b/src/gui/Pages/AddAccount/Reset.qml index 2ef9b3d2..d2a6935e 100644 --- a/src/gui/Pages/AddAccount/Reset.qml +++ b/src/gui/Pages/AddAccount/Reset.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/AddAccount/SignIn.qml b/src/gui/Pages/AddAccount/SignIn.qml index b94643be..89ceca02 100644 --- a/src/gui/Pages/AddAccount/SignIn.qml +++ b/src/gui/Pages/AddAccount/SignIn.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/AddChat/AddChat.qml b/src/gui/Pages/AddChat/AddChat.qml index 2f7cd3d4..3f5edde1 100644 --- a/src/gui/Pages/AddChat/AddChat.qml +++ b/src/gui/Pages/AddChat/AddChat.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/AddChat/CreateRoom.qml b/src/gui/Pages/AddChat/CreateRoom.qml index 7533def3..5b79b9f4 100644 --- a/src/gui/Pages/AddChat/CreateRoom.qml +++ b/src/gui/Pages/AddChat/CreateRoom.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/AddChat/CurrentUserAvatar.qml b/src/gui/Pages/AddChat/CurrentUserAvatar.qml index ed87f59c..3c99b738 100644 --- a/src/gui/Pages/AddChat/CurrentUserAvatar.qml +++ b/src/gui/Pages/AddChat/CurrentUserAvatar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../Base" diff --git a/src/gui/Pages/AddChat/DirectChat.qml b/src/gui/Pages/AddChat/DirectChat.qml index f149ff8a..d5524f86 100644 --- a/src/gui/Pages/AddChat/DirectChat.qml +++ b/src/gui/Pages/AddChat/DirectChat.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/AddChat/EncryptCheckBox.qml b/src/gui/Pages/AddChat/EncryptCheckBox.qml index ee084cc5..97a214be 100644 --- a/src/gui/Pages/AddChat/EncryptCheckBox.qml +++ b/src/gui/Pages/AddChat/EncryptCheckBox.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../Base" diff --git a/src/gui/Pages/AddChat/JoinRoom.qml b/src/gui/Pages/AddChat/JoinRoom.qml index 10c9a997..8c838ea4 100644 --- a/src/gui/Pages/AddChat/JoinRoom.qml +++ b/src/gui/Pages/AddChat/JoinRoom.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/Chat/Banners/Banner.qml b/src/gui/Pages/Chat/Banners/Banner.qml index 1b65c790..57fdbea9 100644 --- a/src/gui/Pages/Chat/Banners/Banner.qml +++ b/src/gui/Pages/Chat/Banners/Banner.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Banners/InviteBanner.qml b/src/gui/Pages/Chat/Banners/InviteBanner.qml index dd29c648..8313f1eb 100644 --- a/src/gui/Pages/Chat/Banners/InviteBanner.qml +++ b/src/gui/Pages/Chat/Banners/InviteBanner.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Banners/LeftBanner.qml b/src/gui/Pages/Chat/Banners/LeftBanner.qml index 09f60726..54cf4dc6 100644 --- a/src/gui/Pages/Chat/Banners/LeftBanner.qml +++ b/src/gui/Pages/Chat/Banners/LeftBanner.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Banners/UnknownDevicesBanner.qml b/src/gui/Pages/Chat/Banners/UnknownDevicesBanner.qml index 399f3406..21de5387 100644 --- a/src/gui/Pages/Chat/Banners/UnknownDevicesBanner.qml +++ b/src/gui/Pages/Chat/Banners/UnknownDevicesBanner.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Chat.qml b/src/gui/Pages/Chat/Chat.qml index dd891d53..4daef705 100644 --- a/src/gui/Pages/Chat/Chat.qml +++ b/src/gui/Pages/Chat/Chat.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/Chat/ChatPage.qml b/src/gui/Pages/Chat/ChatPage.qml index d64f9151..f1e699ea 100644 --- a/src/gui/Pages/Chat/ChatPage.qml +++ b/src/gui/Pages/Chat/ChatPage.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/Chat/Composer.qml b/src/gui/Pages/Chat/Composer.qml index 7656769a..761694a7 100644 --- a/src/gui/Pages/Chat/Composer.qml +++ b/src/gui/Pages/Chat/Composer.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/Chat/FileTransfer/Transfer.qml b/src/gui/Pages/Chat/FileTransfer/Transfer.qml index ec45d658..cbe3e960 100644 --- a/src/gui/Pages/Chat/FileTransfer/Transfer.qml +++ b/src/gui/Pages/Chat/FileTransfer/Transfer.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/FileTransfer/TransferList.qml b/src/gui/Pages/Chat/FileTransfer/TransferList.qml index eba60c5a..ad2dde0c 100644 --- a/src/gui/Pages/Chat/FileTransfer/TransferList.qml +++ b/src/gui/Pages/Chat/FileTransfer/TransferList.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/LoadingRoomProgressBar.qml b/src/gui/Pages/Chat/LoadingRoomProgressBar.qml index 31bfcb71..fc78b91d 100644 --- a/src/gui/Pages/Chat/LoadingRoomProgressBar.qml +++ b/src/gui/Pages/Chat/LoadingRoomProgressBar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/Chat/RoomHeader.qml b/src/gui/Pages/Chat/RoomHeader.qml index 4fecce34..add8ce4f 100644 --- a/src/gui/Pages/Chat/RoomHeader.qml +++ b/src/gui/Pages/Chat/RoomHeader.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/Chat/RoomPane/MemberDelegate.qml b/src/gui/Pages/Chat/RoomPane/MemberDelegate.qml index a8c995fa..b19b2eb9 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberDelegate.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberDelegate.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/RoomPane/MemberView.qml b/src/gui/Pages/Chat/RoomPane/MemberView.qml index 24d747db..f8b7bb98 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/RoomPane/RoomPane.qml b/src/gui/Pages/Chat/RoomPane/RoomPane.qml index 87442f17..17e72549 100644 --- a/src/gui/Pages/Chat/RoomPane/RoomPane.qml +++ b/src/gui/Pages/Chat/RoomPane/RoomPane.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Pages/Chat/RoomPane/SettingsView.qml b/src/gui/Pages/Chat/RoomPane/SettingsView.qml index 02fbacf6..74a6f7d3 100644 --- a/src/gui/Pages/Chat/RoomPane/SettingsView.qml +++ b/src/gui/Pages/Chat/RoomPane/SettingsView.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/Daybreak.qml b/src/gui/Pages/Chat/Timeline/Daybreak.qml index 9ef42663..5c50f9b1 100644 --- a/src/gui/Pages/Chat/Timeline/Daybreak.qml +++ b/src/gui/Pages/Chat/Timeline/Daybreak.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/EventAudio.qml b/src/gui/Pages/Chat/Timeline/EventAudio.qml index 73598895..a34466cd 100644 --- a/src/gui/Pages/Chat/Timeline/EventAudio.qml +++ b/src/gui/Pages/Chat/Timeline/EventAudio.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import QtAV 1.7 diff --git a/src/gui/Pages/Chat/Timeline/EventContent.qml b/src/gui/Pages/Chat/Timeline/EventContent.qml index 748a1119..36ec5637 100644 --- a/src/gui/Pages/Chat/Timeline/EventContent.qml +++ b/src/gui/Pages/Chat/Timeline/EventContent.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/EventDelegate.qml b/src/gui/Pages/Chat/Timeline/EventDelegate.qml index b3cd30a8..1f8aa963 100644 --- a/src/gui/Pages/Chat/Timeline/EventDelegate.qml +++ b/src/gui/Pages/Chat/Timeline/EventDelegate.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/EventFile.qml b/src/gui/Pages/Chat/Timeline/EventFile.qml index 2da00d58..4267deb7 100644 --- a/src/gui/Pages/Chat/Timeline/EventFile.qml +++ b/src/gui/Pages/Chat/Timeline/EventFile.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/EventImage.qml b/src/gui/Pages/Chat/Timeline/EventImage.qml index d90e2ffd..531fcca3 100644 --- a/src/gui/Pages/Chat/Timeline/EventImage.qml +++ b/src/gui/Pages/Chat/Timeline/EventImage.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/EventImageTextBubble.qml b/src/gui/Pages/Chat/Timeline/EventImageTextBubble.qml index 8ff04ed2..196506b2 100644 --- a/src/gui/Pages/Chat/Timeline/EventImageTextBubble.qml +++ b/src/gui/Pages/Chat/Timeline/EventImageTextBubble.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/EventList.qml b/src/gui/Pages/Chat/Timeline/EventList.qml index 88332dfa..08c1e31e 100644 --- a/src/gui/Pages/Chat/Timeline/EventList.qml +++ b/src/gui/Pages/Chat/Timeline/EventList.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/EventMediaLoader.qml b/src/gui/Pages/Chat/Timeline/EventMediaLoader.qml index 792963c3..2c160b34 100644 --- a/src/gui/Pages/Chat/Timeline/EventMediaLoader.qml +++ b/src/gui/Pages/Chat/Timeline/EventMediaLoader.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import "../../../Base" diff --git a/src/gui/Pages/Chat/Timeline/EventVideo.qml b/src/gui/Pages/Chat/Timeline/EventVideo.qml index 3a9a89c2..adc37178 100644 --- a/src/gui/Pages/Chat/Timeline/EventVideo.qml +++ b/src/gui/Pages/Chat/Timeline/EventVideo.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import QtAV 1.7 diff --git a/src/gui/Pages/Chat/TypingMembersBar.qml b/src/gui/Pages/Chat/TypingMembersBar.qml index 343bcb0d..9749a45c 100644 --- a/src/gui/Pages/Chat/TypingMembersBar.qml +++ b/src/gui/Pages/Chat/TypingMembersBar.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../../Base" diff --git a/src/gui/Pages/Default.qml b/src/gui/Pages/Default.qml index 93bfbc0e..5865291d 100644 --- a/src/gui/Pages/Default.qml +++ b/src/gui/Pages/Default.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import "../Base" HNoticePage { diff --git a/src/gui/Popups/BoxPopup.qml b/src/gui/Popups/BoxPopup.qml index 74656bb4..20c2a36e 100644 --- a/src/gui/Popups/BoxPopup.qml +++ b/src/gui/Popups/BoxPopup.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/Popups/ClearMessagesPopup.qml b/src/gui/Popups/ClearMessagesPopup.qml index a20883e6..888c2c1d 100644 --- a/src/gui/Popups/ClearMessagesPopup.qml +++ b/src/gui/Popups/ClearMessagesPopup.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 BoxPopup { diff --git a/src/gui/Popups/ForgetRoomPopup.qml b/src/gui/Popups/ForgetRoomPopup.qml index f06912ea..064fc6f6 100644 --- a/src/gui/Popups/ForgetRoomPopup.qml +++ b/src/gui/Popups/ForgetRoomPopup.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 BoxPopup { diff --git a/src/gui/Popups/InviteToRoomPopup.qml b/src/gui/Popups/InviteToRoomPopup.qml index 29ef7da7..6016a025 100644 --- a/src/gui/Popups/InviteToRoomPopup.qml +++ b/src/gui/Popups/InviteToRoomPopup.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/Popups/LeaveRoomPopup.qml b/src/gui/Popups/LeaveRoomPopup.qml index beff62fa..2be62842 100644 --- a/src/gui/Popups/LeaveRoomPopup.qml +++ b/src/gui/Popups/LeaveRoomPopup.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 BoxPopup { diff --git a/src/gui/Popups/PasswordPopup.qml b/src/gui/Popups/PasswordPopup.qml index d7328ef6..fd98bf2d 100644 --- a/src/gui/Popups/PasswordPopup.qml +++ b/src/gui/Popups/PasswordPopup.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Layouts 1.12 import "../Base" diff --git a/src/gui/Popups/SignOutPopup.qml b/src/gui/Popups/SignOutPopup.qml index b54ccaf1..a5df4972 100644 --- a/src/gui/Popups/SignOutPopup.qml +++ b/src/gui/Popups/SignOutPopup.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 BoxPopup { diff --git a/src/gui/PythonBridge/EventHandlers.qml b/src/gui/PythonBridge/EventHandlers.qml index 50cf9cdf..40503e0d 100644 --- a/src/gui/PythonBridge/EventHandlers.qml +++ b/src/gui/PythonBridge/EventHandlers.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 QtObject { diff --git a/src/gui/PythonBridge/Future.qml b/src/gui/PythonBridge/Future.qml index 3e56a2e2..d9a6a102 100644 --- a/src/gui/PythonBridge/Future.qml +++ b/src/gui/PythonBridge/Future.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 QtObject { diff --git a/src/gui/PythonBridge/PythonBridge.qml b/src/gui/PythonBridge/PythonBridge.qml index d74f87fe..14f72571 100644 --- a/src/gui/PythonBridge/PythonBridge.qml +++ b/src/gui/PythonBridge/PythonBridge.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import io.thp.pyotherside 1.5 diff --git a/src/gui/UI.qml b/src/gui/UI.qml index 41600f53..b2a3e72e 100644 --- a/src/gui/UI.qml +++ b/src/gui/UI.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 diff --git a/src/gui/Utils.qml b/src/gui/Utils.qml index 62021769..3fb382a3 100644 --- a/src/gui/Utils.qml +++ b/src/gui/Utils.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 QtObject { diff --git a/src/gui/Window.qml b/src/gui/Window.qml index efb138cf..bc78acd1 100644 --- a/src/gui/Window.qml +++ b/src/gui/Window.qml @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + import QtQuick 2.12 import QtQuick.Controls 2.12 import "Base" diff --git a/src/main.cpp b/src/main.cpp index 118b476f..a3f19573 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + // This file creates the application, registers custom objects for QML // and launches Window.qml (the root component). diff --git a/src/utils.cpp b/src/utils.cpp index 0f2d455c..1ecef39d 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + // Function implementations of the Utils class, see the utils.h file. #include diff --git a/src/utils.h b/src/utils.h index b781d4ae..9c6cbb94 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + // The Utils class exposes various useful functions for QML that aren't // normally provided by Qt.