2021-10-19 00:25:14 +01:00
|
|
|
/**
|
2024-09-03 23:36:25 +01:00
|
|
|
* SPDX-FileCopyrightText: 2021 Aleix Pol i Gonzalez <aleixpol@kde.org>
|
2021-10-19 00:25:14 +01:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
|
|
*/
|
|
|
|
|
2023-11-30 23:41:36 +00:00
|
|
|
import QtQuick
|
2024-09-03 23:36:25 +01:00
|
|
|
import org.kde.plasma.core as PlasmaCore
|
|
|
|
import org.kde.kdeconnect
|
2021-10-19 00:25:14 +01:00
|
|
|
|
2024-09-03 23:36:25 +01:00
|
|
|
QtObject
|
|
|
|
{
|
|
|
|
property alias device: checker.device
|
2021-10-19 00:25:14 +01:00
|
|
|
readonly property alias available: checker.available
|
|
|
|
|
2024-09-03 23:36:25 +01:00
|
|
|
readonly property PluginChecker pluginChecker: PluginChecker {
|
2021-10-19 00:25:14 +01:00
|
|
|
id: checker
|
|
|
|
pluginName: "virtualmonitor"
|
|
|
|
}
|
|
|
|
|
2024-09-03 23:36:25 +01:00
|
|
|
readonly property QtObject plugin: available ? VirtualmonitorDbusInterfaceFactory.create(device.id()) : null
|
2021-10-19 00:25:14 +01:00
|
|
|
}
|
2024-09-03 23:36:25 +01:00
|
|
|
|