Home · All Classes · Grouped Classes · Annotated · Functions

QMediaProgressWidget Class Reference

The QMediaProgressWidget class displays the current progress of a playing media content as a progress bar. More...

    #include <QMediaProgressWidget>

Inherits QWidget.

Public Functions

Public Slots

Additional Inherited Members


Detailed Description

The QMediaProgressWidget class displays the current progress of a playing media content as a progress bar.

The QMediaProgressWidget class can be used in conjunction with the QMediaContent class to display the playback progress of a media content object.

    QMediaProgressWidget *progress = new QMediaProgressWidget( this );

    QMediaContent *content = new QMediaContent( url, this );
    progress->setMediaContent( content );

"QMediaProgressWidget"

QMediaProgressWidget is a player object.


Member Function Documentation

QMediaProgressWidget::QMediaProgressWidget ( QWidget * parent = 0 )

Constructs an progress widget. The progress is initialized to nill.

The parent argument is passed to the QWidget constructor.

QMediaProgressWidget::~QMediaProgressWidget ()

Destroys the widget.

QMediaContent * QMediaProgressWidget::content () const

Returns the media content object currently being watched.

void QMediaProgressWidget::setMediaContent ( QMediaContent * content )   [slot]

Sets content as the media content object to watch.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3