PlayableItem QML Type

The PlayableItem is the base class of a row in the PlayQueue model. More...

Import Statement: import QtInterfaceFramework.Media 1.0
Instantiates: QIfPlayableItem
Inherits:

StandardItem

Inherited By:

AudioTrackItem

Properties

Detailed Description

Note: This item is not creatable from QML.

Property Documentation

data : object

A generic data field which can hold any data.

This can be moved for storing additional data which is not part of the base class. E.g. the "composer" of an audio track.


id : string

A unique identifier, which can be used to identify this item.

This is mainly used by the backend to implement filtering or browsing.


name : string

The name of the item. E.g. The name of a contact in a addressbook, or the artist-name in a list of artists.


type : string

The type of the item. E.g. "artist", "track", "contact".


url : QUrl

The url to the resource which should be played.

E.g. a local file url to a audio track or a url to a web stream.


© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.