Warning, /multimedia/audiotube/src/qtmpris/example/qml/controller.qml is written in an unsupported language. File is not indexed.

0001 //SPDX-FileCopyrightText: 2015 Jolla Ltd. <valerio.valerio@jolla.com>
0002 //SPDX-FileContributor: Andres Gomez
0003 //
0004 //SPDX-License-Identifier: LGPL-2.1-or-later
0005 
0006 
0007 import QtQuick 2.0
0008 import org.nemomobile.qtmpris 1.0
0009 
0010 Item {
0011     id: mainItem
0012 
0013     anchors.fill: parent
0014 
0015     Loader {
0016         id: controlsLoader
0017 
0018         active: mprisManager.availableServices.length > 0
0019 
0020         Component.onCompleted: setSource("MprisControls.qml", { "mprisManager": mprisManager, "parent": mainItem })
0021 
0022         MprisManager {
0023             id: mprisManager
0024         }
0025     }
0026 }