QIfPlayableItem Class

The QIfPlayableItem is the base class of a row in the QIfPlayQueue model. More...

Header: #include <QIfPlayableItem>
qmake: QT += ifmedia
Instantiated By: PlayableItem
Inherits: QIfStandardItem
Inherited By:

QIfAudioTrackItem

Properties

Public Functions

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

Reimplemented Public Functions

virtual QString type() const override

Detailed Description

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

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

Reimplements an access function for property: QIfStandardItem::type.

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

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

See also operator==().

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

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

See also operator!=().

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