shift-shell/components/mobileshell/qml/statusbar/indicators/BluetoothIndicator.qml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
790 B
QML
Raw Normal View History

/*
SPDX-FileCopyrightText: 2021 Devin Lin <espidev@gmail.com
2021-03-01 20:03:25 +00:00
SPDX-FileCopyrightText: 2019 Marco Martin <mart@kde.org>
SPDX-FileCopyrightText: 2013-2017 Jan Grulich <jgrulich@redhat.com>
2021-03-01 20:03:25 +00:00
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
import QtQuick 2.2
import QtQuick.Layouts 1.4
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
import org.kde.bluezqt 1.0 as BluezQt
PlasmaCore.IconItem {
id: connectionIcon
property MobileShell.BluetoothProvider provider: MobileShell.BluetoothProvider
source: provider.icon
colorGroup: PlasmaCore.ColorScope.colorGroup
visible: provider.isVisible
Layout.fillHeight: true
Layout.preferredWidth: height
}