Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void Phonon::MediaObject::play (  )  [slot]

Requests playback of the media data to start. Playback only starts when stateChanged() signals that it goes into PlayingState, though.

Possible states right after this call:
  • BufferingState
  • PlayingState
  • ErrorState

Definition at line 98 of file mediaobject.cpp.

Referenced by MainWindow::tableClicked(), and Window::Window().

{
    K_D(MediaObject);
    if (d->backendObject() && isPlayable(d->mediaSource.type())) {
        INTERFACE_CALL(play());
    }
}


Generated by  Doxygen 1.6.0   Back to index