Obsolete Members for QMediaContent
The following members of class QMediaContent are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(obsolete) | QMediaContent(const QMediaResourceList &resources) |
(obsolete) | QMediaContent(const QMediaResource &resource) |
(obsolete) QNetworkRequest | canonicalRequest() const |
(obsolete) QMediaResource | canonicalResource() const |
(obsolete) QUrl | canonicalUrl() const |
(obsolete) QMediaResourceList | resources() const |
Member Function Documentation
QMediaContent::QMediaContent(const QMediaResourceList &resources)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Constructs a media content with resources providing a reference to the content.
QMediaContent::QMediaContent(const QMediaResource &resource)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Constructs a media content with resource providing a reference to the content.
QNetworkRequest QMediaContent::canonicalRequest() const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns a QNetworkRequest that represents that canonical resource for this media content.
QMediaResource QMediaContent::canonicalResource() const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns a QMediaResource that represents that canonical resource for this media content.
QUrl QMediaContent::canonicalUrl() const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns a QUrl that represents that canonical resource for this media content.
QMediaResourceList QMediaContent::resources() const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns a list of alternative resources for this media content. The first item in this list is always the canonical resource.
© 2024 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.