Warning, /plasma/plasma-workspace/libkmpris/autotests/data/tst_MultiplexerModel.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2023 Fushan Wen <qydwhotmail@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 import QtQuick
0008 import org.kde.plasma.private.mpris as MPRIS
0009 
0010 Item {
0011     id: root
0012     readonly property alias count: repeater.count
0013     property QtObject modelData
0014     MPRIS.MultiplexerModel {
0015         id: mpris
0016     }
0017     Repeater {
0018         id: repeater
0019         model: mpris
0020         Item {
0021             Component.onCompleted: {
0022                 root.modelData = model;
0023             }
0024         }
0025     }
0026 }