Qt 4.5: QuickTimeVideoPlayer Class Reference

|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# QuickTimeVideoPlayer Class Reference
(Phonon::QT7::QuickTimeVideoPlayer)

Inherits QObject (private) and QObject (private).

- List of all members, including inherited members

### Public Types

- flags State
- enum StateEnum { Playing, Paused, NoMedia }

### Public Functions

- QuickTimeVideoPlayer ()
- virtual ~QuickTimeVideoPlayer ()
- bool audioEnabled ()
- bool canPlayMedia () const
- void * currentFrameAsCIImage ()
- CVOpenGLTextureRef currentFrameAsCVTexture ()
- GLuint currentFrameAsGLTexture ()
- QImage currentFrameAsQImage ()
- quint64 currentTime () const
- QString currentTimeString ()
- quint64 duration () const
- void enableAudio ( bool enable )
- bool hasAudio () const
- bool hasMovie () const
- bool hasVideo () const
- bool isDrmAuthorized () const
- bool isDrmProtected () const
- bool isPlaying () const
- bool isSeekable () const
- MediaSource mediaSource () const
- void pause ()
- float percentageLoaded ()
- void play ()
- float playbackRate () const
- bool preRollMovie ( qint64 startTime = 0 )
- float prefferedPlaybackRate () const
- void * primaryRenderingCIImage ()
- QTMovie * qtMovie () const
- void seek ( quint64 milliseconds )
- bool setAudioDevice ( int id )
- void setColors ( qreal brightness = 0, qreal contrast = 1, qreal hue = 0, qreal saturation = 1 )
- void setMasterVolume ( float volume )
- void setMediaSource ( const MediaSource & source )
- void setMute ( bool mute )
- void setPlaybackRate ( float rate )
- void setPrimaryRenderingCIImage ( void * ciImage )
- void setPrimaryRenderingTarget ( NSObject * target )
- void setRelativeVolume ( float volume )
- void setVolume ( float masterVolume, float relativeVolume )
- QuickTimeVideoPlayer::State state () const
- quint64 timeLoaded ()
- long timeScale () const
- void unsetVideo ()
- bool videoFrameChanged ()
- QRect videoRect () const

- 58 public functions inherited from QObject

### Static Public Members

- QString timeToString ( quint64 ms )

- 10 static public members inherited from QObject

### Additional Inherited Members

- 2 properties inherited from QObject
- 2 public slots inherited from QObject
- 2 signals inherited from QObject
- 14 protected functions inherited from QObject

## Member Type Documentation

### enum QuickTimeVideoPlayer::StateEnum
flags QuickTimeVideoPlayer::State

The State type is a typedef for QFlags<StateEnum>. It stores an OR combination of StateEnum values.

## Member Function Documentation

### QuickTimeVideoPlayer::QuickTimeVideoPlayer ()

### QuickTimeVideoPlayer::~QuickTimeVideoPlayer () `[virtual]`

### bool QuickTimeVideoPlayer::audioEnabled ()

### bool QuickTimeVideoPlayer::canPlayMedia () const

### void * QuickTimeVideoPlayer::currentFrameAsCIImage ()

### CVOpenGLTextureRef QuickTimeVideoPlayer::currentFrameAsCVTexture ()

### GLuint QuickTimeVideoPlayer::currentFrameAsGLTexture ()

### QImage QuickTimeVideoPlayer::currentFrameAsQImage ()

### quint64 QuickTimeVideoPlayer::currentTime () const

### QString QuickTimeVideoPlayer::currentTimeString ()

### quint64 QuickTimeVideoPlayer::duration () const

### void QuickTimeVideoPlayer::enableAudio ( bool enable )

### bool QuickTimeVideoPlayer::hasAudio () const

### bool QuickTimeVideoPlayer::hasMovie () const

### bool QuickTimeVideoPlayer::hasVideo () const

### bool QuickTimeVideoPlayer::isDrmAuthorized () const

### bool QuickTimeVideoPlayer::isDrmProtected () const

### bool QuickTimeVideoPlayer::isPlaying () const

### bool QuickTimeVideoPlayer::isSeekable () const

### MediaSource QuickTimeVideoPlayer::mediaSource () const

See also setMediaSource().

### void QuickTimeVideoPlayer::pause ()

### float QuickTimeVideoPlayer::percentageLoaded ()

### void QuickTimeVideoPlayer::play ()

### float QuickTimeVideoPlayer::playbackRate () const

See also setPlaybackRate().

### bool QuickTimeVideoPlayer::preRollMovie ( qint64 startTime = 0 )

### float QuickTimeVideoPlayer::prefferedPlaybackRate () const

### void * QuickTimeVideoPlayer::primaryRenderingCIImage ()

See also setPrimaryRenderingCIImage().

### QTMovie * QuickTimeVideoPlayer::qtMovie () const

### void QuickTimeVideoPlayer::seek ( quint64 milliseconds )

### bool QuickTimeVideoPlayer::setAudioDevice ( int id )

### void QuickTimeVideoPlayer::setColors ( qreal brightness = 0, qreal contrast = 1, qreal hue = 0, qreal saturation = 1 )

### void QuickTimeVideoPlayer::setMasterVolume ( float volume )

### void QuickTimeVideoPlayer::setMediaSource ( const MediaSource & source )

See also mediaSource().

### void QuickTimeVideoPlayer::setMute ( bool mute )

### void QuickTimeVideoPlayer::setPlaybackRate ( float rate )

See also playbackRate().

### void QuickTimeVideoPlayer::setPrimaryRenderingCIImage ( void * ciImage )

See also primaryRenderingCIImage().

### void QuickTimeVideoPlayer::setPrimaryRenderingTarget ( NSObject * target )

### void QuickTimeVideoPlayer::setRelativeVolume ( float volume )

### void QuickTimeVideoPlayer::setVolume ( float masterVolume, float relativeVolume )

### QuickTimeVideoPlayer::State QuickTimeVideoPlayer::state () const

### quint64 QuickTimeVideoPlayer::timeLoaded ()

### long QuickTimeVideoPlayer::timeScale () const

### QString QuickTimeVideoPlayer::timeToString ( quint64 ms ) `[static]`

### void QuickTimeVideoPlayer::unsetVideo ()

### bool QuickTimeVideoPlayer::videoFrameChanged ()

### QRect QuickTimeVideoPlayer::videoRect () const