MediaController Class Reference
#include <Phonon/MediaController>
Controls optional features of a media file/device like title, chapter, angle.
- Author
- Matthias Kretz kretz.nosp@m.@kde.nosp@m..org
Definition at line 48 of file mediacontroller.h.
|
static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
|
static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
|
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
|
static uint | registerUserData () |
|
QObject * | sender () const |
|
int | senderSignalIndex () const |
|
int | receivers (const char *signal) const |
|
virtual void | timerEvent (QTimerEvent *) |
|
virtual void | childEvent (QChildEvent *) |
|
virtual void | customEvent (QEvent *) |
|
virtual void | connectNotify (const char *signal) |
|
virtual void | disconnectNotify (const char *signal) |
|
| QObject (QObjectPrivate &dd, QObject *parent=0) |
|
static const QMetaObject | staticQtMetaObject |
|
QString | objectName |
|
Features supportedFeatures |
( |
| ) |
const |
int availableAngles |
( |
| ) |
const |
int currentAngle |
( |
| ) |
const |
int availableChapters |
( |
| ) |
const |
int currentChapter |
( |
| ) |
const |
int availableTitles |
( |
| ) |
const |
int currentTitle |
( |
| ) |
const |
bool autoplayTitles |
( |
| ) |
const |
Returns the audio streams that can be selected by the user.
The strings can directly be used in the user interface.
- See also
- selectedAudioChannel
-
setCurrentAudioChannel
Returns the subtitle streams that can be selected by the user.
The strings can directly be used in the user interface.
- See also
- selectedSubtitle
-
setCurrentSubtitle
Selects an audio stream from the media.
Some media formats allow multiple audio streams to be stored in the same file. Normally only one should be played back.
- Parameters
-
stream | Description of an audio stream |
- See also
- availableAudioChannels()
-
currentAudioChannel()
Selects a subtitle stream from the media.
Some media formats allow multiple subtitle streams to be stored in the same file. Normally only one should be displayed.
- Parameters
-
stream | description of a subtitle stream |
- See also
- availableSubtitles()
-
currentSubtitle()
void setCurrentAngle |
( |
int |
angleNumber | ) |
|
|
slot |
void setCurrentChapter |
( |
int |
chapterNumber | ) |
|
|
slot |
void setCurrentTitle |
( |
int |
titleNumber | ) |
|
|
slot |
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.
void setAutoplayTitles |
( |
bool |
| ) |
|
|
slot |
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.
void availableSubtitlesChanged |
( |
| ) |
|
|
signal |
void availableAudioChannelsChanged |
( |
| ) |
|
|
signal |
void availableAnglesChanged |
( |
int |
availableAngles | ) |
|
|
signal |
void angleChanged |
( |
int |
angleNumber | ) |
|
|
signal |
void availableChaptersChanged |
( |
int |
availableChapters | ) |
|
|
signal |
void chapterChanged |
( |
int |
chapterNumber | ) |
|
|
signal |
void availableTitlesChanged |
( |
int |
availableTitles | ) |
|
|
signal |
void titleChanged |
( |
int |
titleNumber | ) |
|
|
signal |
MediaControllerPrivate* const d |
|
protected |
The documentation for this class was generated from the following file: