|qmake:||QT += ifmedia|
|QIfMediaIndexerControlBackendInterface(QObject *parent = nullptr)|
|virtual void||pause() = 0|
|virtual void||resume() = 0|
The QIfMediaIndexerControlBackendInterface is the interface used by QIfMediaIndexerControl
The interface is discovered by a QIfMediaIndexerControl object, which connects to it and sets it up.
<example of a fully featured backend>
Member Function Documentation
QIfMediaIndexerControlBackendInterface::QIfMediaIndexerControlBackendInterface(QObject *parent = nullptr)
Constructs a backend interface.
The parent is sent to the QObject constructor.
[signal] void QIfMediaIndexerControlBackendInterface::progressChanged(qreal progress)
This signal is emitted when indexing is currently ongoing and the progress of the operation changed. The progress argument passes the current progress between 0 and 1.
[signal] void QIfMediaIndexerControlBackendInterface::stateChanged(QIfMediaIndexerControl::State state)
This signal is emitted whenever the indexing state changed. The state argument holds the new state of the indexer.
Pauses the currently ongoing indexing. If currently no indexing is ongoing this call should not perform any actions.
See also resume().
Resumes the previously paused indexing. If there is nothing to resume this call should not perform any actions.
See also pause().
© 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.