Warning, /multimedia/plasmatube/src/ui/components/BaseGridItem.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
0002 // SPDX-License-Identifier: GPL-3.0-or-later
0003 
0004 import QtQuick
0005 import QtQuick.Layouts
0006 import QtQuick.Controls as QQC2
0007 
0008 import org.kde.kirigami as Kirigami
0009 
0010 QQC2.ItemDelegate {
0011     id: root
0012 
0013     signal contextMenuRequested
0014 
0015     hoverEnabled: !Kirigami.Settings.hasTransientTouchInput
0016     onPressAndHold: contextMenuRequested()
0017 }