2021-10-19 00:25:14 +01:00
|
|
|
/**
|
|
|
|
* SPDX-FileCopyrightText: 2021 Aleix Pol i Gonzalez <aleixpol@kde.org>
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
import org.kde.plasma.core as PlasmaCore
|
|
|
|
import org.kde.kdeconnect
|
2021-10-19 00:25:14 +01:00
|
|
|
|
|
|
|
QtObject
|
|
|
|
{
|
|
|
|
property alias device: checker.device
|
|
|
|
readonly property alias available: checker.available
|
|
|
|
|
|
|
|
readonly property PluginChecker pluginChecker: PluginChecker {
|
|
|
|
id: checker
|
|
|
|
pluginName: "virtualmonitor"
|
|
|
|
}
|
|
|
|
|
|
|
|
readonly property QtObject plugin: available ? VirtualmonitorDbusInterfaceFactory.create(device.id()) : null
|
|
|
|
}
|
|
|
|
|