QIfMediaUsbDevice Class
QIfMediaUsbDevice represents a USB device connected to the system. More...
Header: | #include <QIfMediaUsbDevice> |
qmake: | QT += ifmedia |
Instantiated By: | MediaUsbDevice |
Inherits: | QIfMediaDevice |
Reimplemented Public Functions
virtual QString | type() const override |
Public Slots
virtual void | eject() = 0 |
Detailed Description
This device instance can be used as a serviceObject for other Features e.g. the QIfFilterAndBrowseModel to browse through the content. Whether a feature is supported by this device is decided by the backend implementing it.
Note: The type of this device is "usb"
Member Function Documentation
[pure virtual slot]
void QIfMediaUsbDevice::eject()
Ejects the USB media device and makes sure all data is written to the thumb-drive so it can safely be removed.
[override virtual]
QString QIfMediaUsbDevice::type() const
Reimplements an access function for property: QIfMediaDevice::type.
Returns "usb".
© 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.