summaryrefslogtreecommitdiffstats
path: root/src/library/rhythmbox/rhythmboxfeature.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/rhythmbox/rhythmboxfeature.h')
-rw-r--r--src/library/rhythmbox/rhythmboxfeature.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/library/rhythmbox/rhythmboxfeature.h b/src/library/rhythmbox/rhythmboxfeature.h
index 35234532af..4d75ffaa49 100644
--- a/src/library/rhythmbox/rhythmboxfeature.h
+++ b/src/library/rhythmbox/rhythmboxfeature.h
@@ -19,24 +19,27 @@ class RhythmboxFeature : public BaseExternalLibraryFeature {
Q_OBJECT
public:
RhythmboxFeature(Library* pLibrary, UserSettingsPointer pConfig);
- virtual ~RhythmboxFeature();
+ ~RhythmboxFeature() override;
static bool isSupported();
- QVariant title();
+ QVariant title() override;
- TreeItemModel* sidebarModel() const;
+ TreeItemModel* sidebarModel() const override;
// processes the music collection
TreeItem* importMusicCollection();
// processes the playlist entries
TreeItem* importPlaylists();
public slots:
- void activate();
- void activateChild(const QModelIndex& index);
+ void activate() override;
+ void activateChild(const QModelIndex& index) override;
void onTrackCollectionLoaded();
+ protected:
+ std::unique_ptr<BaseSqlTableModel> createPlaylistModelForPlaylist(
+ const QString& playlist) override;
+
private:
- virtual BaseSqlTableModel* getPlaylistModelForPlaylist(const QString& playlist);
// Removes all rows from a given table
void clearTable(const QString& table_name);
// reads the properties of a track and executes a SQL statement