Warning, /plasma/discover/discover/qml/ConvertDiscoverAction.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2015 Aleix Pol Gonzalez <aleixpol@blue-systems.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 import QtQml 0008 import org.kde.kirigami as Kirigami 0009 import org.kde.discover as Discover 0010 0011 /* 0012 * Converts a DiscoverAction into a Kirigami.Action so we can use DiscoverActions 0013 * with QQC2 components 0014 */ 0015 Kirigami.Action { 0016 required property Discover.DiscoverAction action 0017 0018 icon.name: action.iconName 0019 text: action.text 0020 tooltip: action.toolTip 0021 visible: action.visible 0022 onTriggered: action.trigger() 0023 }