MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QMediaPlaylistWriter Class Reference

The QMediaPlaylistWriter class provides an interface for writing a playlist file. More...

 #include <QMediaPlaylistWriter>

This class was introduced in Qt Mobility 1.0.

Public Functions

virtual ~QMediaPlaylistWriter ()
virtual void close () = 0
virtual bool writeItem ( const QMediaContent & media ) = 0

Detailed Description

The QMediaPlaylistWriter class provides an interface for writing a playlist file.

See also QMediaPlaylistIOPlugin.

Member Function Documentation

QMediaPlaylistWriter::~QMediaPlaylistWriter () [virtual]

Destroys a media playlist writer.

void QMediaPlaylistWriter::close () [pure virtual]

Finalizes the writing of a playlist and closes the output device.

This function was introduced in Qt Mobility 1.0.

bool QMediaPlaylistWriter::writeItem ( const QMediaContent & media ) [pure virtual]

Writes an item of media to a playlist file.

Returns true if the media was written successfully; and false otherwise.

This function was introduced in Qt Mobility 1.0.