QAudioRoleControl Class
The QAudioRoleControl class provides control over the audio role of a media object. More...
| Header: | #include <QAudioRoleControl> |
| qmake: | QT += multimedia |
| Since: | Qt 5.6 |
| Inherits: | QMediaControl |
This class was introduced in Qt 5.6.
Public Functions
| virtual | ~QAudioRoleControl() |
- 30 public functions inherited from QObject
Protected Functions
| QAudioRoleControl(QObject *parent = nullptr) |
- 9 protected functions inherited from QObject
Related Non-Members
| typedef | QObjectList |
| QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
| T | qobject_cast(QObject *object) |
| T | qobject_cast(const QObject *object) |
Macros
| QAudioRoleControl_iid | |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO(Name, Value) | |
| Q_DISABLE_COPY(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_EMIT | |
| Q_ENUM(...) | |
| Q_ENUM_NS(...) | |
| Q_FLAG(...) | |
| Q_FLAG_NS(...) | |
| Q_GADGET | |
| Q_INTERFACES(...) | |
| Q_INVOKABLE | |
| Q_MEDIA_DECLARE_CONTROL(Class, IId) | |
| Q_NAMESPACE | |
| Q_OBJECT | |
| Q_PROPERTY(...) | |
| Q_REVISION | |
| Q_SET_OBJECT_NAME(Object) | |
| Q_SIGNAL | |
| Q_SIGNALS | |
| Q_SLOT | |
| Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 9 static public members inherited from QObject
Detailed Description
If a QMediaService supports audio roles it will implement QAudioRoleControl.
The functionality provided by this control is exposed to application code through the QMediaPlayer class.
The interface name of QAudioRoleControl is org.qt-project.qt.audiorolecontrol/5.6 as defined in QAudioRoleControl_iid.
See also QMediaService::requestControl() and QMediaPlayer.
Member Function Documentation
[protected] QAudioRoleControl::QAudioRoleControl(QObject *parent = nullptr)
Construct a QAudioRoleControl with the given parent.
[virtual] QAudioRoleControl::~QAudioRoleControl()
Destroys the audio role control.
Macro Documentation
QAudioRoleControl::QAudioRoleControl_iid
org.qt-project.qt.audiorolecontrol/5.6
Defines the interface name of the QAudioRoleControl class.