The QMediaPlaylistIOPlugin class provides an interface for media playlist I/O plug-ins. More...
#include <QMediaPlaylistIOPlugin>
Inherits: QObject.
This class was introduced in Qt Mobility 1.0.
QMediaPlaylistIOPlugin ( QObject * parent = 0 ) | |
virtual | ~QMediaPlaylistIOPlugin () |
virtual QStringList | keys () const = 0 |
virtual bool | canRead ( QIODevice * device, const QByteArray & format = QByteArray() ) const = 0 |
virtual bool | canRead ( const QUrl & location, const QByteArray & format = QByteArray() ) const = 0 |
virtual bool | canWrite ( QIODevice * device, const QByteArray & format ) const = 0 |
virtual QMediaPlaylistReader * | createReader ( QIODevice * device, const QByteArray & format = QByteArray() ) = 0 |
virtual QMediaPlaylistReader * | createReader ( const QUrl & location, const QByteArray & format = QByteArray() ) = 0 |
virtual QMediaPlaylistWriter * | createWriter ( QIODevice * device, const QByteArray & format ) = 0 |
The QMediaPlaylistIOPlugin class provides an interface for media playlist I/O plug-ins.
Constructs a media playlist I/O plug-in with the given parent.
Destroys a media playlist I/O plug-in.
Identifies if plug-in can read format data from an I/O device.
Returns true if the data can be read; and false otherwise.
This function was introduced in Qt Mobility 1.0.
Identifies if a plug-in can read format data from a URL location.
Returns true if the data can be read; and false otherwise.
This function was introduced in Qt Mobility 1.0.
Identifies if a plug-in can write format data to an I/O device.
Returns true if the data can be written; and false otherwise.
This function was introduced in Qt Mobility 1.0.
Returns a new QMediaPlaylistReader which reads format data from an I/O device.
If the device is invalid or the format is unsupported this will return a null pointer.
This function was introduced in Qt Mobility 1.0.
Returns a new QMediaPlaylistReader which reads format data from a URL location.
If the location or the format is unsupported this will return a null pointer.
This function was introduced in Qt Mobility 1.0.
Returns a new QMediaPlaylistWriter which writes format data to an I/O device.
If the device is invalid or the format is unsupported this will return a null pointer.
This function was introduced in Qt Mobility 1.0.
Returns a list of format keys supported by a plug-in.
This function was introduced in Qt Mobility 1.0.