QIviPlayableItem Class

The QIviPlayableItem is the base class of a row in the QIviPlayQueue model. More...

Header: #include <QIviPlayableItem>
qmake: QT += ivimedia
Instantiated By: PlayableItem
Inherits: QIviSearchAndBrowseModelItem
Inherited By:

QIviAudioTrackItem

Properties

Public Functions

QIviPlayableItem()
QIviPlayableItem(const QIviPlayableItem &)
~QIviPlayableItem()
virtual void setUrl(const QUrl &url)
virtual QUrl url() const
bool operator!=(const QIviPlayableItem &other)
QIviPlayableItem &operator=(const QIviPlayableItem &)
bool operator==(const QIviPlayableItem &other)

Reimplemented Public Functions

virtual QString type() const override

Detailed Description

The QIviPlayableItem is the base class of a row in the QIviPlayQueue model.

Property Documentation

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.

Access functions:

virtual QUrl url() const
virtual void setUrl(const QUrl &url)

Member Function Documentation

QIviPlayableItem::QIviPlayableItem()

Default constructs an instance of QIviPlayableItem.

QIviPlayableItem::QIviPlayableItem(const QIviPlayableItem &)

Copy constructor.

QIviPlayableItem::~QIviPlayableItem()

Destroys the instance of QIviPlayableItem.

[override virtual] QString QIviPlayableItem::type() const

Reimplemented from QIviSearchAndBrowseModelItem::type().

bool QIviPlayableItem::operator!=(const QIviPlayableItem &other)

Returns true if this item is not equal to other; otherwise returns false.

See also operator==().

QIviPlayableItem &QIviPlayableItem::operator=(const QIviPlayableItem &)

Copy-assignment operator.

bool QIviPlayableItem::operator==(const QIviPlayableItem &other)

Returns true if this item is equal to other; otherwise returns false.

See also operator!=().

© 2018 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.