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.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.