![]() |
Home · All Classes · Main Classes · Grouped Classes · Modules · Functions | ![]() |
The MediaController class controls optional features of a media file/device. More...
#include <Phonon>
Inherits QObject.
This class was introduced in Qt 4.4.
The MediaController class controls optional features of a media file/device.
Author: Matthias Kretz <kretz@kde.org>
The MediaController class maintains information about media files and devices, such as title, chapter, angle, and other details.
Constant | Value |
---|---|
Phonon::MediaController::Angles | 1 |
Phonon::MediaController::Chapters | 2 |
Phonon::MediaController::Titles | 4 |
The Features type is a typedef for QFlags<Feature>. It stores an OR combination of Feature values.
Constructs a new MediaController with the specified parent.
This signal is emitted whenever the current angle changes. The new angle number is given by angleNumber.
Returns true if titles will automatically be played when the media is played; otherwise returns false.
See also setAutoplayTitles().
This signal is emitted whenever the number of available angles changes. The new number of available angles is given by availableAngles.
This signal is emitted whenever the number of available chapters changes. The new number of available chapters is given by availableChapters.
This signal is emitted whenever the number of available titles changes. The new number of available titles is given by availableTitles.
This signal is emitted whenever the current chapter changes. The new chapter number is given by chapterNumber.
See also setCurrentAngle().
See also setCurrentChapter().
See also setCurrentTitle().
Skips to the next title.
If it was playing before the title change it will start playback on the next title if autoplayTitles is enabled.
Skips to the previous title.
If it was playing before the title change it will start playback on the previous title if autoplayTitles is enabled.
Sets the titles to play automatically when the media is played if enable is true; otherwise disables the feature.
See also autoplayTitles().
Sets the current chapter to the given chapterNumber if the media file or device supports navigation by angle number.
See also currentAngle() and Feature.
Sets the current chapter to the given chapterNumber if the media file or device supports navigation by chapter number.
See also currentChapter() and Feature.
Skips to the given title titleNumber.
If it was playing before the title change it will start playback on the new title if autoplayTitles is enabled.
See also currentTitle().
This signal is emitted whenever the current title changes. The new title number is given by titleNumber.
Copyright © 2008 Trolltech | Trademarks | Qt 4.4.0-rc1 |