Warning, /multimedia/audiotube/src/contents/ui/ConfirmationMessage.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2021 Dimitris Kardarakos <dimkard@posteo.net>
0002 //
0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 
0005 import QtQuick 2.15
0006 import org.kde.kirigami 2.14 as Kirigami
0007 
0008 Kirigami.InlineMessage {
0009 
0010     property var okAction
0011     property var cancelAction
0012 
0013     visible: false
0014     actions: [
0015         Kirigami.Action {
0016             text: i18n("OK")
0017 
0018             onTriggered: okAction()
0019         },
0020         Kirigami.Action {
0021             text: i18n("Cancel")
0022 
0023             onTriggered: cancelAction()
0024         }
0025     ]
0026 }