PlaylistQueryGenerator: Add missing override
This commit is contained in:
parent
cc277211b3
commit
e6c5446d63
|
@ -37,19 +37,19 @@ class PlaylistQueryGenerator : public PlaylistGenerator {
|
||||||
explicit PlaylistQueryGenerator(QObject *parent = nullptr);
|
explicit PlaylistQueryGenerator(QObject *parent = nullptr);
|
||||||
explicit PlaylistQueryGenerator(const QString &name, const SmartPlaylistSearch &search, const bool dynamic = false, QObject *parent = nullptr);
|
explicit PlaylistQueryGenerator(const QString &name, const SmartPlaylistSearch &search, const bool dynamic = false, QObject *parent = nullptr);
|
||||||
|
|
||||||
Type type() const { return Type_Query; }
|
Type type() const override { return Type_Query; }
|
||||||
|
|
||||||
void Load(const SmartPlaylistSearch &search);
|
void Load(const SmartPlaylistSearch &search);
|
||||||
void Load(const QByteArray &data);
|
void Load(const QByteArray &data) override;
|
||||||
QByteArray Save() const;
|
QByteArray Save() const override;
|
||||||
|
|
||||||
PlaylistItemList Generate();
|
PlaylistItemList Generate() override;
|
||||||
PlaylistItemList GenerateMore(const int count);
|
PlaylistItemList GenerateMore(const int count) override;
|
||||||
bool is_dynamic() const { return dynamic_; }
|
bool is_dynamic() const override { return dynamic_; }
|
||||||
void set_dynamic(bool dynamic) { dynamic_ = dynamic; }
|
void set_dynamic(bool dynamic) override { dynamic_ = dynamic; }
|
||||||
|
|
||||||
SmartPlaylistSearch search() const { return search_; }
|
SmartPlaylistSearch search() const { return search_; }
|
||||||
int GetDynamicFuture() { return search_.limit_; }
|
int GetDynamicFuture() override { return search_.limit_; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SmartPlaylistSearch search_;
|
SmartPlaylistSearch search_;
|
||||||
|
|
Loading…
Reference in New Issue