Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

MediaObject Class

(Phonon::QT7::MediaObject)

Inherits: MediaNode and QObject.

Public Functions

MediaObject(QObject * parent)
~MediaObject()
QuickTimeAudioPlayer * audioPlayer() const
QStringList availableAudioStreams() const
QStringList availableSubtitleStreams() const
QStringList availableVideoStreams() const
QString currentAudioStream(const QObject * audioPath) const
QString currentSubtitleStream(const QObject * videoPath) const
QString currentVideoStream(const QObject * videoPath) const
bool setAudioDeviceOnMovie(int id)
void setCurrentAudioStream(const QString & streamName, const QObject * audioPath)
void setCurrentSubtitleStream(const QString & streamName, const QObject * videoPath)
void setCurrentVideoStream(const QString & streamName, const QObject * videoPath)
void setVolumeOnMovie(float volume)
int videoOutputCount()
QuickTimeVideoPlayer * videoPlayer() const

Reimplemented Public Functions

virtual qint64 currentTime() const
virtual QString errorString() const
virtual Phonon::ErrorType errorType() const
virtual bool hasInterface(Interface interface) const
virtual bool hasVideo() const
virtual QVariant interfaceCall(Interface interface, int command, const QList<QVariant> & arguments = QList<QVariant> ())
virtual bool isSeekable() const
virtual void pause()
virtual void play()
virtual qint32 prefinishMark() const
virtual void seek(qint64 milliseconds)
virtual void setNextSource(const MediaSource & source)
virtual void setPrefinishMark(qint32)
virtual void setSource(const MediaSource &)
virtual void setTickInterval(qint32 interval)
virtual void setTransitionTime(qint32)
virtual MediaSource source() const
virtual Phonon::State state() const
virtual void stop()
virtual qint32 tickInterval() const
virtual qint64 totalTime() const
virtual qint32 transitionTime() const

Signals

void aboutToFinish()
void bufferStatus(int)
void currentSourceChanged(const MediaSource & newSource)
void finished()
void hasVideoChanged(bool)
void metaDataChanged(QMultiMap<QString, QString>)
void prefinishMarkReached(qint32)
void seekableChanged(bool)
void stateChanged(Phonon::State, Phonon::State)
void tick(qint64)
void totalTimeChanged(qint64)

Reimplemented Protected Functions

virtual bool event(QEvent * event)
virtual void mediaNodeEvent(const MediaNodeEvent * event)
  • 18 protected functions inherited from QObject

Additional Inherited Members

  • 2 properties inherited from QObject
  • 2 public slots inherited from QObject
  • 22 static public members inherited from QObject
  • 18 protected functions inherited from QObject

Member Function Documentation

MediaObject::MediaObject(QObject * parent)

MediaObject::~MediaObject()

void MediaObject::aboutToFinish() [signal]

QuickTimeAudioPlayer * MediaObject::audioPlayer() const

QStringList MediaObject::availableAudioStreams() const

QStringList MediaObject::availableSubtitleStreams() const

QStringList MediaObject::availableVideoStreams() const

void MediaObject::bufferStatus(int) [signal]

QString MediaObject::currentAudioStream(const QObject * audioPath) const

See also setCurrentAudioStream().

void MediaObject::currentSourceChanged(const MediaSource & newSource) [signal]

QString MediaObject::currentSubtitleStream(const QObject * videoPath) const

See also setCurrentSubtitleStream().

qint64 MediaObject::currentTime() const [virtual]

QString MediaObject::currentVideoStream(const QObject * videoPath) const

See also setCurrentVideoStream().

QString MediaObject::errorString() const [virtual]

Phonon::ErrorType MediaObject::errorType() const [virtual]

bool MediaObject::event(QEvent * event) [virtual protected]

void MediaObject::finished() [signal]

bool MediaObject::hasInterface(Interface interface) const [virtual]

bool MediaObject::hasVideo() const [virtual]

void MediaObject::hasVideoChanged(bool) [signal]

QVariant MediaObject::interfaceCall(Interface interface, int command, const QList<QVariant> & arguments = QList<QVariant> ()) [virtual]

bool MediaObject::isSeekable() const [virtual]

void MediaObject::mediaNodeEvent(const MediaNodeEvent * event) [virtual protected]

void MediaObject::metaDataChanged(QMultiMap<QString, QString>) [signal]

void MediaObject::pause() [virtual]

void MediaObject::play() [virtual]

qint32 MediaObject::prefinishMark() const [virtual]

See also setPrefinishMark().

void MediaObject::prefinishMarkReached(qint32) [signal]

void MediaObject::seek(qint64 milliseconds) [virtual]

void MediaObject::seekableChanged(bool) [signal]

bool MediaObject::setAudioDeviceOnMovie(int id)

void MediaObject::setCurrentAudioStream(const QString & streamName, const QObject * audioPath)

See also currentAudioStream().

void MediaObject::setCurrentSubtitleStream(const QString & streamName, const QObject * videoPath)

See also currentSubtitleStream().

void MediaObject::setCurrentVideoStream(const QString & streamName, const QObject * videoPath)

See also currentVideoStream().

void MediaObject::setNextSource(const MediaSource & source) [virtual]

void MediaObject::setPrefinishMark(qint32) [virtual]

See also prefinishMark().

void MediaObject::setSource(const MediaSource &) [virtual]

See also source().

void MediaObject::setTickInterval(qint32 interval) [virtual]

See also tickInterval().

void MediaObject::setTransitionTime(qint32) [virtual]

See also transitionTime().

void MediaObject::setVolumeOnMovie(float volume)

MediaSource MediaObject::source() const [virtual]

See also setSource().

Phonon::State MediaObject::state() const [virtual]

void MediaObject::stateChanged(Phonon::State, Phonon::State) [signal]

void MediaObject::stop() [virtual]

void MediaObject::tick(qint64) [signal]

qint32 MediaObject::tickInterval() const [virtual]

See also setTickInterval().

qint64 MediaObject::totalTime() const [virtual]

void MediaObject::totalTimeChanged(qint64) [signal]

qint32 MediaObject::transitionTime() const [virtual]

See also setTransitionTime().

int MediaObject::videoOutputCount()

QuickTimeVideoPlayer * MediaObject::videoPlayer() const

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web