Home · All Classes · Grouped Classes · Annotated · Functions

QMediaStateLabel Class Reference

The QMediaStateLabel class displays icons for the various states of media playback. More...

    #include <QMediaStateLabel>

Inherits QWidget.

Public Functions

Public Slots

Additional Inherited Members


Detailed Description

The QMediaStateLabel class displays icons for the various states of media playback.

The QMediaStateLabel class is useful for displaying standard icons for conveying state information about media playback.

The display type can be set either by the constructor or by the setState() slot.

    QMediaStateLabel *label = new QMediaStateLabel;
    label->setState( QtopiaMedia::Playing );

"QMediaStateLabel"


Member Function Documentation

QMediaStateLabel::QMediaStateLabel ( QtopiaMedia::State state = QtopiaMedia::Stopped, QWidget * parent = 0 )

Constructs a state label with a default display type of state.

The parent argument is passed to the QWidget constructor.

QMediaStateLabel::~QMediaStateLabel ()

Destroys the state label.

void QMediaStateLabel::setState ( QtopiaMedia::State state )   [slot]

Displays the icon for state.

See also state().

QtopiaMedia::State QMediaStateLabel::state () const

Returns the current state display.

See also setState().


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3