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 2.15
0008 import org.kde.kirigami 2.15 as Kirigami
0009 
0010 /*
0011  * Converts a DiscoverAction into a Kirigami.Action so we can use DiscoverActions
0012  * with QQC2 components
0013  */
0014 Kirigami.Action {
0015     property QtObject action
0016     icon.name: action.iconName
0017     text: action.text
0018     tooltip: action.toolTip
0019     visible: action.visible
0020     onTriggered: action.trigger()
0021 }