Add SPDX ID LGPL v3+ license headers

This commit is contained in:
miruka 2019-12-19 07:46:16 -04:00
parent d3ee39bf7b
commit fb1f9c62e5
142 changed files with 284 additions and 0 deletions

View File

@ -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"

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
import asyncio
import logging as log
import sys

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
"""Custom exception definitions."""
from dataclasses import dataclass, field

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
"""HTML and Markdown processing tools."""
import re

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
"""Matrix client and related classes."""
import asyncio

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
"""Matrix media downloading, caching and retrieval."""
import asyncio

View File

@ -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

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
"""`ModelItem` subclasses definitions."""
import asyncio

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
import logging as log
import time
from threading import Lock, Thread

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
import asyncio
import json
import logging as log

View File

@ -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

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
"""Install `uvloop` if possible and provide a `QMLBridge`."""
import asyncio

View File

@ -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.

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
"""User data and configuration files definitions."""
import asyncio

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
"""Various utilities that are used throughout the package."""
import collections

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
// Function implementations of the Clipboard class, see the clipboard.h file.
#include <QClipboard>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
// The Clipboard class exposes system clipboard management and retrieval
// to QML.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12
import "../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import RadialBar 1.0

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
ColorAnimation {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
Flow {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtGraphicalEffects 1.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
Image {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick.Controls 2.12
import QtQuick 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QSyncable 1.0

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
Loader {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
HImage {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
NumberAnimation {

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
PauseAnimation {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick.Controls 2.12
import QtQuick 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
HLabel {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
HAvatar {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
FocusScope {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
Shortcut {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
HAvatar {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtAV 1.7

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import Qt.labs.platform 1.1
import "../Popups"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import Qt.labs.platform 1.1

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import Qt.labs.platform 1.1
import "../Popups"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import Qt.labs.platform 1.1

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Controls 2.12
import "Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtGraphicalEffects 1.12
import "Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../../Base"

Some files were not shown because too many files have changed in this diff Show More