#include <playlistparser.h>
Public Member Functions | |
| PlaylistParser (QObject *parent) | |
| ~PlaylistParser () | |
| QStringList | getExtensions () |
| bool | supports (const QString &filePath) |
| QList< PlaylistFormat * > | formats () |
| PlaylistFormat * | findByPath (const QString &filePath) |
Static Public Member Functions | |
| static PlaylistParser * | instance () |
| PlaylistParser::PlaylistParser | ( | QObject * | parent | ) |
Object constructor,
| parent | Parent object |
| PlaylistParser::~PlaylistParser | ( | ) |
Destructor
| PlaylistFormat* PlaylistParser::findByPath | ( | const QString & | filePath | ) |
Finds playlist format by file path filePath Returns 0 if file filePath is unsupported.
| QList<PlaylistFormat*> PlaylistParser::formats | ( | ) |
Returns a list of the installed playlist formats.
| QStringList PlaylistParser::getExtensions | ( | ) |
Returns a list of supported file extensions.
| static PlaylistParser* PlaylistParser::instance | ( | ) | [static] |
Returns a pointer to the object's instance.
| bool PlaylistParser::supports | ( | const QString & | filePath | ) |
Returns true if file filePath is supported, otherwise returns false
1.5.9