qtmobility/src/multimedia/qvideowidgetcontrol.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    49     \preliminary
    49     \preliminary
    50 
    50 
    51     \brief The QVideoWidgetControl class provides a media control which
    51     \brief The QVideoWidgetControl class provides a media control which
    52     implements a video widget.
    52     implements a video widget.
    53 
    53 
    54     \ingroup multimedia-serv
    54     \ingroup multimedia
    55 
    55 
    56     The videoWidget() property of QVideoWidgetControl provides a pointer to
    56     The videoWidget() property of QVideoWidgetControl provides a pointer to a
    57     a video widget implemented by the control's media service.  This widget
    57     video widget implemented by the control's media service.  This widget is
    58     is owned by the media service and so care should be taken not to delete it.
    58     owned by the media service and so care should be taken not to delete it.
    59 
    59 
    60     \code
    60     \code
    61     QVideoWidgetControl *widgetControl = mediaService->control<QVideoWidgetControl *>();
    61     QVideoWidgetControl *widgetControl = mediaService->requestControl<QVideoWidgetControl *>();
    62 
    62 
    63     layout->addWidget(widgetControl->widget());
    63     layout->addWidget(widgetControl->widget());
    64     \endcode
    64     \endcode
    65 
    65 
    66     QVideoWidgetControl is one of number of possible video output controls,
    66     QVideoWidgetControl is one of number of possible video output controls, in
    67     in order to receive video it must be made the active video output
    67     order to receive video it must be made the active video output control by
    68     control by setting the output property of QVideoOutputControl to \l {QVideoOutputControl::WidgetOutput}{WidgetOutput}. Consequently any
    68     setting the output property of QVideoOutputControl to \l
       
    69     {QVideoOutputControl::WidgetOutput}{WidgetOutput}. Consequently any
    69     QMediaService that implements QVideoWidgetControl must also implement
    70     QMediaService that implements QVideoWidgetControl must also implement
    70     QVideoOutputControl.
    71     QVideoOutputControl.
    71 
    72 
    72     The interface name of QVideoWidgetControl is \c com.nokia.Qt.QVideoWidgetControl/1.0 as
    73     The interface name of QVideoWidgetControl is \c com.nokia.Qt.QVideoWidgetControl/1.0 as
    73     defined in QVideoWidgetControl_iid.
    74     defined in QVideoWidgetControl_iid.
    74 
    75 
    75     \sa QMediaService::control(), QVideoOutputControl, QVideoWidget
    76     \sa QMediaService::requestControl(), QVideoOutputControl, QVideoWidget
    76 */
    77 */
    77 
    78 
    78 /*!
    79 /*!
    79     \macro QVideoWidgetControl_iid
    80     \macro QVideoWidgetControl_iid
    80 
    81