PlayQueue QML Type
|Import Statement:||import QtIvi.Media 1.0|
- object get(i)
- insert(int index, PlayableItem item)
- move(int cur_index, int new_index)
- remove(int index)
It provides mechanisms for adding new items and managing the existing ones by removing or moving them around.
Holds the number of rows which are requested from the backend interface.
This property can be used to fine tune the loading performance.
Bigger chunks means less calls to the backend and to a potential IPC underneath, but more data to be transferred and probably longer waiting time until the request was finished.
Holds the index of the currently active track.
Use the get() method to retrieve more information about the active track.
Holds the row delta to the end before the next chunk is loaded
This property can be used to fine tune the loading performance. When the threshold is reached the next chunk of rows are requested from the backend. How many rows are fetched can be defined by using the chunkSize property.
The threshold defines the number of rows before the cached rows ends.
Holds the currently used loading type used for loading the data.
Note: When changing this property the content will be reset.
This signal is emitted whenever the fetchMoreThreshold is reached and new data is requested from the backend.
insert(int index, PlayableItem item)
Insert the item at the position index.
If the backend doesn't accept the provided item, this operation will end in a no op.
Moves the item at position cur_index to the new position new_index the play queue.
© 2018 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.