Use override
This commit is contained in:
@@ -43,14 +43,14 @@ class WplParser : public XMLParser {
|
||||
public:
|
||||
explicit WplParser(CollectionBackendInterface *collection, QObject *parent = nullptr);
|
||||
|
||||
QString name() const { return "WPL"; }
|
||||
QStringList file_extensions() const { return QStringList() << "wpl"; }
|
||||
QString mime_type() const { return "application/vnd.ms-wpl"; }
|
||||
QString name() const override { return "WPL"; }
|
||||
QStringList file_extensions() const override { return QStringList() << "wpl"; }
|
||||
QString mime_type() const override { return "application/vnd.ms-wpl"; }
|
||||
|
||||
bool TryMagic(const QByteArray &data) const;
|
||||
bool TryMagic(const QByteArray &data) const override;
|
||||
|
||||
SongList Load(QIODevice *device, const QString &playlist_path, const QDir &dir) const;
|
||||
void Save(const SongList &songs, QIODevice *device, const QDir &dir, Playlist::Path path_type = Playlist::Path_Automatic) const;
|
||||
SongList Load(QIODevice *device, const QString &playlist_path, const QDir &dir) const override;
|
||||
void Save(const SongList &songs, QIODevice *device, const QDir &dir, Playlist::Path path_type = Playlist::Path_Automatic) const override;
|
||||
|
||||
private:
|
||||
void ParseSeq(const QDir &dir, QXmlStreamReader *reader, SongList *songs) const;
|
||||
|
||||
Reference in New Issue
Block a user